tp_link_smartplug 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: 41a05841cdc6ffdd697f903abc1d620debf999f2a9a6c5f248edc9ec93635e30
4
- data.tar.gz: c3f77299aaeb6b90506f04730467c70889745d85e47148ba738ccc82de484cbd
3
+ metadata.gz: c2553721065bc41fadca17408f6baacfa4fab953ec5df3e33d778c967910892f
4
+ data.tar.gz: 8b16c4709a255057a9db1f98b1e825d6e79eda470423a14e16da655db4be44f5
5
5
  SHA512:
6
- metadata.gz: eac7e52a043aebdeeb595aba15df19be7923d2da40a6d214bb41955f4baf4da1e2853e935cd7ade3b410981bd8698024f9598a923b20a5c0311ed2398dbced01
7
- data.tar.gz: 74f0ba6ff80393ee43560a76ec6cab25d94fb1b8b5b3b078884be64b9db274e657053f2c90007df89aa2bde7e849b63a049e4628c91ff4bb90cf1e29b59c7d23
6
+ metadata.gz: e9bf31292404284bc0705955133b20fcdf75bd34cf7e10e71b84e9332834c92f03697df54bfc472ae0502165771b64402c1c31cbdc1759414975a5820d5aaa80
7
+ data.tar.gz: a137ee0a57e53f4d85aa6841ac58cfdf1d14d29bf5e800759398a8d6767bb9e4b8b3a4a4249f002ea446ebc6d1e863f1f7de6e4cf10d80c0562ed7800d555cf2
@@ -6,6 +6,8 @@ module TpLinkSmartplug
6
6
  # @author Ben Hughes
7
7
  class Base
8
8
  include TpLinkSmartplug::Helpers
9
+
10
+ def initialize; end
9
11
  end
10
12
 
11
13
  # Base plug error class.
@@ -18,7 +18,7 @@ module TpLinkSmartplug
18
18
  attr_accessor :address, :port, :timeout, :poll_auto_close, :debug
19
19
 
20
20
  def initialize(address:, port: 9999)
21
- super
21
+ super()
22
22
 
23
23
  @address = IPAddr.new(address, Socket::AF_INET)
24
24
  @port = port
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tp_link_smartplug
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Hughes
@@ -26,7 +26,8 @@ files:
26
26
  homepage: https://github.com/bmhughes/tp_link_smartplug
27
27
  licenses:
28
28
  - Apache-2.0
29
- metadata: {}
29
+ metadata:
30
+ github_repo: ssh://github.com/bmhughes/tp_link_smartplug
30
31
  post_install_message:
31
32
  rdoc_options: []
32
33
  require_paths: