RubyGems
npm
Organizations
Log in
Sign up
RubyGems
zerigo_dns
Versions diffs
1.1.2 → 1.1.3
zerigo_dns 1.1.2 → 1.1.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/zerigo_dns.rb
+1
-1
metadata
+1
-1
data/lib/zerigo_dns.rb
CHANGED
Viewed
@@ -72,7 +72,7 @@ module Zerigo
72
72
73
73
# Find by host name
74
74
def self.find_by_hostname(zone, hostname)
75
-
hosts = find(:all)
75
+
hosts = find(:all
, :params=> { :zone_id => zone }
)
76
76
host = nil
77
77
hosts.each do |h|
78
78
if h.hostname == hostname
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: zerigo_dns
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.1.
2
4
+
version: 1.1.
3
5
5
platform: ruby
6
6
authors:
7
7
- Tom Wilson