diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-04-20 17:27:00 -0700 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-04-20 17:27:00 -0700 |
commit | 4bfff00e3bfc24c92c2a4e24ed08ad4e40942db2 (patch) | |
tree | 6af8cca0c46bce5697b95b46c78940c56092d1ae /lib/bundler/rubygems_ext.rb | |
parent | e00a48b5fc049488822657924aa8314a77a7dd6f (diff) | |
download | bundler-4bfff00e3bfc24c92c2a4e24ed08ad4e40942db2.tar.gz |
Be smart about handling changed Gemfiles
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 6d1d348a..b0a4625a 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -75,6 +75,8 @@ module Gem class Dependency attr_accessor :source, :groups + alias eql? == + def to_yaml_properties instance_variables.reject { |p| ["@source", "@groups"].include?(p.to_s) } end |