rspec_on_failure 0.1.0 → 0.1.1

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: 4dba5bf3d282671405d93226ce281c07a1d246f4
4
- data.tar.gz: 64e5d97bc0ee6ca7cd439dc327cd3b5270a40189
3
+ metadata.gz: dfe76197162f75903969fc14398f10a0ef5303b7
4
+ data.tar.gz: 98ee7e8eaf05fc9a46ff902014e12c0064b79629
5
5
  SHA512:
6
- metadata.gz: cc3678f720bf8607771ed742956188e3d9f121714a13d21ff8ba2b384a6ec91a66a16dd0b0b4fe8cd43fe4dff6465fee1701a63fb2c73b296bc79eb82980e1ee
7
- data.tar.gz: f7d76c8b7529a19bc009df70bd0fad87c6e71c3c22f597a5639082ed5de6dfaddacc5ecf4f50e2737358ff08b959e5e22732a5f98d16ade9c8156bc5536f31ba
6
+ metadata.gz: a568989a4a16620960e0e23d8ff8f2ccd743d733c5076caa4171d40d08ba0d1443fc5a1d5d516bf9c935601fd5516ba3cd8263b7889f8762b8bf8892b27fe041
7
+ data.tar.gz: 9e3cf964634da64774f6e1b48fd886aebbd747c6bc76d05f2c6f0ce939cb0d5da398c740da1a7c5257cc925b3305f431d2739b67b80c2afe5ac6af4c2ce0c020
data/README.md CHANGED
@@ -24,21 +24,15 @@ example.
24
24
  Add this line to your application's Gemfile:
25
25
 
26
26
  ```ruby
27
- gem 'rspec_on_failure'
27
+ group :test do
28
+ gem 'rspec_on_failure'
29
+ end
28
30
  ```
29
31
 
30
32
  And then execute:
31
33
 
32
34
  $ bundle
33
35
 
34
- Or install it yourself as:
35
-
36
- $ gem install rspec_on_failure
37
-
38
- ## Usage
39
-
40
- TODO: Write usage instructions here
41
-
42
36
  ## Development
43
37
 
44
38
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,3 +1,3 @@
1
1
  module RspecOnFailure
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -53,7 +53,7 @@ RSpec.configure do |config|
53
53
  begin
54
54
  if example.exception.is_a? RSpec::Expectations::ExpectationNotMetError
55
55
  run_failure_call_proc example.metadata[:on_failure], example
56
- puts %(@_on_failure_proc=#{(@_on_failure_proc).inspect})
56
+ #puts %(@_on_failure_proc=#{(@_on_failure_proc).inspect})
57
57
  run_failure_call_proc @_on_failure_proc, example
58
58
  end
59
59
  ensure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_on_failure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Rick
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-10 00:00:00.000000000 Z
11
+ date: 2018-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler