loquacious 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +6 -0
- data/lib/loquacious.rb +1 -1
- data/lib/loquacious/configuration.rb +2 -2
- data/loquacious.gemspec +1 -1
- metadata +1 -1
data/History.txt
CHANGED
data/lib/loquacious.rb
CHANGED
|
@@ -49,7 +49,7 @@ module Loquacious
|
|
|
49
49
|
alias :help :help_for
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
exceptions = %w[instance_of? kind_of? equal?]
|
|
52
|
+
exceptions = %w[instance_of? kind_of? equal? object_id]
|
|
53
53
|
instance_methods.each do |m|
|
|
54
54
|
undef_method m unless m[%r/^__/] or exceptions.include? m.to_s
|
|
55
55
|
end
|
|
@@ -161,7 +161,7 @@ module Loquacious
|
|
|
161
161
|
alias :__instance_eval :instance_eval
|
|
162
162
|
|
|
163
163
|
instance_methods.each do |m|
|
|
164
|
-
undef_method m unless m[%r/^__/]
|
|
164
|
+
undef_method m unless m[%r/^__/] or m.to_s == 'object_id'
|
|
165
165
|
end
|
|
166
166
|
|
|
167
167
|
# Create a new DSL and evaluate the given _block_ in the context of
|
data/loquacious.gemspec
CHANGED