zerigo_dns 1.1.2 → 1.1.3

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/zerigo_dns.rb +1 -1
  2. metadata +1 -1
data/lib/zerigo_dns.rb CHANGED
@@ -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
@@ -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