rspec_count_formatter 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: e7c2e209a71f9fe8d7f907506b9c42dd227a0510a04188d2f92f3f23b11143aa
4
- data.tar.gz: 870779944c9b0746d6c79175f37b623d63f2f32c86b120008f127f361c80c939
3
+ metadata.gz: 8aa5e99113d586fb6f85d73cbbc06dbbc0b75f6a903535a40c3d83adf6990b54
4
+ data.tar.gz: 556d5118c2e608b6d2472ac480f4b71aec37542f2476f6330f4fcf7c97bcffe3
5
5
  SHA512:
6
- metadata.gz: effd3d9eb0c404584865ee0a847c85e4cec286d11d5fc51da3d330b95b569019112acdf65ffef990a1fb007cb45d0ac046f448d44cba91ce8244e2e4fab8e913
7
- data.tar.gz: d0e2862066238c0d1e183a976437391e2da44e38c5bd24a329a1c68c83cef54983c7aaf5072d67ab111ac6c3eca152873d183f0b261a532a9c9f76a8dc06b949
6
+ metadata.gz: 3c92c6f2836583b55599bf3b79b8509e996e59181bcf105f23b3143511ffe6fd7496a04f51f0fe3d420ed037661dff5d4f5b204060364312503916198ff8ef3a
7
+ data.tar.gz: a6b74bb5246dd67aff4f7f03af69941f0c7bb321bb27939bcd3e5f7e95db6d2427efc5038c028d3eb9102141ab601c334961fcda4be101847c2709b5d5184241
@@ -39,7 +39,7 @@ class RspecCountFormatter < RSpec::Core::Formatters::BaseTextFormatter
39
39
  private
40
40
 
41
41
  def status(example)
42
- done = [@passed, @pending, @failed].sum
42
+ done = (@passed + @pending + @failed)
43
43
  @width ||= @total.to_s.length
44
44
 
45
45
  output.puts format("%#{@width}<done>d / %#{@width}<total>d: %<example>s",
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'rspec_count_formatter'
7
- spec.version = '0.1.2'
7
+ spec.version = '0.1.3'
8
8
  spec.authors = ['Mikko Kokkonen']
9
9
  spec.email = ['mikko@mikian.com']
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_count_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikko Kokkonen