alephant-sequencer 1.1.0 → 1.2.0

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: 86b1297e01bdbd2d4c4f81a602b34e895b5ada82
4
- data.tar.gz: e492fe5944c17e92b1afbc7ff0f8270558abe51d
3
+ metadata.gz: 890c8ad225896f900a20b2675e3cb2be38eaecea
4
+ data.tar.gz: 79a09f2ca1fcb4c131af52f1c4351402477cd5eb
5
5
  SHA512:
6
- metadata.gz: 83507711dee28f0b1a8d0abb4a2b5f06927caf541c641d18d4d566d0087320cf10f354e82672de1831c238735a396fe88b8edeae66843a8554de73278877cf6a
7
- data.tar.gz: 88468c9d3df88230e5db48fe3f722e89c0bf18a92756555082f4f8179b6181d3a6ec110f4b9063f2051e8eae3ed32922f05d0b9f9d36f53f108896cd9a65c154
6
+ metadata.gz: 1814662846466e72dfea78479adc8bb4dacf5a0c09526572181532008790d54dc8ddb46a4e174d8e126aa58a9b9699e399ae455400e1cae9b5c22a10b5a92e59
7
+ data.tar.gz: 6f18cd7b216d7edf26d38d2d2cba9c3ab70ec61034ab84e14d8ac746b094d641c74345619876886e9e8c0b456ff22a64bcfb2591e97cbc7da5ce0afcfa50bb0c
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ jruby-1.7
@@ -68,6 +68,7 @@ module Alephant
68
68
 
69
69
  logger.info("SequenceTable#update_sequence_id: with new value #{value} for #{ident} success!")
70
70
  rescue AWS::DynamoDB::Errors::ConditionalCheckFailedException
71
+ logger.metric(:name => "SequencerFailedConditionalChecks", :unit => "Count", :value => 1)
71
72
  logger.warn("SequenceTable#update_sequence_id: (Value to put: #{value}, existing: #{current_sequence}) #{ident} outdated!")
72
73
  end
73
74
  end
@@ -34,6 +34,7 @@ module Alephant
34
34
  if sequential
35
35
  set_last_seen(msg, last_seen_id)
36
36
  else
37
+ logger.metric(:name => "SequencerNonSequentialMessageCount", :unit => "Count", :value => 1)
37
38
  logger.info("Sequencer#sequence nonsequential message for #{ident} (last_seen_id: #{last_seen_id})")
38
39
  end
39
40
  end
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Sequencer
3
- VERSION = "1.1.0"
3
+ VERSION = "1.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,212 +1,212 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-sequencer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Kenny
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-14 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - ~>
18
17
  - !ruby/object:Gem::Version
19
18
  version: '1.5'
20
- type: :development
19
+ name: bundler
21
20
  prerelease: false
21
+ type: :development
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rake
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - '>='
32
31
  - !ruby/object:Gem::Version
33
32
  version: '0'
34
- type: :development
33
+ name: rake
35
34
  prerelease: false
35
+ type: :development
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rspec
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - '>='
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
48
- type: :development
47
+ name: rspec
49
48
  prerelease: false
49
+ type: :development
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rake-rspec
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - '>='
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
62
- type: :development
61
+ name: rake-rspec
63
62
  prerelease: false
63
+ type: :development
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rspec-nc
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - '>='
74
73
  - !ruby/object:Gem::Version
75
74
  version: '0'
76
- type: :development
75
+ name: rspec-nc
77
76
  prerelease: false
77
+ type: :development
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: guard
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - '>='
88
87
  - !ruby/object:Gem::Version
89
88
  version: '0'
90
- type: :development
89
+ name: guard
91
90
  prerelease: false
91
+ type: :development
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: guard-rspec
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
101
100
  - - '>='
102
101
  - !ruby/object:Gem::Version
103
102
  version: '0'
104
- type: :development
103
+ name: guard-rspec
105
104
  prerelease: false
105
+ type: :development
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: pry
113
112
  requirement: !ruby/object:Gem::Requirement
114
113
  requirements:
115
114
  - - '>='
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
118
- type: :development
117
+ name: pry
119
118
  prerelease: false
119
+ type: :development
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
- name: pry-remote
127
126
  requirement: !ruby/object:Gem::Requirement
128
127
  requirements:
129
128
  - - '>='
130
129
  - !ruby/object:Gem::Version
131
130
  version: '0'
132
- type: :development
131
+ name: pry-remote
133
132
  prerelease: false
133
+ type: :development
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: pry-nav
141
140
  requirement: !ruby/object:Gem::Requirement
142
141
  requirements:
143
142
  - - '>='
144
143
  - !ruby/object:Gem::Version
145
144
  version: '0'
146
- type: :development
145
+ name: pry-nav
147
146
  prerelease: false
147
+ type: :development
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: aws-sdk
155
154
  requirement: !ruby/object:Gem::Requirement
156
155
  requirements:
157
156
  - - ~>
158
157
  - !ruby/object:Gem::Version
159
158
  version: '1.0'
160
- type: :runtime
159
+ name: aws-sdk
161
160
  prerelease: false
161
+ type: :runtime
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ~>
165
165
  - !ruby/object:Gem::Version
166
166
  version: '1.0'
167
167
  - !ruby/object:Gem::Dependency
168
- name: alephant-logger
169
168
  requirement: !ruby/object:Gem::Requirement
170
169
  requirements:
171
170
  - - '>='
172
171
  - !ruby/object:Gem::Version
173
172
  version: '0'
174
- type: :runtime
173
+ name: alephant-logger
175
174
  prerelease: false
175
+ type: :runtime
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '>='
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  - !ruby/object:Gem::Dependency
182
- name: alephant-support
183
182
  requirement: !ruby/object:Gem::Requirement
184
183
  requirements:
185
184
  - - '>='
186
185
  - !ruby/object:Gem::Version
187
186
  version: '0'
188
- type: :runtime
187
+ name: alephant-support
189
188
  prerelease: false
189
+ type: :runtime
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - '>='
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
- name: jsonpath
197
196
  requirement: !ruby/object:Gem::Requirement
198
197
  requirements:
199
198
  - - '>='
200
199
  - !ruby/object:Gem::Version
201
200
  version: '0'
202
- type: :runtime
201
+ name: jsonpath
203
202
  prerelease: false
203
+ type: :runtime
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '>='
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
- description:
209
+ description:
210
210
  email:
211
211
  - kenoir@gmail.com
212
212
  executables: []
@@ -214,6 +214,7 @@ extensions: []
214
214
  extra_rdoc_files: []
215
215
  files:
216
216
  - .gitignore
217
+ - .ruby-version
217
218
  - .travis.yml
218
219
  - Gemfile
219
220
  - Guardfile
@@ -231,7 +232,7 @@ homepage: ''
231
232
  licenses:
232
233
  - MIT
233
234
  metadata: {}
234
- post_install_message:
235
+ post_install_message:
235
236
  rdoc_options: []
236
237
  require_paths:
237
238
  - lib
@@ -246,9 +247,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
246
247
  - !ruby/object:Gem::Version
247
248
  version: '0'
248
249
  requirements: []
249
- rubyforge_project:
250
- rubygems_version: 2.0.14
251
- signing_key:
250
+ rubyforge_project:
251
+ rubygems_version: 2.1.9
252
+ signing_key:
252
253
  specification_version: 4
253
254
  summary: Adds sequencing functionality to Alephant.
254
255
  test_files: