rocha 0.3.0 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,7 @@ require "active_support/core_ext/module/delegation"
2
2
  require "active_support/core_ext/object/blank"
3
3
  require "rocha/reporter"
4
4
  require "rocha/formatter"
5
+ require "rocha/formatters"
5
6
 
6
7
  module Rocha
7
8
  def self.verbose
@@ -1,18 +1,2 @@
1
- require 'rspec/core/formatters/documentation_formatter'
2
- require 'rspec/core/formatters/progress_formatter'
3
-
4
- module Rocha
5
- module Formatters
6
- class DocumentationFormatter < RSpec::Core::Formatters::DocumentationFormatter
7
- def color_enabled?
8
- true
9
- end
10
- end
11
-
12
- class ProgressFormatter < RSpec::Core::Formatters::ProgressFormatter
13
- def color_enabled?
14
- true
15
- end
16
- end
17
- end
18
- end
1
+ require 'rocha/formatters/rspec'
2
+ require 'rocha/formatters/nyan_cat'
@@ -0,0 +1,18 @@
1
+ require 'nyan_cat_formatter'
2
+ require 'nyan_cat_music_formatter'
3
+
4
+ module Rocha
5
+ module Formatters
6
+ class NyanCatFormatter < ::NyanCatFormatter
7
+ def color_enabled?
8
+ true
9
+ end
10
+ end
11
+
12
+ class NyanCatMusicFormatter < ::NyanCatMusicFormatter
13
+ def color_enabled?
14
+ true
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,18 @@
1
+ require 'rspec/core/formatters/documentation_formatter'
2
+ require 'rspec/core/formatters/progress_formatter'
3
+
4
+ module Rocha
5
+ module Formatters
6
+ class DocumentationFormatter < RSpec::Core::Formatters::DocumentationFormatter
7
+ def color_enabled?
8
+ true
9
+ end
10
+ end
11
+
12
+ class ProgressFormatter < RSpec::Core::Formatters::ProgressFormatter
13
+ def color_enabled?
14
+ true
15
+ end
16
+ end
17
+ end
18
+ end
@@ -1,3 +1,3 @@
1
1
  module Rocha
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
3
3
  end
@@ -12,7 +12,8 @@ Gem::Specification.new do |gem|
12
12
  gem.add_dependency "activesupport"
13
13
  gem.add_dependency "rake"
14
14
  gem.add_dependency "rspec-core"
15
- gem.add_development_dependency "rspec"
15
+ gem.add_dependency "rspec"
16
+ gem.add_dependency "nyan-cat-formatter"
16
17
 
17
18
  gem.files = `git ls-files`.split($\)
18
19
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: rocha
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - tchak
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-25 00:00:00.000000000 Z
12
+ date: 2013-02-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime
@@ -76,7 +76,7 @@ dependencies:
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  - !ruby/object:Gem::Dependency
79
- type: :development
79
+ type: :runtime
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  none: false
82
82
  requirements:
@@ -91,6 +91,22 @@ dependencies:
91
91
  - - ! '>='
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ type: :runtime
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ name: nyan-cat-formatter
103
+ prerelease: false
104
+ requirement: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
94
110
  description: RSpec reporter for mocha
95
111
  email:
96
112
  - paul@chavard.net
@@ -107,6 +123,8 @@ files:
107
123
  - lib/rocha.rb
108
124
  - lib/rocha/formatter.rb
109
125
  - lib/rocha/formatters.rb
126
+ - lib/rocha/formatters/nyan_cat.rb
127
+ - lib/rocha/formatters/rspec.rb
110
128
  - lib/rocha/reporter.rb
111
129
  - lib/rocha/reporter/example.rb
112
130
  - lib/rocha/reporter/example_group.rb
@@ -132,7 +150,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
132
150
  - !ruby/object:Gem::Version
133
151
  segments:
134
152
  - 0
135
- hash: 3618465504120885854
153
+ hash: -238689620223537123
136
154
  version: '0'
137
155
  required_rubygems_version: !ruby/object:Gem::Requirement
138
156
  none: false
@@ -141,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
159
  - !ruby/object:Gem::Version
142
160
  segments:
143
161
  - 0
144
- hash: 3618465504120885854
162
+ hash: -238689620223537123
145
163
  version: '0'
146
164
  requirements: []
147
165
  rubyforge_project: