commit rubygem-rspec-core for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rspec-core for openSUSE:Factory checked in at 2016-02-28 02:25:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-12-01 10:02:37.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rspec-core.new/rubygem-rspec-core.changes 2016-02-28 02:25:41.000000000 +0100 @@ -1,0 +2,20 @@ +Wed Jan 27 05:32:55 UTC 2016 - coolo@suse.com + +- updated to version 3.4.2 + see installed Changelog.md + + ### 3.4.2 / 2016-01-26 + [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.1...v3.4.2) + + Bug Fixes: + + * Fix `rspec --profile` when an example calls `abort` or `exit`. + (Bradley Schaefer, #2144) + * Fix `--drb` so that when no DRb server is running, it prevents + the DRb connection error from being listed as the cause of all + expectation failures. (Myron Marston, #2156) + * Fix syntax highlighter so that it works when the `coderay` gem is + installed as a rubygem but not already available on your load path + (as happens when you use bundler). (Myron Marston, #2159) + +------------------------------------------------------------------- Old: ---- rspec-core-3.4.1.gem New: ---- rspec-core-3.4.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rspec-core.spec ++++++ --- /var/tmp/diff_new_pack.4vHYeJ/_old 2016-02-28 02:25:42.000000000 +0100 +++ /var/tmp/diff_new_pack.4vHYeJ/_new 2016-02-28 02:25:42.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rspec-core # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,7 +24,7 @@ # Name: rubygem-rspec-core -Version: 3.4.1 +Version: 3.4.2 Release: 0 %define mod_name rspec-core %define mod_full_name %{mod_name}-%{version} ++++++ rspec-core-3.4.1.gem -> rspec-core-3.4.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Changelog.md new/Changelog.md --- old/Changelog.md 2015-11-19 03:15:29.000000000 +0100 +++ new/Changelog.md 2016-01-27 00:11:21.000000000 +0100 @@ -1,3 +1,17 @@ +### 3.4.2 / 2016-01-26 +[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.1...v3.4.2) + +Bug Fixes: + +* Fix `rspec --profile` when an example calls `abort` or `exit`. + (Bradley Schaefer, #2144) +* Fix `--drb` so that when no DRb server is running, it prevents + the DRb connection error from being listed as the cause of all + expectation failures. (Myron Marston, #2156) +* Fix syntax highlighter so that it works when the `coderay` gem is + installed as a rubygem but not already available on your load path + (as happens when you use bundler). (Myron Marston, #2159) + ### 3.4.1 / 2015-11-18 [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.4.0...v3.4.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/example.rb new/lib/rspec/core/example.rb --- old/lib/rspec/core/example.rb 2015-11-19 03:15:30.000000000 +0100 +++ new/lib/rspec/core/example.rb 2016-01-27 00:11:21.000000000 +0100 @@ -260,6 +260,7 @@ finish(reporter) ensure + execution_result.ensure_timing_set(clock) RSpec.current_example = nil end @@ -565,13 +566,23 @@ # @api private # Records the finished status of the example. def record_finished(status, finished_at) - self.status = status - self.finished_at = finished_at - self.run_time = (finished_at - started_at).to_f + self.status = status + calculate_run_time(finished_at) + end + + # @api private + # Populates finished_at and run_time if it has not yet been set + def ensure_timing_set(clock) + calculate_run_time(clock.now) unless finished_at end private + def calculate_run_time(finished_at) + self.finished_at = finished_at + self.run_time = (finished_at - started_at).to_f + end + # For backwards compatibility we present `status` as a string # when presenting the legacy hash interface. def hash_for_delegation diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/metadata.rb new/lib/rspec/core/metadata.rb --- old/lib/rspec/core/metadata.rb 2015-11-19 03:15:30.000000000 +0100 +++ new/lib/rspec/core/metadata.rb 2016-01-27 00:11:21.000000000 +0100 @@ -47,7 +47,9 @@ return nil if line == '-e:1'.freeze line rescue SecurityError + # :nocov: nil + # :nocov: end # @private diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/runner.rb new/lib/rspec/core/runner.rb --- old/lib/rspec/core/runner.rb 2015-11-19 03:15:30.000000000 +0100 +++ new/lib/rspec/core/runner.rb 2016-01-27 00:11:21.000000000 +0100 @@ -2,6 +2,10 @@ module Core # Provides the main entry point to run a suite of RSpec examples. class Runner + # @attr_reader + # @private + attr_reader :options, :configuration, :world + # Register an `at_exit` hook that runs the suite when the process exits. # # @note This is not generally needed. The `rspec` command takes care @@ -65,13 +69,13 @@ require 'rspec/core/drb' begin DRbRunner.new(options).run(err, out) + return rescue DRb::DRbConnError err.puts "No DRb server is running. Running in local process instead ..." - new(options).run(err, out) end - else - new(options).run(err, out) end + + new(options).run(err, out) end def initialize(options, configuration=RSpec.configuration, world=RSpec.world) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rspec/core/source/syntax_highlighter.rb new/lib/rspec/core/source/syntax_highlighter.rb --- old/lib/rspec/core/source/syntax_highlighter.rb 2015-11-19 03:15:30.000000000 +0100 +++ new/lib/rspec/core/source/syntax_highlighter.rb 2016-01-27 00:11:21.000000000 +0100 @@ -30,7 +30,7 @@ def color_enabled_implementation @color_enabled_implementation ||= begin - ::Kernel.require 'coderay' + require 'coderay' CodeRayImplementation rescue LoadError NoSyntaxHighlightingImplementation 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-11-19 03:15:30.000000000 +0100 +++ new/lib/rspec/core/version.rb 2016-01-27 00:11:21.000000000 +0100 @@ -3,7 +3,7 @@ # Version information for RSpec Core. module Version # Current version of RSpec Core, in semantic versioning format. - STRING = '3.4.1' + STRING = '3.4.2' end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2015-11-19 03:15:29.000000000 +0100 +++ new/metadata 2016-01-27 00:11:21.000000000 +0100 @@ -1,7 +1,7 @@ --- !ruby/object:Gem::Specification name: rspec-core version: !ruby/object:Gem::Version - version: 3.4.1 + version: 3.4.2 platform: ruby authors: - Steven Baker @@ -46,7 +46,7 @@ ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ F3MdtaDehhjC -----END CERTIFICATE----- -date: 2015-11-19 00:00:00.000000000 Z +date: 2016-01-26 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rspec-support @@ -119,20 +119,6 @@ - !ruby/object:Gem::Version version: 0.6.2 - !ruby/object:Gem::Dependency - name: nokogiri - requirement: !ruby/object:Gem::Requirement - requirements: - - - "~>" - - !ruby/object:Gem::Version - version: '1.5' - type: :development - prerelease: false - version_requirements: !ruby/object:Gem::Requirement - requirements: - - - "~>" - - !ruby/object:Gem::Version - version: '1.5' -- !ruby/object:Gem::Dependency name: coderay requirement: !ruby/object:Gem::Requirement requirements: @@ -310,6 +296,6 @@ rubygems_version: 2.2.2 signing_key: specification_version: 4 -summary: rspec-core-3.4.1 +summary: rspec-core-3.4.2 test_files: [] has_rdoc: Files old/metadata.gz.sig and new/metadata.gz.sig differ
participants (1)
-
root@hilbert.suse.de