rspec-steps 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec-steps/duckpunch/hooks.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95d277a94cd1f7b449ed8b355603fc11ef6684c4
|
4
|
+
data.tar.gz: eaaa7e65109e346b07ed3266ff9973f268e30df2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2becd4f64acfbcb7870ffbd5a10d1f5ea2c9bbdd2db356f20ae62e4c7839c9ecd3c8cb9234dfca64e844ba1fb8cec769afc8efba28b909603045aef28cb88dd9
|
7
|
+
data.tar.gz: 825c04058fb774bb90723b5a2586a5c44e177d977e21ad6d92ba60511481cbcf47195f065a39a0e4a25045a2b9bee90ad4d8021c0c42a564f71d98dbefbaae2a
|
@@ -3,5 +3,13 @@ require 'rspec/core/hooks'
|
|
3
3
|
module RSpec::Core::Hooks
|
4
4
|
class HookCollections
|
5
5
|
SCOPES << :step
|
6
|
+
|
7
|
+
def initialize(owner, data)
|
8
|
+
@owner = owner
|
9
|
+
@data = data.merge(
|
10
|
+
:before => data[:before].merge(:step => HookCollection.new),
|
11
|
+
:after => data[:after ].merge(:step => HookCollection.new)
|
12
|
+
)
|
13
|
+
end
|
6
14
|
end
|
7
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Judson Lester
|
@@ -330,7 +330,7 @@ rdoc_options:
|
|
330
330
|
- --main
|
331
331
|
- doc/README
|
332
332
|
- --title
|
333
|
-
- rspec-steps-1.0.
|
333
|
+
- rspec-steps-1.0.2 RDoc
|
334
334
|
require_paths:
|
335
335
|
- lib/
|
336
336
|
required_ruby_version: !ruby/object:Gem::Requirement
|