particlerb 1.3.0 → 1.3.1
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 +4 -4
- data/lib/particle/client/devices.rb +1 -1
- data/lib/particle/device.rb +2 -2
- data/lib/particle/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42903b63b82b54886a0445733da1e7a61a3dffad
|
|
4
|
+
data.tar.gz: 2b70acdb2e5a7543d15e6f87c4885544c199c4f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc343874fa16fba14def9c184e153b1d077e61adb5e8109370cb6e4f1ecf1ac9dae056918cf262c7550753accdbd637b607adbbe7d97a7653af9cb234eb3a753
|
|
7
|
+
data.tar.gz: 1d6bd48d026c95289e6429bb62e454490f9a83621870404ec0c59afa9f598c2473cece8e88092c44ece31257da3bb09590d54651d873887e6c27de718b2ed5ca
|
|
@@ -138,7 +138,7 @@ module Particle
|
|
|
138
138
|
# (default rsa)
|
|
139
139
|
# @return [boolean] true when successful
|
|
140
140
|
def update_device_public_key(target, public_key, algorithm = 'rsa')
|
|
141
|
-
result = post(
|
|
141
|
+
result = post(device(target).update_keys_path,
|
|
142
142
|
deviceID: device(target).id,
|
|
143
143
|
publicKey: public_key,
|
|
144
144
|
algorithm: algorithm)
|
data/lib/particle/device.rb
CHANGED
data/lib/particle/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: particlerb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Julien Vanier
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
260
260
|
version: 1.3.5
|
|
261
261
|
requirements: []
|
|
262
262
|
rubyforge_project:
|
|
263
|
-
rubygems_version: 2.
|
|
263
|
+
rubygems_version: 2.5.1
|
|
264
264
|
signing_key:
|
|
265
265
|
specification_version: 4
|
|
266
266
|
summary: Ruby client for the Particle.io Cloud API
|