From 6d2d3b07290a4aa9f458d64e04ca4e852b6c6fd1 Mon Sep 17 00:00:00 2001 From: Kasper Grubbe Date: Thu, 9 May 2019 17:28:55 +0100 Subject: [PATCH] Update gemspec to avoid warnings --- Gemfile.lock | 64 ++++++++++++++++------------------ spec/unit/sprinkle_dns_spec.rb | 2 -- sprinkle_dns.gemspec | 12 +++---- 3 files changed, 37 insertions(+), 41 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index ad2285b..4b828c2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,61 +1,59 @@ PATH remote: . specs: - sprinkle_dns (1.0.0.beta5) + sprinkle_dns (1.0.0) aws-sdk-route53 (~> 1.21) GEM remote: https://rubygems.org/ specs: - addressable (2.5.0) - public_suffix (~> 2.0, >= 2.0.2) - aws-eventstream (1.0.2) - aws-partitions (1.149.0) - aws-sdk-core (3.48.3) + addressable (2.6.0) + public_suffix (>= 2.0.2, < 4.0) + aws-eventstream (1.0.3) + aws-partitions (1.160.0) + aws-sdk-core (3.50.0) aws-eventstream (~> 1.0, >= 1.0.2) aws-partitions (~> 1.0) aws-sigv4 (~> 1.1) jmespath (~> 1.0) - aws-sdk-route53 (1.21.0) + aws-sdk-route53 (1.22.0) aws-sdk-core (~> 3, >= 3.48.2) aws-sigv4 (~> 1.1) aws-sigv4 (1.1.0) aws-eventstream (~> 1.0, >= 1.0.2) - coderay (1.1.0) + coderay (1.1.2) crack (0.4.3) safe_yaml (~> 1.0.0) - diff-lcs (1.2.5) + diff-lcs (1.3) docile (1.3.1) - hashdiff (0.3.2) + hashdiff (0.3.9) jmespath (1.4.0) json (2.2.0) - method_source (0.8.2) - pry (0.10.1) + method_source (0.9.2) + pry (0.12.2) coderay (~> 1.1.0) - method_source (~> 0.8.1) - slop (~> 3.4) - public_suffix (2.0.5) - rake (10.4.2) - rspec (3.2.0) - rspec-core (~> 3.2.0) - rspec-expectations (~> 3.2.0) - rspec-mocks (~> 3.2.0) - rspec-core (3.2.1) - rspec-support (~> 3.2.0) - rspec-expectations (3.2.0) + method_source (~> 0.9.0) + public_suffix (3.0.3) + rake (12.3.2) + rspec (3.8.0) + rspec-core (~> 3.8.0) + rspec-expectations (~> 3.8.0) + rspec-mocks (~> 3.8.0) + rspec-core (3.8.0) + rspec-support (~> 3.8.0) + rspec-expectations (3.8.3) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.2.0) - rspec-mocks (3.2.1) + rspec-support (~> 3.8.0) + rspec-mocks (3.8.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.2.0) - rspec-support (3.2.2) - safe_yaml (1.0.4) + rspec-support (~> 3.8.0) + rspec-support (3.8.0) + safe_yaml (1.0.5) simplecov (0.16.1) docile (~> 1.1) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) simplecov-html (0.10.2) - slop (3.6.0) vcr (3.0.3) webmock (2.3.2) addressable (>= 2.3.6) @@ -66,10 +64,10 @@ PLATFORMS ruby DEPENDENCIES - pry - rake - rspec - simplecov + pry (~> 0.12) + rake (~> 12.3) + rspec (~> 3.8) + simplecov (~> 0.16) sprinkle_dns! vcr (~> 3.0) webmock (~> 2.3) diff --git a/spec/unit/sprinkle_dns_spec.rb b/spec/unit/sprinkle_dns_spec.rb index df13218..9f0e620 100644 --- a/spec/unit/sprinkle_dns_spec.rb +++ b/spec/unit/sprinkle_dns_spec.rb @@ -154,7 +154,6 @@ expect(existing_hosted_zones.size).to eq 1 - hosted_zone = existing_hosted_zones.first policy_service = SprinkleDNS::EntryPolicyService.new(@hz01, sdns.config) expect(policy_service.entries_to_delete.size).to eq 0 expect(policy_service.compile.select{|rrset| rrset[:action] == 'DELETE'}.count).to eq 0 @@ -173,7 +172,6 @@ expect(existing_hosted_zones.size).to eq 1 - hosted_zone = existing_hosted_zones.first policy_service = SprinkleDNS::EntryPolicyService.new(@hz01, sdns.config) expect(policy_service.entries_to_delete.size).to eq 4 expect(policy_service.compile.select{|rrset| rrset[:action] == 'DELETE'}.count).to eq 4 diff --git a/sprinkle_dns.gemspec b/sprinkle_dns.gemspec index 4da2c5c..219ec35 100644 --- a/sprinkle_dns.gemspec +++ b/sprinkle_dns.gemspec @@ -9,9 +9,9 @@ Gem::Specification.new do |gem| gem.email = ["kaspergrubbe@gmail.com"] gem.homepage = "http://github.com/gfish/sprinkle_dns" gem.summary = %q{Make handling DNS easier} - gem.description = %q{Make handling DNS easier} + gem.description = %q{Make handling DNS easier by using simple Ruby constructs} - gem.licenses = ['MIT', 'GPL-2'] + gem.licenses = ['MIT', 'GPL-2.0'] gem.files = `git ls-files`.split("\n") gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") @@ -20,10 +20,10 @@ Gem::Specification.new do |gem| gem.required_ruby_version = ">= 2.4.0" gem.add_runtime_dependency 'aws-sdk-route53', '~> 1.21' - gem.add_development_dependency "rspec" - gem.add_development_dependency "simplecov" - gem.add_development_dependency "pry" - gem.add_development_dependency "rake" + gem.add_development_dependency "rspec", '~> 3.8' + gem.add_development_dependency "simplecov", '~> 0.16' + gem.add_development_dependency "pry", '~> 0.12' + gem.add_development_dependency "rake", '~> 12.3' gem.add_development_dependency "vcr", '~> 3.0' gem.add_development_dependency "webmock", '~> 2.3' end