euston-rabbitmq 1.0.5 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'euston-rabbitmq'
3
- s.version = '1.0.5'
3
+ s.version = '1.1.0'
4
4
  s.platform = RUBY_PLATFORM.to_s == 'java' ? 'java' : Gem::Platform::RUBY
5
5
  s.authors = ['Lee Henson', 'Guy Boertje']
6
6
  s.email = ['lee.m.henson@gmail.com', 'guyboertje@gmail.com']
@@ -45,17 +45,14 @@ Gem::Specification.new do |s|
45
45
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
46
46
 
47
47
  s.add_dependency 'activesupport', '~> 3.0.10'
48
- s.add_dependency 'euston', '~> 1.0.1'
49
- s.add_dependency 'euston-eventstore', '~> 1.0.0'
48
+ s.add_dependency 'euston', '~> 1.1.0'
49
+ s.add_dependency 'euston-eventstore', '~> 1.1.0'
50
50
  s.add_dependency 'hash-keys', '~> 1.0.0'
51
51
  s.add_dependency 'hollywood', '~> 1.0.0'
52
52
  s.add_dependency 'i18n', '~> 0.5.0'
53
+ s.add_dependency 'jessica', '~> 1.0.0' if RUBY_PLATFORM.to_s == 'java'
53
54
  s.add_dependency 'safely', '~> 0.3.0'
54
55
 
55
- if RUBY_PLATFORM.to_s == 'java'
56
- s.add_dependency 'jessica', '~> 1.0.0'
57
- end
58
-
59
56
  s.add_development_dependency 'awesome_print', '~> 0.4.0'
60
57
  s.add_development_dependency 'fuubar', '~> 0.0.0'
61
58
  s.add_development_dependency 'rabbitmqadmin-cli', '~> 1.0.0'
@@ -28,7 +28,7 @@ module Euston
28
28
  end
29
29
 
30
30
  @current_constant
31
- end.uniq.to_a - [nil]
31
+ end.uniq.compact
32
32
  end
33
33
 
34
34
  def log_failed_lookup string
@@ -1,5 +1,5 @@
1
1
  module Euston
2
2
  module RabbitMq
3
- VERSION = "1.0.5"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
@@ -5,14 +5,14 @@ module EventHandlerBinderTesting
5
5
  class XyzHandler
6
6
  include Euston::EventHandler
7
7
 
8
- consumes :action_abc, 1 do |headers, event| end
9
- consumes :action_xyz, 1 do |headers, event| end
8
+ subscribes :action_abc, 1 do |headers, event| end
9
+ subscribes :action_xyz, 1 do |headers, event| end
10
10
  end
11
11
 
12
12
  class ZzzHandler
13
13
  include Euston::EventHandler
14
14
 
15
- consumes :action_abc, 1 do |headers, event| end
15
+ subscribes :action_abc, 1 do |headers, event| end
16
16
  end
17
17
  end
18
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: euston-rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-09-28 00:00:00.000000000 Z
13
+ date: 2011-10-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
17
- requirement: &70803900 !ruby/object:Gem::Requirement
17
+ requirement: &84335980 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,32 +22,32 @@ dependencies:
22
22
  version: 3.0.10
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70803900
25
+ version_requirements: *84335980
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: euston
28
- requirement: &70803120 !ruby/object:Gem::Requirement
28
+ requirement: &84335140 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: 1.0.1
33
+ version: 1.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70803120
36
+ version_requirements: *84335140
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: euston-eventstore
39
- requirement: &70802560 !ruby/object:Gem::Requirement
39
+ requirement: &84334370 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
- version: 1.0.0
44
+ version: 1.1.0
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70802560
47
+ version_requirements: *84334370
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: hash-keys
50
- requirement: &70802080 !ruby/object:Gem::Requirement
50
+ requirement: &84333860 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: 1.0.0
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *70802080
58
+ version_requirements: *84333860
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: hollywood
61
- requirement: &70801510 !ruby/object:Gem::Requirement
61
+ requirement: &84332670 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ~>
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: 1.0.0
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *70801510
69
+ version_requirements: *84332670
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: i18n
72
- requirement: &70801200 !ruby/object:Gem::Requirement
72
+ requirement: &84332210 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: 0.5.0
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *70801200
80
+ version_requirements: *84332210
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: safely
83
- requirement: &70800810 !ruby/object:Gem::Requirement
83
+ requirement: &84331730 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ~>
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: 0.3.0
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *70800810
91
+ version_requirements: *84331730
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: awesome_print
94
- requirement: &70800310 !ruby/object:Gem::Requirement
94
+ requirement: &84331020 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ~>
@@ -99,10 +99,10 @@ dependencies:
99
99
  version: 0.4.0
100
100
  type: :development
101
101
  prerelease: false
102
- version_requirements: *70800310
102
+ version_requirements: *84331020
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: fuubar
105
- requirement: &70799940 !ruby/object:Gem::Requirement
105
+ requirement: &84125840 !ruby/object:Gem::Requirement
106
106
  none: false
107
107
  requirements:
108
108
  - - ~>
@@ -110,10 +110,10 @@ dependencies:
110
110
  version: 0.0.0
111
111
  type: :development
112
112
  prerelease: false
113
- version_requirements: *70799940
113
+ version_requirements: *84125840
114
114
  - !ruby/object:Gem::Dependency
115
115
  name: rabbitmqadmin-cli
116
- requirement: &70799480 !ruby/object:Gem::Requirement
116
+ requirement: &84125000 !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements:
119
119
  - - ~>
@@ -121,10 +121,10 @@ dependencies:
121
121
  version: 1.0.0
122
122
  type: :development
123
123
  prerelease: false
124
- version_requirements: *70799480
124
+ version_requirements: *84125000
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec
127
- requirement: &70799080 !ruby/object:Gem::Requirement
127
+ requirement: &84124570 !ruby/object:Gem::Requirement
128
128
  none: false
129
129
  requirements:
130
130
  - - ~>
@@ -132,7 +132,7 @@ dependencies:
132
132
  version: 2.6.0
133
133
  type: :development
134
134
  prerelease: false
135
- version_requirements: *70799080
135
+ version_requirements: *84124570
136
136
  description: JRuby RabbitMq bindings
137
137
  email:
138
138
  - lee.m.henson@gmail.com