reactor 0.9.7 → 0.9.8

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: 2b965439701c41ed1d1ba367bc4c1a0f18f9d4d9
4
- data.tar.gz: d1654ef710639d414076627bbff33a208588d2d0
3
+ metadata.gz: b88a2972562c084bbef1c2bd49ef8b99f0ddd0ee
4
+ data.tar.gz: 1a4df6aae6d77e8de555d84d14fe0c0ffc62b576
5
5
  SHA512:
6
- metadata.gz: e349860c325be148172e68000d86a52bceb348d1d9b2a33a7edd16b81e27fc8a0099fc947297e389ffb1eae84d0cd9e4ccfcd4b8e689a5347991a7c8eed3d0ac
7
- data.tar.gz: 79cf05ba098a81706ec143970f44b9f2887a51512a1eb387f1236d4c59f81fbc75231ab18bade5ef6b795774f5d00f94d8ea52999fed5ba33129a17350327f82
6
+ metadata.gz: 30bdb47fd98c732c77ac7e621bdcfb591b7e5c85ce3e23d0ff6a1a3bc71f21e38ed499c8bb98867b6dcf709611b08e30f7e1f067be0c7cd159252f7973fc1177
7
+ data.tar.gz: 8a6256316e599447dc6646cb4d8e7cab9deb8a2cda6591bdb58129b4672bfbab34b8b83112c354a23f12a2dc6451480afcc08ed20850ba56e29cc44830e7597d
@@ -28,11 +28,11 @@ RSpec::Matchers.define :publish_events do |*names|
28
28
  end
29
29
  end
30
30
 
31
- RSpec::Matchers.define :subscribe_to do |name, data = {}, &expectations|
31
+ RSpec::Matchers.define :subscribe_to do |name, data = {}|
32
32
  supports_block_expectations
33
33
 
34
34
  match do
35
- expectations.call if expectations.present?
35
+ block_arg.call if block_arg.present?
36
36
  Reactor::Event.publish(name, data)
37
37
  end
38
38
  end
@@ -1,3 +1,3 @@
1
1
  module Reactor
2
- VERSION = "0.9.7"
2
+ VERSION = "0.9.8"
3
3
  end
data/reactor.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency "bundler"
25
25
  spec.add_development_dependency "rake"
26
- spec.add_development_dependency "rspec", "~> 3.0.0"
26
+ spec.add_development_dependency "rspec", "~> 3.2.0"
27
27
  spec.add_development_dependency "rspec-its"
28
28
  spec.add_development_dependency "pry"
29
29
  spec.add_development_dependency "pry-byebug"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.7
4
+ version: 0.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - winfred
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-03-18 00:00:00.000000000 Z
14
+ date: 2015-04-10 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sidekiq
@@ -75,14 +75,14 @@ dependencies:
75
75
  requirements:
76
76
  - - "~>"
77
77
  - !ruby/object:Gem::Version
78
- version: 3.0.0
78
+ version: 3.2.0
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - "~>"
84
84
  - !ruby/object:Gem::Version
85
- version: 3.0.0
85
+ version: 3.2.0
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: rspec-its
88
88
  requirement: !ruby/object:Gem::Requirement