losant_mqtt 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +7 -6
- data/LICENSE +1 -1
- data/README.md +3 -3
- data/lib/losant_mqtt/RootCA.crt +23 -1
- data/lib/losant_mqtt/device.rb +1 -1
- data/lib/losant_mqtt/device_connection.rb +1 -1
- data/lib/losant_mqtt/utils.rb +1 -1
- data/lib/losant_mqtt/version.rb +2 -2
- data/lib/losant_mqtt.rb +1 -1
- data/losant_mqtt.gemspec +2 -2
- metadata +11 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84b371fd8ca187af3f513b9559e77e54a5ec81e5e743161d36e13d480b0007c9
|
4
|
+
data.tar.gz: b016da5749b2937bdce7f974225317411235478d41cc4bcf6d8b5e7ef0f74271
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 648e3a066646d9b406a5823ebdf51733c59546c086422fed0dd998ec03f46164102c9bfc372c3332be470666ad0309c24de8e945cdc690cd0d89b4ddc120002c
|
7
|
+
data.tar.gz: ae19e5c506ee96760aef4a37b288569a73f3e4f5048298c3e7a653c7581bfa2d980d723eb10639e6bccdbea5772679f4ed98ad1809c3cf3a6666e471b22ef466
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.8
|
data/.travis.yml
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
# Losant Ruby MQTT Client
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.
|
3
|
+
[![Build Status](https://travis-ci.com/Losant/losant-mqtt-ruby.svg?branch=master)](https://app.travis-ci.com/github/Losant/losant-mqtt-ruby) [![Gem Version](https://badge.fury.io/rb/losant_mqtt.svg)](https://badge.fury.io/rb/losant_mqtt)
|
4
4
|
|
5
5
|
The [Losant](https://www.losant.com) MQTT client provides a simple way for
|
6
6
|
custom things to communicate with the Losant platform over MQTT. You can
|
7
7
|
authenticate as a device, publish device state, and listen for device commands.
|
8
8
|
|
9
|
-
This client works with Ruby 2.
|
9
|
+
This client works with Ruby 2.x, and it depends on [Event Machine](https://github.com/eventmachine/eventmachine) to provide
|
10
10
|
event-driven I/O.
|
11
11
|
|
12
12
|
<br/>
|
@@ -231,6 +231,6 @@ Removes an observer from listening for an event on this device.
|
|
231
231
|
|
232
232
|
*****
|
233
233
|
|
234
|
-
Copyright (c)
|
234
|
+
Copyright (c) 2024 Losant IoT, Inc
|
235
235
|
|
236
236
|
<https://www.losant.com>
|
data/lib/losant_mqtt/RootCA.crt
CHANGED
@@ -1,4 +1,26 @@
|
|
1
1
|
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIDjjCCAnagAwIBAgIQAzrx5qcRqaC7KGSxHQn65TANBgkqhkiG9w0BAQsFADBh
|
3
|
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
4
|
+
d3cuZGlnaWNlcnQuY29tMSAwHgYDVQQDExdEaWdpQ2VydCBHbG9iYWwgUm9vdCBH
|
5
|
+
MjAeFw0xMzA4MDExMjAwMDBaFw0zODAxMTUxMjAwMDBaMGExCzAJBgNVBAYTAlVT
|
6
|
+
MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j
|
7
|
+
b20xIDAeBgNVBAMTF0RpZ2lDZXJ0IEdsb2JhbCBSb290IEcyMIIBIjANBgkqhkiG
|
8
|
+
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuzfNNNx7a8myaJCtSnX/RrohCgiN9RlUyfuI
|
9
|
+
2/Ou8jqJkTx65qsGGmvPrC3oXgkkRLpimn7Wo6h+4FR1IAWsULecYxpsMNzaHxm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2VydCBHbG9iYWwgUm9vdCBD
|
@@ -19,4 +41,4 @@ hMAtudXH/vTBH1jLuG2cenTnmCmrEbXjcKChzUyImZOMkXDiqw8cvpOp/2PV5Adg
|
|
19
41
|
PnlUkiaY4IBIqDfv8NZ5YBberOgOzW6sRBc4L0na4UU+Krk2U886UAb3LujEV0ls
|
20
42
|
YSEY1QSteDwsOoBrp+uvFRTp2InBuThs4pFsiv9kuXclVzDAGySj4dzp30d8tbQk
|
21
43
|
CAUw7C29C79Fv1C5qfPrmAESrciIxpg0X40KPMbp1ZWVbd4=
|
22
|
-
-----END CERTIFICATE-----
|
44
|
+
-----END CERTIFICATE-----
|
data/lib/losant_mqtt/device.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2024 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2024 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
data/lib/losant_mqtt/utils.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2024 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
data/lib/losant_mqtt/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2024 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
@@ -21,5 +21,5 @@
|
|
21
21
|
# SOFTWARE.
|
22
22
|
|
23
23
|
module LosantMqtt
|
24
|
-
VERSION = "1.1.
|
24
|
+
VERSION = "1.1.1"
|
25
25
|
end
|
data/lib/losant_mqtt.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# The MIT License (MIT)
|
2
2
|
#
|
3
|
-
# Copyright (c)
|
3
|
+
# Copyright (c) 2024 Losant IoT, Inc.
|
4
4
|
#
|
5
5
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
# of this software and associated documentation files (the "Software"), to deal
|
data/losant_mqtt.gemspec
CHANGED
@@ -15,12 +15,12 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.version = LosantMqtt::VERSION
|
16
16
|
gem.licenses = ["MIT"]
|
17
17
|
|
18
|
-
gem.required_ruby_version = ">= 2.1"
|
18
|
+
gem.required_ruby_version = ">= 2.1", "< 3"
|
19
19
|
|
20
20
|
gem.add_runtime_dependency "eventmachine", "~> 1.2"
|
21
21
|
gem.add_runtime_dependency "mqtt", "~> 0.5"
|
22
22
|
gem.add_runtime_dependency "events", "~> 0.9"
|
23
23
|
|
24
|
-
gem.add_development_dependency "rspec", "~> 3.
|
24
|
+
gem.add_development_dependency "rspec", "~> 3.9"
|
25
25
|
gem.add_development_dependency "rake", "~> 12"
|
26
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: losant_mqtt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kuehl
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
61
|
+
version: '3.9'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
68
|
+
version: '3.9'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,7 +107,7 @@ homepage: https://www.losant.com
|
|
107
107
|
licenses:
|
108
108
|
- MIT
|
109
109
|
metadata: {}
|
110
|
-
post_install_message:
|
110
|
+
post_install_message:
|
111
111
|
rdoc_options: []
|
112
112
|
require_paths:
|
113
113
|
- lib
|
@@ -116,14 +116,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '2.1'
|
119
|
+
- - "<"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '3'
|
119
122
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
123
|
requirements:
|
121
124
|
- - ">="
|
122
125
|
- !ruby/object:Gem::Version
|
123
126
|
version: '0'
|
124
127
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
126
|
-
signing_key:
|
128
|
+
rubygems_version: 3.1.6
|
129
|
+
signing_key:
|
127
130
|
specification_version: 4
|
128
131
|
summary: An MQTT client for the Losant MQTT Broker
|
129
132
|
test_files:
|