From 6cf30cccabfe2e5b3c25215e3e3a761122583f40 Mon Sep 17 00:00:00 2001 From: Josh Buker Date: Tue, 20 Jul 2021 10:44:34 -0700 Subject: [PATCH] Do not lock dependencies to minor version (#279) * Do not lock dependencies to minor version Overly restrictive version locks will cause unnecessary issues for downstream applications. All gems should be following semver, such that minor version bumps are completely backwards compatible. Fuzzy locking to a specific minor version will also allow you to use new functionality if it was added in a backwards compatible minor version update. * Update auth0.gemspec Co-authored-by: David Patrick Co-authored-by: David Patrick --- auth0.gemspec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/auth0.gemspec b/auth0.gemspec index d68e0632..8ec5d9c8 100644 --- a/auth0.gemspec +++ b/auth0.gemspec @@ -16,10 +16,10 @@ Gem::Specification.new do |s| s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ['lib'] - s.add_runtime_dependency 'rest-client', '~> 2.0.0' - s.add_runtime_dependency 'jwt', '~> 2.2.0' - s.add_runtime_dependency 'zache', '~> 0.12.0' - s.add_runtime_dependency 'addressable', '~> 2.8.0' + s.add_runtime_dependency 'rest-client', '~> 2.0.2' #2.1.0 has breaking changes + s.add_runtime_dependency 'jwt', '~> 2.2' + s.add_runtime_dependency 'zache', '~> 0.12' + s.add_runtime_dependency 'addressable', '~> 2.8' s.add_development_dependency 'bundler' s.add_development_dependency 'rake', '~> 13.0' @@ -27,10 +27,10 @@ Gem::Specification.new do |s| s.add_development_dependency 'guard-rspec', '~> 4.5' unless ENV['CIRCLECI'] s.add_development_dependency 'dotenv-rails', '~> 2.0' s.add_development_dependency 'pry', '~> 0.10' - s.add_development_dependency 'pry-nav', '~> 0.2.4' + s.add_development_dependency 'pry-nav', '~> 0.2' s.add_development_dependency 'rspec', '~> 3.5' s.add_development_dependency 'rack-test', '~> 0.6' - s.add_development_dependency 'rack', '~> 2.1.2' + s.add_development_dependency 'rack', '~> 2.1' s.add_development_dependency 'simplecov', '~> 0.9' s.add_development_dependency 'faker', '~> 2.0' s.add_development_dependency 'gem-release', '~> 0.7'