m2x-mqtt 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b40f2dd197405129dea92eee3a9524a2ef941f0
4
- data.tar.gz: 7c0504db6e1027b964e375338a62c77d20b4c5e1
3
+ metadata.gz: 10d2fcae61b639f4b3f1e48b83c87e84bb6cc8be
4
+ data.tar.gz: 7673b850fd7e3cdce12e646a223eb99d9d9738f2
5
5
  SHA512:
6
- metadata.gz: 695edb1116ab19e40677f7b5d93ea1c69196098738013e8959f5faaa56b247aa4c71794edbd0144583968840d450448c2c79b4f6cca7e92ef724bae27d6e1940
7
- data.tar.gz: a8066d83bd256be686471e6ae476383fb1c1e28417706fcc66e9e895b00dfd797ce3e2609340e6aaac5a7fa93850009c91baa17e88353d285e5d1c619e2fda87
6
+ metadata.gz: 03f12ff0cff0d3256ddf0a976816fd027fe2951d4ce57f09f61f3fe5c382ee874811493107e03f13c594e862ae971ea34020b3d52c50fd2c3061a38680d25511
7
+ data.tar.gz: eccaa695c26e042b2cec5f8b208b0425f0e06f245692db77f3737411cba07ebc0d08ef99acd56a3150a755c542367c2cdf6ad8b049fdb22f66e7eacb360d2884
@@ -29,7 +29,7 @@ class M2X::MQTT::Stream < M2X::MQTT::Resource
29
29
  def update_value(value, timestamp=nil)
30
30
  params = { value: value }
31
31
 
32
- params[:at] = timestamp if timestamp
32
+ params[:timestamp] = timestamp if timestamp
33
33
 
34
34
  @client.put("#{path}/value", params)
35
35
  end
@@ -1,5 +1,5 @@
1
1
  module M2X
2
2
  class MQTT
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m2x-mqtt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro López
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-16 00:00:00.000000000 Z
13
+ date: 2015-03-17 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: AT&T’s M2X is a cloud-based fully managed data storage service for network
16
16
  connected machine-to-machine (M2M) devices. From trucks and turbines to vending