Hello community,

here is the log from the commit of package rubygem-simplecov for 
openSUSE:Factory checked in at 2015-12-13 09:40:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-simplecov (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-simplecov.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-simplecov"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-simplecov/rubygem-simplecov.changes      
2015-12-09 22:33:37.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-simplecov.new/rubygem-simplecov.changes 
2015-12-13 09:40:19.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Dec  3 05:30:26 UTC 2015 - [email protected]
+
+- updated to version 0.11.1
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------

Old:
----
  simplecov-0.11.0.gem

New:
----
  simplecov-0.11.1.gem

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

Other differences:
------------------
++++++ rubygem-simplecov.spec ++++++
--- /var/tmp/diff_new_pack.heWeu0/_old  2015-12-13 09:40:20.000000000 +0100
+++ /var/tmp/diff_new_pack.heWeu0/_new  2015-12-13 09:40:20.000000000 +0100
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-simplecov
-Version:        0.11.0
+Version:        0.11.1
 Release:        0
 %define mod_name simplecov
 %define mod_full_name %{mod_name}-%{version}

++++++ simplecov-0.11.0.gem -> simplecov-0.11.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-11-29 20:50:01.000000000 +0100
+++ new/CHANGELOG.md    2015-12-02 06:08:44.000000000 +0100
@@ -5,7 +5,16 @@
 
 ## Bugfixes
 
-0.11.0 2015-11-29 
([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...v0.10.11))
+0.11.1 2015-12-01 
([changes](https://github.com/colszowka/simplecov/compare/v0.11.0...v0.11.1))
+=================
+
+## Enhancements
+
+## Bugfixes
+
+* Fixed regression in `MultiFormatter.[]` with multiple arguments. See 
[#431](https://github.com/colszowka/simplecov/pull/431) (thanks @dillondrobena)
+
+0.11.0 2015-11-29 
([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...v0.11.0))
 =================
 
 ## Enhancements
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/simplecov/formatter/multi_formatter.rb 
new/lib/simplecov/formatter/multi_formatter.rb
--- old/lib/simplecov/formatter/multi_formatter.rb      2015-11-29 
20:50:01.000000000 +0100
+++ new/lib/simplecov/formatter/multi_formatter.rb      2015-12-02 
06:08:44.000000000 +0100
@@ -25,7 +25,7 @@
 
       def self.[](*args)
         warn "#{Kernel.caller.first}: [DEPRECATION] ::[] is deprecated. Use 
::new instead."
-        new(*args)
+        new(Array([*args]))
       end
     end
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/simplecov/version.rb new/lib/simplecov/version.rb
--- old/lib/simplecov/version.rb        2015-11-29 20:50:01.000000000 +0100
+++ new/lib/simplecov/version.rb        2015-12-02 06:08:44.000000000 +0100
@@ -1,5 +1,5 @@
 module SimpleCov
-  VERSION = "0.11.0"
+  VERSION = "0.11.1"
   def VERSION.to_a
     split(".").map(&:to_i)
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-11-29 20:50:01.000000000 +0100
+++ new/metadata        2015-12-02 06:08:44.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: simplecov
 version: !ruby/object:Gem::Version
-  version: 0.11.0
+  version: 0.11.1
 platform: ruby
 authors:
 - Christoph Olszowka
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-11-29 00:00:00.000000000 Z
+date: 2015-12-02 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: json
@@ -184,6 +184,7 @@
 - spec/fixtures/utf-8.rb
 - spec/helper.rb
 - spec/merge_helpers_spec.rb
+- spec/multi_formatter_spec.rb
 - spec/result_spec.rb
 - spec/return_codes_spec.rb
 - spec/source_file_line_spec.rb
@@ -287,6 +288,7 @@
 - spec/fixtures/utf-8.rb
 - spec/helper.rb
 - spec/merge_helpers_spec.rb
+- spec/multi_formatter_spec.rb
 - spec/result_spec.rb
 - spec/return_codes_spec.rb
 - spec/source_file_line_spec.rb
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/multi_formatter_spec.rb 
new/spec/multi_formatter_spec.rb
--- old/spec/multi_formatter_spec.rb    1970-01-01 01:00:00.000000000 +0100
+++ new/spec/multi_formatter_spec.rb    2015-12-02 06:08:44.000000000 +0100
@@ -0,0 +1,20 @@
+require "helper"
+
+require "simplecov/formatter/multi_formatter"
+
+describe SimpleCov::Formatter::MultiFormatter do
+  describe ".[]" do
+    # Regression test for https://github.com/colszowka/simplecov/issues/428
+    it "constructs a formatter with multiple children" do
+      # Silence deprecation warnings.
+      allow(described_class).to receive(:warn)
+
+      children = [
+        SimpleCov::Formatter::SimpleFormatter,
+        SimpleCov::Formatter::SimpleFormatter,
+      ]
+
+      expect(described_class[*children].new.formatters).to eq(children)
+    end
+  end
+end


Reply via email to