dnsimple-ruby 1.0.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/.bundle/config +3 -2
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +38 -30
  4. data/README +5 -0
  5. data/README.rdoc +5 -0
  6. data/README.textile +18 -0
  7. data/VERSION +1 -1
  8. data/bin/dnsimple.rb +2 -0
  9. data/dnsimple-ruby.gemspec +64 -10
  10. data/fixtures/vcr_cassettes/DNSimple_Certificate/_all.yml +44 -0
  11. data/fixtures/vcr_cassettes/DNSimple_Certificate/_purchase.yml +44 -0
  12. data/fixtures/vcr_cassettes/DNSimple_Certificate/_submit.yml +44 -0
  13. data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +16 -18
  14. data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +15 -17
  15. data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +45 -96
  16. data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +69 -169
  17. data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +16 -18
  18. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +15 -17
  19. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +15 -17
  20. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +16 -18
  21. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +16 -18
  22. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +12 -14
  23. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +12 -14
  24. data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +59 -247
  25. data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +16 -63
  26. data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +13 -60
  27. data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +15 -17
  28. data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +15 -17
  29. data/lib/dnsimple/certificate.rb +49 -6
  30. data/lib/dnsimple/command.rb +10 -0
  31. data/lib/dnsimple/commands/add_service.rb +4 -2
  32. data/lib/dnsimple/commands/purchase_certificate.rb +4 -2
  33. data/lib/dnsimple/commands/submit_certificate.rb +19 -0
  34. data/lib/dnsimple/domain.rb +5 -4
  35. data/lib/dnsimple/record.rb +11 -15
  36. data/spec/certificate_spec.rb +31 -3
  37. data/spec/command_spec.rb +19 -0
  38. data/spec/commands/add_service_spec.rb +29 -0
  39. data/spec/commands/purchase_certificate_spec.rb +14 -0
  40. data/spec/commands/submit_certificate_spec.rb +19 -0
  41. data/spec/contact_spec.rb +1 -1
  42. data/spec/domain_spec.rb +21 -19
  43. data/spec/record_spec.rb +10 -9
  44. data/spec/spec_helper.rb +1 -0
  45. data/spec/user_spec.rb +12 -12
  46. metadata +38 -12
  47. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain.yml +0 -46
data/.bundle/config CHANGED
@@ -1,2 +1,3 @@
1
- --- {}
2
-
1
+ ---
2
+ BUNDLE_DISABLE_SHARED_GEMS: "1"
3
+ BUNDLE_PATH: rspec
data/Gemfile CHANGED
@@ -6,6 +6,7 @@ group :development do
6
6
  gem 'rake'
7
7
  gem 'jeweler'
8
8
  gem 'rspec', '>= 2.0.0'
9
+ gem 'mocha'
9
10
  gem 'ruby-debug', :platforms => 'ruby_18'
10
11
  gem 'cucumber'
11
12
  gem 'aruba'
data/Gemfile.lock CHANGED
@@ -1,52 +1,59 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- aruba (0.3.5)
5
- childprocess (>= 0.1.7)
6
- cucumber (>= 0.10.0)
7
- rspec (>= 2.5.0)
4
+ aruba (0.4.7)
5
+ childprocess (>= 0.2.2)
6
+ cucumber (>= 1.1.1)
7
+ ffi (= 1.0.9)
8
+ rspec (>= 2.7.0)
8
9
  builder (3.0.0)
9
- childprocess (0.1.8)
10
+ childprocess (0.2.2)
10
11
  ffi (~> 1.0.6)
11
- columnize (0.3.2)
12
- crack (0.1.8)
13
- cucumber (0.10.2)
12
+ columnize (0.3.4)
13
+ cucumber (1.1.2)
14
14
  builder (>= 2.1.2)
15
15
  diff-lcs (>= 1.1.2)
16
- gherkin (>= 2.3.5)
16
+ gherkin (~> 2.6.2)
17
17
  json (>= 1.4.6)
18
- term-ansicolor (>= 1.0.5)
19
- diff-lcs (1.1.2)
18
+ term-ansicolor (>= 1.0.6)
19
+ diff-lcs (1.1.3)
20
20
  fakeweb (1.3.0)
21
- ffi (1.0.7)
22
- rake (>= 0.8.7)
23
- gherkin (2.3.5)
21
+ ffi (1.0.9)
22
+ gherkin (2.6.3)
24
23
  json (>= 1.4.6)
25
24
  git (1.2.5)
26
- httparty (0.7.4)
27
- crack (= 0.1.8)
28
- jeweler (1.5.2)
29
- bundler (~> 1.0.0)
25
+ httparty (0.8.1)
26
+ multi_json
27
+ multi_xml
28
+ jeweler (1.6.4)
29
+ bundler (~> 1.0)
30
30
  git (>= 1.2.5)
