zerigo-designate 0.0.7 → 0.0.8.pre.2

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.
@@ -1,3 +1,3 @@
1
1
  module Designate
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8.pre.2"
3
3
  end
@@ -34,7 +34,7 @@ module Designate
34
34
 
35
35
  def create_host(host_type, data, options = {})
36
36
  raise InvalidHostType unless %w(A AAAA CNAME MX NS SRV TXT).include?(host_type)
37
- return if hosts.find {|host| host.hostname == options[:hostname]}
37
+ return if @hosts.find {|host| host.hostname == options[:hostname]}
38
38
  options[:host_type] = host_type
39
39
  options[:hostname] ||= nil
40
40
  options[:data] = data
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zerigo-designate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
4
+ hash: 1923832045
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ - pre
11
+ - 2
12
+ version: 0.0.8.pre.2
11
13
  platform: ruby
12
14
  authors:
13
15
  - James Miller
@@ -16,7 +18,7 @@ autorequire:
16
18
  bindir: bin
17
19
  cert_chain: []
18
20
 
19
- date: 2011-11-16 00:00:00 +00:00
21
+ date: 2012-03-13 00:00:00 +00:00
20
22
  default_executable:
21
23
  dependencies:
22
24
  - !ruby/object:Gem::Dependency
@@ -112,16 +114,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
114
  required_rubygems_version: !ruby/object:Gem::Requirement
113
115
  none: false
114
116
  requirements:
115
- - - ">="
117
+ - - ">"
116
118
  - !ruby/object:Gem::Version
117
- hash: 3
119
+ hash: 25
118
120
  segments:
119
- - 0
120
- version: "0"
121
+ - 1
122
+ - 3
123
+ - 1
124
+ version: 1.3.1
121
125
  requirements: []
122
126
 
123
127
  rubyforge_project:
124
- rubygems_version: 1.3.7
128
+ rubygems_version: 1.6.2
125
129
  signing_key:
126
130
  specification_version: 3
127
131
  summary: Ruby gem wrapper for the Zerigo DNS API