zerigo-designate 0.0.4 → 0.0.5.pre

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.
data/README.rdoc CHANGED
@@ -51,6 +51,7 @@ Also works via Capistrano, using zerigo.yml:
51
51
  CNAME, <hostname>-test.example.com => web.example.com
52
52
 
53
53
  Nothing will be created if the DNS names are already in use.
54
+ If the domain does not exist, it will be created.
54
55
 
55
56
  == Copyright
56
57
 
@@ -9,7 +9,7 @@ Capistrano::Configuration.instance(:must_exist).load do
9
9
  roles.each do |role|
10
10
  dns_names << role[1].instance_variable_get("@static_servers").first.instance_variable_get("@host")
11
11
  end
12
- zone = Designate::Client.new().find_zone_by_domain()
12
+ zone = Designate::Client.new().find_or_create_zone()
13
13
  zone.create_host('CNAME', "#{hostname}.#{zerigo_config[:domain]}", {:hostname => "#{hostname}-#{application}"})
14
14
  zone.create_host('CNAME', dns_names.first, {:hostname => hostname})
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Designate
2
- VERSION = "0.0.4"
3
- end
2
+ VERSION = "0.0.5.pre"
3
+ end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zerigo-designate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
4
+ hash: 961915984
5
+ prerelease: true
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ - pre
11
+ version: 0.0.5.pre
11
12
  platform: ruby
12
13
  authors:
13
14
  - James Miller
@@ -16,7 +17,7 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2011-10-06 00:00:00 +01:00
20
+ date: 2011-10-07 00:00:00 +01:00
20
21
  default_executable:
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
@@ -112,12 +113,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
113
  required_rubygems_version: !ruby/object:Gem::Requirement
113
114
  none: false
114
115
  requirements:
115
- - - ">="
116
+ - - ">"
116
117
  - !ruby/object:Gem::Version
117
- hash: 3
118
+ hash: 25
118
119
  segments:
119
- - 0
120
- version: "0"
120
+ - 1
121
+ - 3
122
+ - 1
123
+ version: 1.3.1
121
124
  requirements: []
122
125
 
123
126
  rubyforge_project: