diff options
author | wycats <wycats@gmail.com> | 2010-07-15 20:58:03 -0500 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-07-15 22:43:45 -0500 |
commit | 7078db948751cdc4626bd65509f65bdc371656ba (patch) | |
tree | 5b46a66b73a2cbadf1ae2ef24eee483ce32dfdb0 /lib/bundler/rubygems_ext.rb | |
parent | a0082b979c0c60b0ba49fce99c173d80794c3d50 (diff) | |
download | bundler-7078db948751cdc4626bd65509f65bdc371656ba.tar.gz |
Actually test #gemspec and deprecate #add_bundler_dependencies
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 2eb81b3778..8429d439a3 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -111,6 +111,11 @@ module Gem end def add_bundler_dependencies(*groups) + Bundler.ui.warn "#add_bundler_dependencies is deprecated and will " \ + "be removed in Bundler 1.0. Instead, please use the #gemspec method " \ + "in your Gemfile, which will pull in any dependencies specified in " \ + "your gemspec" + groups = [:default] if groups.empty? Bundler.definition.dependencies.each do |dep| if dep.groups.include?(:development) |