31
31
  rake
32
- json (1.5.1)
33
- linecache (0.43)
34
- rake (0.8.7)
35
- rspec (2.5.0)
36
- rspec-core (~> 2.5.0)
37
- rspec-expectations (~> 2.5.0)
38
- rspec-mocks (~> 2.5.0)
39
- rspec-core (2.5.1)
40
- rspec-expectations (2.5.0)
32
+ json (1.6.1)
33
+ linecache (0.46)
34
+ rbx-require-relative (> 0.0.4)
35
+ metaclass (0.0.1)
36
+ mocha (0.10.0)
37
+ metaclass (~> 0.0.1)
38
+ multi_json (1.0.3)
39
+ multi_xml (0.4.1)
40
+ rake (0.9.2.2)
41
+ rbx-require-relative (0.0.5)
42
+ rspec (2.7.0)
43
+ rspec-core (~> 2.7.0)
44
+ rspec-expectations (~> 2.7.0)
45
+ rspec-mocks (~> 2.7.0)
46
+ rspec-core (2.7.1)
47
+ rspec-expectations (2.7.0)
41
48
  diff-lcs (~> 1.1.2)
42
- rspec-mocks (2.5.0)
49
+ rspec-mocks (2.7.0)
43
50
  ruby-debug (0.10.4)
44
51
  columnize (>= 0.1)
45
52
  ruby-debug-base (~> 0.10.4.0)
46
53
  ruby-debug-base (0.10.4)
47
54
  linecache (>= 0.3)
48
- term-ansicolor (1.0.5)
49
- vcr (1.10.0)
55
+ term-ansicolor (1.0.7)
56
+ vcr (1.11.3)
50
57
 
51
58
  PLATFORMS
52
59
  ruby
@@ -57,6 +64,7 @@ DEPENDENCIES
57
64
  fakeweb
58
65
  httparty
59
66
  jeweler
67
+ mocha
60
68
  rake
61
69
  rspec (>= 2.0.0)
62
70
  ruby-debug
data/README CHANGED
@@ -56,6 +56,11 @@ The following commands are available for managing contacts:
56
56
  * dnsimple contact:update id [name:value name:value ...]
57
57
  * dnsimple contact:delete id
58
58
 
59
+ The following commands are available for purchasing certificates:
60
+
61
+ * dnsimple certificate:purchase domain.com name
62
+ * dnsimple certificate:submit id
63
+
59
64
  The contact name/value pairs are:
60
65
 
61
66
  * first_name
data/README.rdoc CHANGED
@@ -51,6 +51,11 @@ The following commands are available for managing contacts:
51
51
  * dnsimple contact:update id [name:value name:value ...]
52
52
  * dnsimple contact:delete id
53
53
 
54
+ The following commands are available for purchasing certificates:
55
+
56
+ * dnsimple certificate:purchase domain.com name
57
+ * dnsimple certificate:submit id
58
+
54
59
  === Contact Attributes
55
60
 
56
61
  The contact attributes that can be used in the name:value pairs are:
data/README.textile CHANGED
@@ -66,6 +66,24 @@ The following commands are available for managing contacts:
66
66
  * dnsimple contact:update id [name:value name:value ...]
67
67
  * dnsimple contact:delete id
68
68
 
69
+ To list all extended attributes for a given TLD:
70
+
71
+ * dnsimple extended-attributes:list tld
72
+
73
+ The following commands are available for listing services and adding and removing them from domains
74
+
75
+ * service:list
76
+ * service:describe short_name
77
+ * service:applied domain.com
78
+ * service:available domain.com
79
+ * service:add domain.com short_name
80
+ * service:remove domain.com short_name
81
+
82
+ The following commands are available for purchasing certificates:
83
+
84
+ * dnsimple certificate:purchase domain.com name
85
+ * dnsimple certificate:submit domain.com id approver_email
86
+
69
87
  h3. Contact Attributes
70
88
 
71
89
  The contact attributes that can be used in the name:value pairs are:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1.1
data/bin/dnsimple.rb CHANGED
@@ -80,6 +80,8 @@ service:available domain.com # List all of the se
80
80
  service:add domain.com short_name # Add the service to the domain
81
81
  service:remove domain.com short_name # Remove the service from the domain
82
82
 
83
+ certificate:purchase domain.com name # Purchase a certificate
84
+ certificate:submit domain.com id approver_email # Submit a certificate for processing
83
85
 
84
86
  Please see the DNSimple documentation at https://dnsimple.com/documentation/api for additional
