mocha-on-bacon 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -1
  3. data/lib/mocha-on-bacon.rb +2 -2
  4. metadata +34 -55
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 16f01e9360ce45313f39982e5fd11640705ddf57
4
+ data.tar.gz: fe78240a3c62f84bf8ab185ee51411129c468e7f
5
+ SHA512:
6
+ metadata.gz: 0bd64fc6dec7a1e4f0ca595032c11f16ae8d2ce30d36bc0d66895ec713ffffea07608aa772d0dacf3b3daefb3c2f62e3c97c00922e648583618bc7709af29a88
7
+ data.tar.gz: 441cc3b5fc7121c8e68508d723607f1f4dd06348eb2a6c9e469b7bec70fe06c7433d095160b58cc0d5baddf3ff69e933fa8f281207e84b9fca614b4dc4b087a6
data/README.md CHANGED
@@ -64,7 +64,7 @@ For more information see the Mocha and Bacon websites.
64
64
  License
65
65
  -------
66
66
 
67
- Copyright (C) 2011-2013, Eloy Durán <eloy.de.enige@gmail.com>
67
+ Copyright (C) 2011-2016, Eloy Durán <eloy.de.enige@gmail.com>
68
68
 
69
69
  Mocha-on-Bacon is available under the MIT license. See the LICENSE file or
70
70
  http://www.opensource.org/licenses/mit-license.php
@@ -29,7 +29,7 @@ module Bacon
29
29
  begin
30
30
  yield
31
31
  rescue Mocha::ExpectationError => e
32
- raise Error.new(:failed, e.message)
32
+ raise Error.new(:failed, e.message).tap {|ne| ne.set_backtrace(e.backtrace) }
33
33
  end
34
34
  end
35
35
  end
@@ -57,7 +57,7 @@ module Bacon
57
57
  block.call
58
58
  mocha_verify(MochaRequirementsCounter)
59
59
  rescue Mocha::ExpectationError => e
60
- raise Error.new(:failed, e.message)
60
+ raise Error.new(:failed, e.message).tap {|ne| ne.set_backtrace(e.backtrace) }
61
61
  ensure
62
62
  mocha_teardown
63
63
  end
metadata CHANGED
@@ -1,84 +1,63 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: mocha-on-bacon
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 2
10
- version: 0.2.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Eloy Duran
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2013-01-28 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
11
+ date: 2016-11-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
21
14
  name: mocha
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 43
29
- segments:
30
- - 0
31
- - 13
32
- - 0
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
33
19
  version: 0.13.0
34
20
  type: :runtime
35
- version_requirements: *id001
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.13.0
36
27
  description: A Mocha adapter for Bacon, because it's yummy!
37
28
  email: eloy.de.enige@gmail.com
38
29
  executables: []
39
-
40
30
  extensions: []
41
-
42
- extra_rdoc_files:
31
+ extra_rdoc_files:
43
32
  - LICENSE
44
33
  - README.md
45
- files:
34
+ files:
46
35
  - LICENSE
47
36
  - README.md
48
37
  - lib/mocha-on-bacon.rb
49
38
  homepage: https://github.com/alloy/mocha-on-bacon
50
39
  licenses: []
51
-
40
+ metadata: {}
52
41
  post_install_message:
53
- rdoc_options:
42
+ rdoc_options:
54
43
  - --charset=UTF-8
55
- require_paths:
44
+ require_paths:
56
45
  - lib
57
- required_ruby_version: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 3
63
- segments:
64
- - 0
65
- version: "0"
66
- required_rubygems_version: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
46
+ required_ruby_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '0'
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
75
56
  requirements: []
76
-
77
57
  rubyforge_project:
78
- rubygems_version: 1.8.24
58
+ rubygems_version: 2.5.0
79
59
  signing_key:
80
- specification_version: 3
60
+ specification_version: 4
81
61
  summary: A Mocha adapter for Bacon
82
62
  test_files: []
83
-
84
63
  has_rdoc: