rrrspec-client 0.2.3 → 0.2.4

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
2
  SHA1:
3
- metadata.gz: bc0bd45192864107abed41a62aaad984c9641377
4
- data.tar.gz: 7fb8b34606f62919981cbf09abd27ac92d0d75c8
3
+ metadata.gz: 1a8eeee74390a15216c9ee1617ece868ca8c8d35
4
+ data.tar.gz: 7c5d6bcabc4418977305017db7b6aed02a6497de
5
5
  SHA512:
6
- metadata.gz: ee417362100dec1e4de63f7bf7c88edcf5edca3f14cf3b927a5936112eccfed0560021ab22baaa9175f3e7511853c391cb896568cd2a11f4d616a7dbc1575d6f
7
- data.tar.gz: a65069cdd02e5986f1de031021137ff77324e32a46aa43760fcdc7679244d775de6a6d17ea615ecbe47a7c2dade986a8eb3c009c0eb52ac87acbea22a37d82f6
6
+ metadata.gz: 26acef471216841b57ca5c03af5dedc133d3878519842c6a8a0b8cbbd669df7439b17b1264417bd0a7c76b07dd14a95603f4ff024e481c411d0ecb1fc643bac4
7
+ data.tar.gz: 3975213a640c79809879ed3fd4754fb0aabcfe2a4a5cccd68f82e41f065c56b866b7731d282995404bddb70039cede434e326959c2ec884d6b888826676f33ab
@@ -56,9 +56,18 @@ module RRRSpec
56
56
  def run(*formatters)
57
57
  status = false
58
58
  outbuf, errbuf = exc_safe_replace_stdouts do
59
- @configuration.formatters << RSpec::Core::Formatters::BaseTextFormatter.new($stdout)
60
- formatters.each do |formatter|
61
- @configuration.formatters << formatter
59
+ @configuration.output_stream = $stdout
60
+ @configuration.error_stream = $stderr
61
+ @configuration.add_formatter(RSpec::Core::Formatters::BaseTextFormatter)
62
+ if @configuration.respond_to?(:formatter_loader)
63
+ # RSpec >= 2.99
64
+ formatters.each do |formatter|
65
+ @configuration.formatter_loader.formatters << formatter
66
+ end
67
+ else
68
+ formatters.each do |formatter|
69
+ @configuration.formatters << formatter
70
+ end
62
71
  end
63
72
  @configuration.reporter.report(
64
73
  @world.example_count,
@@ -1,5 +1,5 @@
1
1
  module RRRSpec
2
2
  module Client
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.email = ["draftcode@gmail.com"]
12
12
  spec.description = "Execute RSpec in a distributed manner"
13
13
  spec.summary = "Execute RSpec in a distributed manner"
14
- spec.homepage = ""
14
+ spec.homepage = "https://github.com/cookpad/rrrspec"
15
15
  spec.license = "MIT"
16
16
 
17
17
  gemspec_dir = File.expand_path('..', __FILE__)
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
24
24
  spec.require_paths = ["lib"]
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.4"
26
+ spec.add_development_dependency "bundler"
27
27
  spec.add_development_dependency "rake"
28
28
  spec.add_dependency "activesupport"
29
29
  spec.add_dependency "extreme_timeout"
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rrrspec-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masaya Suzuki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-27 00:00:00.000000000 Z
11
+ date: 2015-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.4'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.4'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -186,7 +186,7 @@ files:
186
186
  - spec/rrrspec/client/cli_spec.rb
187
187
  - spec/rrrspec/redis_models_spec.rb
188
188
  - spec/spec_helper.rb
189
- homepage: ''
189
+ homepage: https://github.com/cookpad/rrrspec
190
190
  licenses:
191
191
  - MIT
192
192
  metadata: {}
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  version: '0'
207
207
  requirements: []
208
208
  rubyforge_project:
209
- rubygems_version: 2.2.2
209
+ rubygems_version: 2.4.5
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: Execute RSpec in a distributed manner