85
87
  information on the commands that are available to DNSimple customers.
@@ -4,15 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{dnsimple-ruby}
8
- s.version = "1.0.0"
7
+ s.name = "dnsimple-ruby"
8
+ s.version = "1.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Anthony Eden"]
12
- s.date = %q{2011-02-20}
13
- s.default_executable = %q{dnsimple}
14
- s.description = %q{A ruby wrapper for the DNSimple API that also includes a command-line client.}
15
- s.email = %q{anthony.eden@dnsimple.com}
12
+ s.date = "2011-11-03"
13
+ s.description = "A ruby wrapper for the DNSimple API that also includes a command-line client."
14
+ s.email = "anthony.eden@dnsimple.com"
16
15
  s.executables = ["dnsimple"]
17
16
  s.extra_rdoc_files = [
18
17
  "LICENSE",
@@ -33,7 +32,43 @@ Gem::Specification.new do |s|
33
32
  "VERSION",
34
33
  "bin/dnsimple",
35
34
  "bin/dnsimple.rb",
35
+ "dnsimple-ruby.gemspec",
36
+ "features/README",
37
+ "features/cli/certificates/purchase_certificate.feature",
38
+ "features/cli/contacts/create_contact.feature",
39
+ "features/cli/domains/check_domain.feature",
40
+ "features/cli/domains/create_domain.feature",
41
+ "features/cli/domains/delete_domain.feature",
42
+ "features/cli/domains/register_domain.feature",
43
+ "features/cli/records/create_ptr_record.feature",
44
+ "features/cli/records/create_record.feature",
45
+ "features/cli/records/delete_record.feature",
46
+ "features/cli/templates/apply_template.feature",
47
+ "features/step_definitions/certificate_steps.rb",
48
+ "features/step_definitions/cli_steps.rb",
49
+ "features/step_definitions/domain_steps.rb",
50
+ "features/step_definitions/record_steps.rb",
51
+ "features/step_definitions/template_steps.rb",
52
+ "features/support/env.rb",
53
+ "fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml",
54
+ "fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml",
55
+ "fixtures/vcr_cassettes/DNSimple_Domain/_all.yml",
56
+ "fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml",
57
+ "fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml",
58
+ "fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain.yml",
59
+ "fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml",
60
+ "fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml",
61
+ "fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml",
62
+ "fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml",
63
+ "fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml",
64
+ "fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml",
65
+ "fixtures/vcr_cassettes/DNSimple_Record/_all.yml",
66
+ "fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml",
67
+ "fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml",
68
+ "fixtures/vcr_cassettes/DNSimple_Template/a_template.yml",
69
+ "fixtures/vcr_cassettes/DNSimple_User/_me.yml",
36
70
  "lib/dnsimple.rb",
71
+ "lib/dnsimple/certificate.rb",
37
72
  "lib/dnsimple/cli.rb",
38
73
  "lib/dnsimple/client.rb",
39
74
  "lib/dnsimple/commands/add_service.rb",
@@ -64,6 +99,7 @@ Gem::Specification.new do |s|
64
99
  "lib/dnsimple/commands/list_services.rb",
65
100
  "lib/dnsimple/commands/list_template_records.rb",
66
101
  "lib/dnsimple/commands/list_templates.rb",
102
+ "lib/dnsimple/commands/purchase_certificate.rb",
67
103
  "lib/dnsimple/commands/register_domain.rb",
68
104
  "lib/dnsimple/commands/remove_service.rb",
69
105
  "lib/dnsimple/commands/transfer_domain.rb",
@@ -80,20 +116,24 @@ Gem::Specification.new do |s|
80
116
  "lib/dnsimple/transfer_order.rb",
81
117
  "lib/dnsimple/user.rb",
82
118
  "spec/README",
119
+ "spec/certificate_spec.rb",
83
120
  "spec/contact_spec.rb",
84
121
  "spec/domain_spec.rb",
122
+ "spec/extended_attributes_spec.rb",
85
123
  "spec/record_spec.rb",
86
124
  "spec/spec_helper.rb",
87
125
  "spec/template_spec.rb",
88
126
  "spec/user_spec.rb"
89
127
  ]
