rocha 0.2.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -29,10 +29,6 @@ module Rocha
29
29
  def update_metadata(data)
30
30
  metadata.update(data)
31
31
  end
32
-
33
- def [](prop)
34
- metadata[prop]
35
- end
36
32
  end
37
33
  end
38
34
  end
data/lib/rocha/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rocha
2
- VERSION = "0.2.4"
2
+ VERSION = "0.3.0"
3
3
  end
data/rocha.gemspec CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.add_dependency "colorize"
12
12
  gem.add_dependency "activesupport"
13
13
  gem.add_dependency "rake"
14
+ gem.add_dependency "rspec-core"
14
15
  gem.add_development_dependency "rspec"
15
16
 
16
17
  gem.files = `git ls-files`.split($\)
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: rocha
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.4
5
+ version: 0.3.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - tchak
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-21 00:00:00.000000000 Z
12
+ date: 2013-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime
@@ -59,6 +59,22 @@ dependencies:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
+ - !ruby/object:Gem::Dependency
63
+ type: :runtime
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ name: rspec-core
71
+ prerelease: false
72
+ requirement: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
62
78
  - !ruby/object:Gem::Dependency
63
79
  type: :development
64
80
  version_requirements: !ruby/object:Gem::Requirement
@@ -90,6 +106,7 @@ files:
90
106
  - Rakefile
91
107
  - lib/rocha.rb
92
108
  - lib/rocha/formatter.rb
109
+ - lib/rocha/formatters.rb
93
110
  - lib/rocha/reporter.rb
94
111
  - lib/rocha/reporter/example.rb
95
112
  - lib/rocha/reporter/example_group.rb
@@ -115,7 +132,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
132
  - !ruby/object:Gem::Version
116
133
  segments:
117
134
  - 0
118
- hash: -2774443182055727472
135
+ hash: 3618465504120885854
119
136
  version: '0'
120
137
  required_rubygems_version: !ruby/object:Gem::Requirement
121
138
  none: false
@@ -124,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
141
  - !ruby/object:Gem::Version
125
142
  segments:
126
143
  - 0
127
- hash: -2774443182055727472
144
+ hash: 3618465504120885854
128
145
  version: '0'
129
146
  requirements: []
130
147
  rubyforge_project: