lora-rb 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/lora-rb/mqtt/call.rb +1 -1
- data/lib/lora-rb/utility.rb +1 -0
- data/lib/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: 79c6d0b8da60562e095fecb4d8c78b436a1a4e92
|
4
|
+
data.tar.gz: 7629b1d3970c241e5d9a0e275aec3c966d859510
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fb99d9ed59893102df187a271e0bc8dc0fe9c0c81e09f329e3759a6e0a4ab2b81f37b255fbc12c59ad5ceb0a90ba0923a188be79ffab2a52b3b1022e876bc9d
|
7
|
+
data.tar.gz: 46256d4883731154991c811ac96ab6f224d08f0934dcf7826d3e2a71e4744b00c2230c06e9e6947f9888b0b6aa6b2214b721f3d0b143a4723f7c7a9a9f346e2e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
v0.9.3 August 8th, 2017
|
2
|
+
------------------------------
|
3
|
+
* Fixed a bug with mqtt protocol: now when LoraClient is instantiated uses the new client id just generated
|
4
|
+
* Mqtt: Send cmd now use the new parameter wait_response to wait the response on the topic response, not confirmed param anymore.
|
5
|
+
|
1
6
|
v0.9.2 August 7th, 2017
|
2
7
|
------------------------------
|
3
8
|
* Fixed a bug: listen now use the block
|
data/lib/lora-rb/mqtt/call.rb
CHANGED
@@ -69,7 +69,7 @@ module LoraRb
|
|
69
69
|
response = @client.publish(publish_url, h_request.to_json, false)
|
70
70
|
puts " [x] publish response: #{response}" if options[:debug]
|
71
71
|
|
72
|
-
if options[:
|
72
|
+
if options[:wait_response]
|
73
73
|
response_topic = "reply/#{@client_id}/id/#{request_id}"
|
74
74
|
puts " [x] Waiting response on #{response_topic} ..." if options[:debug]
|
75
75
|
response_topic, response = sub_read_data(topic: response_topic)
|
data/lib/lora-rb/utility.rb
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lora-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marco Mastrodonato
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-08-
|
13
|
+
date: 2017-08-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|