aubergine 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/courgette/device.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 840dcd2e628de01c016fa69b1521b4ec96ae659f
4
- data.tar.gz: b57ef10bda6faca22b0770e82cfd6e047a5e3387
3
+ metadata.gz: e7f81ce7a76d69481c3424564bd61717ecbc41b0
4
+ data.tar.gz: 1cc72206fb35aa7e6b1dc5e1ff0d88233fedd3ce
5
5
  SHA512:
6
- metadata.gz: 2756928f67eb486cd29f787495a86dac9c3d6ce372ac4b85ba282707fc5c1502bf05ed5bb63641632a1c5fc2c2230a8d9a44aa89de82aeadc0c780b7e3e19505
7
- data.tar.gz: 7d4a54a45fa2a1cd0808fed2338c2ec55e618ccb4e5e80935c3ac9653d5634b56741bff56ef23b8e433ba40407a558615a67e76a699cad8c6269e0e0f4d96c88
6
+ metadata.gz: ba8f42afb3169926c3c151196f7e41ca8301779aed13f4f22aab035230267b7751379b7e5dc3c894ef23bbed3c8c7005a12347abd7a60b7f2c3ec08e60e566d5
7
+ data.tar.gz: 4bdd38f39712c248632e0358b71b206137b56e143933c7374d4fb2de3a8cbf57ecc6ef4b809da8f6ce77db4daace58e719707a1b6bd93e90d1c88fc587b4338f
@@ -15,13 +15,13 @@ module Courgette
15
15
  end
16
16
 
17
17
  def self.build(hash)
18
- new(hash['ip'], hash['vendor'], hash['login'], hash['password'])
18
+ new(hash[:ip], hash[:vendor], hash[:login], hash[:password])
19
19
  end
20
20
 
21
21
  def fetch
22
22
  credentials = Commutateurs::Credentials.new(@login, @password, @password)
23
23
 
24
- device = VENDOR_CLASSES[vendor].new(ip, credentials, false)
24
+ device = VENDOR_CLASSES[@vendor].new(@ip, credentials, false)
25
25
  device.connect
26
26
  device.enable
27
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aubergine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Rose