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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 73e3cb55f6fe4af71bcd6f44a64f284f1df1c150
4
- data.tar.gz: e066e7cbe7255a932f2c51cc454f0c176896d6ec
3
+ metadata.gz: 95d277a94cd1f7b449ed8b355603fc11ef6684c4
4
+ data.tar.gz: eaaa7e65109e346b07ed3266ff9973f268e30df2
5
5
  SHA512:
6
- metadata.gz: 2c34bed95b13ee2f93c3de64696a967f051e4a81cb9431ad888d993e3e6448fa90d7aa4129771f13d22e6ae7976a55ff681838ec315b3c5afcbd3a806dea6ae4
7
- data.tar.gz: 19944baa9fa268ed9f3eb060d88f709a19070d1cebad8edab047a569f9c4cdbe4130f74f5dbc61d7bb2b7a1c91e80c71ab8a23e58e4ca5bc576e53da11d71fbc
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.1
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.1 RDoc
333
+ - rspec-steps-1.0.2 RDoc
334
334
  require_paths:
335
335
  - lib/
336
336
  required_ruby_version: !ruby/object:Gem::Requirement