ditchdaddy 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -0
- data/bin/ditchdaddy +4 -0
- data/lib/ditchdaddy.rb +1 -1
- metadata +25 -15
data/README.rdoc
CHANGED
@@ -6,6 +6,14 @@
|
|
6
6
|
|
7
7
|
Bye GoDaddy, hello DNSimple. (Will accept patches for other registrars! Just make another binscript and rename this one)
|
8
8
|
|
9
|
+
This will walk you through the steps to move your domains to DNSimple.
|
10
|
+
|
11
|
+
1) It will ask for your DNSimple details to log you in.
|
12
|
+
2) The script will then make sure that you have a contact registered that these domains can be registered to (if not, it helps you create one).
|
13
|
+
3) Next, you'll need to unlock your domains and get a data export from GoDaddy with the authorization codes (you can follow the instructions here: http://is.gd/2vI0aV). Unfortunately, GoDaddy does not offer an API for that.
|
14
|
+
4) Then the transfers cometh. You can either transfer the whole export in one shot or have it ask you about each one. It uses the DNSimple API to create the transfer orders.
|
15
|
+
5) Lastly, it praises you gloriously for your hard work and shows you how to speed the transfers up.
|
16
|
+
|
9
17
|
== SYNOPSIS:
|
10
18
|
|
11
19
|
ditchdaddy # follow the prompts
|
data/bin/ditchdaddy
CHANGED
@@ -164,6 +164,10 @@ csv.each do |row|
|
|
164
164
|
next
|
165
165
|
end
|
166
166
|
|
167
|
+
if BAD_TLDS.include?(row['TLD'])
|
168
|
+
puts "\t!".color(:red).bright + " O NOEZ. You can't actually transfer a domain with the TLD #{row['TLD']} via the API. Skipping..."
|
169
|
+
end
|
170
|
+
|
167
171
|
begin
|
168
172
|
DNSimple::TransferOrder.create(row['DomainName'], row['AuthorizationCode'], {:id => contact.id})
|
169
173
|
puts "\t*".color(:cyan).bright + " That worked!"
|
data/lib/ditchdaddy.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ditchdaddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-12-23 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dnsimple-ruby
|
16
|
-
requirement: &
|
16
|
+
requirement: &2160214000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>'
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2160214000
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: highline
|
27
|
-
requirement: &
|
27
|
+
requirement: &2160212980 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>'
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.0.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2160212980
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rainbow
|
38
|
-
requirement: &
|
38
|
+
requirement: &2160210900 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>'
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.0.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2160210900
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rdoc
|
49
|
-
requirement: &
|
49
|
+
requirement: &2160209220 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '3.10'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2160209220
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: newgem
|
60
|
-
requirement: &
|
60
|
+
requirement: &2160207580 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 1.5.3
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2160207580
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: hoe
|
71
|
-
requirement: &
|
71
|
+
requirement: &2160205940 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,9 +76,19 @@ dependencies:
|
|
76
76
|
version: '2.12'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
80
|
-
description: Bye GoDaddy, hello DNSimple. (Will accept patches for other registrars!
|
81
|
-
make another binscript and rename this one)
|
79
|
+
version_requirements: *2160205940
|
80
|
+
description: ! "Bye GoDaddy, hello DNSimple. (Will accept patches for other registrars!
|
81
|
+
\ Just make another binscript and rename this one)\n\nThis will walk you through
|
82
|
+
the steps to move your domains to DNSimple. \n\n1) It will ask for your DNSimple
|
83
|
+
details to log you in. \n2) The script will then make sure that you have a contact
|
84
|
+
registered that these domains can be registered to (if not, it helps you create
|
85
|
+
one).\n3) Next, you'll need to unlock your domains and get a data export from GoDaddy
|
86
|
+
with the authorization codes (you can follow the instructions here: http://is.gd/2vI0aV).
|
87
|
+
\ Unfortunately, GoDaddy does not offer an API for that.\n4) Then the transfers
|
88
|
+
cometh. You can either transfer the whole export in one shot or have it ask you
|
89
|
+
about each one. It uses the DNSimple API to create the transfer orders.\n5) Lastly,
|
90
|
+
it praises you gloriously for your hard work and shows you how to speed the transfers
|
91
|
+
up."
|
82
92
|
email:
|
83
93
|
- jeremy@arcturo.com
|
84
94
|
executables:
|