irbtools 0.8.7 → 0.8.8
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/CHANGELOG +5 -0
- data/README.rdoc +6 -2
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/irbtools.gemspec +2 -2
- data/lib/irbtools/libraries.rb +8 -4
- metadata +8 -10
data/CHANGELOG
CHANGED
data/README.rdoc
CHANGED
@@ -57,7 +57,6 @@ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented s
|
|
57
57
|
* wirb[https://github.com/janlelis/wirb/] colorize output
|
58
58
|
* hirb[http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html] (active record) tables and custom views for specific objects
|
59
59
|
* fancy_irb[https://github.com/janlelis/fancy_irb] put result as comment and more colorization
|
60
|
-
* *fileutils* (stdlib) cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
|
61
60
|
* clipboard[http://github.com/janlelis/clipboard] easy clipboard access (copy & paste)
|
62
61
|
* interactive_editor[https://github.com/jberkel/interactive_editor] lets you open vim, hack something, and it gets loaded into the current session, also possible: yaml object editing
|
63
62
|
* sketches[http://sketches.rubyforge.org/] another, more flexible "start editor and it gets loaded into your irb session" plugin
|
@@ -65,7 +64,12 @@ See http://rbjl.net/40-irbtools-release-the-power-of-irb or read the commented s
|
|
65
64
|
* ap[https://github.com/michaeldv/awesome_print] nice debug printing (ap) [also see wp from wirb/wp]
|
66
65
|
* coderay[http://coderay.rubychan.de/] some colorful code displaying ;)
|
67
66
|
* boson[http://tagaholic.me/boson/] commands repository (commands also work in the shell!)
|
68
|
-
*
|
67
|
+
* methodfinder[https://github.com/citizen428/methodfinder] interesting method finder (mf)
|
68
|
+
* *fileutils* (stdlib) cd, pwd, ln_s, mv, rm, mkdir, touch ... ;)
|
69
|
+
|
70
|
+
=== Not included anymore
|
71
|
+
|
72
|
+
* guessmethod[http://guessmethod.rubyforge.org/] automatically corrects typos (method_missing hook)
|
69
73
|
|
70
74
|
=== Helper methods
|
71
75
|
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.8
|
data/irbtools.gemspec
CHANGED
@@ -21,11 +21,11 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.add_dependency %q<awesome_print>, "~> 0.3.2"
|
22
22
|
s.add_dependency %q<clipboard>, ">= 0.9.7"
|
23
23
|
s.add_dependency %q<coderay>, "~> 0.9"
|
24
|
-
s.add_dependency %q<boson>, "
|
24
|
+
s.add_dependency %q<boson>, ">= 0.3.3"
|
25
25
|
s.add_dependency %q<wirb>, ">= 0.2.4"
|
26
26
|
s.add_dependency %q<interactive_editor>, ">= 0.0.8"
|
27
27
|
s.add_dependency %q<ori>, "~> 0.1.0"
|
28
28
|
s.add_dependency %q<sketches>, ">= 0"
|
29
29
|
s.add_dependency %q<g>, ">= 0"
|
30
|
-
s.add_dependency %q<
|
30
|
+
s.add_dependency %q<methodfinder>, ">= 1.2.1"
|
31
31
|
end
|
data/lib/irbtools/libraries.rb
CHANGED
@@ -114,6 +114,14 @@ Irbtools.add_library :ori do
|
|
114
114
|
end
|
115
115
|
end
|
116
116
|
|
117
|
+
Irbtools.add_library :methodfinder do
|
118
|
+
MethodFinder::INSTANCE_METHOD_BLACKLIST[:Object] += [:ri, :vi, :vim, :emacs, :nano, :mate, :mvim, :ed, :sketch]
|
119
|
+
|
120
|
+
def mf(*args, &block)
|
121
|
+
args.empty? ? MethodFinder : MethodFinder.find(*args, &block)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
117
125
|
|
118
126
|
# remove failing/not needed libs
|
119
127
|
if OS.windows?
|
@@ -124,10 +132,6 @@ unless OS.mac?
|
|
124
132
|
Irbtools.libraries -= %w[g]
|
125
133
|
end
|
126
134
|
|
127
|
-
#if RubyVersion.is? 1.9
|
128
|
-
# Irbtools.libraries_in_proc -= %w[guessmethod]
|
129
|
-
#end
|
130
|
-
|
131
135
|
if defined? Ripl
|
132
136
|
Irbtools.libraries -= %w[wirb fancy_irb] # install ripl-color_result for ripl colorization ;)
|
133
137
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: irbtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.8.
|
5
|
+
version: 0.8.8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jan Lelis
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-28 00:00:00
|
14
|
-
default_executable:
|
13
|
+
date: 2011-03-28 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: fancy_irb
|
@@ -85,9 +84,9 @@ dependencies:
|
|
85
84
|
requirement: &id007 !ruby/object:Gem::Requirement
|
86
85
|
none: false
|
87
86
|
requirements:
|
88
|
-
- -
|
87
|
+
- - ">="
|
89
88
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
89
|
+
version: 0.3.3
|
91
90
|
type: :runtime
|
92
91
|
version_requirements: *id007
|
93
92
|
- !ruby/object:Gem::Dependency
|
@@ -146,14 +145,14 @@ dependencies:
|
|
146
145
|
type: :runtime
|
147
146
|
version_requirements: *id012
|
148
147
|
- !ruby/object:Gem::Dependency
|
149
|
-
name:
|
148
|
+
name: methodfinder
|
150
149
|
prerelease: false
|
151
150
|
requirement: &id013 !ruby/object:Gem::Requirement
|
152
151
|
none: false
|
153
152
|
requirements:
|
154
153
|
- - ">="
|
155
154
|
- !ruby/object:Gem::Version
|
156
|
-
version:
|
155
|
+
version: 1.2.1
|
157
156
|
type: :runtime
|
158
157
|
version_requirements: *id013
|
159
158
|
description: irbtools is a meta gem which installs some useful irb gems and configures your irb. Simply put a require 'irbtools' in the .irbrc file in your home directory.
|
@@ -168,8 +167,8 @@ extra_rdoc_files:
|
|
168
167
|
files:
|
169
168
|
- lib/irbtools.rb
|
170
169
|
- lib/irbtools/libraries.rb
|
171
|
-
- lib/irbtools/configure.rb
|
172
170
|
- lib/irbtools/general.rb
|
171
|
+
- lib/irbtools/configure.rb
|
173
172
|
- lib/irbtools/rvm.rb
|
174
173
|
- VERSION
|
175
174
|
- CHANGELOG
|
@@ -177,7 +176,6 @@ files:
|
|
177
176
|
- irbtools.gemspec
|
178
177
|
- LICENSE
|
179
178
|
- README.rdoc
|
180
|
-
has_rdoc: true
|
181
179
|
homepage: http://github.com/janlelis/irbtools
|
182
180
|
licenses: []
|
183
181
|
|
@@ -201,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
199
|
requirements: []
|
202
200
|
|
203
201
|
rubyforge_project:
|
204
|
-
rubygems_version: 1.
|
202
|
+
rubygems_version: 1.7.2
|
205
203
|
signing_key:
|
206
204
|
specification_version: 3
|
207
205
|
summary: irbtools is a meta gem which installs some useful irb gems and configures your irb.
|