Package: ruby-rspec / 3.7.0c1e0m0s1-1~bpo9+1

Metadata

Package Version Patches format
ruby-rspec 3.7.0c1e0m0s1-1~bpo9+1 3.0 (quilt)

Patch series

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

rspec-core/rspec-core.gemspec | 95 52 + 43 - 0 !
rspec-expectations/rspec-expectations.gemspec | 78 41 + 37 - 0 !
rspec-mocks/rspec-mocks.gemspec | 78 41 + 37 - 0 !
rspec-support/rspec-support.gemspec | 62 34 + 28 - 0 !
rspec/rspec.gemspec | 57 29 + 28 - 0 !
5 files changed, 197 insertions(+), 173 deletions(-)

 diff between upstream source gemspecs and the ones regenerated
 by ./debian/rules gen-gemspecs. To be updated at every new upstream version
add vendor ruby to caller paths.patch | (download)

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

 adapt regex to determine callers to installation path on debian
 the path of RSpec in Debian does not match /lib/rspec/core
 This was causing file_path metadata to be wrong, breaking file_path filters.
 This problem has moved from rspec-core to rspec-support with rspec 3.x.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=737734
disable_specs_assuming_they_are_first_caller.patch | (download)

rspec-core/spec/rspec/core/formatters/documentation_formatter_spec.rb | 2 1 + 1 - 0 !
rspec-core/spec/rspec/core/formatters/progress_formatter_spec.rb | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 disable some failing specs
 because the backtrace contains a reference to debian/ruby-tests.rb
path_to_executable.patch | (download)

rspec-core/lib/rspec/core.rb | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 fix path to rspec executable
skip_coverage.patch | (download)

rspec-expectations/spec/spec_helper.rb | 6 3 + 3 - 0 !
rspec-mocks/spec/spec_helper.rb | 6 3 + 3 - 0 !
rspec-support/spec/spec_helper.rb | 2 1 + 1 - 0 !
3 files changed, 7 insertions(+), 7 deletions(-)

 disable the use of simplecov in tests
caller_filter_spec_for_debian.patch | (download)

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

 match rspec path in $load_path as containing vendor_ruby
 This corresponds to the canonical path for a Ruby library installed systemwide
 by the package manager.
fix_encoding.patch | (download)

rspec-core/spec/rspec/core/formatters/exception_presenter_spec.rb | 2 2 + 0 - 0 !
rspec-core/spec/rspec/core_spec.rb | 100 50 + 50 - 0 !
rspec-support/spec/spec_helper.rb | 5 5 + 0 - 0 !
3 files changed, 57 insertions(+), 50 deletions(-)

 force default external encoding to utf-8
 This is required to make specs relying on Unicode characters to pass
 in building environment with C locale.
disable_no_warning_spec_rspec support.patch | (download)

rspec-support/spec/rspec/support_spec.rb | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 disable spec testing if warnings are issued when loading rspec-support
 and rspec-core
 in order to make encoding related specs pass, we need to set the external
 encoding, which sends a warning, making this spec to fail.
 Disable, waiting for a better solution.
fix rake task.patch | (download)

rspec-core/lib/rspec/core/rake_task.rb | 12 1 + 11 - 0 !
rspec-core/spec/rspec/core/rake_task_spec.rb | 10 4 + 6 - 0 !
2 files changed, 5 insertions(+), 17 deletions(-)

 fix patch to rspec binary
 On Debian rspec is always on /usr/bin
failed_specs.patch | (download)

rspec-core/spec/rspec/core/configuration/only_failures_support_spec.rb | 2 1 + 1 - 0 !
rspec-core/spec/rspec/core/drb_spec.rb | 88 44 + 44 - 0 !
rspec-core/spec/rspec/core/invocations_spec.rb | 10 5 + 5 - 0 !
rspec-core/spec/rspec/core/option_parser_spec.rb | 16 8 + 8 - 0 !
rspec-support/spec/rspec/support/differ_spec.rb | 2 1 + 1 - 0 !
5 files changed, 59 insertions(+), 59 deletions(-)

 a collection of currently failing tests
 Needs more investigation
ruby25_mocks.patch | (download)

rspec-mocks/spec/rspec/mocks/and_wrap_original_spec.rb | 9 5 + 4 - 0 !
rspec-mocks/spec/rspec/mocks/mutate_const_spec.rb | 2 1 + 1 - 0 !
2 files changed, 6 insertions(+), 5 deletions(-)

 modify specs for ruby2.5
  https://github.com/rspec/rspec-mocks/commit/783923d6879a2f9df9fee8ef24cecca6ac21136e
  https://github.com/rspec/rspec-mocks/commit/871eb31e3bfe50705ca57e754771aa1e0164f12d
 Ruby 2.5 has removed the ability to access top-level constants
 via a confusing nested form (e.g. `MyClass::Hash`), so we no
 longer need this spec there.
 On Ruby 2.5, this spec failed, apparently due to the fact that
 Method equality has changed on 2.5 slightly. The method instances
ruby25_expectations.patch | (download)

rspec-expectations/spec/rspec/expectations/failure_aggregator_spec.rb | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 disable `report_on_exception` causing test failures on ruby2.5