Package: ruby-roxml / 3.3.1-4

Metadata

Package Version Patches format
ruby-roxml 3.3.1-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
deactivate_activesupport_gem_version_test.patch | (download)

lib/roxml.rb | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 deactivate gem test version for active_support
 Debian Jessie has already ruby-activesupport version >= 3.
 Since it is not loaded via rubygems, ruby-activesupport are not available, the
 test fails, and core extensions are not loaded, which causes errors when the
 library is loaded.
require system roxml.patch | (download)

spec/spec_helper.rb | 2 1 + 1 - 0 !
test/mocks/dictionaries.rb | 4 2 + 2 - 0 !
test/mocks/mocks.rb | 4 2 + 2 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

 use system path for roxml library
 The version that should be used is the one in the debian/ directory,
 not the one in the lib/ dir of the source package
require rspec.patch | (download)

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

 add missing requirement to rspec library
use_moved_VERSION.patch | (download)

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

 use moved version of version file
 VERSION file is moved from the root of the source package to lib/roxml
 The relative path of VERSION should be adapted in roxml.rb file
remove_rubygems_from_tests.patch | (download)

spec/spec_helper.rb | 1 0 + 1 - 0 !
test/test_helper.rb | 3 1 + 2 - 0 !
2 files changed, 1 insertion(+), 3 deletions(-)

 do not require explicitly rubygems in tests
rspec3.patch | (download)

spec/definition_spec.rb | 36 18 + 18 - 0 !
spec/examples/active_record_spec.rb | 4 2 + 2 - 0 !
spec/roxml_spec.rb | 20 10 + 10 - 0 !
spec/shared_specs.rb | 4 2 + 2 - 0 !
spec/xml/attributes_spec.rb | 4 2 + 2 - 0 !
5 files changed, 34 insertions(+), 34 deletions(-)

 basic rspec3 support