adafruit-io 1.0.0 → 1.0.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: 469f5de81e902750a65842ebf58cd54abff10d84
4
- data.tar.gz: 583ef3d58e09935d0dc5b483d91117fca57828d8
3
+ metadata.gz: 6a4c7fae458f9b31e15a0a15a29ad0dc83d0586c
4
+ data.tar.gz: d3ef6d6ca23bf992a933580dc7165f7d56af1da7
5
5
  SHA512:
6
- metadata.gz: 1ae802cec298e079d95c1c7686dd897ec218cb8424bd70563dcbeeb862f340337733028fef6bc85e66c085c138175656a59756138fdf42b2e4a29d28f87c6daf
7
- data.tar.gz: b8bd127e38339b74a6929d9c827a1569fcb1e8a9afa60f2c147a425ad7c3e97ddefc8cb8e969432292d8f4571ad7c8023336aa096f18b3f04e80ba3b892d4acb
6
+ metadata.gz: d615328b75dc2a555e3306576a8d9c310c1c91690b6447b813ae8f7f79396acd863023039402a6442daf38f33b1b645f05967b7306906ce63614c2b170a6bb70
7
+ data.tar.gz: 8d5ad28b15afeedef5d89b3dbafbdc381fbe6b16992cac80d739e1911886428d4b5c26bfce1b3d48d29d8bada0b4d71eeab5cc12c631d1754d883dd54a940ade
@@ -1,4 +1,3 @@
1
- require 'hashie'
2
1
  require 'faraday'
3
2
  require 'faraday_middleware'
4
3
  require 'faraday_middleware/response/mashify'
@@ -53,8 +52,8 @@ module Adafruit
53
52
  private
54
53
 
55
54
  def conn
56
- Faraday.new(:url => 'http://localhost:3002') do |c|
57
- #connection = Faraday.new(:url => 'https://io.adafruit.com') do |c|
55
+ #Faraday.new(:url => 'http://localhost:3002') do |c|
56
+ Faraday.new(:url => 'https://io.adafruit.com') do |c|
58
57
  c.headers['X-AIO-Key'] = @key
59
58
  c.headers['Accept'] = 'application/json'
60
59
  c.request :json
@@ -75,4 +74,4 @@ module Adafruit
75
74
 
76
75
  end
77
76
  end
78
- end
77
+ end
@@ -1,5 +1,5 @@
1
1
  module Adafruit
2
2
  module IO
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adafruit-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Cooper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-26 00:00:00.000000000 Z
11
+ date: 2015-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -147,8 +147,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  requirements: []
149
149
  rubyforge_project:
150
- rubygems_version: 2.2.2
150
+ rubygems_version: 2.4.6
151
151
  signing_key:
152
152
  specification_version: 4
153
153
  summary: Adafruit IO API Client Library
154
154
  test_files: []
155
+ has_rdoc: