rspec-power_assert 0.1.1 → 0.2.0

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: 9057267c995e89d4f35ef47698bc5f88f3fa7e82
4
- data.tar.gz: b356b07d9bcc72dd1668d99bb9e0d7c45890db81
3
+ metadata.gz: ee25dc13d41d0ae9cbdb0a957216505df476a2dd
4
+ data.tar.gz: 167b50a4d9b7ee238b2d6c9df0f119f84c9659db
5
5
  SHA512:
6
- metadata.gz: faf8f5e58916dd6468a72ecb7ce390c1911be7f9b898ef1cafcd4774f0608ab53b490a1ae7d256c49fdcf8c18de3ea4b46aecb4453e5e6918ec7c4feaea100bf
7
- data.tar.gz: 9b53158b0c82b11440c0d0be7df8a16c7776f48d801c9563bdc185d1651bcb6d901d9be82e24b510af53212660825805b4eeec4c8eeba08ae421fdd605274437
6
+ metadata.gz: c899e6100bae4a8ca8cf855038e0571f01ab238ad0b811d7af8309cfcac5052fb6d4e6a1b07181bac211d1b0687ff27e5542d27649084f399f8e182504b18e28
7
+ data.tar.gz: c995dde200ede1ab571ca274ec1578e054c129375820af7892eed358021183f1f66646af6a3bb1f62e7308eca5fcbf11a72ebe6539c64d334bd09de1dcb5a617
@@ -1,5 +1,5 @@
1
1
  module Rspec
2
2
  module PowerAssert
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -4,8 +4,8 @@ require "power_assert"
4
4
 
5
5
  module PowerAssert
6
6
  class << self
7
- def rspec_start(assertion_proc, assertion_method: nil)
8
- yield RSpecContext.new(assertion_proc, assertion_method)
7
+ def rspec_start(assertion_proc, assertion_method: nil, source_binding: TOPLEVEL_BINDING)
8
+ yield RSpecContext.new(assertion_proc, assertion_method, source_binding)
9
9
  end
10
10
  end
11
11
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_runtime_dependency "power_assert", "~> 0.1.4"
21
+ spec.add_runtime_dependency "power_assert", "~> 0.2.0"
22
22
  spec.add_runtime_dependency "rspec", ">= 2.14"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.7"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-power_assert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - joker1007
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.4
19
+ version: 0.2.0
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: 0.1.4
26
+ version: 0.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement