Skip to content

Commit

Permalink
Do not lock dependencies to minor version (#279)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
Co-authored-by: David Patrick <[email protected]>
  • Loading branch information
3 people authored Jul 20, 2021
1 parent da57c90 commit 6cf30cc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions auth0.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ 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'
s.add_development_dependency 'fuubar', '~> 2.0'
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'
Expand Down

0 comments on commit 6cf30cc

Please sign in to comment.