euston-daemons 1.2.1-java → 1.2.2-java

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-daemons'
3
- s.version = '1.2.1'
3
+ s.version = '1.2.2'
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']
@@ -16,7 +16,8 @@ module Euston
16
16
 
17
17
  headers = message['headers'].merge(:id => command[:id],
18
18
  :type => message['type'],
19
- :version => message['version'] )
19
+ :version => message['version'],
20
+ :timestamp => message['message_timestamp'] )
20
21
 
21
22
  retry_message = { :headers => headers, :body => message['body'] }
22
23
 
@@ -1,5 +1,5 @@
1
1
  module Euston
2
2
  module Daemons
3
- VERSION = "1.2.1"
3
+ VERSION = "1.2.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: euston-daemons
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.2.1
5
+ version: 1.2.2
6
6
  platform: java
7
7
  authors:
8
8
  - Lee Henson
@@ -10,205 +10,205 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-10-18 00:00:00.000000000 +01:00
13
+ date: 2011-10-24 00:00:00.000000000 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activemodel
18
- version_requirements: &2230 !ruby/object:Gem::Requirement
18
+ version_requirements: &2202 !ruby/object:Gem::Requirement
19
19
  requirements:
20
20
  - - ! '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 3.0.10
23
23
  none: false
24
- requirement: *2230
24
+ requirement: *2202
25
25
  prerelease: false
26
26
  type: :runtime
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
- version_requirements: &2248 !ruby/object:Gem::Requirement
29
+ version_requirements: &2220 !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 3.0.10
34
34
  none: false
35
- requirement: *2248
35
+ requirement: *2220
36
36
  prerelease: false
37
37
  type: :runtime
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: erb-yaml
40
- version_requirements: &2264 !ruby/object:Gem::Requirement
40
+ version_requirements: &2236 !ruby/object:Gem::Requirement
41
41
  requirements:
42
42
  - - ~>
43
43
  - !ruby/object:Gem::Version
44
44
  version: 1.0.0
45
45
  none: false
46
- requirement: *2264
46
+ requirement: *2236
47
47
  prerelease: false
48
48
  type: :runtime
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: euston
51
- version_requirements: &2280 !ruby/object:Gem::Requirement
51
+ version_requirements: &2252 !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ~>
54
54
  - !ruby/object:Gem::Version
55
55
  version: 1.2.0
56
56
  none: false
57
- requirement: *2280
57
+ requirement: *2252
58
58
  prerelease: false
59
59
  type: :runtime
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: euston-eventstore
62
- version_requirements: &2296 !ruby/object:Gem::Requirement
62
+ version_requirements: &2268 !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - ~>
65
65
  - !ruby/object:Gem::Version
66
66
  version: 1.2.0
67
67
  none: false
68
- requirement: *2296
68
+ requirement: *2268
69
69
  prerelease: false
70
70
  type: :runtime
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: euston-rabbitmq
73
- version_requirements: &2312 !ruby/object:Gem::Requirement
73
+ version_requirements: &2284 !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
77
  version: 1.2.0
78
78
  none: false
79
- requirement: *2312
79
+ requirement: *2284
80
80
  prerelease: false
81
81
  type: :runtime
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: hollywood
84
- version_requirements: &2328 !ruby/object:Gem::Requirement
84
+ version_requirements: &2300 !ruby/object:Gem::Requirement
85
85
  requirements:
86
86
  - - ~>
87
87
  - !ruby/object:Gem::Version
88
88
  version: 1.0.0
89
89
  none: false
90
- requirement: *2328
90
+ requirement: *2300
91
91
  prerelease: false
92
92
  type: :runtime
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: i18n
95
- version_requirements: &2344 !ruby/object:Gem::Requirement
95
+ version_requirements: &2316 !ruby/object:Gem::Requirement
96
96
  requirements:
97
97
  - - ! '>='
98
98
  - !ruby/object:Gem::Version
99
99
  version: 0.5.0
100
100
  none: false
101
- requirement: *2344
101
+ requirement: *2316
102
102
  prerelease: false
103
103
  type: :runtime
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: macaddr
106
- version_requirements: &2360 !ruby/object:Gem::Requirement
106
+ version_requirements: &2332 !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: 1.4.0
111
111
  none: false
112
- requirement: *2360
112
+ requirement: *2332
113
113
  prerelease: false
114
114
  type: :runtime
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: safely
117
- version_requirements: &2376 !ruby/object:Gem::Requirement
117
+ version_requirements: &2348 !ruby/object:Gem::Requirement
118
118
  requirements:
119
119
  - - ~>
120
120
  - !ruby/object:Gem::Version
121
121
  version: 0.3.0
122
122
  none: false
