designate 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- metadata +4 -5
- data/lib/test.rb +0 -23
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: designate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Miller
|
@@ -75,12 +75,11 @@ files:
|
|
75
75
|
- README.rdoc
|
76
76
|
- Rakefile
|
77
77
|
- LICENSE
|
78
|
+
- lib/designate.rb
|
78
79
|
- lib/designate/client.rb
|
79
80
|
- lib/designate/host.rb
|
80
81
|
- lib/designate/template.rb
|
81
82
|
- lib/designate/zone.rb
|
82
|
-
- lib/designate.rb
|
83
|
-
- lib/test.rb
|
84
83
|
- test/helper.rb
|
85
84
|
- test/test_zdns.rb
|
86
85
|
has_rdoc: true
|
data/lib/test.rb
DELETED
@@ -1,23 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'designate'
|
3
|
-
|
4
|
-
@d = Designate::Client.new("james@jk-tech.com", "30f1b76a010d062c22b07bda66c1d9f0")
|
5
|
-
#p @d.zones
|
6
|
-
#p @d.find_zone_by_domain("allisonmillerphotography.com")
|
7
|
-
#p @d.find_zone_by_id(1195055426)
|
8
|
-
#p @d.templates
|
9
|
-
#p @d.find_template_by_id(796679622).host_templates.map{|ht| ht['data']}
|
10
|
-
#p @d.create_zone("testtesttesttestt.com")
|
11
|
-
#p @d.create_zone("testtesttesttestt.com", :zone_template_id => @d.templates.first.id, :follow_template => "follow")
|
12
|
-
#p @d.find_zone_by_domain("bensie.com").hosts
|
13
|
-
#p @d.find_zone_by_domain("bensie.com").host(1995323332)
|
14
|
-
|
15
|
-
# @zone = @d.find_zone_by_domain("bensie.com")
|
16
|
-
# p @zone.update
|
17
|
-
|
18
|
-
# p @d.find_zone_by_domain("bensie.com").create_host("A", "4.2.2.2", :hostname => "dnstest")
|
19
|
-
# p @host = @d.find_zone_by_domain("bensie.com").hosts.first
|
20
|
-
# p @host.update
|
21
|
-
|
22
|
-
# p @host = @d.find_zone_by_domain("bensie.com").host(279953139)
|
23
|
-
# p @host.destroy
|