pulse_meter_visualizer 0.4.19 → 0.4.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/pulse_meter/visualize/public/css/application.css +13 -0
- data/lib/pulse_meter/visualize/views/main.haml +6 -2
- data/pulse_meter_visualizer.gemspec +1 -1
- data/spec/pulse_meter/visualize/dsl/layout_spec.rb +2 -2
- data/spec/pulse_meter/visualize/dsl/widgets/area_spec.rb +1 -1
- data/spec/pulse_meter/visualize/dsl/widgets/line_spec.rb +1 -1
- data/spec/pulse_meter/visualize/dsl/widgets/pie_spec.rb +1 -1
- data/spec/pulse_meter/visualize/dsl/widgets/table_spec.rb +1 -1
- data/spec/pulse_meter/visualize/sensor_spec.rb +2 -2
- metadata +5 -50
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MDc4Mzk4NGViOWQ1MzQzNTdjYTRhYTkzNDlhMjJmZDAyM2QzNmMwNg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2E1YTFhYjAzZTYwMmYxZDM2YzMyYWY3ODUyZTM4ODgzYTI2NWM5NQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTEwOWVkODMzNjY5Zjc1YmZjODExM2QyOTIzMGNlZThjMDM0NzY2NWRlOGM0
|
10
|
+
YWVkNDJhZjFkYWI3M2I1NWEzYmFjZTU3YWVkM2YzMWUxZGQyZDI1YmJlMWNj
|
11
|
+
ZTVjZjVlYTlhMjFhNDg2ZWE3ZGYzNGY0NGNlNmY4NGIwOTIxMmM=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTM1ODZjZGYxMzU4NzU4OTRhMGMxOGVmMzIzOTEzMWNhMjY4NDVkMWQyMWY2
|
14
|
+
NzllOTllNzhkM2E2Y2UxYTlmZTc4MGI1ZDY2NTBlYjJkZmRiNmQxMzYxODM4
|
15
|
+
N2Q1OWYwZmRiOGQ1Y2YyZDM0YTk5ZDI2MDc1YjhlNDljZmY5Y2M=
|
@@ -25,8 +25,12 @@
|
|
25
25
|
.navbar.navbar-fixed-top
|
26
26
|
.navbar-inner
|
27
27
|
.container-fluid
|
28
|
-
%
|
29
|
-
|
28
|
+
%table
|
29
|
+
%tr
|
30
|
+
%td.brand-container
|
31
|
+
%a.brand{href: '#/custom'}= @title
|
32
|
+
%td
|
33
|
+
%ul.nav#page-titles
|
30
34
|
|
31
35
|
.container-fluid#main
|
32
36
|
.row-fluid#widgets
|
@@ -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.
|
17
|
+
gem.version = "0.4.20"
|
18
18
|
|
19
19
|
gem.add_runtime_dependency('pulse_meter_core')
|
20
20
|
gem.add_runtime_dependency('gon-sinatra')
|
@@ -11,7 +11,7 @@ describe PulseMeter::Visualize::DSL::Layout do
|
|
11
11
|
l = layout.to_data
|
12
12
|
l.title.should == PulseMeter::Visualize::DSL::Layout::DEFAULT_TITLE
|
13
13
|
l.pages.should == []
|
14
|
-
l.use_utc.should
|
14
|
+
l.use_utc.should == false
|
15
15
|
l.gchart_options.should == {}
|
16
16
|
end
|
17
17
|
end
|
@@ -44,7 +44,7 @@ describe PulseMeter::Visualize::DSL::Layout do
|
|
44
44
|
describe "#use_utc" do
|
45
45
|
it "should set use_utc" do
|
46
46
|
layout.use_utc false
|
47
|
-
layout.to_data.use_utc.should
|
47
|
+
layout.to_data.use_utc.should == false
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
@@ -81,11 +81,11 @@ describe PulseMeter::Visualize::Sensor do
|
|
81
81
|
subject{ checked_sensor.valid? }
|
82
82
|
context "when sensor exists" do
|
83
83
|
let(:checked_sensor){ sensor }
|
84
|
-
it{ should
|
84
|
+
it{ should == true }
|
85
85
|
end
|
86
86
|
context "when sensor does not exist" do
|
87
87
|
let(:checked_sensor){ bad_sensor }
|
88
|
-
it{ should
|
88
|
+
it{ should == false }
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
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.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.20
|
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: 2014-
|
12
|
+
date: 2014-09-08 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: -2134884508731725926
|
488
443
|
requirements: []
|
489
444
|
rubyforge_project:
|
490
|
-
rubygems_version:
|
445
|
+
rubygems_version: 2.4.1
|
491
446
|
signing_key:
|
492
|
-
specification_version:
|
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:
|