fritzbox-smarthome 0.1.2 → 0.1.3

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: 3c7ffbac57c90de11ee5a6c3419bbd09f175d056c3c770a18f7547a2c9f0c577
4
- data.tar.gz: 4dc4fe0984f0cad54c825201c9626d30ed0d7bb9a2a6317f3dcd4bc5933b1943
3
+ metadata.gz: 782cdee20c938c01c4ee6f6560e05f7a7636d8b9315e6c63f577959e3df85f45
4
+ data.tar.gz: a33ea016b04d0a710d13e0e1089850d74f1d16f14e9346683fac961640be2851
5
5
  SHA512:
6
- metadata.gz: f8275eb98a644654fd53a9551340786dd656ff70c1bfe6a5ee07008026ea6a6d9901c18715e7ebb8a6fc3cf5ddb00a7d98296ca99d42782c03073e4f3d9d8086
7
- data.tar.gz: ef8dab21f3da0fa823d80ca847e972d7d12b6e8e8d82ee729bce253978902311f21446fe1a9ad2804bfd9cbc3a2495956685edb8127c67a6e7c33aa65b524ad7
6
+ metadata.gz: af9c5ed89753c194f8eefaf29dcf4893e9f68c99e7595cb95196b778b9bdbce2a7a6e2efa0b650ddf52f5fccab2e19f0bd065be68a4d805f1f94b96990a6fd61
7
+ data.tar.gz: 4aabacf20397befaf87d069307e2bc525bfaee04ecae6563d63ee4b1c6487f62ede5f75d850257e63fecf87ade33c21b7ef85877a00de4fde861b763b0fb7137
@@ -1 +1 @@
1
- 2.7.2
1
+ 3.0.0
@@ -0,0 +1,17 @@
1
+ # Changelog
2
+
3
+ ## v0.1.3
4
+
5
+ * avoid nil error in actors:all smart devices request
6
+
7
+ ## v0.1.2
8
+
9
+ * support rails 6.1
10
+
11
+ ## v0.1.1
12
+
13
+ * support rails 6.0
14
+
15
+ ## v0.1.0
16
+
17
+ * Initial release
data/Gemfile CHANGED
@@ -4,3 +4,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in fritzbox-smarthome.gemspec
6
6
  gemspec
7
+
8
+ gem 'rexml' # required by webmock via crack gem
@@ -20,7 +20,7 @@ module Fritzbox
20
20
  response = get(command: 'getdevicelistinfos')
21
21
  xml = nori.parse(response.body)
22
22
 
23
- Array.wrap(types.map { |type| xml.dig('devicelist', type) }.flatten).map do |data|
23
+ Array.wrap(types.map { |type| xml.dig('devicelist', type) }.flatten).compact.map do |data|
24
24
  new_from_api(data)
25
25
  end
26
26
  end
@@ -1,5 +1,5 @@
1
1
  module Fritzbox
2
2
  module Smarthome
3
- VERSION = '0.1.2'.freeze
3
+ VERSION = '0.1.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fritzbox-smarthome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaus Meyer
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-20 00:00:00.000000000 Z
11
+ date: 2021-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -160,6 +160,7 @@ files:
160
160
  - ".rspec"
161
161
  - ".ruby-gemset"
162
162
  - ".ruby-version"
163
+ - CHANGELOG.md
163
164
  - Gemfile
164
165
  - LICENSE.txt
165
166
  - README.md
@@ -175,7 +176,7 @@ homepage: https://github.com/klausmeyer/fritzbox-smarthome
175
176
  licenses:
176
177
  - MIT
177
178
  metadata: {}
178
- post_install_message:
179
+ post_install_message:
179
180
  rdoc_options: []
180
181
  require_paths:
181
182
  - lib
@@ -190,8 +191,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
191
  - !ruby/object:Gem::Version
191
192
  version: '0'
192
193
  requirements: []
193
- rubygems_version: 3.1.4
194
- signing_key:
194
+ rubygems_version: 3.1.2
195
+ signing_key:
195
196
  specification_version: 4
196
197
  summary: Client library to interface with Smarthome features of your FritzBox
197
198
  test_files: []