dnsimple-ruby 1.4.1 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +0 -3
  3. data/.ruby-version +1 -1
  4. data/.travis.yml +1 -0
  5. data/CHANGELOG.md +8 -0
  6. data/README.md +2 -4
  7. data/dnsimple-ruby.gemspec +3 -6
  8. data/features/README.md +9 -0
  9. data/lib/dnsimple/certificate.rb +37 -36
  10. data/lib/dnsimple/client.rb +7 -4
  11. data/lib/dnsimple/contact.rb +49 -48
  12. data/lib/dnsimple/domain.rb +79 -79
  13. data/lib/dnsimple/extended_attribute.rb +1 -1
  14. data/lib/dnsimple/record.rb +7 -12
  15. data/lib/dnsimple/service.rb +2 -2
  16. data/lib/dnsimple/template.rb +11 -17
  17. data/lib/dnsimple/template_record.rb +4 -4
  18. data/lib/dnsimple/transfer_order.rb +1 -1
  19. data/lib/dnsimple/user.rb +6 -14
  20. data/lib/dnsimple/version.rb +1 -1
  21. data/spec/ci/.dnsimple.test +1 -1
  22. data/spec/dnsimple/certificate_spec.rb +40 -30
  23. data/spec/dnsimple/client_spec.rb +9 -9
  24. data/spec/dnsimple/contact_spec.rb +34 -26
  25. data/spec/dnsimple/domain_spec.rb +21 -74
  26. data/spec/dnsimple/extended_attributes_spec.rb +42 -9
  27. data/spec/dnsimple/record_spec.rb +35 -43
  28. data/spec/dnsimple/template_spec.rb +27 -5
  29. data/spec/dnsimple/user_spec.rb +22 -14
  30. data/spec/files/certificates/index/success.http +19 -0
  31. data/spec/files/certificates/show/notfound.http +17 -0
  32. data/spec/files/certificates/show/success.http +19 -0
  33. data/spec/files/contacts/show/notfound.http +17 -0
  34. data/spec/files/contacts/show/success.http +19 -0
  35. data/spec/files/domains/show/notfound.http +17 -0
  36. data/spec/files/domains/show/success.http +19 -0
  37. data/spec/files/extended_attributes/ca.http +19 -0
  38. data/spec/files/extended_attributes/com.http +19 -0
  39. data/spec/files/extended_attributes/success.http +19 -0
  40. data/spec/files/records/index/success.http +19 -0
  41. data/spec/files/records/show/notfound.http +17 -0
  42. data/spec/files/records/show/success.http +19 -0
  43. data/spec/files/templates/show/notfound.http +17 -0
  44. data/spec/files/templates/show/success.http +19 -0
  45. data/spec/files/users/me/success.http +19 -0
  46. data/spec/spec_helper.rb +14 -17
  47. data/spec/support/helpers.rb +15 -0
  48. data/spec/support/webmock.rb +11 -0
  49. metadata +65 -84
  50. data/features/README +0 -12
  51. data/fixtures/vcr_cassettes/DNSimple_Certificate/_all.yml +0 -57
  52. data/fixtures/vcr_cassettes/DNSimple_Certificate/_purchase.yml +0 -57
  53. data/fixtures/vcr_cassettes/DNSimple_Certificate/_submit.yml +0 -57
  54. data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +0 -50
  55. data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +0 -50
  56. data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +0 -149
  57. data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +0 -246
  58. data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +0 -51
  59. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +0 -51
  60. data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +0 -51
  61. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +0 -52
  62. data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +0 -52
  63. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +0 -273
  64. data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +0 -46
  65. data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +0 -195
  66. data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +0 -51
  67. data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +0 -51
  68. data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +0 -53
  69. data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +0 -49
  70. data/spec/README +0 -10
