rspec_tap_formatter 0.3.0 → 0.4.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: 7f6c64ffb35b4fba92ccdee4ee9eff4f9528ba1cb83e64c5e25a3115cae86011
4
- data.tar.gz: 8cc139bb2764d1d51315587b40174167879a7fe7ea6225688701a2c749ce2c43
3
+ metadata.gz: db17ff070fe335dca2f868e0814e282edc87e2b6a4bd119425ca5bdc9722fa24
4
+ data.tar.gz: 7a688cc8f125e068d40396087cc3a0f0ecb6c317caaf953a59b190fe6be84ca9
5
5
  SHA512:
6
- metadata.gz: d6664e3470e69738a4ae5fa7f1f0abf2055080918a2d684da4d13f662ff8e442c269a41e1cd77d224696be1b10c7a46b9603b0c764323baf5c02dc3b3baaedb2
7
- data.tar.gz: 71fad40b25c92be86f68dfdfab1f2aea658e48908bd43ac6e2d2fde55d108575df75b36dbecb940a68e6da1968f64c06f3cdf270eb5abc58b5721b20a5dbdfe3
6
+ metadata.gz: e7b9bbbf09210e0adea2d789b6d7d1129973982e90e0bd6ad086996b7720f254cd3387ae1d5e45bc42f8b7eca2ea7a9fccdefb24378c7f87fc34e2212592d383
7
+ data.tar.gz: 68c3b7812cb4b61ef69efc7c1656b3eaa1e23355a78136bcbb2457cdb5d4920e6a5ac9c1dbad56a97786d4324902301ab65f3bf51ffdf6778fd00e62ba753019
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec_tap_formatter (0.3.0)
4
+ rspec_tap_formatter (0.4.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.3.0"
5
+ VERSION = "0.4.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
@@ -15,8 +15,8 @@ class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
15
15
  end
16
16
 
17
17
  def start(notification)
18
- @output << "\rTAP version 13\n"
19
- @output << "\r1..#{notification.count}\n"
18
+ @output << "TAP version 13\n"
19
+ @output << "1..#{notification.count}\n"
20
20
  end
21
21
 
22
22
  def example_started(notification)
@@ -24,10 +24,10 @@ class RspecTapFormatter < RSpec::Core::Formatters::BaseFormatter
24
24
  end
25
25
 
26
26
  def example_passed(example_notification)
27
- @output << "\rok #{@count}\n"
27
+ @output << "ok #{@count}\n"
28
28
  end
29
29
 
30
30
  def example_failed(failed_example_notification)
31
- @output << "\rnot ok #{@count} - #{failed_example_notification.message_lines.join(' ')}\n"
31
+ @output << "not ok #{@count} - #{failed_example_notification.message_lines.join(' ')}\n"
32
32
  end
33
33
  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.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gustavo Beathyate