pulse_meter_visualizer 0.4.21 → 0.4.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OGIwOTI0YWZlMzFmZTUyYWMxZmE4NmM0YmY3ZGVmZWUwNjE3YTllOA==
5
+ data.tar.gz: !binary |-
6
+ OGZlNDM3YmI3Mjk1NDU0N2UyNTY3YjlmNzgzZWU4NmI5YTkxYjM5Mg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZWUwMTk4NjE2MGJjOWQyZDg5NGJiMTBlNjg3NTk4NDMzZGYyODhiZDFmYjRi
10
+ NTg4MTAzMmZjZTFkOGJiYjYyZmU1MWE4NWQwMjMyOWUzZmY3M2QxZDZhMDdj
11
+ NjY1ZTlkNzk5MmE0MTRmMDExZTk2YTczYmJkODYwOTYwN2Y4ODI=
12
+ data.tar.gz: !binary |-
13
+ YzY5MDJkNmNkODY1MTdkM2IwYTM0ZTczZjRhYmU3MjFkNWE5YjQxYTk2MjNj
14
+ ZjM5YWUwOTZjYjM5ODRmMWVlODZmYzgyNGFmMmQxZTcwMTFhODhlMDIyNzA0
15
+ OThkNGYzZGEyM2MxOWRkZjliZDhjNTZlZTE2NGQ3YTk3MDUwMDU=
@@ -1,7 +1,8 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
3
  - 2.0.0
4
+ - 2.1.6
5
+ - 2.2.2
5
6
  branches:
6
7
  only:
7
8
  - master
data/README.md CHANGED
@@ -9,7 +9,7 @@ PulseMeter is a gem for fast and convenient realtime aggregating of software int
9
9
 
10
10
  ## Live Demo
11
11
 
