telemetry 1.4.4 → 1.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telemetry/api.rb +1 -4
- data/lib/telemetry/daemon_config_parser.rb +5 -0
- data/lib/telemetry/flows.rb +14 -0
- data/lib/telemetry/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: edb2bf08692c67b889ea0427ac7db706bab8f420
|
4
|
+
data.tar.gz: 79d406f3ae3c21961bfa2d512e311af44789e295
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a62bbf5a008a728d91070f673a4cb69c60bdf1a3a5df9792f0d4aac255da775508d2e3c98f157b9f8314a0c0e26e78d9566114426ecd0892b234331afc24bb2
|
7
|
+
data.tar.gz: ec621ee387beaa62296178588f245e635534bd8feb7ba1e7bfbc2f7198cd9f01f47033a0f5cc6416144fcb3a473b47d0cfa874a560352772de50c690090ddd71
|
data/lib/telemetry/api.rb
CHANGED
@@ -203,6 +203,11 @@ module TelemetryDaemon
|
|
203
203
|
@@tasks << [ :value, tag, frequency, offset, block ]
|
204
204
|
end
|
205
205
|
|
206
|
+
def video(tag, frequency = 0, offset=nil, &block)
|
207
|
+
@@tasks ||= []
|
208
|
+
@@tasks << [ :value, tag, frequency, offset, block ]
|
209
|
+
end
|
210
|
+
|
206
211
|
def waterfall(tag, frequency = 0, offset=nil, &block)
|
207
212
|
@@tasks ||= []
|
208
213
|
@@tasks << [ :waterfall, tag, frequency, offset, block ]
|
data/lib/telemetry/flows.rb
CHANGED
@@ -400,6 +400,19 @@ module Telemetry
|
|
400
400
|
property :last_down
|
401
401
|
end
|
402
402
|
|
403
|
+
# Video
|
404
|
+
class Video < Hashie::Dash
|
405
|
+
include TelemetryFlows
|
406
|
+
property :tag, :required => true
|
407
|
+
property :title
|
408
|
+
property :expires_at
|
409
|
+
property :priority
|
410
|
+
property :icon
|
411
|
+
property :link
|
412
|
+
property :mode
|
413
|
+
property :url, :required => true
|
414
|
+
end
|
415
|
+
|
403
416
|
# Value
|
404
417
|
class Value < Hashie::Dash
|
405
418
|
include TelemetryFlows
|
@@ -408,6 +421,7 @@ module Telemetry
|
|
408
421
|
property :expires_at
|
409
422
|
property :priority
|
410
423
|
property :icon
|
424
|
+
property :label_color
|
411
425
|
property :link
|
412
426
|
property :value, :required => true
|
413
427
|
property :color
|
data/lib/telemetry/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telemetry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- W. Gersham Meharg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|