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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2f7764e3065de4fdfc840a160d8db93f5a7b846d
4
- data.tar.gz: 991175074f0cc31dbe5f738dca3cf10b341832d6
3
+ metadata.gz: f7e1e5f79e214408dbcbfbcf6900cca7ad758551
4
+ data.tar.gz: 5f41b1863237ceed781d93ae7ee6b621172a3948
5
5
  SHA512:
6
- metadata.gz: 37d5030a7863b2688ca6a37c7a56dfbae614d9d36b3c175ba4d5fc99c1b3ffb8fee64dcc498fa44d5aa034115a761eea6cf2472cba175cab850de15c5b557e11
7
- data.tar.gz: 96b75d52c9149455d67582f9ebcf511c7a9134857b6d327b5313d6266f1ebcf82c316b5d2320ba185567402e1f4a75428047ff23736b9f1fe1ddb69b8aa7dccd
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
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-10 00:00:00.000000000 Z
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/emojify-rspec_formatter.git
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: []