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 +4 -4
- data/lib/rspec/power_assert/version.rb +1 -1
- data/lib/rspec/power_assert.rb +2 -2
- data/rspec-power_assert.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee25dc13d41d0ae9cbdb0a957216505df476a2dd
|
4
|
+
data.tar.gz: 167b50a4d9b7ee238b2d6c9df0f119f84c9659db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c899e6100bae4a8ca8cf855038e0571f01ab238ad0b811d7af8309cfcac5052fb6d4e6a1b07181bac211d1b0687ff27e5542d27649084f399f8e182504b18e28
|
7
|
+
data.tar.gz: c995dde200ede1ab571ca274ec1578e054c129375820af7892eed358021183f1f66646af6a3bb1f62e7308eca5fcbf11a72ebe6539c64d334bd09de1dcb5a617
|
data/lib/rspec/power_assert.rb
CHANGED
@@ -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
|
|
data/rspec-power_assert.gemspec
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
26
|
+
version: 0.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|