summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-03-31 17:39:13 -0700
committerwycats <wycats@gmail.com>2010-04-01 10:12:36 -0700
commitb57ef8ec97e71a37848465af10d5e22f890974fb (patch)
tree01f96fa77f1a626987cde345b0aded75b9a9eafc
parent569d0a22119bfbfaa16f1f4fbf7a0ac0034b830f (diff)
downloadbundler-b57ef8ec97e71a37848465af10d5e22f890974fb.tar.gz
Object#to_yaml_properties will be removed, just define to_yaml_properties
-rw-r--r--lib/bundler/rubygems_ext.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb
index e75adebed9..99bac60685 100644
--- a/lib/bundler/rubygems_ext.rb
+++ b/lib/bundler/rubygems_ext.rb
@@ -54,10 +54,8 @@ module Gem
class Dependency
attr_accessor :source, :groups
- alias :to_yaml_properties_before_crazy to_yaml_properties
-
def to_yaml_properties
- to_yaml_properties_before_crazy.reject { |p| ["@source", "@groups"].include?(p.to_s) }
+ instance_variables.reject { |p| ["@source", "@groups"].include?(p.to_s) }
end
end
end