methodfinder 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +87 -0
- data/{LICENSE → LICENSE.txt} +0 -1
- data/README.md +103 -70
- data/lib/methodfinder.rb +22 -16
- data/lib/methodfinder/version.rb +1 -1
- metadata +83 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6956d01fde38cb630cad9346d877e060fff4920c7163016ff8b97cf20020ef27
|
4
|
+
data.tar.gz: 695b0fd1fa89f26ab09dc6f30bda1b650d2ce6d0e9617c0ac5a8207f402ec575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24d990971ab3dbdfbc3a7568b7145637dc8b222897200ee01d03364528248edcb1d7acd57db8b4afaab2949cb4b7dfa31ef3dfd5778ac1f6d4360afc9b2f0619
|
7
|
+
data.tar.gz: 894bdbb10df681feae1dbd03892d436ce2faec0009414fa50cafab92dba1079dfb52e722bb9a763b21af6971cca007081b9bcff6c111718e349d7c97e92dd07a
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,87 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [Unreleased](https://github.com/citizen428/methodfinder/tree/HEAD)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v2.2.1...HEAD)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Add a changelog [\#19](https://github.com/citizen428/methodfinder/pull/19) ([chocolateboy](https://github.com/chocolateboy))
|
10
|
+
- Cast the METHOD\_FINDER\_DEBUG environment variable to a boolean [\#17](https://github.com/citizen428/methodfinder/pull/17) ([chocolateboy](https://github.com/chocolateboy))
|
11
|
+
- Switch to Bundler gem structure [\#16](https://github.com/citizen428/methodfinder/pull/16) ([citizen428](https://github.com/citizen428))
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Documentation tweaks [\#22](https://github.com/citizen428/methodfinder/pull/22) ([chocolateboy](https://github.com/chocolateboy))
|
16
|
+
- Bump activesupport from 5.2.0 to 6.0.3.1 [\#21](https://github.com/citizen428/methodfinder/pull/21) ([dependabot[bot]](https://github.com/apps/dependabot))
|
17
|
+
- Update rake requirement from ~\> 10.0 to ~\> 13.0 [\#20](https://github.com/citizen428/methodfinder/pull/20) ([dependabot[bot]](https://github.com/apps/dependabot))
|
18
|
+
|
19
|
+
## [v2.2.1](https://github.com/citizen428/methodfinder/tree/v2.2.1) (2018-05-02)
|
20
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v2.2.0...v2.2.1)
|
21
|
+
|
22
|
+
## [v2.2.0](https://github.com/citizen428/methodfinder/tree/v2.2.0) (2018-05-02)
|
23
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v2.1.0...v2.2.0)
|
24
|
+
|
25
|
+
**Implemented enhancements:**
|
26
|
+
|
27
|
+
- README.md tweaks [\#14](https://github.com/citizen428/methodfinder/pull/14) ([chocolateboy](https://github.com/chocolateboy))
|
28
|
+
|
29
|
+
**Fixed bugs:**
|
30
|
+
|
31
|
+
- It's not possible to pass a hash as the last argument [\#10](https://github.com/citizen428/methodfinder/issues/10)
|
32
|
+
- Fix failing Travis builds [\#15](https://github.com/citizen428/methodfinder/pull/15) ([chocolateboy](https://github.com/chocolateboy))
|
33
|
+
- Propagate keywords \(i.e. :debug\) from find\_method to find [\#11](https://github.com/citizen428/methodfinder/pull/11) ([chocolateboy](https://github.com/chocolateboy))
|
34
|
+
|
35
|
+
## [v2.1.0](https://github.com/citizen428/methodfinder/tree/v2.1.0) (2017-02-05)
|
36
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v2.0.0...v2.1.0)
|
37
|
+
|
38
|
+
**Implemented enhancements:**
|
39
|
+
|
40
|
+
- Allow tested method names to be dumped to STDERR via an environment variable [\#9](https://github.com/citizen428/methodfinder/pull/9) ([chocolateboy](https://github.com/chocolateboy))
|
41
|
+
- Compatibility updates, fixes and workarounds [\#8](https://github.com/citizen428/methodfinder/pull/8) ([chocolateboy](https://github.com/chocolateboy))
|
42
|
+
|
43
|
+
## [v2.0.0](https://github.com/citizen428/methodfinder/tree/v2.0.0) (2013-10-30)
|
44
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.2.5...v2.0.0)
|
45
|
+
|
46
|
+
## [v1.2.5](https://github.com/citizen428/methodfinder/tree/v1.2.5) (2011-12-18)
|
47
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.2.4...v1.2.5)
|
48
|
+
|
49
|
+
## [v1.2.4](https://github.com/citizen428/methodfinder/tree/v1.2.4) (2011-10-26)
|
50
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.2.2...v1.2.4)
|
51
|
+
|
52
|
+
**Implemented enhancements:**
|
53
|
+
|
54
|
+
- Make methodfinder play nice with Pry [\#7](https://github.com/citizen428/methodfinder/pull/7) ([skanev](https://github.com/skanev))
|
55
|
+
- Instance syntax and fix tests [\#6](https://github.com/citizen428/methodfinder/pull/6) ([BMorearty](https://github.com/BMorearty))
|
56
|
+
|
57
|
+
## [v1.2.2](https://github.com/citizen428/methodfinder/tree/v1.2.2) (2011-04-23)
|
58
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.2.1...v1.2.2)
|
59
|
+
|
60
|
+
## [v1.2.1](https://github.com/citizen428/methodfinder/tree/v1.2.1) (2011-04-16)
|
61
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.2.0...v1.2.1)
|
62
|
+
|
63
|
+
**Implemented enhancements:**
|
64
|
+
|
65
|
+
- Add a method blacklist [\#4](https://github.com/citizen428/methodfinder/pull/4) ([janlelis](https://github.com/janlelis))
|
66
|
+
|
67
|
+
## [v1.2.0](https://github.com/citizen428/methodfinder/tree/v1.2.0) (2011-04-08)
|
68
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.1.1...v1.2.0)
|
69
|
+
|
70
|
+
## [v1.1.1](https://github.com/citizen428/methodfinder/tree/v1.1.1) (2011-04-05)
|
71
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.1.0...v1.1.1)
|
72
|
+
|
73
|
+
**Implemented enhancements:**
|
74
|
+
|
75
|
+
- Alternative block interface [\#3](https://github.com/citizen428/methodfinder/issues/3)
|
76
|
+
|
77
|
+
## [v1.1.0](https://github.com/citizen428/methodfinder/tree/v1.1.0) (2011-03-31)
|
78
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.0.1...v1.1.0)
|
79
|
+
|
80
|
+
**Closed issues:**
|
81
|
+
|
82
|
+
- Small typo in the readme [\#2](https://github.com/citizen428/methodfinder/issues/2)
|
83
|
+
|
84
|
+
## [v1.0.1](https://github.com/citizen428/methodfinder/tree/v1.0.1) (2011-03-11)
|
85
|
+
[Full Changelog](https://github.com/citizen428/methodfinder/compare/v1.0.0...v1.0.1)
|
86
|
+
|
87
|
+
## [v1.0.0](https://github.com/citizen428/methodfinder/tree/v1.0.0) (2011-02-10)
|
data/{LICENSE → LICENSE.txt}
RENAMED
data/README.md
CHANGED
@@ -1,35 +1,76 @@
|
|
1
1
|
# MethodFinder
|
2
2
|
|
3
|
-
|
3
|
+
![Build](https://github.com/citizen428/methodfinder/workflows/Build/badge.svg)
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/methodfinder.svg)](https://rubygems.org/gems/methodfinder)
|
5
5
|
|
6
|
-
<!--
|
7
|
-
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
6
|
+
<!-- toc -->
|
8
7
|
|
9
|
-
- [
|
10
|
-
- [
|
8
|
+
- [NAME](#name)
|
9
|
+
- [INSTALLATION](#installation)
|
10
|
+
- [SYNOPSIS](#synopsis)
|
11
|
+
- [DESCRIPTION](#description)
|
12
|
+
- [Warning](#warning)
|
13
|
+
- [API](#api)
|
11
14
|
- [MethodFinder.find](#methodfinderfind)
|
12
15
|
- [Object#find_method](#objectfind_method)
|
13
|
-
- [
|
16
|
+
- [Ignorelists](#ignorelists)
|
14
17
|
- [MethodFinder.find_classes_and_modules](#methodfinderfind_classes_and_modules)
|
15
18
|
- [MethodFinder.find_in_class_or_module](#methodfinderfind_in_class_or_module)
|
16
|
-
- [
|
17
|
-
- [
|
18
|
-
- [
|
19
|
-
- [
|
19
|
+
- [TROUBLESHOOTING](#troubleshooting)
|
20
|
+
- [DEVELOPMENT](#development)
|
21
|
+
- [CONTRIBUTING](#contributing)
|
22
|
+
- [SEE ALSO](#see-also)
|
23
|
+
- [Gems](#gems)
|
24
|
+
- [Misc](#misc)
|
25
|
+
- [VERSION](#version)
|
26
|
+
- [AUTHOR](#author)
|
27
|
+
- [LICENSE](#license)
|
20
28
|
|
21
|
-
<!--
|
29
|
+
<!-- tocstop -->
|
22
30
|
|
23
|
-
|
24
|
-
additional features were added over time.
|
31
|
+
## NAME
|
25
32
|
|
26
|
-
|
33
|
+
MethodFinder - a Smalltalk-like Method Finder for Ruby
|
27
34
|
|
28
|
-
|
29
|
-
up to 1.2.5 will also work with Ruby 1.8.7. Note: CI only runs newer versions
|
30
|
-
of Ruby.
|
35
|
+
## INSTALLATION
|
31
36
|
|
32
|
-
|
37
|
+
$ gem install methodfinder
|
38
|
+
|
39
|
+
## SYNOPSIS
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
Welcome to IRB. # or Pry
|
43
|
+
|
44
|
+
>> 'Hello, world!'.find_method('HELLO, WORLD!')
|
45
|
+
#=> ["String#upcase", "String#upcase!"]
|
46
|
+
|
47
|
+
>> %w[a b c].find_method('c')
|
48
|
+
#=> ["Array#last", "Array#max", "Array#pop"]
|
49
|
+
|
50
|
+
>> %w[a b c].find_method { |it| it.unknown(2); it == %w[c] }
|
51
|
+
#=> ["Array#shift"]
|
52
|
+
```
|
53
|
+
|
54
|
+
## DESCRIPTION
|
55
|
+
|
56
|
+
A Smalltalk-like Method Finder for Ruby for use in your `~/.irbrc` or
|
57
|
+
`~/.pryrc`.
|
58
|
+
|
59
|
+
This project was originally inspired by Smalltalk's Method
|
60
|
+
Finder, but additional features have been added over time.
|
61
|
+
|
62
|
+
### Warning
|
63
|
+
|
64
|
+
Common sense not included!
|
65
|
+
|
66
|
+
While this gem should generally be safe to use, it's still better to be safe
|
67
|
+
than sorry, so use this with caution and maybe not on production data.
|
68
|
+
|
69
|
+
This was initially written for the students of the core Ruby course on
|
70
|
+
[RubyLearning](http://web.archive.org/web/20151218180403/http://rubylearning.org/classes/),
|
71
|
+
so it's generally not tested in a Rails console, just plain IRB/Pry.
|
72
|
+
|
73
|
+
## API
|
33
74
|
|
34
75
|
### MethodFinder.find
|
35
76
|
|
@@ -72,19 +113,18 @@ calling `MethodFinder.find`.
|
|
72
113
|
#=> ["Fixnum#%", "Fixnum#<=>", "Fixnum#>>", "Fixnum#[]", "Integer#gcd", "Fixnum#modulo", "Numeric#remainder"]
|
73
114
|
```
|
74
115
|
|
75
|
-
####
|
116
|
+
#### Ignorelists
|
76
117
|
|
77
118
|
You can exclude methods from being tried by editing the hashes
|
78
|
-
`MethodFinder::
|
79
|
-
`MethodFinder::
|
119
|
+
`MethodFinder::INSTANCE_METHOD_IGNORELIST` and
|
120
|
+
`MethodFinder::CLASS_METHOD_IGNORELIST`. Both use the class/module as key and
|
80
121
|
an array of method names as values (note that class, module and method names
|
81
122
|
have to be symbols).
|
82
123
|
|
83
|
-
For example, to
|
84
|
-
would do
|
124
|
+
For example, to ignore the instance method `shutdown` of `Object`, you would do
|
85
125
|
|
86
126
|
```ruby
|
87
|
-
MethodFinder::
|
127
|
+
MethodFinder::INSTANCE_METHOD_IGNORELIST[:Object] << :shutdown
|
88
128
|
```
|
89
129
|
|
90
130
|
This might come in handy when using `MethodFinder` together with other gems as
|
@@ -120,11 +160,11 @@ MethodFinder.find_in_class_or_module(Math)
|
|
120
160
|
#=> [:acos, :acosh, :asin ... :tanh]
|
121
161
|
```
|
122
162
|
|
123
|
-
##
|
163
|
+
## TROUBLESHOOTING
|
124
164
|
|
125
165
|
If the `METHOD_FINDER_DEBUG` environment variable is set, the name of each
|
126
166
|
candidate method is printed to `STDERR` before it is invoked. This can be useful
|
127
|
-
to identify (and
|
167
|
+
to identify (and consequently ignore) misbehaving methods.
|
128
168
|
|
129
169
|
It can be set on the command line e.g.:
|
130
170
|
|
@@ -138,49 +178,42 @@ Or you can toggle it inside IRB/Pry:
|
|
138
178
|
>> MethodFinder.toggle_debug!
|
139
179
|
```
|
140
180
|
|
141
|
-
##
|
181
|
+
## DEVELOPMENT
|
142
182
|
|
143
|
-
|
183
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run
|
184
|
+
`rake test` to run the tests. You can also run `bin/console` for an interactive
|
185
|
+
prompt that will allow you to experiment.
|
186
|
+
|
187
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To
|
188
|
+
release a new version, update the version number in `version.rb`, and then run
|
189
|
+
`bundle exec rake release`, which will create a git tag for the version, push
|
190
|
+
git commits and tags, and push the `.gem` file to
|
191
|
+
[rubygems.org](https://rubygems.org).
|
192
|
+
|
193
|
+
## CONTRIBUTING
|
194
|
+
|
195
|
+
Bug reports and pull requests are welcome on GitHub at
|
196
|
+
https://github.com/citizen428/methodfinder.
|
197
|
+
|
198
|
+
## SEE ALSO
|
199
|
+
|
200
|
+
### Gems
|
201
|
+
|
202
|
+
- [irbtools](https://github.com/janlelis/irbtools) - improvements for Ruby's IRB console (includes methodfinder)
|
203
|
+
|
204
|
+
### Misc
|
205
|
+
|
206
|
+
- [Other Implementations](https://github.com/citizen428/methodfinder/wiki/Other-Implementations) - a list of related projects in Ruby and other languages
|
207
|
+
|
208
|
+
## VERSION
|
209
|
+
|
210
|
+
2.2.1
|
211
|
+
|
212
|
+
## AUTHOR
|
213
|
+
|
214
|
+
- [Michael Kohl](https://github.com/citizen428)
|
215
|
+
|
216
|
+
## LICENSE
|
144
217
|
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
I initially wrote this for the students of the core Ruby course on
|
149
|
-
[RubyLearning](http://rubylearning.org), so Rails is not of interest to me (not
|
150
|
-
saying it doesn't work there, just that I test in plain IRB/Pry and not with
|
151
|
-
the Rails console.
|
152
|
-
|
153
|
-
## Thanks
|
154
|
-
|
155
|
-
* [Matthew Lucas](https://github.com/lucas-matt) for [first packaging this as a gem](https://github.com/citizen428/methodfinder/pull/1).
|
156
|
-
* [Ryan Bates](https://github.com/ryanb) for [suggesting](https://github.com/citizen428/methodfinder/issues/closed#issue/3)
|
157
|
-
what eventually became `Object#find_method`.
|
158
|
-
* [Jan Lelis](https://github.com/janlelis) for [implementing blacklists](https://github.com/citizen428/methodfinder/issues/closed#issue/4).
|
159
|
-
* [Brian Morearty](https://github.com/BMorearty) for pointing out an [incompatibility with Ruby 1.8.7](https://github.com/citizen428/methodfinder/pull/5)
|
160
|
-
and adding the [blockless version](https://github.com/citizen428/methodfinder/pull/6)
|
161
|
-
of `Object#find_method`.
|
162
|
-
* [Stefan Kanev](https://github.com/skanev) for [adding Pry support](https://github.com/citizen428/methodfinder/pull/7).
|
163
|
-
* [chocolateboy](https://github.com/chocolateboy) for [compatibility fixes and updates](https://github.com/citizen428/methodfinder/pull/8),
|
164
|
-
[the initial debug implementation](https://github.com/citizen428/methodfinder/pull/9), and [many smaller fixes](https://github.com/citizen428/methodfinder/pulls?utf8=✓&q=is%3Apr+author%3Achocolateboy).
|
165
|
-
|
166
|
-
## License
|
167
|
-
|
168
|
-
Copyright (c) 2011-2018 Michael Kohl
|
169
|
-
|
170
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
171
|
-
of this software and associated documentation files (the "Software"), to deal
|
172
|
-
in the Software without restriction, including without limitation the rights
|
173
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
174
|
-
copies of the Software, and to permit persons to whom the Software is
|
175
|
-
furnished to do so, subject to the following conditions:
|
176
|
-
|
177
|
-
The above copyright notice and this permission notice shall be included in all
|
178
|
-
copies or substantial portions of the Software.
|
179
|
-
|
180
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
181
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
182
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
183
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
184
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
185
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
186
|
-
SOFTWARE.
|
218
|
+
The gem is available as open source under the terms of the [MIT
|
219
|
+
License](https://opensource.org/licenses/MIT).
|
data/lib/methodfinder.rb
CHANGED
@@ -35,25 +35,31 @@ module MethodFinder
|
|
35
35
|
cycle: [1] # prevent cycling forever
|
36
36
|
}.freeze
|
37
37
|
|
38
|
-
#
|
39
|
-
|
40
|
-
#
|
41
|
-
|
38
|
+
# Ignoring methods, e.g. { :Object => [:ri, :vim] }
|
39
|
+
INSTANCE_METHOD_IGNORELIST = Hash.new { |h, k| h[k] = [] }
|
40
|
+
# Ignoring class methods
|
41
|
+
CLASS_METHOD_IGNORELIST = Hash.new { |h, k| h[k] = [] }
|
42
42
|
|
43
|
-
|
44
|
-
|
43
|
+
INSTANCE_METHOD_IGNORELIST[:Object] << :find_method # prevent stack overflow
|
44
|
+
INSTANCE_METHOD_IGNORELIST[:Object] << :gem # funny testing stuff w/ Bundler
|
45
45
|
|
46
46
|
if defined?(Pry)
|
47
|
-
|
48
|
-
|
47
|
+
INSTANCE_METHOD_IGNORELIST[:Object] << :pry
|
48
|
+
CLASS_METHOD_IGNORELIST[:Object] << :pry
|
49
49
|
end
|
50
50
|
|
51
|
-
|
51
|
+
# true if METHOD_FINDER_DEBUG is truthy, false otherwise e.g.:
|
52
|
+
#
|
53
|
+
# $ METHOD_FINDER_DEBUG=1 irb # true
|
54
|
+
# $ METHOD_FINDER_DEBUG=0 irb # false
|
55
|
+
# $ METHOD_FINDER_DEBUG=false irb # false
|
56
|
+
# $ METHOD_FINDER_DEBUG= irb # false
|
57
|
+
@debug = !ENV.fetch('METHOD_FINDER_DEBUG', '').match(/\A(0|false)?\z/i)
|
52
58
|
|
53
|
-
#
|
59
|
+
# Checks whether or not debugging is currently enabled
|
54
60
|
# :doc:
|
55
61
|
def self.debug?
|
56
|
-
|
62
|
+
@debug
|
57
63
|
end
|
58
64
|
|
59
65
|
# Toggles the debug mode
|
@@ -120,10 +126,10 @@ module MethodFinder
|
|
120
126
|
# Returns a list of candidate methods for a given object. Added by Jan Lelis.
|
121
127
|
def self.methods_to_try(obj)
|
122
128
|
ret = obj.methods
|
123
|
-
|
129
|
+
ignorelist = select_ignorelist(obj)
|
124
130
|
klass = obj.is_a?(Module) ? obj : obj.class
|
125
131
|
|
126
|
-
klass.ancestors.each { |ancestor| ret -=
|
132
|
+
klass.ancestors.each { |ancestor| ret -= ignorelist[ancestor.to_s.intern] }
|
127
133
|
ret.sort
|
128
134
|
end
|
129
135
|
private_class_method :methods_to_try
|
@@ -160,8 +166,8 @@ module MethodFinder
|
|
160
166
|
end
|
161
167
|
private_class_method :with_redirected_streams
|
162
168
|
|
163
|
-
def self.
|
164
|
-
object.is_a?(Module) ?
|
169
|
+
def self.select_ignorelist(object)
|
170
|
+
object.is_a?(Module) ? CLASS_METHOD_IGNORELIST : INSTANCE_METHOD_IGNORELIST
|
165
171
|
end
|
166
|
-
private_class_method :
|
172
|
+
private_class_method :select_ignorelist
|
167
173
|
end
|
data/lib/methodfinder/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,104 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: methodfinder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kohl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
11
|
+
date: 2021-05-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 2.1.0
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 2.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: github_changelog_generator
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.14'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.14'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '13.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '13.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rdoc
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '6.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '6.0'
|
13
83
|
description: A Smalltalk-like Method Finder for Ruby with some extra features
|
14
|
-
email:
|
84
|
+
email:
|
85
|
+
- citizen428@gmail.com
|
15
86
|
executables: []
|
16
87
|
extensions: []
|
17
88
|
extra_rdoc_files: []
|
18
89
|
files:
|
19
|
-
-
|
20
|
-
-
|
90
|
+
- CHANGELOG.md
|
91
|
+
- LICENSE.txt
|
92
|
+
- README.md
|
21
93
|
- lib/methodfinder.rb
|
22
94
|
- lib/methodfinder/version.rb
|
23
95
|
homepage: http://citizen428.github.com/methodfinder/
|
24
96
|
licenses:
|
25
97
|
- MIT
|
26
|
-
metadata:
|
98
|
+
metadata:
|
99
|
+
bug_tracker_uri: https://github.com/citizen428/methodfinder/issues
|
100
|
+
source_code_uri: https://github.com/citizen428/methodfinder
|
101
|
+
changelog_uri: https://github.com/citizen428/methodfinder/blob/master/CHANGELOG.md
|
27
102
|
post_install_message:
|
28
103
|
rdoc_options: []
|
29
104
|
require_paths:
|
@@ -39,8 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
114
|
- !ruby/object:Gem::Version
|
40
115
|
version: '0'
|
41
116
|
requirements: []
|
42
|
-
|
43
|
-
rubygems_version: 2.7.6
|
117
|
+
rubygems_version: 3.1.4
|
44
118
|
signing_key:
|
45
119
|
specification_version: 4
|
46
120
|
summary: A Smalltalk-like Method Finder for Ruby
|