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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aca95d7fc148b2831626ae95bdb8db36595e84cc
4
- data.tar.gz: ad3db34ed8b2a393c663049ca068cf92f357f4fa
3
+ metadata.gz: edb2bf08692c67b889ea0427ac7db706bab8f420
4
+ data.tar.gz: 79d406f3ae3c21961bfa2d512e311af44789e295
5
5
  SHA512:
6
- metadata.gz: 5b5b5993a6a490dcd22fd846479bd4c22a8de4e488a1e689e1f558abe6d3aa46e1d51c6fc63cadf48aea0686dbe6dbafa57ceaecb4745d51841e3fa3560d4bef
7
- data.tar.gz: 2513776de8de493c59a68a9d7a82f4d6329b812fe51e9bd4f9e761e49134bf453dbfcae709d25590e808a98dbf3638a24a1dd20d075544d7523521e2ab690079
6
+ metadata.gz: 3a62bbf5a008a728d91070f673a4cb69c60bdf1a3a5df9792f0d4aac255da775508d2e3c98f157b9f8314a0c0e26e78d9566114426ecd0892b234331afc24bb2
7
+ data.tar.gz: ec621ee387beaa62296178588f245e635534bd8feb7ba1e7bfbc2f7198cd9f01f47033a0f5cc6416144fcb3a473b47d0cfa874a560352772de50c690090ddd71
data/lib/telemetry/api.rb CHANGED
@@ -339,7 +339,4 @@ module Telemetry
339
339
  class MethodNotAllowed < Exception
340
340
  end
341
341
 
342
-
343
-
344
-
345
- end
342
+ end
@@ -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 ]
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Telemetry
2
- TELEMETRY_VERSION = "1.4.4"
2
+ TELEMETRY_VERSION = "1.4.5"
3
3
  end
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
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-13 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json