diff options
author | Bundlerbot <bot@bundler.io> | 2019-10-30 03:13:00 +0000 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-07 16:41:41 +0100 |
commit | 49dbb01823b8863b6b853fd48a7f030e34207d57 (patch) | |
tree | edd90efe4a26dfb17b481dc0c7765d479c1409bb /spec/other | |
parent | fd4b3cfca2cdbe7e059ca157dfd4233d9175dd20 (diff) | |
download | bundler-49dbb01823b8863b6b853fd48a7f030e34207d57.tar.gz |
Merge #7389
7389: Wrap up `bundle cache` migration to current `bundle package` r=indirect a=deivid-rodriguez
### What was the end-user problem that led to this PR?
The problem was that after https://github.com/bundler/bundler/pull/7249, we added the current `bundle package` functionality to the current `bundle cache` command, so that these commands are now aliases of each other.
The initial plan was to do this in a more careful manner but we concluded that this was only _adding_ functionality to `bundle cache`, so not backwards incompatible.
We still need to wrap up the original plan, where `bundle cache` is the preferred command.
### What is your fix for the problem, implemented in this PR?
My fix is to migrate docs, tests and help text to use `bundle cache`, and to remove duplicated specs for `bundle cache` and `bundle package`, since they are testing the exact same code.
Co-authored-by: David RodrÃguez <deivid.rodriguez@riseup.net>
(cherry picked from commit 5ba1360de631e2fabf2bfa998b104c4355c58b13)
Diffstat (limited to 'spec/other')
-rw-r--r-- | spec/other/platform_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/other/platform_spec.rb b/spec/other/platform_spec.rb index b61a3f1b03..4feec14d76 100644 --- a/spec/other/platform_spec.rb +++ b/spec/other/platform_spec.rb @@ -781,7 +781,7 @@ G #{ruby_version_correct} G - bundle :pack + bundle :cache expect(bundled_app("vendor/cache/rack-1.0.0.gem")).to exist end @@ -794,7 +794,7 @@ G #{ruby_version_correct_engineless} G - bundle :pack + bundle :cache expect(bundled_app("vendor/cache/rack-1.0.0.gem")).to exist end end @@ -806,7 +806,7 @@ G #{ruby_version_incorrect} G - bundle :pack + bundle :cache should_be_ruby_version_incorrect end @@ -817,7 +817,7 @@ G #{engine_incorrect} G - bundle :pack + bundle :cache should_be_engine_incorrect end @@ -829,7 +829,7 @@ G #{engine_version_incorrect} G - bundle :pack + bundle :cache should_be_engine_version_incorrect end end @@ -842,7 +842,7 @@ G #{patchlevel_incorrect} G - bundle :pack + bundle :cache should_be_patchlevel_incorrect end end |