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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae64948ea10c83c497902f53d119484bf5c50f20e541e5a1fc620d4a6026b5d0
4
- data.tar.gz: b2bde6657197d33c9758d75635161ea78d930ec0c5db860ad5f91b051546b50d
3
+ metadata.gz: 6c394a4f88f7bac683e6967bede4091b8cca58f998e792065c01ebe738b29ab9
4
+ data.tar.gz: b1408b47bcbaee95e54e2bfd0106c379b252293a4f2075b64bea1ce20c4b0d1b
5
5
  SHA512:
6
- metadata.gz: 36fb56a05c8dfb66cf671ad3753ed38f74bd59716a8ae1398153249ff63a2a397bfb7bffa33b669accb0118c21155e2091140eb3b962e088ca54e5520db0d907
7
- data.tar.gz: c144ba28c32c649323047fda567d67747b69e59aa848157b26e3e619b9643e674a01fee827c725be5a96f90170da31eef85cad78e9434e07e14477ae8b624c1d
6
+ metadata.gz: 6bd2c81e99deb768f5306ddec87e648e487bc297fb48d436329ff02dcfc2e14c1f0f205c0e17b8095a5ef3eb8a61f7909a0b293519ea615fc2c514440f20fa0b
7
+ data.tar.gz: 80e28b4392d5a9c36abb79b1668f6416aaebf85c3275a354aff098bf077649d48dfa59a8985bc80f0a17691fb4d6b1991f9f20cf263c98b22869904d09c29e09
@@ -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: 2.5.7
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
@@ -5,10 +5,10 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in nature_remo_e.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rake', '~> 13.0'
8
+ gem 'rake'
9
9
 
10
- gem 'rspec', '~> 3.0'
10
+ gem 'rspec'
11
11
 
12
- gem 'rubocop', '~> 0.80'
12
+ gem 'rubocop'
13
13
 
14
14
  gem 'webmock'
@@ -59,7 +59,7 @@ module NatureRemoE
59
59
  end
60
60
 
61
61
  def device
62
- appliance = appliances.find { |appliance| appliance[:type] == 'EL_SMART_METER' }
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NatureRemoE
4
- VERSION = '1.0.1'
4
+ VERSION = '1.0.2'
5
5
  end
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.1
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: 2021-01-13 00:00:00.000000000 Z
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.2.4
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