@@ -1,51 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains
6
- body:
7
- encoding: UTF-8
8
- string: domain[name]=example.com
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
14
- response:
15
- status:
16
- code: 201
17
- message: Created
18
- headers:
19
- X-Ua-Compatible:
20
- - IE=Edge
21
- Access-Control-Allow-Headers:
22
- - Authorization,Accepts,Content-Type
23
- X-Dnsimple-Api-Version:
24
- - 1.0.0
25
- Location:
26
- - https://test.dnsimple.com/domains/example.com
27
- Access-Control-Allow-Methods:
28
- - OPTIONS
29
- Content-Type:
30
- - application/json; charset=utf-8
31
- Access-Control-Allow-Origin:
32
- - ! '*'
33
- Date:
34
- - Fri, 11 Nov 2011 20:05:13 GMT
35
- Server:
36
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
37
- X-Runtime:
38
- - '6.596858'
39
- Content-Length:
40
- - '412'
41
- Set-Cookie:
42
- - _dnsimple_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlODY3M2E1Yzc3ODk2MmVkNjIwZDZhMjkzYjM4OWNhMmZJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkG--e7964c7a1589861bc35bdf8ebd826172d98be6d9;
43
- path=/; HttpOnly
44
- Cache-Control:
45
- - no-cache
46
- body:
47
- encoding: UTF-8
48
- string: ! '{"domain":{"auto_renew":null,"created_at":"2011-11-11T20:05:07Z","expires_at":null,"id":39,"last_name_server_status_check":null,"lockable":true,"name":"example.com","name_server_status":"unknown","parsed_expiration_date":null,"real_time":true,"registrant_id":null,"registration_status":"hosted","state":"hosted","updated_at":"2011-11-11T20:05:07Z","user_id":1,"uses_external_name_servers":null,"record_count":0}}'
49
- http_version: '1.1'
50
- recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
51
- recorded_with: VCR 2.2.5
@@ -1,51 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains/39
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- X-Ua-Compatible:
20
- - IE=Edge
21
- Access-Control-Allow-Headers:
22
- - Authorization,Accepts,Content-Type
23
- X-Dnsimple-Api-Version:
24
- - 1.0.0
25
- Etag:
26
- - ! '"24f073eea7b01a97c81f7582b82bed62"'
27
- Access-Control-Allow-Methods:
28
- - OPTIONS
29
- Content-Type:
30
- - application/json; charset=utf-8
31
- Access-Control-Allow-Origin:
32
- - ! '*'
33
- Date:
34
- - Fri, 11 Nov 2011 20:07:03 GMT
35
- Server:
36
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
37
- X-Runtime:
38
- - '0.714568'
39
- Content-Length:
40
- - '412'
41
- Set-Cookie:
42
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYTAzNTZkNWM4ODA0NWJiNDEzNDc5M2NhZWZlNWI3NzNJIg5yZXR1cm5fdG8GOwBGSSIQL2RvbWFpbnMvMzkGOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--bafce1f4bc906d8a8f284b6ab762ab40d51c3bf2;
43
- path=/; HttpOnly
44
- Cache-Control:
45
- - max-age=0, private, must-revalidate
46
- body:
47
- encoding: UTF-8
48
- string: ! '{"domain":{"auto_renew":null,"created_at":"2011-11-11T20:05:07Z","expires_at":null,"id":39,"last_name_server_status_check":null,"lockable":true,"name":"example.com","name_server_status":"unknown","parsed_expiration_date":null,"real_time":true,"registrant_id":null,"registration_status":"hosted","state":"hosted","updated_at":"2011-11-11T20:05:07Z","user_id":1,"uses_external_name_servers":null,"record_count":0}}'
49
- http_version: '1.1'
50
- recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
51
- recorded_with: VCR 2.2.5
@@ -1,51 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domains/example.com
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
14
- response:
15
- status:
16
- code: 200
17
- message: OK
18
- headers:
19
- X-Ua-Compatible:
20
- - IE=Edge
21
- Access-Control-Allow-Headers:
22
- - Authorization,Accepts,Content-Type
23
- X-Dnsimple-Api-Version:
24
- - 1.0.0
25
- Etag:
26
- - ! '"24f073eea7b01a97c81f7582b82bed62"'
27
- Access-Control-Allow-Methods:
28
- - OPTIONS
29
- Content-Type:
30
- - application/json; charset=utf-8
31
- Access-Control-Allow-Origin:
32
- - ! '*'
33
- Date:
34
- - Fri, 11 Nov 2011 20:07:04 GMT
35
- Server:
36
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
37
- X-Runtime:
38
- - '0.750983'
39
- Content-Length:
40
- - '412'
41
- Set-Cookie:
42
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlYWE0MWY3YTU3MGUwYzI4Njg5MjY4M2EzOTI1NGIxZTNJIg5yZXR1cm5fdG8GOwBGSSIZL2RvbWFpbnMvZXhhbXBsZS5jb20GOwBGSSIVdXNlcl9jcmVkZW50aWFscwY7AEZJIgGANWMyNGU2MzhmMDYxZGVkZjdmOWEzYmI2NzE3YmY1MTI5YmZlMGI3Yzg4OThmZGU1YTZhMzRjMWQ5MDllMjJjZTZiMzE3ODM0ZWU3ZmNkZGI5ZWI0Nzg3YWI2ZTAzNWNhNGZhMmJmNDFlZGMyYjljMWRhMDc2MGQ3YzM4Zjc2NTgGOwBUSSIYdXNlcl9jcmVkZW50aWFsc19pZAY7AEZpBg%3D%3D--bf2ced8c665b5c9e93ec8a2e94d0db86a960235c;
43
- path=/; HttpOnly
44
- Cache-Control:
45
- - max-age=0, private, must-revalidate
46
- body:
47
- encoding: UTF-8
48
- string: ! '{"domain":{"auto_renew":null,"created_at":"2011-11-11T20:05:07Z","expires_at":null,"id":39,"last_name_server_status_check":null,"lockable":true,"name":"example.com","name_server_status":"unknown","parsed_expiration_date":null,"real_time":true,"registrant_id":null,"registration_status":"hosted","state":"hosted","updated_at":"2011-11-11T20:05:07Z","user_id":1,"uses_external_name_servers":null,"record_count":0}}'
49
- http_version: '1.1'
50
- recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
51
- recorded_with: VCR 2.2.5
@@ -1,52 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domain_registrations
6
- body:
7
- encoding: UTF-8
8
- string: domain[name]=dnsimple-example-1321042288.com&contact[last_name]=Smith&contact[state_province]=FL&contact[phone]=321%20555%201212&contact[address1]=123%20SW%201st%20Street&contact[city]=Miami&contact[country]=US&contact[first_name]=John&contact[postal_code]=33143
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
14
- response:
15
- status:
16
- code: 201
17
- message: Created
18
- headers:
19
- X-Ua-Compatible:
20
- - IE=Edge
21
- Access-Control-Allow-Headers:
22
- - Authorization,Accepts,Content-Type
23
- X-Dnsimple-Api-Version:
24
- - 1.0.0
25
- Location:
26
- - https://test.dnsimple.com/domains/dnsimple-example-1321042288.com
27
- Access-Control-Allow-Methods:
28
- - OPTIONS
29
- Content-Type:
30
- - application/json; charset=utf-8
31
- Access-Control-Allow-Origin:
32
- - ! '*'
33
- Date:
34
- - Fri, 11 Nov 2011 20:12:00 GMT
35
- Server:
36
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
37
- X-Runtime:
38
- - '32.052851'
39
- Content-Length:
40
- - '531'
41
- Set-Cookie:
42
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMmIxNzg4ODcxYmM0ODgwMWY5ZDcxYTUxM2Y2NThhZTdJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkGSSIJbmFtZQY7AEZJIiRkbnNpbXBsZS1leGFtcGxlLTEzMjEwNDIyODguY29tBjsAVA%3D%3D--e314feed5f06252ed43bc76f7a38dcf564468e4f;
43
- path=/; HttpOnly
44
- Cache-Control:
45
- - no-cache
46
- body:
47
- encoding: UTF-8
48
- string: ! '{"domain":{"auto_renew":null,"created_at":"2011-11-11T20:11:34Z","expires_at":"11/11/2012
49
- 12:11:00 PM","id":41,"last_enom_order_id":"157773080","last_name_server_status_check":null,"lockable":true,"name":"dnsimple-example-1321042288.com","name_server_status":"unknown","parsed_expiration_date":"2012-11-11T12:11:00Z","pdns_identifier":null,"real_time":true,"registrant_id":3,"registration_status":"registered","state":"registered","updated_at":"2011-11-11T20:12:00Z","user_id":1,"uses_external_name_servers":null,"record_count":0}}'
50
- http_version: '1.1'
51
- recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
52
- recorded_with: VCR 2.2.5
@@ -1,52 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: post
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/domain_registrations
6
- body:
7
- encoding: UTF-8
8
- string: domain[registrant_id]=1&domain[name]=dnsimple-example-1321042237.com
9
- headers:
10
- Accept:
11
- - application/json
12
- Authorization:
13
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
14
- response:
15
- status:
16
- code: 201
17
- message: Created
18
- headers:
19
- X-Ua-Compatible:
20
- - IE=Edge
21
- Access-Control-Allow-Headers:
22
- - Authorization,Accepts,Content-Type
23
- X-Dnsimple-Api-Version:
24
- - 1.0.0
25
- Location:
26
- - https://test.dnsimple.com/domains/dnsimple-example-1321042237.com
27
- Access-Control-Allow-Methods:
28
- - OPTIONS
29
- Content-Type:
30
- - application/json; charset=utf-8
31
- Access-Control-Allow-Origin:
32
- - ! '*'
33
- Date:
34
- - Fri, 11 Nov 2011 20:11:09 GMT
35
- Server:
36
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
37
- X-Runtime:
38
- - '31.776131'
39
- Content-Length:
40
- - '531'
41
- Set-Cookie:
42
- - _dnsimple_session=BAh7CUkiD3Nlc3Npb25faWQGOgZFRiIlMzA0NzU5OThhM2Q5MmYwMGM4MGQzNzkxNWQ3ZThhNzFJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYA1YzI0ZTYzOGYwNjFkZWRmN2Y5YTNiYjY3MTdiZjUxMjliZmUwYjdjODg5OGZkZTVhNmEzNGMxZDkwOWUyMmNlNmIzMTc4MzRlZTdmY2RkYjllYjQ3ODdhYjZlMDM1Y2E0ZmEyYmY0MWVkYzJiOWMxZGEwNzYwZDdjMzhmNzY1OAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkGSSIJbmFtZQY7AEZJIiRkbnNpbXBsZS1leGFtcGxlLTEzMjEwNDIyMzcuY29tBjsAVA%3D%3D--557950d7421074c1db19f6b637c603cd90a185ec;
43
- path=/; HttpOnly
44
- Cache-Control:
45
- - no-cache
46
- body:
47
- encoding: UTF-8
48
- string: ! '{"domain":{"auto_renew":null,"created_at":"2011-11-11T20:10:46Z","expires_at":"11/11/2012
49
- 12:10:00 PM","id":40,"last_enom_order_id":"157773079","last_name_server_status_check":null,"lockable":true,"name":"dnsimple-example-1321042237.com","name_server_status":"unknown","parsed_expiration_date":"2012-11-11T12:10:00Z","pdns_identifier":null,"real_time":true,"registrant_id":1,"registration_status":"registered","state":"registered","updated_at":"2011-11-11T20:11:09Z","user_id":1,"uses_external_name_servers":null,"record_count":0}}'
50
- http_version: '1.1'
51
- recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
52
- recorded_with: VCR 2.2.5
@@ -1,273 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://<USERNAME>:<PASSWORD>@test.dnsimple.com/extended_attributes/ca
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Authorization:
11
- - Basic YW50aG9ueWVkZW5AZ21haWwuY29tOmxldG1laW4=
12
- response:
13
- status:
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
- - ! '"b4b5d46d690d56a070c696851b300f22"'
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:33:29 GMT
33
- Server:
34
- - WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09)
35
- X-Runtime:
36
- - '2.158712'
37
- Content-Length:
38
- - '18621'
39
- Cache-Control:
40
- - max-age=0, private, must-revalidate
41
- body:
42
- encoding: UTF-8
43
- string: ! '[{"name":"cira_legal_type","description":"Legal type of registrant
44
- contact","child":false,"required":true,"application":"2","user_defined":false,"options":[{"title":"Corporation","value":"CCO","description":"A
45
- corporation under the laws of Canada or any province or territory of Canada,
46
- Charities, Cooperative, Council.<br/>Requirements: Registrant name must be
47
- the full legal name of the corporation and must be followed by the jurisdiction
48
- of incorporation (eg. Canada, Ontario, NWT...), unless it is obvious from
49
- the corporation''s name. Canadian Internet Registration Authority (Canada).
50
- For Charities, the NFP should be included in the organization name. If this
51
- is a not-for-profit organization, you are also required to submit the registration
52
- number i.e.: 123456789 RR0001"},{"title":"Canadian Citizen","value":"CCT","description":"A
53
- Canadian citizen of the age of majority under the laws of the province or
54
- territory in Canada in which he or she resides or last resided.<br/>Requirements:
55
- The Registrant''s name must be the full legal name of the Canadian Citizen
56
- who will hold the domain name registration as the name would appear on a passport,
57
- driver''s license or other identification document issued by a government.
58
- The name can be followed by a space and \"o/a xxxx\" where \"o/a\" stands
59
- for \"Operating As\" and \"xxxx\" can be any alpha-numeric string designated
60
- by the applicant and subject to applicable rules and length restrictions (e.g.
61
- \"John Doe o/a Doe Consulting Group\"). The name may also be followed by a
62
- space and a degree granted to the registrant (eg. PhD.) Full legal names of
63
- individuals may only consist of alphabetic characters and the special characters:
64
- single quote mark(''), hyphen(-), period(.)."},{"title":"Canadian Resident","value":"RES","description":"A
65
- permanent resident as defined in the Immigration and Refugee Protection Act
66
- (Canada) S.C. 2001, c.27, as amended from time to time, who is \"ordinarily
67
- resident\" (as defined below) in Canada and of the age of majority under the
68
- laws of the province or territory in Canada in which he or she resides or
69
- last resided. \"Ordinarily resident in Canada\" means an individual who resides
70
- in Canada for more than 183 days in the twelve month period immediately preceding
71
- the date of the applicable request for registration of the .ca domain name
72
- or sub-domain name and in each twelve month period thereafter for the duration
73
- of the domain name registration.<br/>Requirements: The Registrant''s name
74
- must be the full legal name of the Permanent Resident who will hold the domain
75
- name registration as the name would appear on a driver''s license or other
76
- identification document issued by a government. The full legal name may be
77
- followed by a space and \"o/a xxxx\" where \"o/a\" stands for \"Operating
78
- As\" and \"xxxx\" can be any alpha-numeric string designated by the applicant
79
- and subject to applicable rules and length restrictions (e.g. \"John Doe o/a
80
- Doe Consulting Group\"). The name may also be followed by a space and a degree
81
- granted to the registrant by a recognized degree granting institution or a
82
- recognized professional designation which the registrant has the right to
83
- use (eg. PhD, MD, DDS.) Full legal names of individuals may only consist of
84
- alphabetic characters and the special characters: single quote mark(''), hyphen(-),
85
- period(.)."},{"title":"Government Entity","value":"GOV","description":"Her
86
- Majesty the Queen in right of Canada, a province or a territory; an agent
87
- of Her Majesty the Queen in right of Canada, of a province or of a territory;
88
- a federal, provincial or territorial Crown corporation, government agency
89
- or government entity; or a regional, municipal or local area government.<br
90
- />Requirements: The Registrant''s name must be the complete official name
91
- of the entity that will hold the domain name registration, without any abbreviations.
92
- (A common abbreviation may follow the official name in parentheses). If the
93
- Registrant is not a government, the Registrant''s name must be followed by
94
- the name of the jurisdiction (eg. Canada, province, territory, municipality,
95
- etc) to which the Registrant is related."},{"title":"Educational","value":"EDU","description":"(i)
96
- A university or college which is located in Canada and which is authorized
97
- or recognized as a university or college under an Act of the legislature of
98
- a province or territory of Canada; or<br />(ii) A college, post-secondary
99
- school, vocational school, secondary school, pre-school or other school or
100
- educational institution which is located in Canada and which is recognized
101
- by the educational authorities of a province or territory of Canada or licensed
102
- under or maintained by an Act of Parliament of Canada or of the legislature
103
- of a province or territory of Canada.<br />Requirements: The Registrant''s
104
- name must be the complete official name of the institution that will hold
105
- the domain name registration, without any abbreviations. A common abbreviation
106
- may follow the official name in parentheses. The Registrant name must be followed
107
- by the jurisdiction (e.g. name of province, municipality) in which the institution
108
- is accredited if not obvious from the Registrant''s name."},{"title":"Unincorporated
109
- Association","value":"ASS","description":"This Registrant Type is principally
110
- intended for religious congregations, social and sports clubs and community
111
- groups, council (not registered) or society (not registered) which are based
112
- and operating in Canada. An unincorporated organization, association or club:<br
113
- />(i) At least 80% of whose members: (A) are ordinarily resident in Canada
114
- (if such members are individuals); or (B) meet the requirements of any one
115
- of the following Registrant Types: Corporation (Canada or Canadian province
116
- or territory), Canadian citizen, Permanent Resident of Canada, Partnership
117
- Registered in Canada, Trust established in Canada, Legal Representative of
118
- a Canadian Citizen or Permanent Resident; and<br />(ii) At least 80% of whose
119
- directors, officers, employees, managers, administrators or other representatives
120
- are ordinarily resident in Canada.<br />Requirements: The Registrant''s name
121
- must be the complete name of the association that will hold the domain name
122
- registration, without any abbreviations. (A common abbreviation may follow
123
- the complete name in parentheses)."},{"title":"Hospital","value":"HOP","description":"A
124
- hospital which is located in Canada and which is licensed, authorized or approved
125
- to operate as a hospital under an Act of the legislature of a province or
126
- territory of Canada<br />Requirements: The Registrant''s name must be the
127
- complete official name of the hospital that will hold the domain name registration,
128
- without any abbreviations. (A common abbreviation may follow the complete
129
- name in parentheses.) The Registrant''s name must be followed by the jurisdiction
130
- (eg. name of province) which accredited the hospital if not obvious from the
131
- Registrant''s name."},{"title":"Partnership","value":"PRT","description":"A
132
- partnership, more than 66 2/3 per cent of whose partners meet the requirements
133
- of one of the following Registrant Types: Corporation (Canada or Canadian
134
- province or territory), Canadian citizen, Permanent Resident of Canada, Trust
135
- established in Canada or a Legal Representative of a Canadian Citizen or Permanent
136
- Resident, which is registered as a partnership under the laws of any province
137
- or territory of Canada.<br />Requirements: The Registrant''s name must be
138
- the registered name of the partnership that will hold the domain name registration.
139
- The Registrant name must be followed by the jurisdiction of registration (eg.
140
- Alberta) and the registration number."},{"title":"Trade-mark","value":"TDM","description":"A
141
- Person which does not fall under any other registrant type, but which is the
142
- owner of a trade-mark which is the subject of a registration under the Trade-marks
143
- Act (Canada) R.S.C. 1985, c.T-13 as amended from time to time, but in this
144
- case such permission is limited to a request to register a .ca domain name
145
- consisting of or including the exact word component of that registered trade-mark.<br
146
- />This Registrant Type is only intended for Registrants which do not meet
147
- the requirements associated with any other registrant type but which have
148
- a trade-mark registered in Canada. (Trade-marks subject of trade-mark applications
149
- and trade-marks registered in other jurisdictions, such as the United States,
150
- do not qualify.)<br />The domain name to be registered must include the trade-mark.
151
- (eg. If the trade-mark is AVEA this type of registrant can register avea.ca
152
- or aveaisus.ca but not xyz.ca)."},{"title":"Trade Union","value":"TRD","description":"A
153
- trade union which is recognized by a labour board under the laws of Canada
154
- or any province or territory of Canada and which has its head office in Canada.<br
155
- />Requirements: The Registrant''s name must be the complete official name
156
- of the trade union that will hold the domain name registration, without abbreviations.
157
- (A common abbreviation may follow the official name in parentheses.) The Registrant
158
- name must be followed by the jurisdiction in Canada which recognizes it (if
159
- it is not obvious from the Registrant''s name.)"},{"title":"Political Party","value":"PLT","description":"A
160
- political party registered under a relevant electoral law of Canada or any
161
- province or territory of Canada<br />Requirements: The Registrant''s name
162
- must be the complete official name of the political party holding the domain
163
- name registration, without abbreviations. (A common abbreviation may follow
164
- the official name in parentheses.) The Registrant name must also by followed
165
- by the jurisdiction in Canada in which it is registered (if it is not obvious
166
- from the official name)."},{"title":"Library, Archive or Museum","value":"LAM","description":"An
167
- institution, whether or not incorporated, that:<br />(i) is located in Canada;
168
- and<br />(ii) is not established or conducted for profit or does not form
169
- part of, or is not administered or directly or indirectly controlled by, a
170
- body that is established or conducted for profit in which is held and maintained
171
- a collection of documents and other materials that is open to the public or
172
- to researchers.<br />Requirements: The Registrant''s name must be the complete
173
- legal name of the institution which will hold the domain name registration
174
- without abbreviations. (A common abbreviation may follow the complete name
175
- in parentheses.)"},{"title":"Trust","value":"TRS","description":"A trust established
176
- and subsisting under the laws of a province or territory of Canada, more than
177
- 66 2/3 % of whose trustees meet the requirements of one of the following Registrant
178
- Types: Corporation (Canada or Canadian province or territory), Canadian citizen,
179
- Permanent Resident of Canada, or a Legal Representative of a Canadian Citizen
180
- or Permanent Resident.<br />Requirements: The Registrant''s name must be the
181
- complete official name of the trust, without any abbreviations. (A common
182
- abbreviation may follow the official name in parentheses.) The Registrant
183
- name must also indicate the total percentage of the trustees that meet one
184
- or more of the following requirements: Canadian citizen, permanent resident,
185
- Canadian corporation, legal representative."},{"title":"Aboriginal Peoples","value":"ABO","description":"Any
186
- individual belonging to any Inuit, First Nation, Metis or other people indigenous
187
- to Canada.<br />Requirements: The Registrant''s name must be the full legal
188
- name of the Aboriginal Person applying for the Registration as it would appear
189
- on a driver''s license or other identification document issued by government.<br
190
- />The Registrant may enter its full legal name followed by a space and \"o/a
191
- xxxx\" where \"o/a\" stands for \"Operating As\" and \"xxxx\" can be any alpha-numeric
192
- string designated by the applicant and subject to applicable rules and length
193
- restrictions (e.g. \"John Doe o/a Doe Consulting Group\"). The name may also
194
- be followed by a space and a degree granted to the registrant by a recognized
195
- degree granting institution or a recognized professional designation which
196
- the registrant has the right to use (eg. PhD, MD, DDS.)<br />Full legal names
197
- of individuals may only consist of alphabetic characters and the special characters:
198
- single quote mark(''''), hyphen(-), period(.).<br/>Groups: Any Inuit, First
199
- Nation, Metis or other people indigenous to Canada, and any collectivity of
200
- such Aboriginal peoples.<br />Requirements: The Registrant''s name must be
201
- the complete official name of the indigenous people a collectivity of Aboriginal
202
- Persons or, if there is no official name, the name by which the collectivity
203
- is commonly known."},{"title":"Indian Band","value":"INB","description":"Any
204
- Indian band as defined in the Indian Act, R.S.C. 1985, c. I-5, as amended
205
- from time to time, and any group of Indian bands;<br />Requirements: The name
206
- of Registrant must be the Indian Band Name as registered with the Department
207
- of Indian and Northern Affairs, Canada."},{"title":"Legal Representative","value":"LGR","description":"An
208
- executor, administrator or other legal representative of a Person listed as
209
- a Canadian Citizen or Permanent Resident of Canada.<br />Note: This registrant
210
- type is only available to a person or entity that has been appointed by legal
211
- process to represent an individual who is not competent to represent him or
212
- herself. It is not available to anyone who represents a Canadian or foreign
213
- corporation in any capacity.<br />Requirements: The Registrant''s name must
214
- be the full legal name of the Canadian Citizen or Permanent Resident of Canada
215
- who is being represented as it would appear on a passport, driver''s license
216
- or other government identification document. This must be followed by the
217
- full legal name and capacity of at least one of the official representatives.
218
- The representative should be identified as the administrative contact for
219
- these registrations."},{"title":"Official Mark","value":"OMK","description":"A
220
- Person which does not meet the requirements for any other Registrant Type,
221
- but which is a Person intended to be protected by Subsection 9(1) of the Trade-Marks
222
- Act (Canada) at whose request the Registrar of Trade-marks has published notice
223
- of adoption of any badge, crest, emblem, official mark or other mark pursuant
224
- to Subsection 9(1), but in this case such permission is limited to a request
225
- to register a .ca domain name consisting of or including the exact word component
226
- of such badge, crest, emblem, official mark or other mark in respect of which
227
- such Person requested publications.<br />Notes: This registrant type is only
228
- intended for Registrants which do not meet the requirements associated with
229
- any other registrant type but which have an Official Mark registered in Canada.
230
- The domain name must include the official mark (eg. If the official mark is
231
- WIPO, the registrant can register wipo.ca but not intellectual-property.ca)<br
232
- />Requirements: The Registrant''s name must be the complete official name
233
- of the entity holding the domain name registration without any abbreviations.
234
- (A common abbreviation may follow the complete name in parentheses.) The registration
235
- number of the official mark must follow the Registrant Name."},{"title":"The
236
- Queen","value":"MAJ","description":"Her Majesty Queen Elizabeth the Second
237
- and her successors. Requirements: The Registrant''s name must be that of Her
238
- Majesty the Queen or, after a succession, the name of her successor."}]},{"name":"cira_whois_display","description":"Hide
239
- registrant data in CIRA WHOIS","child":true,"required":false,"application":"2","user_defined":false,"options":[{"title":"No","value":"FULL","description":"Do
240
- not hide the registrant contact information in CIRA WHOIS."},{"title":"Yes","value":"PRIVATE","description":"Hide
241
- the registrant contact information in Cira WHOIS (only available to individuals)."}]},{"name":"cira_language","description":"The
242
- contact''s preferred language for communication","child":false,"required":true,"application":"2","user_defined":false,"options":[{"title":"English","value":"en","description":"Use
243
- English for Registry to Registrant communication"},{"title":"French","value":"fr","description":"Use
244
- French for Registry to Registrant communication"}]},{"name":"cira_agreement_version","description":"Version
245
- of the CIRA Registrant Agreement displayed and agreed to by the Registrant
246
- on the Registrar website","child":false,"required":true,"application":"2","user_defined":false,"options":[{"title":"2.0","value":"2.0","description":"Current
247
- Version of Registrant Agreement"}]},{"name":"cira_agreement_value","description":"Registrant
248
- has agreed to CIRA''s Registrant Agreement","child":false,"required":true,"application":"2","user_defined":false,"options":[{"title":"No","value":"N","description":"\"You
249
- have read, understood and agree to the terms and conditions of the Registrant\nAgreement,
250
- and that CIRA may, from time to time and at its discretion, amend any or all
251
- of\nthe terms and conditions of the Registrant Agreement, as CIRA deems appropriate,
252
- by\nposting a notice of the changes on the CIRA website and by sending a notice
253
- of any\nmaterial changes to Registrant.\"\n\n\"You meet all the requirements
254
- of the Registrant Agreement to be a Registrant, to apply for\nthe registration
255
- of a Domain Name Registration, and to hold and maintain a Domain Name\nRegistration,
256
- including without limitation CIRA''s Canadian Presence Requirements for\nRegistrants,
257
- at: www.cira.ca/assets/Documents/Legal/Registrants/CPR.pdf.\"\n\n\"CIRA will
258
- collect, use and disclose your personal information, as set out in CIRA''s\nPrivacy
259
- Policy, at: www.cira.ca/assets/Documents/Legal/Registrants/privacy.pdf.\""},{"title":"Yes","value":"Y","description":"\"You
260
- have read, understood and agree to the terms and conditions of the Registrant\nAgreement,
261
- and that CIRA may, from time to time and at its discretion, amend any or all
262
- of\nthe terms and conditions of the Registrant Agreement, as CIRA deems appropriate,
263
- by\nposting a notice of the changes on the CIRA website and by sending a notice
264
- of any\nmaterial changes to Registrant.\"\n\n\"You meet all the requirements
265
- of the Registrant Agreement to be a Registrant, to apply for\nthe registration
266
- of a Domain Name Registration, and to hold and maintain a Domain Name\nRegistration,
267
- including without limitation CIRA''s Canadian Presence Requirements for\nRegistrants,
268
- at: www.cira.ca/assets/Documents/Legal/Registrants/CPR.pdf.\"\n\n\"CIRA will
269
- collect, use and disclose your personal information, as set out in CIRA''s\nPrivacy
270
- Policy, at: www.cira.ca/assets/Documents/Legal/Registrants/privacy.pdf.\""}]}]'
271
- http_version: '1.1'
272
- recorded_at: Thu, 06 Sep 2012 18:52:19 GMT
273
- recorded_with: VCR 2.2.5