dyntool 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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