Package: yard / 0.8.7.4-1

Metadata

Package Version Patches format
yard 0.8.7.4-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
require in executables.patch | (download)

bin/yard | 12 6 + 6 - 0 !
bin/yardoc | 12 6 + 6 - 0 !
bin/yri | 12 6 + 6 - 0 !
3 files changed, 18 insertions(+), 18 deletions(-)

 do not modify $load_path in yard binaries
 We know exactly where to find the library
set templates path.patch | (download)

lib/yard/templates/engine.rb | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 set templates path to /usr/share/yard/templates
 Put a relative path instead of an absolute one makes also the tests happy
remove_rubygems_and_path_manipulation_from_spec.patch | (download)

spec/spec_helper.rb | 15 2 + 13 - 0 !
1 file changed, 2 insertions(+), 13 deletions(-)

 remove call to rubygems and path manipulation to load yard
 Remove also the use of bundler
 This is not necessary because gem2deb took care of everything already.
deactivate_failing_test_with_sbuild.patch | (download)

spec/registry_spec.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 deactivate one of the registry specs, failing with sbuild
move_yard_config_to_tmp_in_spec.patch | (download)

spec/config_spec.rb | 15 14 + 1 - 0 !
1 file changed, 14 insertions(+), 1 deletion(-)

 move yard global configuration directory to tmp/ during specs
 The specs try to write in this directory. The default location is in $HOME
 which is undefined and causes build failures with sbuild.
fix_template_root_var.patch | (download)

lib/yard.rb | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

 fix template_root to take into account fhs
 set to ../templates if running the lib from the source tree
 and to /usr/share/yard/templates if running from the system lib