hexx-rspec 0.5.1 → 0.5.2

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: 7de5c381f8a0daa959533d4034eb60c76e763c82
4
- data.tar.gz: 7a2aedbf1d293bb85f8a7681ef95e7819e613e0f
3
+ metadata.gz: 19a8d352ad6fccfa292d9cb900b7cd3e78a1b273
4
+ data.tar.gz: 4afc515b8874251a26d16f9d96cc9b217bbcb1c8
5
5
  SHA512:
6
- metadata.gz: fd9d226af3fec99ddf9bf599b80445f169311f5e255edd58f611b6f8930435b41669ea21af41efc2a5f908c80a03ef4bd5889199baf78a0d68721af4074d57d4
7
- data.tar.gz: f4e2cf1ccec5ef806c082c3c2206660013966de7f0e0da423c748fe96faef70eba892ff6c84d35da1574e4a44d7627af4579ac647563d892d5c412e031334ed0
6
+ metadata.gz: 1ed2d63e8bbd381b2f4e9d9108d7053e4eb7a8f90fc6b2ae0690983e247181dc77386bd9147325d6b442374bafda02ab7dfee221305b4238daf228f9746c96f0
7
+ data.tar.gz: e1884ec52cfa4e3868baa70daee0c59c993232c2b536c905a81b0cb137ad7e9d6f4781895d24eba720ccc8f6d200e152508f26c606261bde91d7c2acfc86bf01
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.required_ruby_version = ">= 1.9.3"
21
21
 
22
- gem.add_runtime_dependency "bundler", "~> 1.7"
22
+ gem.add_runtime_dependency "bundler", "~> 1.6"
23
23
  gem.add_runtime_dependency "coveralls", "~> 0.7"
24
24
  gem.add_runtime_dependency "i18n", "~> 0.7"
25
25
  gem.add_runtime_dependency "rake", "~> 10.3"
@@ -24,7 +24,7 @@ module Hexx
24
24
  #
25
25
  def self.[](string)
26
26
  system(string)
27
- fail "finished with status #{$?.exitstatus}" unless $?.success?
27
+ exit(false) unless $?.success?
28
28
  end
29
29
 
30
30
  # Loads coverage metric in a given scope
@@ -6,7 +6,7 @@ module Hexx
6
6
 
7
7
  # The semantic version of the module.
8
8
  # @see http://semver.org/ Semantic versioning 2.0
9
- VERSION = "0.5.1".freeze
9
+ VERSION = "0.5.2".freeze
10
10
 
11
11
  end # module RSpec
12
12
 
@@ -22,7 +22,7 @@ describe Hexx::RSpec::Metrics::SimpleCov, :sandbox do
22
22
 
23
23
  let(:options) do
24
24
  {
25
- "output" => "custom",
25
+ "output" => "tmp/custom",
26
26
  "filters" => ["custom/"],
27
27
  "groups" => { "Custom" => "custom/" }
28
28
  }
@@ -8,7 +8,7 @@ describe Hexx::RSpec do
8
8
  describe ".[]" do
9
9
 
10
10
  it "fails with unexecutable string" do
11
- expect { described_class['foo'] }.to raise_error RuntimeError
11
+ expect { described_class['foo'] }.to raise_error SystemExit
12
12
  end
13
13
 
14
14
  end # describe .[]
@@ -20,8 +20,8 @@ describe "Rake::Task['test:coverage:display']", :tasks do
20
20
 
21
21
  it "displays results for custom ENV settings" do
22
22
  allow(Hexx::RSpec::Metrics::SimpleCov).to receive(:load)
23
- ENV["SIMPLECOV_OUTPUT"] = "custom"
24
- expect(Hexx::RSpec).to receive(:[]).with "launchy custom"
23
+ ENV["SIMPLECOV_OUTPUT"] = "tmp/custom"
24
+ expect(Hexx::RSpec).to receive(:[]).with "launchy tmp/custom"
25
25
  end
26
26
 
27
27
  end # describe Rake::Task[:test:coverage:display]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hexx-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kozin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '1.6'
20
20
  type: :runtime
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.7'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coveralls
29
29
  requirement: !ruby/object:Gem::Requirement