dnsimple 7.1.0 → 7.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 599aae97228fa50e3a918d98e618849d91aa7aa011afcbd06d7fe61a2fb1e281
4
- data.tar.gz: f1c811c95ab28badb5438cf56470b15c8794f31c7da241c28982fb08585ae1fe
3
+ metadata.gz: 186f6faf074afa519d67b5397e0e1568ed6745948239a14fb8f72f39dccea390
4
+ data.tar.gz: 605cf70471182fc26fb96cb99eadc204040040bee4481ff1de4837a8084940c8
5
5
  SHA512:
6
- metadata.gz: 23e64d29706bac2d104de41666b272d4ec89185be32d3def31d1e4fe6ee776c89e082b0c15ba084338d34b47df950c35159f8d01c6d6cc5191b3fec22129f3c8
7
- data.tar.gz: eb126f66a71dd8bc5e7eb7cd329645a5f1cefdce5652b91218d5b0108d5e4a77f3000cc9eff2fd0fe24b149ac185dad7ec61560ce1797006e643b98750c5e463
6
+ metadata.gz: 76a9bdea4ba0618262230bea5daa1d5fe66a23e414ce7c5eae0115b343bb9355e277ef492d6f4f8ce8579609e3c511075dfed7080dfac3a34260c499faea1375
7
+ data.tar.gz: 5c07656ba50cdd66cba4c51ea7085229c05f0140127061a0c567ec3940c9ab6e779aae9ff8627f4531fc9bdb2bdb150683f63e792a051c55be81d3e26f0f906e
@@ -1,10 +1,9 @@
1
1
  ---
2
2
  name: ci
3
3
 
4
- "on":
5
- pull_request:
4
+ on:
6
5
  push:
7
-
6
+ pull_request:
8
7
  # Allows you to run this workflow manually from the Actions tab
9
8
  workflow_dispatch:
10
9
 
@@ -38,6 +37,7 @@ jobs:
38
37
  - '2.6'
39
38
  - '2.7'
40
39
  - '3.0'
40
+ - '3.1'
41
41
  - 'ruby-head'
42
42
  - 'truffleruby-head'
43
43
  steps:
@@ -0,0 +1,19 @@
1
+ ---
2
+ name: release
3
+
4
+ on:
5
+ push:
6
+ tags:
7
+ - v*.*.*
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+
15
+ - name: Release Gem
16
+ uses: cadwallion/publish-rubygems-action@8f9e0538302643309e4e43bf48cd34173ca48cfc # yamllint disable-line
17
+ env:
18
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
19
+ RELEASE_COMMAND: rake release
data/.rubocop.yml CHANGED
@@ -14,7 +14,3 @@ AllCops:
14
14
  - '*.gemspec'
15
15
  - 'Rakefile'
16
16
  - 'vendor/**/*'
17
-
18
- # This rule conflicts with our specs codebase using Ruby 2.x and 3.x
19
- Lint/NonDeterministicRequireOrder:
20
- Enabled: false
data/.rubocop_todo.yml CHANGED
@@ -1,7 +1,6 @@
1
- ---
2
1
  # This configuration was generated by
3
2
  # `rubocop --auto-gen-config`
4
- # on 2021-10-04 12:28:12 UTC using RuboCop version 1.22.1.
3
+ # on 2021-12-31 12:20:10 UTC using RuboCop version 1.24.1.
5
4
  # The point is for the user to remove these configuration records
6
5
  # one by one as the offenses are removed from the code base.
7
6
  # Note that changes in the inspected code, or installation of new
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/).
4
4
 
5
5
  ## main
6
6
 
7
+ ## 7.1.1
8
+
9
+ - CHANGED: Bumped up dependencies
10
+
7
11
  ## 7.1.0
8
12
 
