method_info 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -102,6 +102,9 @@ module MethodInfo
102
102
 
103
103
  # Returns the class or module where method is defined
104
104
  def self.method_owner(object, method)
105
+ # Printing this warning is not spec'ed: it is only here temporarily until the 1.8.6
106
+ # workaround is implemented
107
+ STDERR.puts "Ruby >= 1.8.7 required" unless VERSION >= '1.8.7'
105
108
  object.method(method).owner
106
109
  end
107
110
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: method_info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom ten Thij