fivemat 1.3.1 → 1.3.2

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: 2a5b609f9df1bdb02278cb9d1c00ae1795ed939f
4
- data.tar.gz: ae9f16c478877ad98754b952d5749e60d807da89
3
+ metadata.gz: b71e93a7338aad14b7d10c8b504f18ff9cbee45c
4
+ data.tar.gz: d0b1fe399129300fc4478717855b98b4af9b5f92
5
5
  SHA512:
6
- metadata.gz: 388ae947ef201509b647deb0204f16ec428c433ee74ef3bfb8d946795ad2f9311e0ea8cb15ffb1ea5c585115357627d090aafa762652bfd6e944455f66d65752
7
- data.tar.gz: 5cb2396594c40a0f676648a17f0846ff9a7b83654fc7822e325fba0240c1054c3eb7f4bc49e1732aeea5205f8d98e862b75d3098fd55852c379df7230d8ea133
6
+ metadata.gz: 31b3e0f3d1a5f06d7cc2f86484cb45d9e74002e2f976337794c408658c8075a04b04c02003affe4f7f372022c0930dd3f63ca4dee795096f622ccc557e8d906a
7
+ data.tar.gz: d15800ba2a4ab9686286eac725c65d1c825e988a3bc1af83c4eb9773de47602d71c03b37858e3a500878cfe36f40d8b508fb555f90313f753c379ad4e0daae92
@@ -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.1'
15
+ gem.version = '1.3.2'
16
16
  end
@@ -22,7 +22,8 @@ module Fivemat
22
22
  :example_group_started,
23
23
  :example_group_finished,
24
24
  :dump_summary,
25
- :seed
25
+ :seed,
26
+ :message
26
27
  end
27
28
 
28
29
  def self.new(*args)
@@ -43,6 +43,9 @@ module Fivemat
43
43
  def pending_fixed?(example)
44
44
  if example.execution_result[:exception].respond_to?(:pending_fixed?)
45
45
  example.execution_result[:exception].pending_fixed?
46
+ elsif defined?(::RSpec::Core::Pending::PendingExampleFixedError)
47
+ # RSpec 2.99.2 compatibility
48
+ ::RSpec::Core::Pending::PendingExampleFixedError == example.execution_result[:exception]
46
49
  else
47
50
  ::RSpec::Core::PendingExampleFixedError === example.execution_result[:exception]
48
51
  end
@@ -62,5 +62,9 @@ module Fivemat
62
62
  return unless notification.seed_used?
63
63
  output.puts notification.fully_formatted
64
64
  end
65
+
66
+ def message(notification)
67
+ output.puts notification.message
68
+ end
65
69
  end
66
70
  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.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pope
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-20 00:00:00.000000000 Z
11
+ date: 2015-10-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
@@ -18,7 +18,7 @@ executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
- - .gitignore
21
+ - ".gitignore"
22
22
  - Gemfile
23
23
  - LICENSE
24
24
  - MIT-LICENSE
@@ -44,17 +44,17 @@ require_paths:
44
44
  - lib
45
45
  required_ruby_version: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  requirements: []
56
56
  rubyforge_project:
57
- rubygems_version: 2.0.3
57
+ rubygems_version: 2.4.5
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?