9
13
  - CHANGED: Updated DNSSEC-related structs and entrypoints to support DS record key-data interface. (dnsimple/dnsimple-ruby#252)
data/CONTRIBUTING.md CHANGED
@@ -53,18 +53,6 @@ The following instructions uses `$VERSION` as a placeholder, where `$VERSION` is
53
53
  git push origin --tags
54
54
  ```
55
55
 
56
- 1. Build the package.
57
-
58
- ```shell
59
- rake build
60
- ```
61
-
62
- 1. Release to RubyGems.
63
-
64
- ```shell
65
- gem push pkg/<filename>
66
- ```
67
-
68
56
  ## Testing
69
57
 
70
58
  To run the test suite:
data/Gemfile CHANGED
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
5
5
  gemspec
6
6
 
7
7
  gem 'coveralls', require: false
8
- gem 'rubocop', '1.22.1', require: false
8
+ gem 'rubocop', '1.24.1', require: false
9
9
  gem 'rubocop-performance', require: false
10
10
  gem 'rubocop-rake', require: false
11
11
  gem 'rubocop-rspec', require: false
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2010-2021 DNSimple Corporation
3
+ Copyright (c) 2010-2022 DNSimple Corporation
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -86,4 +86,4 @@ We recommend to customize the user agent. If you are building a library or integ
86
86
 
87
87
  ## License
88
88
 
89
- Copyright (c) 2010-2021 DNSimple Corporation. This is Free Software distributed under the MIT license.
89
+ Copyright (c) 2010-2022 DNSimple Corporation. This is Free Software distributed under the MIT license.
@@ -30,7 +30,7 @@ module Dnsimple
30
30
  # Configuration options
31
31
  # @return [Hash]
32
32
  def options
33
- keys.map { |key| [key, send(key)] }.to_h
33
+ keys.to_h { |key| [key, send(key)] }
34
34
  end
35
35
 
36
36
  # Default API endpoint from ENV or {BASE_URL}
@@ -37,7 +37,7 @@ module Dnsimple
37
37
  deep_merge(this_value, other_value, &block)
38
38
  else
39
39
  if block && key?(current_key)
40
- block.call(current_key, this_value, other_value)
40
+ yield(current_key, this_value, other_value)
41
41
  else
42
42
  other_value
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dnsimple
4
- VERSION = "7.1.0"
4
+ VERSION = "7.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dnsimple
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DNSimple
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-19 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -91,6 +91,7 @@ files:
91
91
  - ".github/CODEOWNERS"
92
92
  - ".github/dependabot.yml"
93
93
  - ".github/workflows/ci.yml"
94
+ - ".github/workflows/release.yml"
94
95
  - ".gitignore"
95
96
  - ".markdownlint.yaml"
96
97
  - ".rspec"
@@ -358,7 +359,7 @@ files:
358
359
  homepage: https://github.com/dnsimple/dnsimple-ruby
359
360
  licenses: []
360
361
  metadata: {}
361
- post_install_message:
362
+ post_install_message:
362
363
  rdoc_options: []
363
364
  require_paths:
364
365
  - lib
@@ -373,188 +374,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
373
374
  - !ruby/object:Gem::Version
374
375
  version: '0'
375
376
  requirements: []
376
- rubygems_version: 3.2.29
377
- signing_key:
377
+ rubygems_version: 3.3.3
378
+ signing_key:
378
379
  specification_version: 4
379
380
  summary: The DNSimple API client for Ruby
380
- test_files:
381
- - spec/dnsimple/client/accounts_spec.rb
382
- - spec/dnsimple/client/certificates_spec.rb
383
- - spec/dnsimple/client/client_service_spec.rb
384
- - spec/dnsimple/client/contacts_spec.rb
385
- - spec/dnsimple/client/domains_collaborators_spec.rb
386
- - spec/dnsimple/client/domains_delegation_signer_records_spec.rb
387
- - spec/dnsimple/client/domains_dnssec_spec.rb
388
- - spec/dnsimple/client/domains_email_forwards_spec.rb
389
- - spec/dnsimple/client/domains_pushes_spec.rb
390
- - spec/dnsimple/client/domains_spec.rb
391
- - spec/dnsimple/client/identity_spec.rb
392
- - spec/dnsimple/client/oauth_spec.rb
393
- - spec/dnsimple/client/registrar_auto_renewal_spec.rb
394
- - spec/dnsimple/client/registrar_delegation_spec.rb
395
- - spec/dnsimple/client/registrar_spec.rb
396
- - spec/dnsimple/client/registrar_whois_privacy_spec.rb
397
- - spec/dnsimple/client/services_domains_spec.rb
398
- - spec/dnsimple/client/services_spec.rb
399
- - spec/dnsimple/client/templates_domains_spec.rb
400
- - spec/dnsimple/client/templates_records_spec.rb
401
- - spec/dnsimple/client/templates_spec.rb
402
- - spec/dnsimple/client/tlds_spec.rb
403
- - spec/dnsimple/client/vanity_name_servers_spec.rb
404
- - spec/dnsimple/client/webhooks_spec.rb
405
- - spec/dnsimple/client/zones_distributions_spec.rb
406
- - spec/dnsimple/client/zones_records_spec.rb
407
- - spec/dnsimple/client/zones_spec.rb
408
- - spec/dnsimple/client_spec.rb
409
- - spec/dnsimple/extra_spec.rb
410
- - spec/dnsimple/options/base_spec.rb
411
- - spec/dnsimple/options/list_options_spec.rb
412
- - spec/fixtures.http/acceptPush/success.http
413
- - spec/fixtures.http/accounts/success-account.http
414
- - spec/fixtures.http/accounts/success-user.http
415
- - spec/fixtures.http/addCollaborator/invite-success.http
416
- - spec/fixtures.http/addCollaborator/success.http
417
- - spec/fixtures.http/appliedServices/success.http
418
- - spec/fixtures.http/applyService/success.http
419
- - spec/fixtures.http/applyTemplate/success.http
420
- - spec/fixtures.http/authorizeDomainTransferOut/success.http
421
- - spec/fixtures.http/badgateway.http
422
- - spec/fixtures.http/cancelDomainTransfer/success.http
423
- - spec/fixtures.http/changeDomainDelegation/success.http
424
- - spec/fixtures.http/changeDomainDelegationFromVanity/success.http
425
- - spec/fixtures.http/changeDomainDelegationToVanity/success.http
426
- - spec/fixtures.http/checkDomain/success.http
427
- - spec/fixtures.http/checkDomainPremiumPrice/error_400_not_a_premium_domain.http
428
- - spec/fixtures.http/checkDomainPremiumPrice/error_400_tld_not_supported.http
429
- - spec/fixtures.http/checkDomainPremiumPrice/success.http
430
- - spec/fixtures.http/checkZoneDistribution/error.http
431
- - spec/fixtures.http/checkZoneDistribution/failure.http
432
- - spec/fixtures.http/checkZoneDistribution/success.http
433
- - spec/fixtures.http/checkZoneRecordDistribution/error.http
434
- - spec/fixtures.http/checkZoneRecordDistribution/failure.http
435
- - spec/fixtures.http/checkZoneRecordDistribution/success.http
436
- - spec/fixtures.http/createContact/created.http
437
- - spec/fixtures.http/createDelegationSignerRecord/created.http
438
- - spec/fixtures.http/createDelegationSignerRecord/validation-error.http
439
- - spec/fixtures.http/createDomain/created.http
440
- - spec/fixtures.http/createEmailForward/created.http
441
- - spec/fixtures.http/createPrimaryServer/created.http
442
- - spec/fixtures.http/createSecondaryZone/created.http
443
- - spec/fixtures.http/createTemplate/created.http
444
- - spec/fixtures.http/createTemplateRecord/created.http
445
- - spec/fixtures.http/createWebhook/created.http
446
- - spec/fixtures.http/createZoneRecord/created-apex.http
447
- - spec/fixtures.http/createZoneRecord/created.http
448
- - spec/fixtures.http/deleteContact/error-contact-in-use.http
449
- - spec/fixtures.http/deleteContact/success.http
450
- - spec/fixtures.http/deleteDelegationSignerRecord/success.http
451
- - spec/fixtures.http/deleteDomain/success.http
452
- - spec/fixtures.http/deleteEmailForward/success.http
453
- - spec/fixtures.http/deleteTemplate/success.http
454
- - spec/fixtures.http/deleteTemplateRecord/success.http
455
- - spec/fixtures.http/deleteWebhook/success.http
456
- - spec/fixtures.http/deleteZoneRecord/success.http
457
- - spec/fixtures.http/disableDnssec/not-enabled.http
458
- - spec/fixtures.http/disableDnssec/success.http
459
- - spec/fixtures.http/disableDomainAutoRenewal/success.http
460
- - spec/fixtures.http/disableVanityNameServers/success.http
461
- - spec/fixtures.http/disableWhoisPrivacy/success.http
462
- - spec/fixtures.http/downloadCertificate/success.http
463
- - spec/fixtures.http/enableDnssec/success.http
464
- - spec/fixtures.http/enableDomainAutoRenewal/success.http
465
- - spec/fixtures.http/enableVanityNameServers/success.http
466
- - spec/fixtures.http/enableWhoisPrivacy/created.http
467
- - spec/fixtures.http/enableWhoisPrivacy/success.http
468
- - spec/fixtures.http/getCertificate/success.http
469
- - spec/fixtures.http/getCertificatePrivateKey/success.http
470
- - spec/fixtures.http/getContact/success.http
471
- - spec/fixtures.http/getDelegationSignerRecord/success.http
472
- - spec/fixtures.http/getDnssec/success.http
473
- - spec/fixtures.http/getDomain/success.http
474
- - spec/fixtures.http/getDomainDelegation/success-empty.http
475
- - spec/fixtures.http/getDomainDelegation/success.http
476
- - spec/fixtures.http/getDomainPremiumPrice/failure.http
477
- - spec/fixtures.http/getDomainPremiumPrice/success.http
478
- - spec/fixtures.http/getDomainPrices/failure.http
479
- - spec/fixtures.http/getDomainPrices/success.http
480
- - spec/fixtures.http/getDomainTransfer/success.http
481
- - spec/fixtures.http/getEmailForward/success.http
482
- - spec/fixtures.http/getPrimaryServer/success.http
483
- - spec/fixtures.http/getService/success.http
484
- - spec/fixtures.http/getTemplate/success.http
485
- - spec/fixtures.http/getTemplateRecord/success.http
486
- - spec/fixtures.http/getTld/success.http
487
- - spec/fixtures.http/getTldExtendedAttributes/success-attributes.http
488
- - spec/fixtures.http/getTldExtendedAttributes/success-noattributes.http
489
- - spec/fixtures.http/getTldExtendedAttributes/success.http
490
- - spec/fixtures.http/getWebhook/success.http
491
- - spec/fixtures.http/getWhoisPrivacy/success.http
492
- - spec/fixtures.http/getZone/success.http
493
- - spec/fixtures.http/getZoneFile/success.http
494
- - spec/fixtures.http/getZoneRecord/success.http
495
- - spec/fixtures.http/initiatePush/success.http
496
- - spec/fixtures.http/issueLetsencryptCertificate/success.http
497
- - spec/fixtures.http/issueRenewalLetsencryptCertificate/success.http
498
- - spec/fixtures.http/linkPrimaryServer/success.http
499
- - spec/fixtures.http/listAccounts/success-account.http
500
- - spec/fixtures.http/listAccounts/success-user.http
501
- - spec/fixtures.http/listCertificates/success.http
502
- - spec/fixtures.http/listCollaborators/success.http
503
- - spec/fixtures.http/listContacts/success.http
504
- - spec/fixtures.http/listDelegationSignerRecords/success.http
505
- - spec/fixtures.http/listDomains/success.http
506
- - spec/fixtures.http/listEmailForwards/success.http
507
- - spec/fixtures.http/listPrimaryServers/success.http
508
- - spec/fixtures.http/listPushes/success.http
509
- - spec/fixtures.http/listServices/success.http
510
- - spec/fixtures.http/listTemplateRecords/success.http
511
- - spec/fixtures.http/listTemplates/success.http
512
- - spec/fixtures.http/listTlds/success.http
513
- - spec/fixtures.http/listWebhooks/success.http
514
- - spec/fixtures.http/listZoneRecords/success.http
515
- - spec/fixtures.http/listZones/success.http
516
- - spec/fixtures.http/method-not-allowed.http
517
- - spec/fixtures.http/notfound-certificate.http
518
- - spec/fixtures.http/notfound-collaborator.http
519
- - spec/fixtures.http/notfound-contact.http
520
- - spec/fixtures.http/notfound-delegationsignerrecord.http
521
- - spec/fixtures.http/notfound-domain.http
522
- - spec/fixtures.http/notfound-domainpush.http
523
- - spec/fixtures.http/notfound-emailforward.http
524
- - spec/fixtures.http/notfound-record.http
525
- - spec/fixtures.http/notfound-template.http
526
- - spec/fixtures.http/notfound-webhook.http
527
- - spec/fixtures.http/notfound-whoisprivacy.http
528
- - spec/fixtures.http/notfound-zone.http
529
- - spec/fixtures.http/oauthAccessToken/error-invalid-request.http
530
- - spec/fixtures.http/oauthAccessToken/success.http
531
- - spec/fixtures.http/pages-1of3.http
532
- - spec/fixtures.http/pages-2of3.http
533
- - spec/fixtures.http/pages-3of3.http
534
- - spec/fixtures.http/purchaseLetsencryptCertificate/success.http
535
- - spec/fixtures.http/purchaseRenewalLetsencryptCertificate/success.http
536
- - spec/fixtures.http/registerDomain/success.http
537
- - spec/fixtures.http/rejectPush/success.http
538
- - spec/fixtures.http/removeCollaborator/success.http
539
- - spec/fixtures.http/renewDomain/error-tooearly.http
540
- - spec/fixtures.http/renewDomain/success.http
541
- - spec/fixtures.http/renewWhoisPrivacy/success.http
542
- - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-duplicated-order.http
543
- - spec/fixtures.http/renewWhoisPrivacy/whois-privacy-not-found.http
544
- - spec/fixtures.http/response.http
545
- - spec/fixtures.http/success-with-malformed-json.http
546
- - spec/fixtures.http/transferDomain/error-indnsimple.http
547
- - spec/fixtures.http/transferDomain/error-missing-authcode.http
548
- - spec/fixtures.http/transferDomain/success.http
549
- - spec/fixtures.http/unapplyService/success.http
550
- - spec/fixtures.http/unlinkPrimaryServer/success.http
551
- - spec/fixtures.http/updateContact/success.http
552
- - spec/fixtures.http/updateTemplate/success.http
553
- - spec/fixtures.http/updateZoneRecord/success.http
554
- - spec/fixtures.http/validation-error.http
555
- - spec/fixtures.http/whoami/success-account.http
556
- - spec/fixtures.http/whoami/success-user.http
557
- - spec/fixtures.http/whoami/success.http
558
- - spec/spec_helper.rb
559
- - spec/support/helpers.rb
560
- - spec/support/webmock.rb
381
+ test_files: []