12
- A small live demo for [pulse-meter](https://github.com/savonarola/pulse-meter) gem is located here: [rubybox.ru](http://rubybox.ru), its source code can be found here: [https://github.com/savonarola/pulse-meter-demo](https://github.com/savonarola/pulse-meter-demo)
12
+ A small live demo for [pulse-meter](https://github.com/savonarola/pulse-meter) gem is located here: [pulse-meter.rubybox.ru](http://pulse-meter.rubybox.ru), its source code can be found here: [https://github.com/savonarola/pulse-meter-demo](https://github.com/savonarola/pulse-meter-demo)
13
13
 
14
14
  ## Features
15
15
 
@@ -4,10 +4,14 @@ class TimelinePresenter extends WidgetPresenter
4
4
  data.addColumn('datetime', 'Time')
5
5
  dateOffset = @dateOffset() + @get('interval') * 1000
6
6
  series = @get('series')
7
- _.each series.titles, (t) ->
8
- data.addColumn('number', t)
7
+ if _.size(series.titles) > 0
8
+ _.each series.titles, (t) ->
9
+ data.addColumn('number', t)
9
10
 
10
- _.each series.rows, (row) ->
11
- row[0] = new Date(row[0] + dateOffset)
12
- data.addRow(row)
11
+ _.each series.rows, (row) ->
12
+ row[0] = new Date(row[0] + dateOffset)
13
+ data.addRow(row)
14
+ else
15
+ # dummy column to render an empty chart but not a error
16
+ data.addColumn('number')
13
17
  data
@@ -363,13 +363,17 @@ TimelinePresenter = (function(_super) {
363
363
  data.addColumn('datetime', 'Time');
364
364
  dateOffset = this.dateOffset() + this.get('interval') * 1000;
365
365
  series = this.get('series');
366
- _.each(series.titles, function(t) {
367
- return data.addColumn('number', t);
368
- });
369
- _.each(series.rows, function(row) {
370
- row[0] = new Date(row[0] + dateOffset);
371
- return data.addRow(row);
372
- });
366
+ if (_.size(series.titles) > 0) {
367
+ _.each(series.titles, function(t) {
368
+ return data.addColumn('number', t);
369
+ });
370
+ _.each(series.rows, function(row) {
371
+ row[0] = new Date(row[0] + dateOffset);
372
+ return data.addRow(row);
373
+ });
374
+ } else {
375
+ data.addColumn('number');
376
+ }
373
377
  return data;
374
378
  };
375
379
 
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = "pulse_meter_visualizer"
16
16
  gem.require_paths = ["lib"]
17
- gem.version = "0.4.21"
17
+ gem.version = "0.4.22"
18
18
 
19
19
  gem.add_runtime_dependency('pulse_meter_core')
20
20
  gem.add_runtime_dependency('gon-sinatra')
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulse_meter_visualizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.21
5
- prerelease:
4
+ version: 0.4.22
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ilya Averyanov
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2015-06-27 00:00:00.000000000 Z
12
+ date: 2016-02-26 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: pulse_meter_core
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ! '>='
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ! '>='
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: gon-sinatra
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ! '>='
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ! '>='
45
40
  - !ruby/object:Gem::Version
@@ -47,7 +42,6 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: haml
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ! '>='
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,6 @@ dependencies:
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - ! '>='
61
54
  - !ruby/object:Gem::Version
@@ -63,7 +56,6 @@ dependencies:
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: sinatra
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
60
  - - ! '>='
69
61
  - !ruby/object:Gem::Version
@@ -71,7 +63,6 @@ dependencies:
71
63
  type: :runtime
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
67
  - - ! '>='
77
68
  - !ruby/object:Gem::Version
@@ -79,7 +70,6 @@ dependencies:
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: sinatra-partial
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
74
  - - ! '>='
85
75
  - !ruby/object:Gem::Version
@@ -87,7 +77,6 @@ dependencies:
87
77
  type: :runtime
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
81
  - - ! '>='
93
82
  - !ruby/object:Gem::Version
@@ -95,7 +84,6 @@ dependencies:
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: aquarium
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
88
  - - ! '>='
101
89
  - !ruby/object:Gem::Version
@@ -103,7 +91,6 @@ dependencies:
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
95
  - - ! '>='
109
96
  - !ruby/object:Gem::Version
@@ -111,7 +98,6 @@ dependencies:
111
98
  - !ruby/object:Gem::Dependency
112
99
  name: coffee-script
113
100
  requirement: !ruby/object:Gem::Requirement
114
- none: false
115
101
  requirements:
116
102
  - - ! '>='
117
103
  - !ruby/object:Gem::Version
@@ -119,7 +105,6 @@ dependencies:
119
105
  type: :development
120
106
  prerelease: false
121
107
  version_requirements: !ruby/object:Gem::Requirement
122
- none: false
123
108
  requirements:
124
109
  - - ! '>='
125
110
  - !ruby/object:Gem::Version
@@ -127,7 +112,6 @@ dependencies:
127
112
  - !ruby/object:Gem::Dependency
128
113
  name: foreman
129
114
  requirement: !ruby/object:Gem::Requirement
130
- none: false
131
115
  requirements:
132
116
  - - ! '>='
133
117
  - !ruby/object:Gem::Version
@@ -135,7 +119,6 @@ dependencies:
135
119
  type: :development
136
120
  prerelease: false
137
121
  version_requirements: !ruby/object:Gem::Requirement
138
- none: false
139
122
  requirements:
140
123
  - - ! '>='
141
124
  - !ruby/object:Gem::Version
@@ -143,7 +126,6 @@ dependencies:
143
126
  - !ruby/object:Gem::Dependency
144
127
  name: hashie
145
128
  requirement: !ruby/object:Gem::Requirement
146
- none: false
147
129
  requirements:
148
130
  - - ! '>='
149
131
  - !ruby/object:Gem::Version
@@ -151,7 +133,6 @@ dependencies:
151
133
  type: :development
152
134
  prerelease: false
153
135
  version_requirements: !ruby/object:Gem::Requirement
154
- none: false
155
136
  requirements:
156
137
  - - ! '>='
157
138
  - !ruby/object:Gem::Version
@@ -159,7 +140,6 @@ dependencies:
159
140
  - !ruby/object:Gem::Dependency
160
141
  name: listen
161
142
  requirement: !ruby/object:Gem::Requirement
162
- none: false
163
143
  requirements:
164
144
  - - ! '>='
165
145
  - !ruby/object:Gem::Version
@@ -167,7 +147,6 @@ dependencies:
167
147
  type: :development
168
148
  prerelease: false
169
149
  version_requirements: !ruby/object:Gem::Requirement
170
- none: false
171
150
  requirements:
172
151
  - - ! '>='
173
152
  - !ruby/object:Gem::Version
@@ -175,7 +154,6 @@ dependencies:
175
154
  - !ruby/object:Gem::Dependency
176
155
  name: mock_redis
177
156
  requirement: !ruby/object:Gem::Requirement
178
- none: false
179
157
  requirements:
180
158
  - - ! '>='
181
159
  - !ruby/object:Gem::Version
@@ -183,7 +161,6 @@ dependencies:
183
161
  type: :development
184
162
  prerelease: false
185
163
  version_requirements: !ruby/object:Gem::Requirement
186
- none: false
187
164
  requirements:
188
165
  - - ! '>='
189
166
  - !ruby/object:Gem::Version
@@ -191,7 +168,6 @@ dependencies:
191
168
  - !ruby/object:Gem::Dependency
192
169
  name: rack-test
193
170
  requirement: !ruby/object:Gem::Requirement
194
- none: false
195
171
  requirements:
196
172
  - - ! '>='
197
173
  - !ruby/object:Gem::Version
@@ -199,7 +175,6 @@ dependencies:
199
175
  type: :development
200
176
  prerelease: false
201
177
  version_requirements: !ruby/object:Gem::Requirement
202
- none: false
203
178
  requirements:
204
179
  - - ! '>='
205
180
  - !ruby/object:Gem::Version
@@ -207,7 +182,6 @@ dependencies:
207
182
  - !ruby/object:Gem::Dependency
208
183
  name: rake
209
184
  requirement: !ruby/object:Gem::Requirement
210
- none: false
211
185
  requirements:
212
186
  - - ! '>='
213
187
  - !ruby/object:Gem::Version
@@ -215,7 +189,6 @@ dependencies:
215
189
  type: :development
216
190
  prerelease: false
217
191
  version_requirements: !ruby/object:Gem::Requirement
218
- none: false
219
192
  requirements:
220
193
  - - ! '>='
221
194
  - !ruby/object:Gem::Version
@@ -223,7 +196,6 @@ dependencies:
223
196
  - !ruby/object:Gem::Dependency
224
197
  name: rb-fsevent
225
198
  requirement: !ruby/object:Gem::Requirement
226
- none: false
227
199
  requirements:
228
200
  - - ! '>='
229
201
  - !ruby/object:Gem::Version
@@ -231,7 +203,6 @@ dependencies:
231
203
  type: :development
232
204
  prerelease: false
233
205
  version_requirements: !ruby/object:Gem::Requirement
234
- none: false
235
206
  requirements:
236
207
  - - ! '>='
237
208
  - !ruby/object:Gem::Version
@@ -239,7 +210,6 @@ dependencies:
239
210
  - !ruby/object:Gem::Dependency
240
211
  name: redcarpet
241
212
  requirement: !ruby/object:Gem::Requirement
242
- none: false
243
213
  requirements:
244
214
  - - ! '>='
245
215
  - !ruby/object:Gem::Version
@@ -247,7 +217,6 @@ dependencies:
247
217
  type: :development
248
218
  prerelease: false
249
219
  version_requirements: !ruby/object:Gem::Requirement
250
- none: false
251
220
  requirements:
252
221
  - - ! '>='
253
222
  - !ruby/object:Gem::Version
@@ -255,7 +224,6 @@ dependencies:
255
224
  - !ruby/object:Gem::Dependency
256
225
  name: rspec
257
226
  requirement: !ruby/object:Gem::Requirement
258
- none: false
259
227
  requirements:
260
228
  - - ~>
261
229
  - !ruby/object:Gem::Version
@@ -263,7 +231,6 @@ dependencies:
263
231
  type: :development
264
232
  prerelease: false
265
233
  version_requirements: !ruby/object:Gem::Requirement
266
- none: false
267
234
  requirements:
268
235
  - - ~>
269
236
  - !ruby/object:Gem::Version
@@ -271,7 +238,6 @@ dependencies:
271
238
  - !ruby/object:Gem::Dependency
272
239
  name: simplecov
273
240
  requirement: !ruby/object:Gem::Requirement
274
- none: false
275
241
  requirements:
276
242
  - - ! '>='
277
243
  - !ruby/object:Gem::Version
@@ -279,7 +245,6 @@ dependencies:
279
245
  type: :development
280
246
  prerelease: false
281
247
  version_requirements: !ruby/object:Gem::Requirement
282
- none: false
283
248
  requirements:
284
249
  - - ! '>='
285
250
  - !ruby/object:Gem::Version
@@ -287,7 +252,6 @@ dependencies:
287
252
  - !ruby/object:Gem::Dependency
288
253
  name: sprockets
289
254
  requirement: !ruby/object:Gem::Requirement
290
- none: false
291
255
  requirements:
292
256
  - - ! '>='
293
257
  - !ruby/object:Gem::Version
@@ -295,7 +259,6 @@ dependencies:
295
259
  type: :development
296
260
  prerelease: false
297
261
  version_requirements: !ruby/object:Gem::Requirement
298
- none: false
299
262
  requirements:
300
263
  - - ! '>='
301
264
  - !ruby/object:Gem::Version
@@ -303,7 +266,6 @@ dependencies:
303
266
  - !ruby/object:Gem::Dependency
304
267
  name: timecop
305
268
  requirement: !ruby/object:Gem::Requirement
306
- none: false
307
269
  requirements:
308
270
  - - ! '>='
309
271
  - !ruby/object:Gem::Version
@@ -311,7 +273,6 @@ dependencies:
311
273
  type: :development
312
274
  prerelease: false
313
275
  version_requirements: !ruby/object:Gem::Requirement
314
- none: false
315
276
  requirements:
316
277
  - - ! '>='
317
278
  - !ruby/object:Gem::Version
@@ -319,7 +280,6 @@ dependencies:
319
280
  - !ruby/object:Gem::Dependency
320
281
  name: yard
321
282
  requirement: !ruby/object:Gem::Requirement
322
- none: false
323
283
  requirements:
324
284
  - - ! '>='
325
285
  - !ruby/object:Gem::Version
@@ -327,7 +287,6 @@ dependencies:
327
287
  type: :development
328
288
  prerelease: false
329
289
  version_requirements: !ruby/object:Gem::Requirement
330
- none: false
331
290
  requirements:
332
291
  - - ! '>='
333
292
  - !ruby/object:Gem::Version
@@ -466,30 +425,26 @@ files:
466
425
  - spec/spec_helper.rb
467
426
  homepage: https://github.com/savonarola/pulse_meter_visualizer
468
427
  licenses: []
428
+ metadata: {}
469
429
  post_install_message:
470
430
  rdoc_options: []
471
431
  require_paths:
472
432
  - lib
473
433
  required_ruby_version: !ruby/object:Gem::Requirement
474
- none: false
475
434
  requirements:
476
435
  - - ! '>='
477
436
  - !ruby/object:Gem::Version
478
437
  version: 1.9.2
479
438
  required_rubygems_version: !ruby/object:Gem::Requirement
480
- none: false
481
439
  requirements:
482
440
  - - ! '>='
483
441
  - !ruby/object:Gem::Version
484
442
  version: '0'
485
- segments:
486
- - 0
487
- hash: -1924238391703377637
488
443
  requirements: []
489
444
  rubyforge_project:
490
- rubygems_version: 1.8.23
445
+ rubygems_version: 2.5.2
491
446
  signing_key:
492
- specification_version: 3
447
+ specification_version: 4
493
448
  summary: Customizable web interface for lightweight Redis-based metrics aggregator
494
449
  and processor PulseMeter
495
450
  test_files: