methodfinder 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -0
- data/lib/methodfinder.rb +7 -0
- metadata +18 -27
data/README.markdown
CHANGED
data/lib/methodfinder.rb
CHANGED
@@ -22,7 +22,14 @@ class MethodFinder
|
|
22
22
|
# Blacklisting methods, e.g. { :Object => [:ri, :vim] }
|
23
23
|
INSTANCE_METHOD_BLACKLIST = Hash.new { |h, k| h[k] = [] }
|
24
24
|
CLASS_METHOD_BLACKLIST = Hash.new { |h, k| h[k] = [] }
|
25
|
+
|
25
26
|
INSTANCE_METHOD_BLACKLIST[:Object] << :find_method # prevent stack overflow
|
27
|
+
INSTANCE_METHOD_BLACKLIST[:Object] << :gem # funny testing stuff w/ Bundler
|
28
|
+
|
29
|
+
if defined? Pry
|
30
|
+
INSTANCE_METHOD_BLACKLIST[:Object] << :pry
|
31
|
+
CLASS_METHOD_BLACKLIST[:Object] << :pry
|
32
|
+
end
|
26
33
|
|
27
34
|
class << self
|
28
35
|
def find(obj, res, *args, &block)
|
metadata
CHANGED
@@ -1,56 +1,47 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: methodfinder
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.4
|
4
5
|
prerelease:
|
5
|
-
version: 1.2.3
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Michael Kohl
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-04-24 00:00:00 Z
|
12
|
+
date: 2011-10-25 00:00:00.000000000Z
|
14
13
|
dependencies: []
|
15
|
-
|
16
14
|
description:
|
17
15
|
email: citizen428@gmail.com
|
18
16
|
executables: []
|
19
|
-
|
20
17
|
extensions: []
|
21
|
-
|
22
18
|
extra_rdoc_files: []
|
23
|
-
|
24
|
-
files:
|
19
|
+
files:
|
25
20
|
- lib/methodfinder.rb
|
26
21
|
- ./LICENSE
|
27
22
|
- ./README.markdown
|
28
23
|
homepage: https://github.com/citizen428/MethodFinder
|
29
24
|
licenses: []
|
30
|
-
|
31
25
|
post_install_message:
|
32
26
|
rdoc_options: []
|
33
|
-
|
34
|
-
require_paths:
|
27
|
+
require_paths:
|
35
28
|
- lib
|
36
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
37
30
|
none: false
|
38
|
-
requirements:
|
39
|
-
- -
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version:
|
42
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ! '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
36
|
none: false
|
44
|
-
requirements:
|
45
|
-
- -
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version:
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
48
41
|
requirements: []
|
49
|
-
|
50
42
|
rubyforge_project:
|
51
|
-
rubygems_version: 1.
|
43
|
+
rubygems_version: 1.8.10
|
52
44
|
signing_key:
|
53
45
|
specification_version: 3
|
54
46
|
summary: A Smalltalk-like Method Finder for Ruby
|
55
47
|
test_files: []
|
56
|
-
|