Skip to content

Commit

Permalink
Merge pull request #250 from platanus/update-bundler
Browse files Browse the repository at this point in the history
Update bundler to 2.0
  • Loading branch information
rjherrera authored Jan 28, 2020
2 parents b68d6f1 + fe3ad75 commit f0578eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
11 changes: 1 addition & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,9 @@ jobs:
- checkout
- setup_remote_docker

- run: sudo chown -R circleci /usr/local/bundle
- restore_cache:
keys:
- potassium-bundle-{{ .Branch }}-
- potassium-bundle-master-
- potassium-bundle-
- run: gem install bundler:2.0.2
- run: bundle install --jobs=4 --retry=3
- run: gem install hound-cli
- save_cache:
key: potassium-bundle-{{ .Branch }}-{{ epoch }}
paths:
- /usr/local/bundle
- run:
command: bundle exec rspec --color --require spec_helper --format=doc --format progress $(circleci tests glob spec/**/*_spec.rb | circleci tests split)
environment:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Features:
- Update ActiveAdmin to 2.6 [#246](https://github.com/platanus/potassium/pull/246)
- Update bundler to 2.0 [#250](https://github.com/platanus/potassium/pull/250)

Fix:
- Correctly use cache for bundle dependencies in CircleCi build [#244](https://github.com/platanus/potassium/pull/244)
Expand Down
10 changes: 5 additions & 5 deletions potassium.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.7"
spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "pry", "~> 0.10.3"
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.4.0"
spec.add_development_dependency "pry", "~> 0.10.3"
spec.add_development_dependency "rubocop", Potassium::RUBOCOP_VERSION
spec.add_development_dependency "rubocop-rspec"
spec.add_runtime_dependency "rails", Potassium::RAILS_VERSION
spec.add_runtime_dependency "gems", "~> 0.8"
spec.add_runtime_dependency "gli", "~> 2.12.2"
spec.add_runtime_dependency "inquirer", "~> 0.2"
spec.add_runtime_dependency "gems", "~> 0.8"
spec.add_runtime_dependency "semantic", "~> 1.4"
spec.add_runtime_dependency "levenshtein", "~> 0.2"
spec.add_runtime_dependency "rails", Potassium::RAILS_VERSION
spec.add_runtime_dependency "semantic", "~> 1.4"
end

0 comments on commit f0578eb

Please sign in to comment.