libmagellan 0.2.0 → 0.2.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/libmagellan/http.rb +1 -0
- data/lib/libmagellan/mqtt.rb +1 -1
- data/lib/libmagellan/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: 63cd9bb8f59fd5d20a7962fe5113675de14f6881
|
|
4
|
+
data.tar.gz: 49a5ad469863e5e26c3bbb3d953d496d9e4295cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f6e5e2b71de2b07f4b36fbf4b7f79ea7be0ad9aad743fc33660795af29427afffe6a9bf813cafe47974172821baa73a2fa4f8f62f4dda0929dfd2397e66c644
|
|
7
|
+
data.tar.gz: 48fbb732ad2ef55c6223df257ae7e7ff246ecf159eaed0f6f714ee5e8d455c4f0d69543b9ebc216c5ebdd1b7a804bda503b9b49918942d7605804abbc14a0aa7
|
data/lib/libmagellan/http.rb
CHANGED
|
@@ -47,6 +47,7 @@ module Libmagellan
|
|
|
47
47
|
path_query << "?#{uri.query}" unless uri.query.blank?
|
|
48
48
|
|
|
49
49
|
response = case method.downcase.to_sym
|
|
50
|
+
when :patch then http.patch(path_query, body, headers)
|
|
50
51
|
when :delete then http.delete(path_query, headers)
|
|
51
52
|
when :put then http.put(path_query, body, headers)
|
|
52
53
|
when :post then http.post(path_query, body, headers)
|
data/lib/libmagellan/mqtt.rb
CHANGED
data/lib/libmagellan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: libmagellan
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- akima
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-12-
|
|
11
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: signet
|