123
- requirement: *2376
123
+ requirement: *2348
124
124
  prerelease: false
125
125
  type: :runtime
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: hot_bunnies
128
- version_requirements: &2392 !ruby/object:Gem::Requirement
128
+ version_requirements: &2364 !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ~>
131
131
  - !ruby/object:Gem::Version
132
132
  version: 1.3.0.pre1
133
133
  none: false
134
- requirement: *2392
134
+ requirement: *2364
135
135
  prerelease: false
136
136
  type: :runtime
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: jmongo
139
- version_requirements: &2408 !ruby/object:Gem::Requirement
139
+ version_requirements: &2380 !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - ~>
142
142
  - !ruby/object:Gem::Version
143
143
  version: 1.1.0
144
144
  none: false
145
- requirement: *2408
145
+ requirement: *2380
146
146
  prerelease: false
147
147
  type: :runtime
148
148
  - !ruby/object:Gem::Dependency
149
149
  name: awesome_print
150
- version_requirements: &2424 !ruby/object:Gem::Requirement
150
+ version_requirements: &2396 !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ~>
153
153
  - !ruby/object:Gem::Version
154
154
  version: 0.4.0
155
155
  none: false
156
- requirement: *2424
156
+ requirement: *2396
157
157
  prerelease: false
158
158
  type: :development
159
159
  - !ruby/object:Gem::Dependency
160
160
  name: cranky
161
- version_requirements: &2442 !ruby/object:Gem::Requirement
161
+ version_requirements: &2414 !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ~>
164
164
  - !ruby/object:Gem::Version
165
165
  version: 0.2.0
166
166
  none: false
167
- requirement: *2442
167
+ requirement: *2414
168
168
  prerelease: false
169
169
  type: :development
170
170
  - !ruby/object:Gem::Dependency
171
171
  name: ffaker
172
- version_requirements: &2458 !ruby/object:Gem::Requirement
172
+ version_requirements: &2430 !ruby/object:Gem::Requirement
173
173
  requirements:
174
174
  - - ~>
175
175
  - !ruby/object:Gem::Version
176
176
  version: 1.8.0
177
177
  none: false
178
- requirement: *2458
178
+ requirement: *2430
179
179
  prerelease: false
180
180
  type: :development
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: fuubar
183
- version_requirements: &2474 !ruby/object:Gem::Requirement
183
+ version_requirements: &2446 !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - ~>
186
186
  - !ruby/object:Gem::Version
187
187
  version: 0.0.0
188
188
  none: false
189
- requirement: *2474
189
+ requirement: *2446
190
190
  prerelease: false
191
191
  type: :development
192
192
  - !ruby/object:Gem::Dependency
193
193
  name: rabbitmqadmin-cli
194
- version_requirements: &2490 !ruby/object:Gem::Requirement
194
+ version_requirements: &2462 !ruby/object:Gem::Requirement
195
195
  requirements:
196
196
  - - ~>
197
197
  - !ruby/object:Gem::Version
198
198
  version: 1.0.2
199
199
  none: false
200
- requirement: *2490
200
+ requirement: *2462
201
201
  prerelease: false
202
202
  type: :development
203
203
  - !ruby/object:Gem::Dependency
204
204
  name: rspec
205
- version_requirements: &2506 !ruby/object:Gem::Requirement
205
+ version_requirements: &2478 !ruby/object:Gem::Requirement
206
206
  requirements:
207
207
  - - ~>
208
208
  - !ruby/object:Gem::Version
209
209
  version: 2.6.0
210
210
  none: false
211
- requirement: *2506
211
+ requirement: *2478
212
212
  prerelease: false
213
213
  type: :development
214
214
  description: ''
@@ -287,5 +287,19 @@ rubygems_version: 1.5.1
287
287
  signing_key:
288
288
  specification_version: 3
289
289
  summary: Message buffer, command processor and event processor daemons for Euston-RabbitMq
290
- test_files: []
290
+ test_files:
291
+ - spec/daemons/command_processor_spec.rb
292
+ - spec/daemons/event_processor_spec.rb
293
+ - spec/daemons/message_buffer_spec.rb
294
+ - spec/daemons/snapshotter_spec.rb
295
+ - spec/spec_helper.rb
296
+ - spec/support/factories/commands.rb
297
+ - spec/support/factories/commit.rb
298
+ - spec/support/factories/event_message.rb
299
+ - spec/support/factories/events.rb
300
+ - spec/support/filters.rb
301
+ - spec/support/sample_model/commands.rb
302
+ - spec/support/sample_model/counter.rb
303
+ - spec/support/sample_model/counter2.rb
304
+ - spec/support/stub_retrying_subscription.rb
291
305
  ...