90
- s.homepage = %q{http://github.com/aetrion/dnsimple-ruby}
128
+ s.homepage = "http://github.com/aetrion/dnsimple-ruby"
91
129
  s.require_paths = ["lib"]
92
- s.rubygems_version = %q{1.3.7}
93
- s.summary = %q{A ruby wrapper for the DNSimple API}
130
+ s.rubygems_version = "1.8.10"
131
+ s.summary = "A ruby wrapper for the DNSimple API"
94
132
  s.test_files = [
133
+ "spec/certificate_spec.rb",
95
134
  "spec/contact_spec.rb",
96
135
  "spec/domain_spec.rb",
136
+ "spec/extended_attributes_spec.rb",
97
137
  "spec/record_spec.rb",
98
138
  "spec/spec_helper.rb",
99
139
  "spec/template_spec.rb",
@@ -101,7 +141,6 @@ Gem::Specification.new do |s|
101
141
  ]
102
142
 
103
143
  if s.respond_to? :specification_version then
104
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
105
144
  s.specification_version = 3
106
145
 
107
146
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -110,6 +149,11 @@ Gem::Specification.new do |s|
110
149
  s.add_development_dependency(%q<jeweler>, [">= 0"])
111
150
  s.add_development_dependency(%q<rspec>, [">= 2.0.0"])
112
151
  s.add_development_dependency(%q<ruby-debug>, [">= 0"])
152
+ s.add_development_dependency(%q<cucumber>, [">= 0"])
153
+ s.add_development_dependency(%q<aruba>, [">= 0"])
154
+ s.add_development_dependency(%q<ruby-debug>, [">= 0"])
155
+ s.add_development_dependency(%q<fakeweb>, [">= 0"])
156
+ s.add_development_dependency(%q<vcr>, [">= 0"])
113
157
  s.add_runtime_dependency(%q<httparty>, [">= 0"])
114
158
  else
115
159
  s.add_dependency(%q<httparty>, [">= 0"])
@@ -117,6 +161,11 @@ Gem::Specification.new do |s|
117
161
  s.add_dependency(%q<jeweler>, [">= 0"])
118
162
  s.add_dependency(%q<rspec>, [">= 2.0.0"])
119
163
  s.add_dependency(%q<ruby-debug>, [">= 0"])
164
+ s.add_dependency(%q<cucumber>, [">= 0"])
165
+ s.add_dependency(%q<aruba>, [">= 0"])
166
+ s.add_dependency(%q<ruby-debug>, [">= 0"])
167
+ s.add_dependency(%q<fakeweb>, [">= 0"])
168
+ s.add_dependency(%q<vcr>, [">= 0"])
120
169
  s.add_dependency(%q<httparty>, [">= 0"])
121
170
  end
122
171
  else
@@ -125,6 +174,11 @@ Gem::Specification.new do |s|
125
174
  s.add_dependency(%q<jeweler>, [">= 0"])
126
175
  s.add_dependency(%q<rspec>, [">= 2.0.0"])
127
176
  s.add_dependency(%q<ruby-debug>, [">= 0"])
177
+ s.add_dependency(%q<cucumber>, [">= 0"])
178
+ s.add_dependency(%q<aruba>, [">= 0"])
179
+ s.add_dependency(%q<ruby-debug>, [">= 0"])
180
+ s.add_dependency(%q<fakeweb>, [">= 0"])
181
+ s.add_dependency(%q<vcr>, [">= 0"])
128
182
  s.add_dependency(%q<httparty>, [">= 0"])
129
183
  end
130
184
  end
@@ -0,0 +1,44 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :get
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/certificates
6
+ body:
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ authorization:
11
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ x-ua-compatible:
18
+ - IE=Edge
19
+ access-control-allow-headers:
20
+ - Authorization,Accepts,Content-Type
21
+ x-dnsimple-api-version:
22
+ - 1.0.0
23
+ etag:
24
+ - "\"ee7304ebee78ff7065676d9aff2e1967\""
25
+ access-control-allow-methods:
26
+ - OPTIONS
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ access-control-allow-origin:
30
+ - "*"
31
+ date:
32
+ - Fri, 11 Nov 2011 21:18:55 GMT
33
+ server:
34
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
+ x-runtime:
36
+ - "8.864356"
37
+ content-length:
38
+ - "3936"
39
+ set-cookie:
40
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYzE1ZDBhNDlhNmY1NzM4ZWU0MWM4ZGM5NWM2ODFlOWJJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--fadb5db75b3ab141668c6511771e2d22eeb07409; path=/; HttpOnly
41
+ cache-control:
42
+ - max-age=0, private, must-revalidate
43
+ body: "[{\"certificate\":{\"approver_email\":null,\"certificate_status\":\"Awaiting Configuration\",\"configured_at\":\"2011-11-11T20:56:36Z\",\"contact_id\":1,\"created_at\":\"2011-11-11T20:56:14Z\",\"csr\":\"-----BEGIN NEW CERTIFICATE REQUEST-----\\nMIIDMjCCAeoCAQAwXTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDEFudGhvbnkgRWRl\\nbjEQMA4GA1UEBxMHTWFsYWJhcjELMAkGA1UECBMCRkwxGDAWBgNVBAMTD3d3dy5l\\neGFtcGxlLmNvbTCCAVIwDQYJKoZIhvcNAQEBBQADggE/ADCCAToCggExALVqxT38\\nVYrafdjtqrYGCn1/HOYnOTJ0r8aYR71cW/AN50H6t0NOwLdrKstQ11uxGxkqFotl\\ndHklfJUh5gJyrisIZNP/YZ55s+rjcbuFeiAyouEs12YwYOK2GzsHB6t3OBJC2+Nm\\nZirDUUbhA4VDkf7DqiIRVSKcC0BKJyr69fnGewpAW9xiECryYqq884vD1/MoxuPQ\\nYWKSWXB4G/iD5vXamBNqF5TCJV8U8/53mKClWBTsMQxO2eCjPEqO6Yf1LViu4vZx\\nOmB093Iet8h+DI93FYGRQFmYy8SKBb/jOnr83gXEKIbKSGccYNHy8QGlYMguX+Yb\\nNbUGqKgr2LL2sk9rtLv8rCu/fSkJMhOw7Rz9N1TAVccZYLqGm+gNDDlI3TcKUQ6o\\n1R4uE7TOX3OFCOsCAwEAAaAwMC4GCSqGSIb3DQEJDjEhMB8wDAYDVR0TAQH/BAIw\\nADAPBgNVHQ8BAf8EBQMDB4AAMA0GCSqGSIb3DQEBBQUAA4IBMQAFJ9nGFHx5Mcg6\\n/TnT3kvT8qaux6SwfCw35XepT9rJ7YppaMgeOanEGJdvjtZtYxIWzxq2E+lFcNGd\\nAsJoNk1jnmvbFLARjTAfN9JSvxfkT6x+rcR8rSbpzYb19NV2QTUivrDuur5BvLI3\\nCUHunT7bQaWuxbZK/GgZ4KiRIvplsUz09Ir6HDcLS2TNeswSRwqNYs1v1uY1TWeS\\nUGbW391e7EsmesnHi8QdzqafwIjWqUoz55V8TMN0xJF7Dlwfw09NZ7rhh3hmC9aT\\nk/s8jl+Cfaz9aumrTHex2RkBfBpfLNnTbkCrBuYSp2lkV7XSn6GRXL84QVIrVwZo\\nRgQisMWQ0HWKVVGpAhh8u1PcRBHpJiCsK1AoN+TsQ/7N/cbGpyllS5IBAzRCDM9V\\nUNT4A6BR\\n-----END NEW CERTIFICATE REQUEST-----\\n\",\"domain_id\":39,\"expiration_date\":\"11/11/2012 12:56:14 PM\",\"id\":1,\"name\":\"www\",\"order_date\":\"11/11/2011 12:56:14 PM\",\"private_key\":\"-----BEGIN RSA PRIVATE KEY-----\\nMIIFewIBAAKCATEAtWrFPfxVitp92O2qtgYKfX8c5ic5MnSvxphHvVxb8A3nQfq3\\nQ07At2sqy1DXW7EbGSoWi2V0eSV8lSHmAnKuKwhk0/9hnnmz6uNxu4V6IDKi4SzX\\nZjBg4rYbOwcHq3c4EkLb42ZmKsNRRuEDhUOR/sOqIhFVIpwLQEonKvr1+cZ7CkBb\\n3GIQKvJiqrzzi8PX8yjG49BhYpJZcHgb+IPm9dqYE2oXlMIlXxTz/neYoKVYFOwx\\nDE7Z4KM8So7ph/UtWK7i9nE6YHT3ch63yH4Mj3cVgZFAWZjLxIoFv+M6evzeBcQo\\nhspIZxxg0fLxAaVgyC5f5hs1tQaoqCvYsvayT2u0u/ysK799KQkyE7DtHP03VMBV\\nxxlguoab6A0MOUjdNwpRDqjVHi4TtM5fc4UI6wIDAQABAoIBLxQcLxiT1s62Kzbj\\n6W+O9zCUf5x6UnXLnwG5BSgUoWEQv1aUJjMhB7jD+ZmpFKbBF0MHJcnK4pHo/OmL\\nLLi7FqYxqMmx05PseV/FYAT19a/UOA5HV4BKeLFkP/4ov/i1ZxSGKRhHY/Lvbxxp\\nLHR9N9ps4qQ7jFCFJ2j14hayx5GHyX/AcKzUx90NnXg2xMiXIiQHUYfpJEAdIGc4\\njAMO8wjTQk9CGW3U/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4g5sfVPcNqHhtKPCOTnNkNxAM7G4XB9WQyBA\\nzDnRRpwtFq+5R4XyJUyloSflZpltJ+T/aifq6lDn9sLf0ma6y+cCkTm06Lfx4MHw\\nMGvuTjj6oOeGj30kAe35j6e0xcNyhGFTRK+QROKkdMFMV2V9a9Jo3wTOr4PYr8Q6\\nt1BYovwF54fuQF/ceAFz\\n-----END RSA PRIVATE KEY-----\\n\",\"ssl_certificate\":null,\"updated_at\":\"2011-11-11T20:56:36Z\",\"available_approver_emails\":\"res-dom@iana.org,res-dom@iana.org,admin@example.com,administrator@example.com,hostmaster@example.com,root@example.com,webmaster@example.com,postmaster@example.com,admin@www.example.com,administrator@www.example.com,hostmaster@www.example.com,root@www.example.com,webmaster@www.example.com,postmaster@www.example.com\"}}]"
44
+ http_version: "1.1"
@@ -0,0 +1,44 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :post
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/certificates
6
+ body: certificate[name]=www&certificate[contact_id]=1
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ authorization:
11
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 201
15
+ message: Created
16
+ headers:
17
+ x-ua-compatible:
18
+ - IE=Edge
19
+ access-control-allow-headers:
20
+ - Authorization,Accepts,Content-Type
21
+ x-dnsimple-api-version:
22
+ - 1.0.0
23
+ location:
24
+ - http://localhost:3000/domains/example.com/certificates/1
25
+ access-control-allow-methods:
26
+ - OPTIONS
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ access-control-allow-origin:
30
+ - "*"
31
+ date:
32
+ - Fri, 11 Nov 2011 20:56:40 GMT
33
+ server:
34
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
+ x-runtime:
36
+ - "26.966412"
37
+ content-length:
38
+ - "3934"
39
+ set-cookie:
40
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMDcwNmU3ZmFjYjkwNTNiZmMxZDYxNTg1NTlkOWJlMjFJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--532360b59a4ad0353247bd38617b4ede4dbe5e6c; path=/; HttpOnly
41
+ cache-control:
42
+ - no-cache
43
+ body: "{\"certificate\":{\"approver_email\":null,\"certificate_status\":\"Awaiting Configuration\",\"configured_at\":\"2011-11-11T20:56:36Z\",\"contact_id\":1,\"created_at\":\"2011-11-11T20:56:14Z\",\"csr\":\"-----BEGIN NEW CERTIFICATE REQUEST-----\\nMIIDMjCCAeoCAQAwXTELMAkGA1UEBhMCVVMxFTATBgNVBAoTDEFudGhvbnkgRWRl\\nbjEQMA4GA1UEBxMHTWFsYWJhcjELMAkGA1UECBMCRkwxGDAWBgNVBAMTD3d3dy5l\\neGFtcGxlLmNvbTCCAVIwDQYJKoZIhvcNAQEBBQADggE/ADCCAToCggExALVqxT38\\nVYrafdjtqrYGCn1/HOYnOTJ0r8aYR71cW/AN50H6t0NOwLdrKstQ11uxGxkqFotl\\ndHklfJUh5gJyrisIZNP/YZ55s+rjcbuFeiAyouEs12YwYOK2GzsHB6t3OBJC2+Nm\\nZirDUUbhA4VDkf7DqiIRVSKcC0BKJyr69fnGewpAW9xiECryYqq884vD1/MoxuPQ\\nYWKSWXB4G/iD5vXamBNqF5TCJV8U8/53mKClWBTsMQxO2eCjPEqO6Yf1LViu4vZx\\nOmB093Iet8h+DI93FYGRQFmYy8SKBb/jOnr83gXEKIbKSGccYNHy8QGlYMguX+Yb\\nNbUGqKgr2LL2sk9rtLv8rCu/fSkJMhOw7Rz9N1TAVccZYLqGm+gNDDlI3TcKUQ6o\\n1R4uE7TOX3OFCOsCAwEAAaAwMC4GCSqGSIb3DQEJDjEhMB8wDAYDVR0TAQH/BAIw\\nADAPBgNVHQ8BAf8EBQMDB4AAMA0GCSqGSIb3DQEBBQUAA4IBMQAFJ9nGFHx5Mcg6\\n/TnT3kvT8qaux6SwfCw35XepT9rJ7YppaMgeOanEGJdvjtZtYxIWzxq2E+lFcNGd\\nAsJoNk1jnmvbFLARjTAfN9JSvxfkT6x+rcR8rSbpzYb19NV2QTUivrDuur5BvLI3\\nCUHunT7bQaWuxbZK/GgZ4KiRIvplsUz09Ir6HDcLS2TNeswSRwqNYs1v1uY1TWeS\\nUGbW391e7EsmesnHi8QdzqafwIjWqUoz55V8TMN0xJF7Dlwfw09NZ7rhh3hmC9aT\\nk/s8jl+Cfaz9aumrTHex2RkBfBpfLNnTbkCrBuYSp2lkV7XSn6GRXL84QVIrVwZo\\nRgQisMWQ0HWKVVGpAhh8u1PcRBHpJiCsK1AoN+TsQ/7N/cbGpyllS5IBAzRCDM9V\\nUNT4A6BR\\n-----END NEW CERTIFICATE REQUEST-----\\n\",\"domain_id\":39,\"expiration_date\":\"11/11/2012 12:56:14 PM\",\"id\":1,\"name\":\"www\",\"order_date\":\"11/11/2011 12:56:14 PM\",\"private_key\":\"-----BEGIN RSA PRIVATE KEY-----\\nMIIFewIBAAKCATEAtWrFPfxVitp92O2qtgYKfX8c5ic5MnSvxphHvVxb8A3nQfq3\\nQ07At2sqy1DXW7EbGSoWi2V0eSV8lSHmAnKuKwhk0/9hnnmz6uNxu4V6IDKi4SzX\\nZjBg4rYbOwcHq3c4EkLb42ZmKsNRRuEDhUOR/sOqIhFVIpwLQEonKvr1+cZ7CkBb\\n3GIQKvJiqrzzi8PX8yjG49BhYpJZcHgb+IPm9dqYE2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rvtTSQ+vk2tquEXci\\nNv8lmtI+DlYpQxNCpK9s0hg7hjFLihWz5HVYYaiDtFDYidX/cYasdBW2rgGJlEz6\\nYXMsiHXYOTWwD4nNzm5hJtQdX8V5RRAqMm/4G7BChRI4FLLtQrk3PTfDOe/FM6Wv\\nWnH4dY3KH8m4HnJ1wdh6NfHouo3uNB8Ylkaok6d7aTbK8rE6ItlJAoGZAJ6UHhf7\\nlgFNGdhy06nve2cc+sqRmQqkHr2OZcsndAP8A56MXTHEgbHyBucf02HfP3OofSd+\\nSyvF9AxWqjxAV88soqKr9X6rAti+pVfDDYnKtlL3f24X3hyQuPVOsiZ6ZnyqVApB\\nqIoXdVYY9N66roWvP9QHThqX1bqDaQ5j3fC/BthpDT7N5i1OHEVdbQQRg6S4xz68\\nr+9tAoGZAIyiHwn1QZqCUsIKiffm4g5sfVPcNqHhtKPCOTnNkNxAM7G4XB9WQyBA\\nzDnRRpwtFq+5R4XyJUyloSflZpltJ+T/aifq6lDn9sLf0ma6y+cCkTm06Lfx4MHw\\nMGvuTjj6oOeGj30kAe35j6e0xcNyhGFTRK+QROKkdMFMV2V9a9Jo3wTOr4PYr8Q6\\nt1BYovwF54fuQF/ceAFz\\n-----END RSA PRIVATE KEY-----\\n\",\"ssl_certificate\":null,\"updated_at\":\"2011-11-11T20:56:36Z\",\"available_approver_emails\":\"res-dom@iana.org,res-dom@iana.org,admin@example.com,administrator@example.com,hostmaster@example.com,root@example.com,webmaster@example.com,postmaster@example.com,admin@www.example.com,administrator@www.example.com,hostmaster@www.example.com,root@www.example.com,webmaster@www.example.com,postmaster@www.example.com\"}}"
44
+ http_version: "1.1"
@@ -0,0 +1,44 @@
1
+ ---
2
+ - !ruby/struct:VCR::HTTPInteraction
3
+ request: !ruby/struct:VCR::Request
4
+ method: :put
5
+ uri: http://<USERNAME>:<PASSWORD>@localhost:3000/domains/example.com/certificates/1/submit
6
+ body: certificate[approver_email]=admin%40example.com
7
+ headers:
8
+ accept:
9
+ - application/json
10
+ authorization:
11
+ - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
+ response: !ruby/struct:VCR::Response
13
+ status: !ruby/struct:VCR::ResponseStatus
14
+ code: 200
15
+ message: OK
16
+ headers:
17
+ x-ua-compatible:
18
+ - IE=Edge
19
+ access-control-allow-headers:
20
+ - Authorization,Accepts,Content-Type
21
+ x-dnsimple-api-version:
22
+ - 1.0.0
23
+ etag:
24
+ - "\"8f2d8c456cd7fe85919f3a532762385d\""
25
+ access-control-allow-methods:
26
+ - OPTIONS
27
+ content-type:
28
+ - application/json; charset=utf-8
29
+ access-control-allow-origin:
30
+ - "*"
31
+ date:
32
+ - Sat, 12 Nov 2011 13:01:04 GMT
33
+ server:
34
+ - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
+ x-runtime:
36
+ - "9.576010"
37
+ content-length:
38
+ - "3949"
39
+ set-cookie:
40
+ - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNjk3MjQ4OTU0NTYzMjliNWMwNDFhYzEyN2IwMmNhMzNJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--3f528e10ce8d7fcd773ecf939cb846d7f5da1d6c; path=/; HttpOnly
41
+ cache-control:
42
+ - max-age=0, private, must-revalidate
43
+ body: "{\"certificate\":{\"approver_email\":\"admin@example.com\",\"certificate_status\":\"Awaiting Configuration\",\"configured_at\":\"2011-11-12T12:19:26Z\",\"contact_id\":1,\"created_at\":\"2011-11-11T20:56:14Z\",\"csr\":\"-----BEGIN NEW CERTIFICATE REQUEST-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Zo\\nRgQisMWQ0HWKVVGpAhh8u1PcRBHpJiCsK1AoN+TsQ/7N/cbGpyllS5IBAzRCDM9V\\nUNT4A6BR\\n-----END NEW CERTIFICATE REQUEST-----\\n\",\"domain_id\":39,\"expiration_date\":\"11/11/2012 12:56:14 PM\",\"id\":1,\"name\":\"www\",\"order_date\":\"11/11/2011 12:56:14 PM\",\"private_key\":\"-----BEGIN RSA PRIVATE KEY-----\\nMIIFewIBAAKCATEAtWrFPfxVitp92O2qtgYKfX8c5ic5MnSvxphHvVxb8A3nQfq3\\nQ07At2sqy1DXW7EbGSoWi2V0eSV8lSHmAnKuKwhk0/9hnnmz6uNxu4V6IDKi4SzX\\nZjBg4rYbOwcHq3c4EkLb42ZmKsNRRuEDhUOR/sOqIhFVIpwLQEonKvr1+cZ7CkBb\\n3GIQKvJiqrzzi8PX8yjG49BhYpJZcHgb+IPm9dqYE2oXlMIlXxTz/neYoKVYFOwx\\nDE7Z4KM8So7ph/UtWK7i9nE6YHT3ch63yH4Mj3cVgZFAWZjLxIoFv+M6evzeBcQo\\nhspIZxxg0fLxAaVgyC5f5hs1tQaoqCvYsvayT2u0u/ysK799KQkyE7DtHP03VMBV\\nxxlguoab6A0MOUjdNwpRDqjVHi4TtM5fc4UI6wIDAQABAoIBLxQcLxiT1s62Kzbj\\n6W+O9zCUf5x6UnXLnwG5BSgUoWEQv1aUJjMhB7jD+ZmpFKbBF0MHJcnK4pHo/OmL\\nLLi7FqYxqMmx05PseV/FYAT19a/UOA5HV4BKeLFkP/4ov/i1ZxSGKRhHY/Lvbxxp\\nLHR9N9ps4qQ7jFCFJ2j14hayx5GHyX/AcKzUx90NnXg2xMiXIiQHUYfpJEAdIGc4\\njAMO8wjTQk9CGW3U/faibxdvRplpNbCV9Zmi7Wj3K3bX83LraqdbkhG7gWLono8S\\ntVwcKd7JFKhooyHpVmLt7M9VhRS08/oxuwOlwL/ETdNN1BwOhiZv6U74QoiW1wjN\\nfwbo4+QkE00a66E/TsX6CFQ6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RK+QROKkdMFMV2V9a9Jo3wTOr4PYr8Q6\\nt1BYovwF54fuQF/ceAFz\\n-----END RSA PRIVATE KEY-----\\n\",\"ssl_certificate\":null,\"updated_at\":\"2011-11-12T12:19:26Z\",\"available_approver_emails\":\"res-dom@iana.org,res-dom@iana.org,admin@example.com,administrator@example.com,hostmaster@example.com,root@example.com,webmaster@example.com,postmaster@example.com,admin@www.example.com,administrator@www.example.com,hostmaster@www.example.com,root@www.example.com,webmaster@www.example.com,postmaster@www.example.com\"}}"
44
+ http_version: "1.1"