nature_remo_e 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +5 -1
- data/CHANGELOG.md +13 -0
- data/Gemfile +3 -3
- data/lib/nature_remo_e/client.rb +1 -1
- data/lib/nature_remo_e/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c394a4f88f7bac683e6967bede4091b8cca58f998e792065c01ebe738b29ab9
|
4
|
+
data.tar.gz: b1408b47bcbaee95e54e2bfd0106c379b252293a4f2075b64bea1ce20c4b0d1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6bd2c81e99deb768f5306ddec87e648e487bc297fb48d436329ff02dcfc2e14c1f0f205c0e17b8095a5ef3eb8a61f7909a0b293519ea615fc2c514440f20fa0b
|
7
|
+
data.tar.gz: 80e28b4392d5a9c36abb79b1668f6416aaebf85c3275a354aff098bf077649d48dfa59a8985bc80f0a17691fb4d6b1991f9f20cf263c98b22869904d09c29e09
|
data/.github/workflows/main.yml
CHANGED
@@ -5,12 +5,16 @@ on: [push,pull_request]
|
|
5
5
|
jobs:
|
6
6
|
build:
|
7
7
|
runs-on: ubuntu-latest
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby: [2.5, 2.6, 2.7, '3.0', 3.1]
|
11
|
+
name: Ruby ${{ matrix.ruby }}
|
8
12
|
steps:
|
9
13
|
- uses: actions/checkout@v2
|
10
14
|
- name: Set up Ruby
|
11
15
|
uses: ruby/setup-ruby@v1
|
12
16
|
with:
|
13
|
-
ruby-version:
|
17
|
+
ruby-version: ${{ matrix.ruby }}
|
14
18
|
- name: Run the default task
|
15
19
|
run: |
|
16
20
|
gem install bundler -v 2.2.4
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
## Unreleased
|
2
|
+
[full changelog](https://github.com/ytkg/nature_remo_e/compare/v1.0.2...main)
|
3
|
+
|
4
|
+
## v1.0.2
|
5
|
+
[full changelog](https://github.com/ytkg/nature_remo_e/compare/v1.0.1...v1.0.2)
|
6
|
+
|
7
|
+
* Relax dependency
|
8
|
+
* rubocop
|
9
|
+
* rake
|
10
|
+
* rspec
|
11
|
+
|
12
|
+
* Support Matrix Testing
|
13
|
+
* https://github.com/ytkg/nature_remo_e/pull/1
|
data/Gemfile
CHANGED
data/lib/nature_remo_e/client.rb
CHANGED
@@ -59,7 +59,7 @@ module NatureRemoE
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def device
|
62
|
-
appliance = appliances.find { |
|
62
|
+
appliance = appliances.find { |app| app[:type] == 'EL_SMART_METER' }
|
63
63
|
|
64
64
|
raise NatureRemoE::Error, 'Device not found' if appliance.nil?
|
65
65
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nature_remo_e
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiki Takagi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- ".gitignore"
|
36
36
|
- ".rspec"
|
37
37
|
- ".rubocop.yml"
|
38
|
+
- CHANGELOG.md
|
38
39
|
- CODE_OF_CONDUCT.md
|
39
40
|
- Gemfile
|
40
41
|
- LICENSE.txt
|
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '0'
|
69
70
|
requirements: []
|
70
|
-
rubygems_version: 3.
|
71
|
+
rubygems_version: 3.1.6
|
71
72
|
signing_key:
|
72
73
|
specification_version: 4
|
73
74
|
summary: Nature Remo API client for Nature Remo E
|