Hello community,

here is the log from the commit of package rubygem-rspec-core for 
openSUSE:Factory checked in at 2017-11-01 11:08:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rspec-core (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rspec-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rspec-core"

Wed Nov  1 11:08:03 2017 rev:23 rq:537495 version:3.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rspec-core/rubygem-rspec-core.changes    
2017-05-27 13:11:24.746481688 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-rspec-core.new/rubygem-rspec-core.changes   
    2017-11-01 11:08:05.481163720 +0100
@@ -1,0 +2,26 @@
+Thu Oct 26 10:12:08 UTC 2017 - [email protected]
+
+- updated to version 3.7.0
+ see installed Changelog.md
+
+  ### Development
+  [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.0...master)
+  
+  ### 3.7.0 / 2017-10-17
+  [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0...v3.7.0)
+  
+  Enhancements:
+  
+  * Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, #2434)
+  * Improve compatibility with `--enable-frozen-string-literal` option
+    on Ruby 2.3+. (Pat Allan, #2425, #2427, #2437)
+  * Do not run `:context` hooks for example groups that have been skipped.
+    (Devon Estes, #2442)
+  * Add `errors_outside_of_examples_count` to the JSON formatter.
+    (Takeshi Arabiki, #2448)
+  
+  Bug Fixes:
+  
+  * Improve compatibility with frozen string literal flag. (#2425, Pat Allan)
+
+-------------------------------------------------------------------

Old:
----
  rspec-core-3.6.0.gem

New:
----
  rspec-core-3.7.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-rspec-core.spec ++++++
--- /var/tmp/diff_new_pack.PD76K7/_old  2017-11-01 11:08:06.045143119 +0100
+++ /var/tmp/diff_new_pack.PD76K7/_new  2017-11-01 11:08:06.045143119 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-rspec-core
-Version:        3.6.0
+Version:        3.7.0
 Release:        0
 %define mod_name rspec-core
 %define mod_full_name %{mod_name}-%{version}
@@ -35,7 +35,7 @@
 BuildRequires:  ruby-macros >= 5
 BuildRequires:  update-alternatives
 Url:            https://github.com/rspec/rspec-core
-Source:         http://rubygems.org/gems/%{mod_full_name}.gem
+Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        RSpec runner and formatters
 License:        MIT

++++++ rspec-core-3.6.0.gem -> rspec-core-3.7.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Changelog.md new/Changelog.md
--- old/Changelog.md    2017-05-05 01:58:29.000000000 +0200
+++ new/Changelog.md    2017-10-17 17:13:00.000000000 +0200
@@ -1,3 +1,23 @@
+### Development
+[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.7.0...master)
+
+### 3.7.0 / 2017-10-17
+[Full Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0...v3.7.0)
+
+Enhancements:
+
+* Add `-n` alias for `--next-failure`. (Ian Ker-Seymer, #2434)
+* Improve compatibility with `--enable-frozen-string-literal` option
+  on Ruby 2.3+. (Pat Allan, #2425, #2427, #2437)
+* Do not run `:context` hooks for example groups that have been skipped.
+  (Devon Estes, #2442)
+* Add `errors_outside_of_examples_count` to the JSON formatter.
+  (Takeshi Arabiki, #2448)
+
+Bug Fixes:
+
+* Improve compatibility with frozen string literal flag. (#2425, Pat Allan)
+
 ### 3.6.0 / 2017-05-04
 [Full 
Changelog](http://github.com/rspec/rspec-core/compare/v3.6.0.beta2...v3.6.0)
 
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary 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/configuration.rb 
new/lib/rspec/core/configuration.rb
--- old/lib/rspec/core/configuration.rb 2017-05-05 01:58:29.000000000 +0200
+++ new/lib/rspec/core/configuration.rb 2017-10-17 17:13:00.000000000 +0200
@@ -161,7 +161,7 @@
 
       # @macro define_reader
       # The file path to use for persisting example statuses. Necessary for the
-      # `--only-failures` and `--next-failures` CLI options.
+      # `--only-failures` and `--next-failure` CLI options.
       #
       # @overload example_status_persistence_file_path
       #   @return [String] the file path
@@ -170,7 +170,7 @@
       define_reader :example_status_persistence_file_path
 
       # Sets the file path to use for persisting example statuses. Necessary 
for the
-      # `--only-failures` and `--next-failures` CLI options.
+      # `--only-failures` and `--next-failure` CLI options.
       def example_status_persistence_file_path=(value)
         @example_status_persistence_file_path = value
         clear_values_derived_from_example_status_persistence_file_path
@@ -413,6 +413,8 @@
 
       # rubocop:disable Metrics/AbcSize
       # rubocop:disable Metrics/MethodLength
+
+      # Build an object to store runtime configuration options and set defaults
       def initialize
         # rubocop:disable Style/GlobalVars
         @start_time = $_rspec_core_load_started_at || ::RSpec::Core::Time.now
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/drb.rb new/lib/rspec/core/drb.rb
--- old/lib/rspec/core/drb.rb   2017-05-05 01:58:29.000000000 +0200
+++ new/lib/rspec/core/drb.rb   2017-10-17 17:13:00.000000000 +0200
@@ -84,7 +84,7 @@
       def add_filter(argv, name, hash)
         hash.each_pair do |k, v|
           next if CONDITIONAL_FILTERS.include?(k)
-          tag = name == :inclusion ? k.to_s : "~#{k}"
+          tag = name == :inclusion ? k.to_s : "~#{k}".dup
           tag << ":#{v}" if v.is_a?(String)
           argv << "--tag" << tag
         end unless hash.empty?
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       2017-05-05 01:58:29.000000000 +0200
+++ new/lib/rspec/core/example.rb       2017-10-17 17:13:00.000000000 +0200
@@ -87,7 +87,7 @@
       def inspect_output
         inspect_output = "\"#{description}\""
         unless metadata[:description].to_s.empty?
-          inspect_output << " (#{location})"
+          inspect_output += " (#{location})"
         end
         inspect_output
       end
@@ -523,7 +523,7 @@
       def assign_generated_description
         if metadata[:description].empty? && (description = 
generate_description)
           metadata[:description] = description
-          metadata[:full_description] << description
+          metadata[:full_description] += description
         end
       ensure
         RSpec::Matchers.clear_generated_description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/example_group.rb 
new/lib/rspec/core/example_group.rb
--- old/lib/rspec/core/example_group.rb 2017-05-05 01:58:29.000000000 +0200
+++ new/lib/rspec/core/example_group.rb 2017-10-17 17:13:00.000000000 +0200
@@ -3,6 +3,7 @@
 module RSpec
   module Core
     # rubocop:disable Metrics/ClassLength
+
     # ExampleGroup and {Example} are the main structural elements of
     # rspec-core. Consider this example:
     #
@@ -838,10 +839,10 @@
     end
 
     def self.base_name_for(group)
-      return "Anonymous" if group.description.empty?
+      return "Anonymous".dup if group.description.empty?
 
       # Convert to CamelCase.
-      name = ' ' << group.description
+      name = ' ' + group.description
       name.gsub!(/[^0-9a-zA-Z]+([0-9a-zA-Z])/) do
         match = ::Regexp.last_match[1]
         match.upcase!
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/formatters/base_formatter.rb 
new/lib/rspec/core/formatters/base_formatter.rb
--- old/lib/rspec/core/formatters/base_formatter.rb     2017-05-05 
01:58:29.000000000 +0200
+++ new/lib/rspec/core/formatters/base_formatter.rb     2017-10-17 
17:13:00.000000000 +0200
@@ -5,7 +5,7 @@
   module Core
     module Formatters
       # RSpec's built-in formatters are all subclasses of
-      # RSpec::Core::Formatters::BaseTextFormatter.
+      # RSpec::Core::Formatters::BaseFormatter.
       #
       # @see RSpec::Core::Formatters::BaseTextFormatter
       # @see RSpec::Core::Reporter
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/formatters/deprecation_formatter.rb 
new/lib/rspec/core/formatters/deprecation_formatter.rb
--- old/lib/rspec/core/formatters/deprecation_formatter.rb      2017-05-05 
01:58:29.000000000 +0200
+++ new/lib/rspec/core/formatters/deprecation_formatter.rb      2017-10-17 
17:13:00.000000000 +0200
@@ -59,6 +59,8 @@
 
         DEPRECATION_STREAM_NOTICE = "Pass `--deprecation-out` or set " \
           "`config.deprecation_stream` to a file for full output."
+        TOO_MANY_WARNINGS_NOTICE  = "Too many similar deprecation messages " \
+          "reported, disregarding further reports. 
#{DEPRECATION_STREAM_NOTICE}"
 
         SpecifiedDeprecationMessage = Struct.new(:type) do
           def initialize(data)
@@ -71,9 +73,7 @@
           end
 
           def too_many_warnings_message
-            msg = "Too many similar deprecation messages reported, 
disregarding further reports. "
-            msg << DEPRECATION_STREAM_NOTICE
-            msg
+            TOO_MANY_WARNINGS_NOTICE
           end
 
           private
@@ -96,16 +96,14 @@
           end
 
           def to_s
-            msg =  "#{@data.deprecated} is deprecated."
+            msg = String.new("#{@data.deprecated} is deprecated.")
             msg << " Use #{@data.replacement} instead." if @data.replacement
-            msg << " Called from #{@data.call_site}." if @data.call_site
+            msg << " Called from #{@data.call_site}."   if @data.call_site
             msg
           end
 
           def too_many_warnings_message
-            msg = "Too many uses of deprecated '#{type}'. "
-            msg << DEPRECATION_STREAM_NOTICE
-            msg
+            "Too many uses of deprecated '#{type}'. 
#{DEPRECATION_STREAM_NOTICE}"
           end
         end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/formatters/html_printer.rb 
new/lib/rspec/core/formatters/html_printer.rb
--- old/lib/rspec/core/formatters/html_printer.rb       2017-05-05 
01:58:29.000000000 +0200
+++ new/lib/rspec/core/formatters/html_printer.rb       2017-10-17 
17:13:00.000000000 +0200
@@ -59,7 +59,9 @@
         end
 
         def print_summary(duration, example_count, failure_count, 
pending_count)
-          totals =  "#{example_count} example#{'s' unless example_count == 1}, 
"
+          totals = String.new(
+            "#{example_count} example#{'s' unless example_count == 1}, "
+          )
           totals << "#{failure_count} failure#{'s' unless failure_count == 1}"
           totals << ", #{pending_count} pending" if pending_count > 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/formatters/html_snippet_extractor.rb 
new/lib/rspec/core/formatters/html_snippet_extractor.rb
--- old/lib/rspec/core/formatters/html_snippet_extractor.rb     2017-05-05 
01:58:29.000000000 +0200
+++ new/lib/rspec/core/formatters/html_snippet_extractor.rb     2017-10-17 
17:13:00.000000000 +0200
@@ -21,7 +21,9 @@
         end
 
         # rubocop:disable Style/ClassVars
+        # @private
         @@converter = NullConverter
+
         begin
           require 'coderay'
           RSpec::Support.require_rspec_core 'formatters/syntax_highlighter'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/formatters/json_formatter.rb 
new/lib/rspec/core/formatters/json_formatter.rb
--- old/lib/rspec/core/formatters/json_formatter.rb     2017-05-05 
01:58:29.000000000 +0200
+++ new/lib/rspec/core/formatters/json_formatter.rb     2017-10-17 
17:13:00.000000000 +0200
@@ -26,7 +26,8 @@
             :duration => summary.duration,
             :example_count => summary.example_count,
             :failure_count => summary.failure_count,
-            :pending_count => summary.pending_count
+            :pending_count => summary.pending_count,
+            :errors_outside_of_examples_count => 
summary.errors_outside_of_examples_count
           }
           @output_hash[:summary_line] = summary.totals_line
         end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/hooks.rb new/lib/rspec/core/hooks.rb
--- old/lib/rspec/core/hooks.rb 2017-05-05 01:58:29.000000000 +0200
+++ new/lib/rspec/core/hooks.rb 2017-10-17 17:13:00.000000000 +0200
@@ -456,7 +456,9 @@
           return if RSpec.configuration.dry_run?
 
           if scope == :context
-            run_owned_hooks_for(position, :context, example_or_group)
+            unless example_or_group.class.metadata[:skip]
+              run_owned_hooks_for(position, :context, example_or_group)
+            end
           else
             case position
             when :before then run_example_hooks_for(example_or_group, :before, 
:reverse_each)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/notifications.rb 
new/lib/rspec/core/notifications.rb
--- old/lib/rspec/core/notifications.rb 2017-05-05 01:58:29.000000000 +0200
+++ new/lib/rspec/core/notifications.rb 2017-10-17 17:13:00.000000000 +0200
@@ -111,7 +111,7 @@
         formatted = "\nFailures:\n"
 
         failure_notifications.each_with_index do |failure, index|
-          formatted << failure.fully_formatted(index.next, colorizer)
+          formatted += failure.fully_formatted(index.next, colorizer)
         end
 
         formatted
@@ -120,7 +120,7 @@
       # @return [String] The list of pending examples, fully formatted in the
       #   way that RSpec's built-in formatters emit.
       def 
fully_formatted_pending_examples(colorizer=::RSpec::Core::Formatters::ConsoleCodes)
-        formatted = "\nPending: (Failures listed here are expected and do not 
affect your suite's status)\n"
+        formatted = "\nPending: (Failures listed here are expected and do not 
affect your suite's status)\n".dup
 
         pending_notifications.each_with_index do |notification, index|
           formatted << notification.fully_formatted(index.next, colorizer)
@@ -232,9 +232,14 @@
       #   RSpec's built-in formatters emit.
       def fully_formatted(pending_number, 
colorizer=::RSpec::Core::Formatters::ConsoleCodes)
         formatted_caller = 
RSpec.configuration.backtrace_formatter.backtrace_line(example.location)
-        colorizer.wrap("\n  #{pending_number}) #{example.full_description}", 
:pending) << "\n     " <<
-          
Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER.call(example, 
colorizer) <<
-          "\n" << colorizer.wrap("     # #{formatted_caller}\n", :detail)
+
+        [
+          colorizer.wrap("\n  #{pending_number}) #{example.full_description}", 
:pending),
+          "\n     ",
+          
Formatters::ExceptionPresenter::PENDING_DETAIL_FORMATTER.call(example, 
colorizer),
+          "\n",
+          colorizer.wrap("     # #{formatted_caller}\n", :detail)
+        ].join("")
       end
     end
 
@@ -315,13 +320,15 @@
       # @api
       # @return [String] A line summarising the result totals of the spec run.
       def totals_line
-        summary = Formatters::Helpers.pluralize(example_count, "example")
-        summary << ", " << Formatters::Helpers.pluralize(failure_count, 
"failure")
-        summary << ", #{pending_count} pending" if pending_count > 0
+        summary = Formatters::Helpers.pluralize(example_count, "example") +
+          ", " + Formatters::Helpers.pluralize(failure_count, "failure")
+        summary += ", #{pending_count} pending" if pending_count > 0
         if errors_outside_of_examples_count > 0
-          summary << ", "
-          summary << 
Formatters::Helpers.pluralize(errors_outside_of_examples_count, "error")
-          summary << " occurred outside of examples"
+          summary += (
+            ", " +
+            Formatters::Helpers.pluralize(errors_outside_of_examples_count, 
"error") +
+            " occurred outside of examples"
+          )
         end
         summary
       end
@@ -380,7 +387,7 @@
                     "#{colorized_totals_line(colorizer)}\n"
 
         unless failed_examples.empty?
-          formatted << colorized_rerun_commands(colorizer) << "\n"
+          formatted += (colorized_rerun_commands(colorizer) + "\n")
         end
 
         formatted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rspec/core/option_parser.rb 
new/lib/rspec/core/option_parser.rb
--- old/lib/rspec/core/option_parser.rb 2017-05-05 01:58:30.000000000 +0200
+++ new/lib/rspec/core/option_parser.rb 2017-10-17 17:13:00.000000000 +0200
@@ -201,7 +201,7 @@
           configure_only_failures(options)
         end
 
-        parser.on("--next-failure", "Apply `--only-failures` and abort after 
one failure.",
+        parser.on("-n", "--next-failure", "Apply `--only-failures` and abort 
after one failure.",
                   "  (Equivalent to `--only-failures --fail-fast --order 
defined`)") do
           configure_only_failures(options)
           set_fail_fast(options, 1)
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       2017-05-05 01:58:30.000000000 +0200
+++ new/lib/rspec/core/version.rb       2017-10-17 17:13:00.000000000 +0200
@@ -3,7 +3,7 @@
     # Version information for RSpec Core.
     module Version
       # Current version of RSpec Core, in semantic versioning format.
-      STRING = '3.6.0'
+      STRING = '3.7.0'
     end
   end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2017-05-05 01:58:29.000000000 +0200
+++ new/metadata        2017-10-17 17:13:00.000000000 +0200
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rspec-core
 version: !ruby/object:Gem::Version
-  version: 3.6.0
+  version: 3.7.0
 platform: ruby
 authors:
 - Steven Baker
@@ -46,7 +46,7 @@
   ZsVDj6a7lH3cNqtWXZxrb2wO38qV5AkYj8SQK7Hj3/Yui9myUX3crr+PdetazSqQ
   F3MdtaDehhjC
   -----END CERTIFICATE-----
-date: 2017-05-04 00:00:00.000000000 Z
+date: 2017-10-17 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rspec-support
@@ -54,14 +54,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 3.6.0
+        version: 3.7.0
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 3.6.0
+        version: 3.7.0
 - !ruby/object:Gem::Dependency
   name: cucumber
   requirement: !ruby/object:Gem::Requirement
@@ -110,14 +110,14 @@
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 1.0.9
+        version: 1.1.1
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - "~>"
       - !ruby/object:Gem::Version
-        version: 1.0.9
+        version: 1.1.1
 - !ruby/object:Gem::Dependency
   name: mocha
   requirement: !ruby/object:Gem::Requirement
@@ -277,9 +277,9 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.4.5.2
+rubygems_version: 2.6.14
 signing_key: 
 specification_version: 4
-summary: rspec-core-3.6.0
+summary: rspec-core-3.7.0
 test_files: []
 has_rdoc: 
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ


Reply via email to