diff options
author | Andre Arko <andre@arko.net> | 2010-05-23 11:38:08 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2010-05-23 11:38:08 -0700 |
commit | c006de74891eeb4681a12227ae6647f0563c6e07 (patch) | |
tree | e51d86958773cb2f66a5847bd4931d191866bbf0 /lib/bundler | |
parent | 92fdff39fab49f71b5f62b3338bbb980d41c41f4 (diff) | |
download | bundler-c006de74891eeb4681a12227ae6647f0563c6e07.tar.gz |
Add lock/unlock deprecation notices
Diffstat (limited to 'lib/bundler')
-rw-r--r-- | lib/bundler/cli.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index a8a8c249..dedf2e62 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -142,12 +142,12 @@ module Bundler desc "lock", "Locks the bundle to the current set of dependencies, including all child dependencies." def lock - # NOOP, switch to output a deprecation message + Bundler.ui.warn "Lock is deprecated. Your bundle is now locked whenever you run `bundle install`." end desc "unlock", "Unlock the bundle. This allows gem versions to be changed." def unlock - # NOOP, switch to output a deprecation message + Bundler.ui.warn "Unlock is deprecated. To update to newer gem versions, use `bundle update`." end desc "show [GEM]", "Shows all gems that are part of the bundle, or the path to a given gem" |