EmojifyRspecFormatter 0.1.4 → 0.1.5
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/lib/emojify_rspec_formatter.rb +9 -9
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f7e1e5f79e214408dbcbfbcf6900cca7ad758551
|
4
|
+
data.tar.gz: 5f41b1863237ceed781d93ae7ee6b621172a3948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 621a8ff99cbaa8b902a9a939cc97561c10c0f523a04eb51e00a8b054dc6ece33e8469646efc598a796bdd4cfa2b48e0cf3c23a25c247883c559e0baa92860d0f
|
7
|
+
data.tar.gz: e6e3817b28cf7f0cf255d99371863a893a2902bfaf6c8cdb93b9f93c03e41d5f5b19d67eaa81f9afc386aebe97e5e23825591020158847527aa05db90aad7015
|
@@ -9,6 +9,14 @@ class EmojifyRspecFormatter < RSpec::Core::Formatters::BaseTextFormatter
|
|
9
9
|
@output = output
|
10
10
|
end
|
11
11
|
|
12
|
+
def example_failed(failed)
|
13
|
+
@output.print (['😨 ', '😵 ', '🙅 ',
|
14
|
+
'🆘 ', '👎 ', '💔 ',
|
15
|
+
'😭 ', '💩 ', '😐 ',
|
16
|
+
'📉 ', '😱 ', '🙊 '].sample).colorize(:background => :red)
|
17
|
+
puts (failed.example.description.strip).colorize(:color => :red)
|
18
|
+
end
|
19
|
+
|
12
20
|
def example_passed(passed)
|
13
21
|
@output.print (['🍺 ','🙌 ','😍 ',
|
14
22
|
'🆒 ','👌 ','💘 ',
|
@@ -16,15 +24,7 @@ class EmojifyRspecFormatter < RSpec::Core::Formatters::BaseTextFormatter
|
|
16
24
|
'📈 ','💪 ','💎 ',
|
17
25
|
'💅 ','💋 ','👑 ',
|
18
26
|
'🎀 ','🎉 ','🎈 '].sample).colorize(:background => :green)
|
19
|
-
puts (passed.example.description.strip).colorize(:green)
|
20
|
-
end
|
21
|
-
|
22
|
-
def example_failed(failed)
|
23
|
-
@output.print (['😨 ', '😵 ', '🙅 ',
|
24
|
-
'🆘 ', '👎 ', '💔 ',
|
25
|
-
'😭 ', '💩 ', '😐 ',
|
26
|
-
'📉 ', '😱 ', '🙊 '].sample).colorize(:background => :red)
|
27
|
-
puts (failed.example.description.strip).colorize(:red)
|
27
|
+
puts (passed.example.description.strip).colorize(:color => :green)
|
28
28
|
end
|
29
29
|
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: EmojifyRspecFormatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Macey Baker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -74,7 +74,7 @@ extensions: []
|
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
76
|
- lib/emojify_rspec_formatter.rb
|
77
|
-
homepage: https://github.com/macebake/
|
77
|
+
homepage: https://github.com/macebake/emojify_rspec_formatter.git
|
78
78
|
licenses:
|
79
79
|
- MIT
|
80
80
|
metadata: {}
|
@@ -97,5 +97,6 @@ rubyforge_project:
|
|
97
97
|
rubygems_version: 2.4.5.1
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
|
-
summary: A silly gem that emojifies your RSpec output!
|
100
|
+
summary: 'A silly gem that emojifies your RSpec output! NOTE: Updated (& properly
|
101
|
+
named) gem at https://rubygems.org/gems/emojify_rspec_formatter'
|
101
102
|
test_files: []
|