fivemat 1.3.2 → 1.3.3

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: b71e93a7338aad14b7d10c8b504f18ff9cbee45c
4
- data.tar.gz: d0b1fe399129300fc4478717855b98b4af9b5f92
3
+ metadata.gz: e4f070f5ac440ac0022cd208bfb29819a3c3ad36
4
+ data.tar.gz: b172f6d6f91ac330f9dc670531ba6aebd82dabc1
5
5
  SHA512:
6
- metadata.gz: 31b3e0f3d1a5f06d7cc2f86484cb45d9e74002e2f976337794c408658c8075a04b04c02003affe4f7f372022c0930dd3f63ca4dee795096f622ccc557e8d906a
7
- data.tar.gz: d15800ba2a4ab9686286eac725c65d1c825e988a3bc1af83c4eb9773de47602d71c03b37858e3a500878cfe36f40d8b508fb555f90313f753c379ad4e0daae92
6
+ metadata.gz: 22a8b79c2100077512cfef1bc326b78ef452abc7eb95c93291e0356e3c6dff670a20c18317b5e7826aa28f8f29b5ad623b1d27abba19ae5174ce2f2ae86e2b6c
7
+ data.tar.gz: f19c76d502bb716cba392bfeffc61d3065f6b841c7e2f46c36f3706a00956dcb94f482981a91c84a909b1d20a1edb0e0a5806b208e8829a683e13da2ac2f8e2d
@@ -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.2'
15
+ gem.version = '1.3.3'
16
16
  end
@@ -7,6 +7,17 @@ module Fivemat
7
7
  autoload :RSpec3, 'fivemat/rspec3'
8
8
  autoload :Spec, 'fivemat/spec'
9
9
 
10
+ def cucumber2?
11
+ defined?(::Cucumber) && ::Cucumber::VERSION >= '2.0.0'
12
+ end
13
+ module_function :cucumber2?
14
+
15
+ if cucumber2?
16
+ # Cucumber 2 detects the formatter API based on initialize arity
17
+ def initialize(runtime, path_or_io, options)
18
+ end
19
+ end
20
+
10
21
  def rspec3?
11
22
  defined?(::RSpec::Core) && ::RSpec::Core::Version::STRING >= '3.0.0'
12
23
  end
@@ -26,7 +26,7 @@ module Fivemat
26
26
 
27
27
  def exception(exception, status)
28
28
  @exceptions << [exception, status]
29
- super
29
+ super if defined?(super)
30
30
  end
31
31
 
32
32
  def after_features(features)
@@ -35,5 +35,8 @@ module Fivemat
35
35
  print_snippets(@options)
36
36
  print_passing_wip(@options)
37
37
  end
38
+
39
+ def done
40
+ end
38
41
  end
39
42
  end
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.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pope
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-20 00:00:00.000000000 Z
11
+ date: 2017-03-20 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
@@ -54,9 +54,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.4.5
57
+ rubygems_version: 2.6.8
58
58
  signing_key:
59
59
  specification_version: 4
60
60
  summary: Why settle for a test output format when you could have a test output fivemat?
61
61
  test_files: []
62
- has_rdoc: