loquacious 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 1.1.1 / 2009-04-05
2
+
3
+ * 1 bug fix
4
+ - You can no longer use object_id as a configuration value
5
+ (Ruby 1.9 is very cranky if object_id gets undefined)
6
+
1
7
  == 1.1.0 / 2009-04-05
2
8
 
3
9
  * 1 minor enhancement
data/lib/loquacious.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  module Loquacious
3
3
 
4
4
  # :stopdoc:
5
- VERSION = '1.1.0'
5
+ VERSION = '1.1.1'
6
6
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
7
7
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
8
8
  # :startdoc:
@@ -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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{loquacious}
5
- s.version = "1.1.0"
5
+ s.version = "1.1.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Tim Pease"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loquacious
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease