rainbow_formatter 0.1.5 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 1f1db74fd8a49272248b3dd804d84e7a0ae70afc7ddf8c7853a5522c226d8a77
4
- data.tar.gz: ee87a058bd4d4e1911152e688b9c1081789946d680c607a3121ab62e166494d0
2
+ SHA1:
3
+ metadata.gz: 5ce1ca765a3788550fe68ca1419d619cb8e37ccc
4
+ data.tar.gz: bb26de69871808ad21a0607ae2fb0b9e7a1e7fcd
5
5
  SHA512:
6
- metadata.gz: d37022065d796e659ba7caa66fe932e607eef908acc31c9f53a4075a7802fef6133044bf97279c55bca151758d88b32e898115b3cdf62a6b832bfb7447cff42d
7
- data.tar.gz: 7343072a5e504bc565e00ac00cf268e158492d9b48918a24291e1bab1f00013d959cbfffd7cb868eb95ba207ae4a81e0354298a2489736cffc006951ae11e2c2
6
+ metadata.gz: 37cb92a482526efdb6eca12be8df2abadd74904cfadb9df7e095c84d25704b0298d94a0e74bb6a64f9dd7dad7e98edd09d567a64e361dfa2d4d99038581ad1f3
7
+ data.tar.gz: 4b27afd2b7cc509a8cc4a7514babdb20d85932a3fee2c4e35cfd4c93dcb2883f6c4a7f923acbf30d66b44ecafa5dd113f08726b27e0913838b4faf52453dfa6e
data/README.md CHANGED
@@ -76,7 +76,7 @@ You can create your own version, with your own song and draw, this way:
76
76
  ```ruby
77
77
  module YourCustomMode
78
78
  def ascii_array
79
- 'your_ascii_animation_array'
79
+ ['ascci_0','ascii_1']
80
80
  end
81
81
  def rainbow_mp3
82
82
  'your_song_path'
@@ -84,8 +84,9 @@ module YourCustomMode
84
84
  end
85
85
 
86
86
  RainbowFormatter.configure do |config|
87
+ # Could be a module like above one or a already bundled mode
87
88
  config.formatter = YourCustomMode
88
- # OR config.formatter = :tina_dream OR onw of already bundle modes below
89
+ # config.formatter = :tina_dream (or any already bundle modes below)
89
90
  end
90
91
  ```
91
92
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formatter
4
- VERSION = '0.1.5'
4
+ VERSION = '0.1.7'
5
5
  end
@@ -4,6 +4,7 @@ require 'formatter/configuration'
4
4
  require 'formatter/common'
5
5
  require 'ostruct'
6
6
  require 'pry'
7
+ require 'rspec'
7
8
 
8
9
  class RainbowFormatter
9
10
  include Formatter::Common
@@ -11,7 +12,7 @@ class RainbowFormatter
11
12
  attr_reader :example_name, :ascii_array, :output
12
13
 
13
14
  RSpec::Core::Formatters.register self, :start, :example_started, :example_passed, :example_pending, :example_failed,
14
- :start_dump, :dump_summary
15
+ :start_dump, :dump_summary
15
16
 
16
17
  BUNDLED_MODES = {
17
18
  tina_bike: Formatter::Custom::TinaBike,
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.authors = ['Federico Farina']
10
10
  s.email = ['federicojosefarina@gmail.com']
11
11
  s.platform = Gem::Platform::RUBY
12
- s.homepage = 'https://github.com/fedefa/rainbow-formatter'
12
+ s.homepage = 'https://github.com/fedefa/rainbow_formatter'
13
13
  s.summary = 'Customizable RSpec formatter'
14
14
  s.description = 'Customizable ascii-music RSpec formattter'
15
15
  s.license = 'MIT'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rainbow_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Farina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-18 00:00:00.000000000 Z
11
+ date: 2019-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -103,7 +103,7 @@ files:
103
103
  - spec/rainbow_music_formatter_spec.rb
104
104
  - spec/rainbow_verbose_formatter_spec.rb
105
105
  - spec/spec_helper.rb
106
- homepage: https://github.com/fedefa/rainbow-formatter
106
+ homepage: https://github.com/fedefa/rainbow_formatter
107
107
  licenses:
108
108
  - MIT
109
109
  metadata: {}
@@ -122,7 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.0.3
125
+ rubyforge_project:
126
+ rubygems_version: 2.6.14.3
126
127
  signing_key:
127
128
  specification_version: 4
128
129
  summary: Customizable RSpec formatter