libmagellan 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bedd53b1539db040b551014161d7032cd4d9a99d
4
- data.tar.gz: 72f92926594578d22e69eee7c9e7e6ac85157898
3
+ metadata.gz: 63cd9bb8f59fd5d20a7962fe5113675de14f6881
4
+ data.tar.gz: 49a5ad469863e5e26c3bbb3d953d496d9e4295cd
5
5
  SHA512:
6
- metadata.gz: 8b691e66274cb81dfcc18b5d5ff31d00d2d5e326494e1f6cd9c7c45f1f02f5514d9bb1ab97f93dded805d0e55de276f3884fdf264dff38b501285645dd8f70ce
7
- data.tar.gz: 263eca336003094a605da01331eb8cf7a8a050322bc05be91bc18eb57486ca6e51cbc5c9fa40760d51540d682b3bb996889f1edac74b7433ba767de4337930f1
6
+ metadata.gz: 6f6e5e2b71de2b07f4b36fbf4b7f79ea7be0ad9aad743fc33660795af29427afffe6a9bf813cafe47974172821baa73a2fa4f8f62f4dda0929dfd2397e66c644
7
+ data.tar.gz: 48fbb732ad2ef55c6223df257ae7e7ff246ecf159eaed0f6f714ee5e8d455c4f0d69543b9ebc216c5ebdd1b7a804bda503b9b49918942d7605804abbc14a0aa7
@@ -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)
@@ -111,7 +111,7 @@ module Libmagellan
111
111
 
112
112
 
113
113
  # MQTT Disconnect
114
- def disconect
114
+ def disconnect
115
115
  connection.disconnect if connected?
116
116
  end
117
117
 
@@ -1,3 +1,3 @@
1
1
  module Libmagellan
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2014-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: signet