Hello community, here is the log from the commit of package rubygem-rspec-core for openSUSE:Factory checked in at 2015-07-20 11:20:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-core (Old) and /work/SRC/openSUSE:Factory/.rubygem-rspec-core.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rspec-core" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rspec-core/rubygem-rspec-core.changes 2015-07-05 17:56:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rspec-core.new/rubygem-rspec-core.changes 2015-07-20 11:20:01.000000000 +0200 @@ -1,0 +2,16 @@ +Thu Jul 16 04:32:03 UTC 2015 - co...@suse.com + +- updated to version 3.3.2 + see installed Changelog.md + + ### 3.3.2 / 2015-07-15 + [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.1...v3.3.2) + + Bug Fixes: + + * Fix formatters to handle exceptions for which `backtrace` returns `nil`. + (Myron Marston, #2023) + * Fix duplicate formatter detection so that it allows subclasses of formatters + to be added. (Sebastián Tello, #2019) + +------------------------------------------------------------------- Old: ---- rspec-core-3.3.1.gem New: ---- rspec-core-3.3.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rspec-core.spec ++++++ --- /var/tmp/diff_new_pack.aw5XPH/_old 2015-07-20 11:20:02.000000000 +0200 +++ /var/tmp/diff_new_pack.aw5XPH/_new 2015-07-20 11:20:02.000000000 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rspec-core -Version: 3.3.1 +Version: 3.3.2 Release: 0 %define mod_name rspec-core %define mod_full_name %{mod_name}-%{version} ++++++ rspec-core-3.3.1.gem -> rspec-core-3.3.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md --- old/Changelog.md 2015-06-18 17:01:22.000000000 +0200 +++ new/Changelog.md 2015-07-15 19:06:07.000000000 +0200 @@ -1,3 +1,13 @@ +### 3.3.2 / 2015-07-15 +[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.1...v3.3.2) + +Bug Fixes: + +* Fix formatters to handle exceptions for which `backtrace` returns `nil`. + (Myron Marston, #2023) +* Fix duplicate formatter detection so that it allows subclasses of formatters + to be added. (Sebastián Tello, #2019) + ### 3.3.1 / 2015-06-18 [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.3.0...v3.3.1) Files old/checksums.yaml.gz and new/checksums.yaml.gz differ Files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ Files old/data.tar.gz.sig and new/data.tar.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/formatters/exception_presenter.rb new/lib/rspec/core/formatters/exception_presenter.rb --- old/lib/rspec/core/formatters/exception_presenter.rb 2015-06-18 17:01:22.000000000 +0200 +++ new/lib/rspec/core/formatters/exception_presenter.rb 2015-07-15 19:06:07.000000000 +0200 @@ -31,7 +31,7 @@ end def formatted_backtrace - backtrace_formatter.format_backtrace(exception.backtrace, example.metadata) + backtrace_formatter.format_backtrace(exception_backtrace, example.metadata) end def colorized_formatted_backtrace(colorizer=::RSpec::Core::Formatters::ConsoleCodes) @@ -129,7 +129,7 @@ def find_failed_line example_path = example.metadata[:absolute_file_path].downcase - exception.backtrace.find do |line| + exception_backtrace.find do |line| next unless (line_path = line[/(.+?):(\d+)(|:\d+)/, 1]) File.expand_path(line_path).downcase == example_path end @@ -147,6 +147,10 @@ formatted end + def exception_backtrace + exception.backtrace || [] + end + # @private # Configuring the `ExceptionPresenter` with the right set of options to handle # pending vs failed vs skipped and aggregated (or not) failures is not simple. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/formatters/html_formatter.rb new/lib/rspec/core/formatters/html_formatter.rb --- old/lib/rspec/core/formatters/html_formatter.rb 2015-06-18 17:01:22.000000000 +0200 +++ new/lib/rspec/core/formatters/html_formatter.rb 2015-07-15 19:06:07.000000000 +0200 @@ -138,7 +138,7 @@ # produced during the specs. def extra_failure_content(failure) RSpec::Support.require_rspec_core "formatters/snippet_extractor" - backtrace = failure.exception.backtrace.map do |line| + backtrace = (failure.exception.backtrace || []).map do |line| RSpec.configuration.backtrace_formatter.backtrace_line(line) end backtrace.compact! diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/formatters.rb new/lib/rspec/core/formatters.rb --- old/lib/rspec/core/formatters.rb 2015-06-18 17:01:22.000000000 +0200 +++ new/lib/rspec/core/formatters.rb 2015-07-15 19:06:07.000000000 +0200 @@ -182,7 +182,7 @@ def duplicate_formatter_exists?(new_formatter) @formatters.any? do |formatter| - formatter.class === new_formatter && formatter.output == new_formatter.output + formatter.class == new_formatter.class && formatter.output == new_formatter.output end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/version.rb new/lib/rspec/core/version.rb --- old/lib/rspec/core/version.rb 2015-06-18 17:01:23.000000000 +0200 +++ new/lib/rspec/core/version.rb 2015-07-15 19:06:08.000000000 +0200 @@ -3,7 +3,7 @@ # Version information for RSpec Core. module Version # Current version of RSpec Core, in semantic versioning format. - STRING = '3.3.1' + STRING = '3.3.2' end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-06-18 17:01:22.000000000 +0200 +++ new/metadata 2015-07-15 19:06:07.000000000 +0200 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rspec-core version: !ruby/object:Gem::Version - version: 3.3.1 + version: 3.3.2 platform: ruby authors: - Steven Baker @@ -46,7 +46,7 @@ ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ F3MdtaDehhjC -----END CERTIFICATE----- -date: 2015-06-18 00:00:00.000000000 Z +date: 2015-07-15 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rspec-support @@ -110,14 +110,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '0.6' + version: 0.6.2 type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '0.6' + version: 0.6.2 - !ruby/object:Gem::Dependency name: nokogiri requirement: !ruby/object:Gem::Requirement @@ -307,6 +307,6 @@ rubygems_version: 2.2.2 signing_key: specification_version: 4 -summary: rspec-core-3.3.1 +summary: rspec-core-3.3.2 test_files: [] has_rdoc: Files old/metadata.gz.sig and new/metadata.gz.sig differ