rspec_tap_formatter 0.4.0 → 0.5.0

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
  SHA256:
3
- metadata.gz: db17ff070fe335dca2f868e0814e282edc87e2b6a4bd119425ca5bdc9722fa24
4
- data.tar.gz: 7a688cc8f125e068d40396087cc3a0f0ecb6c317caaf953a59b190fe6be84ca9
3
+ metadata.gz: 601068ac2f555c6a5edb97a0d0f163903b8966863f2ecc65f1de7066bb993bad
4
+ data.tar.gz: 6f96466b8b050b6cc96221008c615587b145c35d9477fedd8331b84cf19005b8
5
5
  SHA512:
6
- metadata.gz: e7b9bbbf09210e0adea2d789b6d7d1129973982e90e0bd6ad086996b7720f254cd3387ae1d5e45bc42f8b7eca2ea7a9fccdefb24378c7f87fc34e2212592d383
7
- data.tar.gz: 68c3b7812cb4b61ef69efc7c1656b3eaa1e23355a78136bcbb2457cdb5d4920e6a5ac9c1dbad56a97786d4324902301ab65f3bf51ffdf6778fd00e62ba753019
6
+ metadata.gz: a0e50911ad068b005d75dfd94b4ac5721404e93c7f790d84e9463a1d31cd30b3c54563d253cd67c3599e10ee1a654f8372d24c34123152697dec6b1437d81b31
7
+ data.tar.gz: 8ceb5d6996e3515584a73fbc2a7da920eb59607646bae8c8f2cb6baad5280ba1a202b0df4a2614cb10281e23f3a75ee602ca76a6c8dfd916aa885bbe4be39d67
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec_tap_formatter (0.4.0)
4
+ rspec_tap_formatter (0.5.0)
5
5
  rspec-core (~> 3.7.1)
6
6
 
7
7
  GEM
@@ -2,7 +2,7 @@ require "rspec/core"
2
2
  require "rspec/core/formatters/base_formatter"
3
3
 
4
4
  class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
5
- VERSION = "0.4.0"
5
+ VERSION = "0.5.0"
6
6
  # Specification found: https://testanything.org/tap-version-13-specification.html
7
7
  #
8
8
  # This registers the notifications this formatter supports, and tells
@@ -23,11 +23,12 @@ class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
23
23
  @count += 1
24
24
  end
25
25
 
26
- def example_passed(example_notification)
27
- @output << "ok #{@count}\n"
26
+ def example_passed(notification)
27
+ @output << "ok #{@count} #{notification.example.description}\n"
28
28
  end
29
29
 
30
- def example_failed(failed_example_notification)
31
- @output << "not ok #{@count} - #{failed_example_notification.message_lines.join(' ')}\n"
30
+ def example_failed(notification)
31
+ @output << "not ok #{@count} #{notification.example.description}\n"
32
+ @output << "# #{failed_example_notification.message_lines.join('\n# ')}\n"
32
33
  end
33
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_tap_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Beathyate
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-06-12 00:00:00.000000000 Z
12
+ date: 2018-06-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec-core