nature_remo 0.3.0 → 0.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/.gitignore +1 -0
- data/CHANGELOG.md +2 -0
- data/lib/nature_remo/cli.rb +3 -2
- data/lib/nature_remo/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9a6fb9039975ac429229c292202e159e6a81e2a55baebc5e7b85e015f61b204b
|
|
4
|
+
data.tar.gz: 4050dda96bf7f5a2ec02982d4bb3f6d5eab283e27d378243a19242b7b28b4650
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11f51c9eb33347b4f06a54c054b1b8884ef2499d2b94ad68000a711331894381bacb5b75789645bd9c8463192eccd1338af9e1eaca56aa92ca7d35e646d855d7
|
|
7
|
+
data.tar.gz: 8a341c449dfe81d2e444cf008fe2f4648df57d65c15872a7d590b4f440770fee797f35a11cf38f6b99030f44bbc63ef663f2ee73c6d55d02d820a293f3cd9edc
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
data/lib/nature_remo/cli.rb
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
# coding: utf-8
|
|
1
2
|
require 'thor'
|
|
2
3
|
require 'json'
|
|
3
4
|
|
|
@@ -64,11 +65,11 @@ module NatureRemo
|
|
|
64
65
|
private
|
|
65
66
|
|
|
66
67
|
def client
|
|
67
|
-
client ||= NatureRemo::Client.new
|
|
68
|
+
@client ||= NatureRemo::Client.new
|
|
68
69
|
end
|
|
69
70
|
|
|
70
71
|
def appliances_body
|
|
71
|
-
appliances ||= JSON.parse(client.appliances.body)
|
|
72
|
+
@appliances ||= JSON.parse(client.appliances.body)
|
|
72
73
|
end
|
|
73
74
|
|
|
74
75
|
def get_appliance_id(num)
|
data/lib/nature_remo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nature_remo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ichi-t
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -119,6 +119,7 @@ files:
|
|
|
119
119
|
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
|
120
120
|
- ".gitignore"
|
|
121
121
|
- ".travis.yml"
|
|
122
|
+
- CHANGELOG.md
|
|
122
123
|
- CODE_OF_CONDUCT.md
|
|
123
124
|
- Gemfile
|
|
124
125
|
- LICENSE.txt
|
|
@@ -149,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
150
|
- !ruby/object:Gem::Version
|
|
150
151
|
version: '0'
|
|
151
152
|
requirements: []
|
|
152
|
-
|
|
153
|
-
rubygems_version: 2.7.6
|
|
153
|
+
rubygems_version: 3.0.3
|
|
154
154
|
signing_key:
|
|
155
155
|
specification_version: 4
|
|
156
156
|
summary: Nature Remo API client written by Ruby
|