fivemat 1.3.3 → 1.3.4
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 +4 -4
- data/fivemat.gemspec +1 -1
- data/lib/fivemat/rspec3.rb +6 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af3d959f74f7cd337c1ea51089d3271974350c9d
|
|
4
|
+
data.tar.gz: 9dc95755e8828bf7c96c50fb8eb591f1c40edfe2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c4c2eae3d8beb780524a03ad19eee394738c97071fd5b99e18a9ecce8f773cdf1315003446f20213aef149a6462c942ea6fce79f45b72de3075f2f89b5724e1
|
|
7
|
+
data.tar.gz: 8dd20525ee093cd56ce97a04476ff7716a93d37cce98fc0caa988f002a9262ada12357ddbbbdcc064fee4edbd7bb9fdb2d6170ef1d8b1b5cf23a3ba7cde24531
|
data/fivemat.gemspec
CHANGED
data/lib/fivemat/rspec3.rb
CHANGED
|
@@ -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
|
-
|
|
15
|
+
def color
|
|
16
|
+
::RSpec::Core::Formatters::ConsoleCodes
|
|
17
|
+
end
|
|
18
18
|
|
|
19
19
|
def example_passed(notification)
|
|
20
|
-
output.print
|
|
20
|
+
output.print color.wrap('.', :success)
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
def example_pending(notification)
|
|
24
|
-
output.print
|
|
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
|
|
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.
|
|
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-
|
|
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
|