simplecov 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bcd3fcd0c8e30121cc9f50e81b8b756f1153e8a3
4
- data.tar.gz: 58d53aacce8c59039020aa58c651c6c66b04c414
3
+ metadata.gz: d4af948b77b779812e38aae3eaa154f6a280c910
4
+ data.tar.gz: 80705587d23aeabb4a70eeb6a6e1ec0d1a8b7163
5
5
  SHA512:
6
- metadata.gz: 8edc40314d68f3964d6cdba4d99a9afb07f15e7bafdc5ecccdeda85ce2d662ff5016ccc0b5e78edf5668ca40c92bf168d2f3b031ca08b541a18f15d717354f69
7
- data.tar.gz: 60b3f714f8701072f44186639a4915aae3b8fdd8341e31ad41b2bde07961917052c012106fccad8b2a54ced75be9f84f7f1f743b3ef64a7b7bd0671c906eea83
6
+ metadata.gz: 86e09f20723efd9b0cd2574b6bc0191c5f7f0483a4bd50d0d7d3b77d227239bda9db764e53b3254c7497a95ab052810786895f0fbb1ea1892bfaf505a56254aa
7
+ data.tar.gz: 1e2286d2c6bb0c683315b6ef74f80262a90610b58fde1465b6a21511075f37554a6ca17a0fa4219fed196da673d67685c85fa9441b91edd2cd6a4a258fa078fd
@@ -5,7 +5,16 @@ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.11.0...m
5
5
 
6
6
  ## Bugfixes
7
7
 
8
- 0.11.0 2015-11-29 ([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...v0.10.11))
8
+ 0.11.1 2015-12-01 ([changes](https://github.com/colszowka/simplecov/compare/v0.11.0...v0.11.1))
9
+ =================
10
+
11
+ ## Enhancements
12
+
13
+ ## Bugfixes
14
+
15
+ * Fixed regression in `MultiFormatter.[]` with multiple arguments. See [#431](https://github.com/colszowka/simplecov/pull/431) (thanks @dillondrobena)
16
+
17
+ 0.11.0 2015-11-29 ([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...v0.11.0))
9
18
  =================
10
19
 
11
20
  ## Enhancements
@@ -25,7 +25,7 @@ module SimpleCov
25
25
 
26
26
  def self.[](*args)
27
27
  warn "#{Kernel.caller.first}: [DEPRECATION] ::[] is deprecated. Use ::new instead."
28
- new(*args)
28
+ new(Array([*args]))
29
29
  end
30
30
  end
31
31
  end
@@ -1,5 +1,5 @@
1
1
  module SimpleCov
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  def VERSION.to_a
4
4
  split(".").map(&:to_i)
5
5
  end
@@ -0,0 +1,20 @@
1
+ require "helper"
2
+
3
+ require "simplecov/formatter/multi_formatter"
4
+
5
+ describe SimpleCov::Formatter::MultiFormatter do
6
+ describe ".[]" do
7
+ # Regression test for https://github.com/colszowka/simplecov/issues/428
8
+ it "constructs a formatter with multiple children" do
9
+ # Silence deprecation warnings.
10
+ allow(described_class).to receive(:warn)
11
+
12
+ children = [
13
+ SimpleCov::Formatter::SimpleFormatter,
14
+ SimpleCov::Formatter::SimpleFormatter,
15
+ ]
16
+
17
+ expect(described_class[*children].new.formatters).to eq(children)
18
+ end
19
+ end
20
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Olszowka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-29 00:00:00.000000000 Z
11
+ date: 2015-12-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -184,6 +184,7 @@ files:
184
184
  - spec/fixtures/utf-8.rb
185
185
  - spec/helper.rb
186
186
  - spec/merge_helpers_spec.rb
187
+ - spec/multi_formatter_spec.rb
187
188
  - spec/result_spec.rb
188
189
  - spec/return_codes_spec.rb
189
190
  - spec/source_file_line_spec.rb
@@ -287,6 +288,7 @@ test_files:
287
288
  - spec/fixtures/utf-8.rb
288
289
  - spec/helper.rb
289
290
  - spec/merge_helpers_spec.rb
291
+ - spec/multi_formatter_spec.rb
290
292
  - spec/result_spec.rb
291
293
  - spec/return_codes_spec.rb
292
294
  - spec/source_file_line_spec.rb