EmojifyRspecFormatter 0.0.9 → 0.1.0

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: a20a3cd2655f2fc2bf1257b50a05e1dd14f01694
4
- data.tar.gz: bf20e52ccce1c0a24138c7e0aacc4a5590eb1ff4
3
+ metadata.gz: ad71dc8d4f23013b77eb8d1deec25fa0148c5329
4
+ data.tar.gz: f603f3c806dbf2d7655cfbc2fc77caa3aad60af3
5
5
  SHA512:
6
- metadata.gz: a8b0dd0a0116c9dfe93c3dba96b3d3a206616fe91365763036e23fe85cf46a64d0244b41b200a1dbf19f328c97659fe921ef97d29437a0e51c5a633ce15511a1
7
- data.tar.gz: 114471edac6666d2c67cc092398612814b5f61c1d0fb3af269d8cea54ece6ecfbd28adca5c7aeba0302b781be5499c16cba3fa5e9649088718827ac22a8a5820
6
+ metadata.gz: f73380ff1d79f92bf458d207f829b03efa5f00ea0a65a6fcaac0c1e59722e3ad48b184c07ff0198778e5cbe4fe3901c905de04b61a93e2431dad8fadf69781b5
7
+ data.tar.gz: 4de81d3fb3e01eacce336c302c3d7a52c458c0e1660c63d29274cd410a7f916cd46eff34f307a5cc34d92c0491a8c132f0387ce17e25e3371d267888e514148c
@@ -10,15 +10,15 @@ class EmojifyRspecFormatter < RSpec::Core::Formatters::BaseTextFormatter
10
10
  end
11
11
 
12
12
  def example_passed(passed)
13
- print passed.example.description.strip
14
- @output.print ([' 🍺 ',' 🙌 ', ' 😍 ',
15
- ' 🆒 ',' 👌 ', ' 💘 '].sample).colorize(:background => :green)
13
+ @output.print (['🍺 ','🙌 ', '😍 ',
14
+ '🆒 ','👌 ', '💘 '].sample).colorize(:background => :green)
15
+ puts passed.example.description.strip '\n'
16
16
  end
17
17
 
18
18
  def example_failed(failed)
19
- print failed.example.description.strip
20
- @output.print ([' 😨 ', ' 😵 ', ' 🙅 ',
21
- ' 🆘 ', ' 👎 ', ' 💔 '].sample).colorize(:background => :red)
19
+ puts failed.example.description.strip
20
+ @output.print (['😨 ', '😵 ', '🙅 ',
21
+ '🆘 ', '👎 ', '💔 '].sample).colorize(:background => :red)
22
22
  end
23
23
 
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EmojifyRspecFormatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Macey Baker