EmojifyRspecFormatter 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/emojify_rspec_formatter.rb +13 -13
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad71dc8d4f23013b77eb8d1deec25fa0148c5329
4
- data.tar.gz: f603f3c806dbf2d7655cfbc2fc77caa3aad60af3
3
+ metadata.gz: 0a4361e00abe01b041be75912e4ef9271d750737
4
+ data.tar.gz: a94c39326b9d57793ecd9d1649794cad1dc160e4
5
5
  SHA512:
6
- metadata.gz: f73380ff1d79f92bf458d207f829b03efa5f00ea0a65a6fcaac0c1e59722e3ad48b184c07ff0198778e5cbe4fe3901c905de04b61a93e2431dad8fadf69781b5
7
- data.tar.gz: 4de81d3fb3e01eacce336c302c3d7a52c458c0e1660c63d29274cd410a7f916cd46eff34f307a5cc34d92c0491a8c132f0387ce17e25e3371d267888e514148c
6
+ metadata.gz: ce1b8a98e9ea033c802be43c8d7bc05deb01a96b9e304b527edbfce20668e6ba186ed33b5b2f8f612cb5cdab188d9ea1134811d8d57b28caf013aaab37e2eee7
7
+ data.tar.gz: a70c7884847cd46d70a6492c1297b0a8631231dbb0b4f4f7aba95dc355f82fde7f75ea47c47adbae1b7be506c4136d4cf1fa0e758b31100cdd9514eb1913dd83
@@ -5,20 +5,20 @@ class EmojifyRspecFormatter < RSpec::Core::Formatters::BaseTextFormatter
5
5
 
6
6
  RSpec::Core::Formatters.register self, *[:example_passed, :example_failed]
7
7
 
8
- def initialize(output)
9
- @output = output
10
- end
8
+ def initialize(output)
9
+ @output = output
10
+ end
11
11
 
12
- def example_passed(passed)
13
- @output.print (['🍺 ','🙌 ', '😍 ',
14
- '🆒 ','👌 ', '💘 '].sample).colorize(:background => :green)
15
- puts passed.example.description.strip '\n'
16
- end
12
+ def example_passed(passed)
13
+ puts passed.example.description.strip
14
+ @output.print (['🍺 ','🙌 ', '😍 ',
15
+ '🆒 ','👌 ', '💘 '].sample).colorize(:background => :green)
16
+ end
17
17
 
18
- def example_failed(failed)
19
- puts failed.example.description.strip
20
- @output.print (['😨 ', '😵 ', '🙅 ',
21
- '🆘 ', '👎 ', '💔 '].sample).colorize(:background => :red)
22
- end
18
+ def example_failed(failed)
19
+ puts failed.example.description.strip
20
+ @output.print (['😨 ', '😵 ', '🙅 ',
21
+ '🆘 ', '👎 ', '💔 '].sample).colorize(:background => :red)
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.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Macey Baker