qubitro-mqtt 0.0.4 → 0.0.5

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
  SHA256:
3
- metadata.gz: b715e4c9ac37f8413d91ba2c496979c9cff0333d9778271742b2bad06930d644
4
- data.tar.gz: 1b0823e304bf64fc9affcca7dc96dc6cf64552e5f33cdccc9f77f837ef3fc3aa
3
+ metadata.gz: 024a537aa92a228c64777f0af1b870b0c049c4067784cf20c6b1f5b8bc2b1aa7
4
+ data.tar.gz: 877f25bb397aef7321644f9857a7b5d0f009e66982bd980b2cebef679db6b60d
5
5
  SHA512:
6
- metadata.gz: 419c8e163feb1b6f4fee7b8864ef3903cb18b7594fe236e13b06389eb3ad23e52fbca46cf24297c5f44b0f92e2b72441ef1d585741183d80945ac3b3ea62ea08
7
- data.tar.gz: 223df2b2bd5cfac20069f3284a94e4ef6f190d57d954705c1e880f123f2ec7c3d245c2f4aa210cb2e75533aea47cb9c65af75a4cbcc0b3497585e60e6fec542a
6
+ metadata.gz: a7d942b91baee8a5db425b1206074494943b209f2fc36700c5eaf0e9536e5552333981c57e1df38fafce73334b83f25a4383b261afd8cf68cda9c3238c1eda1b
7
+ data.tar.gz: b3e4f3e3e198a4ee3b8297d8d99d78c9fa172b0a53d2ab728e0d452721f886036a63eb9fb444d1b9e0155d1b8f06aa7e66233c6bb9869e3c24e6d9a12d9159f4
data/NEWS.md CHANGED
@@ -5,3 +5,8 @@ Ruby MQTT Version 0.0.1 (24.03.2020)
5
5
  ------------------------------------
6
6
 
7
7
  * Initial Release
8
+
9
+ Ruby MQTT Version 0.0.5 (24.03.2020)
10
+ ------------------------------------
11
+
12
+ * Fixed vulnerability errors
data/README.md CHANGED
@@ -1,5 +1,30 @@
1
1
 
2
- Qubitro Ruby MQTT Client
3
- =========
4
- Qubitro Ruby gem that implements the [MQTT] protocol, a lightweight protocol for publish/subscribe messaging.
2
+
3
+ ## Qubitro Ruby MQTT Client Library
4
+
5
+ Ruby client library that implements the MQTT protocol, a lightweight protocol for publish/subscribe messaging.
6
+
7
+ [![Actions Status](https://github.com/qubitro/mqtt-client-ruby/workflows/Ruby%20Gem/badge.svg)](https://github.com/qubitro/mqtt-client-ruby/actions) [![Gem Version](https://badge.fury.io/rb/qubitro-mqtt.svg)](https://badge.fury.io/rb/qubitro-mqtt)
8
+
9
+ ### Example
10
+
11
+ ```ruby
12
+ require 'qubitro-mqtt'
13
+
14
+ MQTT::Client.connect(
15
+ :host => host,
16
+ :port => 1883,
17
+ :client_id => deviceID,
18
+ :username => deviceID,
19
+ :password => deviceToken,
20
+ :ack_timeout => 15,
21
+ :will_topic => deviceID,
22
+ :will_payload => payload,
23
+ ) do |client|
24
+ puts 'connected'
25
+ end
26
+ ```
27
+
28
+ [Visit Qubitro documentation](https://docs.qubitro.com/client-guides/connect-device/raspberry-pi/ruby)
29
+
5
30
 
@@ -1,5 +1,5 @@
1
1
  module MQTT
2
2
  # The version number of the MQTT gem
3
- VERSION = '0.0.4'
3
+ VERSION = '0.0.5'
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qubitro-mqtt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Qubitro