euston-rabbitmq 1.0.4 → 1.0.5

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.4'
3
+ s.version = '1.0.5'
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']
@@ -50,8 +50,6 @@ Gem::Specification.new do |s|
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 'require_all', '~> 1.2.0'
54
- s.add_dependency 'robustthread', '~> 0.5.2'
55
53
  s.add_dependency 'safely', '~> 0.3.0'
56
54
 
57
55
  if RUBY_PLATFORM.to_s == 'java'
@@ -1,5 +1,5 @@
1
1
  module Euston
2
2
  module RabbitMq
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
@@ -5,12 +5,22 @@ require 'hash-keys'
5
5
  require 'hollywood'
6
6
  require 'i18n'
7
7
  require 'jessica' if RUBY_PLATFORM == 'java'
8
- require 'require_all'
9
8
  require 'safely'
10
9
 
11
10
  require 'euston'
12
11
  require 'euston-eventstore'
13
12
 
14
- require_rel 'euston-rabbitmq/reflection'
15
- require_rel 'euston-rabbitmq/rabbitmq_client'
16
- require_rel 'euston-rabbitmq/euston'
13
+ require 'euston-rabbitmq/reflection/constant_loader'
14
+ require 'euston-rabbitmq/reflection/handler_finder'
15
+ require 'euston-rabbitmq/reflection/handler_reference'
16
+
17
+ require 'euston-rabbitmq/rabbitmq_client/reactive_message'
18
+ require 'euston-rabbitmq/rabbitmq_client/queue'
19
+
20
+ require 'euston-rabbitmq/euston/errors'
21
+ require 'euston-rabbitmq/euston/exchanges'
22
+ require 'euston-rabbitmq/euston/queues'
23
+ require 'euston-rabbitmq/euston/handler_binder'
24
+ require 'euston-rabbitmq/euston/command_handler_binder'
25
+ require 'euston-rabbitmq/euston/event_handler_binder'
26
+ require 'euston-rabbitmq/euston/retrying_subscription'
data/spec/spec_helper.rb CHANGED
@@ -11,7 +11,8 @@ Safely.configure do |config|
11
11
  end
12
12
 
13
13
  if jruby?
14
- require_rel 'support'
14
+ require File.expand_path('../support/queue_subscription_thread_harness', __FILE__)
15
+ require File.expand_path('../support/filters', __FILE__)
15
16
 
16
17
  AMQP_OPTS = { :host => 'localhost',
17
18
  :pass => 'password',
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.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2011-09-28 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
17
- requirement: &73298000 !ruby/object:Gem::Requirement
17
+ requirement: &70803900 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.0.10
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *73298000
25
+ version_requirements: *70803900
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: euston
28
- requirement: &73297310 !ruby/object:Gem::Requirement
28
+ requirement: &70803120 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.1
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *73297310
36
+ version_requirements: *70803120
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: euston-eventstore
39
- requirement: &73515570 !ruby/object:Gem::Requirement
39
+ requirement: &70802560 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *73515570
47
+ version_requirements: *70802560
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: hash-keys
50
- requirement: &73514180 !ruby/object:Gem::Requirement
50
+ requirement: &70802080 !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: *73514180
58
+ version_requirements: *70802080
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: hollywood
61
- requirement: &73511360 !ruby/object:Gem::Requirement
61
+ requirement: &70801510 !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: *73511360
69
+ version_requirements: *70801510
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: i18n
72
- requirement: &73509800 !ruby/object:Gem::Requirement
72
+ requirement: &70801200 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ~>
@@ -77,32 +77,10 @@ dependencies:
77
77
  version: 0.5.0
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *73509800
81
- - !ruby/object:Gem::Dependency
82
- name: require_all
83
- requirement: &73572160 !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ~>
87
- - !ruby/object:Gem::Version
88
- version: 1.2.0
89
- type: :runtime
90
- prerelease: false
91
- version_requirements: *73572160
92
- - !ruby/object:Gem::Dependency
93
- name: robustthread
94
- requirement: &73571580 !ruby/object:Gem::Requirement
95
- none: false
96
- requirements:
97
- - - ~>
98
- - !ruby/object:Gem::Version
99
- version: 0.5.2
100
- type: :runtime
101
- prerelease: false
102
- version_requirements: *73571580
80
+ version_requirements: *70801200
103
81
  - !ruby/object:Gem::Dependency
104
82
  name: safely
105
- requirement: &73570910 !ruby/object:Gem::Requirement
83
+ requirement: &70800810 !ruby/object:Gem::Requirement
106
84
  none: false
107
85
  requirements:
108
86
  - - ~>
@@ -110,10 +88,10 @@ dependencies:
110
88
  version: 0.3.0
111
89
  type: :runtime
112
90
  prerelease: false
113
- version_requirements: *73570910
91
+ version_requirements: *70800810
114
92
  - !ruby/object:Gem::Dependency
115
93
  name: awesome_print
116
- requirement: &73569740 !ruby/object:Gem::Requirement
94
+ requirement: &70800310 !ruby/object:Gem::Requirement
117
95
  none: false
118
96
  requirements:
119
97
  - - ~>
@@ -121,10 +99,10 @@ dependencies:
121
99
  version: 0.4.0
122
100
  type: :development
123
101
  prerelease: false
124
- version_requirements: *73569740
102
+ version_requirements: *70800310
125
103
  - !ruby/object:Gem::Dependency
126
104
  name: fuubar
127
- requirement: &73568940 !ruby/object:Gem::Requirement
105
+ requirement: &70799940 !ruby/object:Gem::Requirement
128
106
  none: false
129
107
  requirements:
130
108
  - - ~>
@@ -132,10 +110,10 @@ dependencies:
132
110
  version: 0.0.0
133
111
  type: :development
134
112
  prerelease: false
135
- version_requirements: *73568940
113
+ version_requirements: *70799940
136
114
  - !ruby/object:Gem::Dependency
137
115
  name: rabbitmqadmin-cli
138
- requirement: &73568080 !ruby/object:Gem::Requirement
116
+ requirement: &70799480 !ruby/object:Gem::Requirement
139
117
  none: false
140
118
  requirements:
141
119
  - - ~>
@@ -143,10 +121,10 @@ dependencies:
143
121
  version: 1.0.0
144
122
  type: :development
145
123
  prerelease: false
146
- version_requirements: *73568080
124
+ version_requirements: *70799480
147
125
  - !ruby/object:Gem::Dependency
148
126
  name: rspec
149
- requirement: &73567470 !ruby/object:Gem::Requirement
127
+ requirement: &70799080 !ruby/object:Gem::Requirement
150
128
  none: false
151
129
  requirements:
152
130
  - - ~>
@@ -154,7 +132,7 @@ dependencies:
154
132
  version: 2.6.0
155
133
  type: :development
156
134
  prerelease: false
157
- version_requirements: *73567470
135
+ version_requirements: *70799080
158
136
  description: JRuby RabbitMq bindings
159
137
  email:
160
138
  - lee.m.henson@gmail.com