fivemat 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4f070f5ac440ac0022cd208bfb29819a3c3ad36
4
- data.tar.gz: b172f6d6f91ac330f9dc670531ba6aebd82dabc1
3
+ metadata.gz: af3d959f74f7cd337c1ea51089d3271974350c9d
4
+ data.tar.gz: 9dc95755e8828bf7c96c50fb8eb591f1c40edfe2
5
5
  SHA512:
6
- metadata.gz: 22a8b79c2100077512cfef1bc326b78ef452abc7eb95c93291e0356e3c6dff670a20c18317b5e7826aa28f8f29b5ad623b1d27abba19ae5174ce2f2ae86e2b6c
7
- data.tar.gz: f19c76d502bb716cba392bfeffc61d3065f6b841c7e2f46c36f3706a00956dcb94f482981a91c84a909b1d20a1edb0e0a5806b208e8829a683e13da2ac2f8e2d
6
+ metadata.gz: 4c4c2eae3d8beb780524a03ad19eee394738c97071fd5b99e18a9ecce8f773cdf1315003446f20213aef149a6462c942ea6fce79f45b72de3075f2f89b5724e1
7
+ data.tar.gz: 8dd20525ee093cd56ce97a04476ff7716a93d37cce98fc0caa988f002a9262ada12357ddbbbdcc064fee4edbd7bb9fdb2d6170ef1d8b1b5cf23a3ba7cde24531
@@ -12,5 +12,5 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "fivemat"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = '1.3.3'
15
+ gem.version = '1.3.4'
16
16
  end
@@ -1,5 +1,3 @@
1
- require 'rspec/core/formatters/console_codes'
2
-
3
1
  module Fivemat
4
2
  class RSpec3
5
3
  include ElapsedTime
@@ -14,19 +12,21 @@ module Fivemat
14
12
  @failed_notifications = []
15
13
  end
16
14
 
17
- Color = ::RSpec::Core::Formatters::ConsoleCodes
15
+ def color
16
+ ::RSpec::Core::Formatters::ConsoleCodes
17
+ end
18
18
 
19
19
  def example_passed(notification)
20
- output.print Color.wrap('.', :success)
20
+ output.print color.wrap('.', :success)
21
21
  end
22
22
 
23
23
  def example_pending(notification)
24
- output.print Color.wrap('*', :pending)
24
+ output.print color.wrap('*', :pending)
25
25
  end
26
26
 
27
27
  def example_failed(notification)
28
28
  @failed_notifications << notification
29
- output.print Color.wrap('F', :failure)
29
+ output.print color.wrap('F', :failure)
30
30
  end
31
31
 
32
32
  def example_group_started(event)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fivemat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pope
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-20 00:00:00.000000000 Z
11
+ date: 2017-06-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: MiniTest/RSpec/Cucumber formatter that gives each test file its own line
14
14
  of dots