dyntool 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dyntool.rb +2 -2
  2. metadata +2 -2
data/lib/dyntool.rb CHANGED
@@ -44,10 +44,10 @@ class LoadConfig
44
44
  @iplabel = @conf['ips'][ip]['label']
45
45
  end
46
46
  def GetIpWeight(ip,region)
47
- @weight = @conf['ips'][ip][region]['weight']
47
+ @weight = @conf['ips'][ip]['weight'][region]
48
48
  end
49
49
  def GetIpTTL(ip,region)
50
- @weight = @conf['ips'][ip][region]['ttl']
50
+ @ttl = @conf['ttls'][region]
51
51
  end
52
52
  def GetContacts
53
53
  @contacts = @conf['contacts']
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ariel Moskovich