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.
- checksums.yaml +7 -0
- data/.gitignore +0 -3
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/README.md +2 -4
- data/dnsimple-ruby.gemspec +3 -6
- data/features/README.md +9 -0
- data/lib/dnsimple/certificate.rb +37 -36
- data/lib/dnsimple/client.rb +7 -4
- data/lib/dnsimple/contact.rb +49 -48
- data/lib/dnsimple/domain.rb +79 -79
- data/lib/dnsimple/extended_attribute.rb +1 -1
- data/lib/dnsimple/record.rb +7 -12
- data/lib/dnsimple/service.rb +2 -2
- data/lib/dnsimple/template.rb +11 -17
- data/lib/dnsimple/template_record.rb +4 -4
- data/lib/dnsimple/transfer_order.rb +1 -1
- data/lib/dnsimple/user.rb +6 -14
- data/lib/dnsimple/version.rb +1 -1
- data/spec/ci/.dnsimple.test +1 -1
- data/spec/dnsimple/certificate_spec.rb +40 -30
- data/spec/dnsimple/client_spec.rb +9 -9
- data/spec/dnsimple/contact_spec.rb +34 -26
- data/spec/dnsimple/domain_spec.rb +21 -74
- data/spec/dnsimple/extended_attributes_spec.rb +42 -9
- data/spec/dnsimple/record_spec.rb +35 -43
- data/spec/dnsimple/template_spec.rb +27 -5
- data/spec/dnsimple/user_spec.rb +22 -14
- data/spec/files/certificates/index/success.http +19 -0
- data/spec/files/certificates/show/notfound.http +17 -0
- data/spec/files/certificates/show/success.http +19 -0
- data/spec/files/contacts/show/notfound.http +17 -0
- data/spec/files/contacts/show/success.http +19 -0
- data/spec/files/domains/show/notfound.http +17 -0
- data/spec/files/domains/show/success.http +19 -0
- data/spec/files/extended_attributes/ca.http +19 -0
- data/spec/files/extended_attributes/com.http +19 -0
- data/spec/files/extended_attributes/success.http +19 -0
- data/spec/files/records/index/success.http +19 -0
- data/spec/files/records/show/notfound.http +17 -0
- data/spec/files/records/show/success.http +19 -0
- data/spec/files/templates/show/notfound.http +17 -0
- data/spec/files/templates/show/success.http +19 -0
- data/spec/files/users/me/success.http +19 -0
- data/spec/spec_helper.rb +14 -17
- data/spec/support/helpers.rb +15 -0
- data/spec/support/webmock.rb +11 -0
- metadata +65 -84
- data/features/README +0 -12
- data/fixtures/vcr_cassettes/DNSimple_Certificate/_all.yml +0 -57
- data/fixtures/vcr_cassettes/DNSimple_Certificate/_purchase.yml +0 -57
- data/fixtures/vcr_cassettes/DNSimple_Certificate/_submit.yml +0 -57
- data/fixtures/vcr_cassettes/DNSimple_Contact/a_new_contact.yml +0 -50
- data/fixtures/vcr_cassettes/DNSimple_Contact/an_existing_contact.yml +0 -50
- data/fixtures/vcr_cassettes/DNSimple_Domain/_all.yml +0 -149
- data/fixtures/vcr_cassettes/DNSimple_Domain/applying_templates.yml +0 -246
- data/fixtures/vcr_cassettes/DNSimple_Domain/creating_a_new_domain.yml +0 -51
- data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_id.yml +0 -51
- data/fixtures/vcr_cassettes/DNSimple_Domain/finding_an_existing_domain/by_name.yml +0 -51
- data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_a_new_registrant_contact.yml +0 -52
- data/fixtures/vcr_cassettes/DNSimple_Domain/registration/with_an_existing_contact.yml +0 -52
- data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_ca.yml +0 -273
- data/fixtures/vcr_cassettes/DNSimple_ExtendedAttribute/list_extended_attributes/for_com.yml +0 -46
- data/fixtures/vcr_cassettes/DNSimple_Record/_all.yml +0 -195
- data/fixtures/vcr_cassettes/DNSimple_Record/creating_a_new_record.yml +0 -51
- data/fixtures/vcr_cassettes/DNSimple_Record/find_a_record.yml +0 -51
- data/fixtures/vcr_cassettes/DNSimple_Template/a_template.yml +0 -53
- data/fixtures/vcr_cassettes/DNSimple_User/_me.yml +0 -49
- data/spec/README +0 -10
data/spec/README
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
Before running the DNSimple Ruby Client specifications, you must do the following:
|
2
|
-
|
3
|
-
1.) If you haven't already create a new account at https://test.dnsimple.com and activate it using the credit card number of "1"
|
4
|
-
|
5
|
-
2.) Create a file in your home directory called .dnsimple.test and include the following:
|
6
|
-
|
7
|
-
username: YOUR_USERNAME
|
8
|
-
password: YOUR_PASSWORD
|
9
|
-
host: test.dnsimple.com
|
10
|
-
|