ripl-rc 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/2011-02-28.md +203 -0
- data/CHANGES +4 -0
- data/README +80 -16
- data/README.md +80 -16
- data/lib/ripl/rc/color.rb +1 -2
- data/lib/ripl/rc/version.rb +1 -1
- data/ripl-rc.gemspec +3 -3
- metadata +9 -8
data/2011-02-28.md
ADDED
@@ -0,0 +1,203 @@
|
|
1
|
+
[original text](http://blogger.godfat.org/2011/02/ripl-rc-1-ripl-irb-replacement.html)
|
2
|
+
|
3
|
+
# ripl, an irb replacement
|
4
|
+
|
5
|
+
<p></p><a href="http://www.urbandictionary.com/define.php?term=TL%3BDR">TL;DR</a>: see the <a href="#comparison">comparison table/list</a> on
|
6
|
+
the bottom of this post. Still TL;DR?
|
7
|
+
<pre><code>> gem install ripl
|
8
|
+
> ripl rc</code></pre>
|
9
|
+
<img src="https://github.com/godfat/ripl-rc/raw/ripl-rc-0.1.3/screenshot.png"/>
|
10
|
+
|
11
|
+
Use it in rails console?
|
12
|
+
<pre><code>> gem install ripl-rails
|
13
|
+
> ripl rc rails</code></pre>
|
14
|
+
|
15
|
+
# ripl
|
16
|
+
|
17
|
+
Days ago when I was using <a href="https://github.com/banister/pry">pry</a> to debug heroku-scaler,
|
18
|
+
(which is a <a href="https://github.com/Ramaze/ramaze">ramaze</a> and <a href="https://github.com/igrigorik/em-http-request">em-http-request</a> application),
|
19
|
+
I wanted to make pry use irb history to easy debugging,
|
20
|
+
and then I found it was talking about something like
|
21
|
+
pry is not an irb replacement, to find an irb replacement,
|
22
|
+
see <a href="https://github.com/cldwalker/ripl">ripl</a>. That's where I started playing around with ripl.
|
23
|
+
|
24
|
+
At first, I didn't think I need an replacement for irb,
|
25
|
+
because it worked for me. But as always, we don't know
|
26
|
+
if we need a better tool until we're really using a better
|
27
|
+
tool. ripl is this kind of story for me, and so do <a href="https://github.com/lsegal/yard">yard</a> to
|
28
|
+
<a href="https://github.com/rdoc/rdoc">rdoc</a> and so on so forth. Interestingly, this is not always
|
29
|
+
true for all tools. For example, I like <a href="https://github.com/jimweirich/rake">rake</a> better than
|
30
|
+
<a href="https://github.com/wycats/thor">thor</a> (though I didn't really try thor), and didn't really
|
31
|
+
need the power of <a href="http://www.kuwata-lab.com/erubis/">erubis</a> over erb.
|
32
|
+
|
33
|
+
One can think that, using thor/erubis might force others
|
34
|
+
to do the same (though erubis could be used as a drop-in
|
35
|
+
replacement for erb), but irb/ripl is just a personal tool
|
36
|
+
instead of really a library that once you used it in the
|
37
|
+
application, all developers would be forced to use or test
|
38
|
+
against it, too. Just like a text editor. Personal taste only..
|
39
|
+
|
40
|
+
Back to topic...
|
41
|
+
|
42
|
+
So what would we benefit from switching irb to ripl? If
|
43
|
+
we're only using the core functionality of ripl, then not
|
44
|
+
even talking about gains, but we'll lose some features
|
45
|
+
that irb provides but ripl doesn't. What good is, according
|
46
|
+
to the <a href="https://github.com/cldwalker/ripl/blob/v0.3.2/README.rdoc">README</a> of ripl, the code size was about ~270
|
47
|
+
lines vs 5,000+ lines, so we can expect that ripl is a lot
|
48
|
+
easier to extend and customize, and this is also a fact.
|
49
|
+
|
50
|
+
ripl is designed to be extended and customized from the
|
51
|
+
beginning, and since the code is very modular and
|
52
|
+
lightweight, it's very easy to replicate irb's behavior
|
53
|
+
and features that are missing in ripl. You can take a look
|
54
|
+
at ripl-irb. It might grow to be fat after installing many
|
55
|
+
plugins and extensions, but I guess it will never reach
|
56
|
+
the size of irb, since irb *has its own ruby parser*...
|
57
|
+
<a href="https://github.com/janlelis/ripl-multi_line">ripl-multi_line</a> uses a trick that catches syntax error
|
58
|
+
exception to achieve multiline support. This might be
|
59
|
+
tricky because it depends on the error message coming
|
60
|
+
from syntax error; however irb's own ruby parser might
|
61
|
+
not be accurate as well... as long as it's not using ruby's
|
62
|
+
own parser.
|
63
|
+
|
64
|
+
At first I was trying to add some simple patches with only
|
65
|
+
a few of lines to the core of ripl to make it better, but the
|
66
|
+
author only accepted my bug fix patches instead of features
|
67
|
+
patches, even it's only a few of lines and I don't see why
|
68
|
+
others won't want that features. Sometimes this make me
|
69
|
+
feel like vim or bash, you'll definitely want some personal
|
70
|
+
(might not be so personal though) config files instead of
|
71
|
+
using the defaults, which is very different than GUI
|
72
|
+
applications, which always try to provide the best defaults.
|
73
|
+
I think both have their strength, and I don't mind as long
|
74
|
+
as it could be customized to suit my flavor, and that's why
|
75
|
+
I've written <a href="https://github.com/godfat/ripl-rc">ripl-rc</a>.
|
76
|
+
|
77
|
+
ripl-rc is a ripl plugins collection, each of its require is a
|
78
|
+
different plugin. For example:
|
79
|
+
<pre><code>require 'ripl/rc/color'
|
80
|
+
require 'ripl/rc/anchor'</code></pre>
|
81
|
+
The first line would enable colorizing plugin, and the latter
|
82
|
+
would enable pry session like plugin. The reason I do this
|
83
|
+
instead of releasing ripl-color, ripl-anchor, etc., is I think
|
84
|
+
it's a lot easier to maintain and install as a plugin collection,
|
85
|
+
since each plugin has only a few of codes. We can take
|
86
|
+
advantage of fixing plugins at the same time, too, since
|
87
|
+
some plugins would work with other plugins. (e.g.
|
88
|
+
ripl/rc/anchor and ripl/rc/color) It would be tedious for
|
89
|
+
users and developers to release or update a bunch of new
|
90
|
+
releases... I really hate rails doing that, though the code
|
91
|
+
base is not the same level. It might be a must for rails
|
92
|
+
somehow...
|
93
|
+
|
94
|
+
Enough of rubbish, let's see the comparison.<a id="comparison"></a>
|
95
|
+
|
96
|
+
# Comparison
|
97
|
+
|
98
|
+
ripl has:
|
99
|
+
|
100
|
+
* a lot fewer codes and is a lot easier to customize
|
101
|
+
* better auto-complete (from <a href="https://github.com/cldwalker/bond">bond</a>)
|
102
|
+
|
103
|
+
irb has:
|
104
|
+
|
105
|
+
* multiline support (ripl uses ripl-multi_line)
|
106
|
+
* subsessions and workspaces (actually I don't know
|
107
|
+
what are they, never used. ripl uses <a href="https://github.com/cldwalker/ripl-commands">ripl-commands</a>)
|
108
|
+
|
109
|
+
ripl-rc has, upon session ends:
|
110
|
+
|
111
|
+
* <span style="color:gold">require 'ripl/rc/squeeze_history'</span>
|
112
|
+
|
113
|
+
which squeezes the same input in history, both in memory
|
114
|
+
and history file.
|
115
|
+
|
116
|
+
* <span style="color:gold">require 'ripl/rc/mkdir_history'</span>
|
117
|
+
|
118
|
+
which calls `mkdir -p` on directory which contains history
|
119
|
+
file. For example, I put my irb_history in an directory
|
120
|
+
might not exist before use: `~/.config/irb/irb_history`
|
121
|
+
|
122
|
+
* <span style="color:gold">require 'ripl/rc/ctrld_newline'</span>
|
123
|
+
|
124
|
+
ruby 1.9.2 has no this problem in irb, but 1.8 and ripl do.
|
125
|
+
When hitting ctrl+d to exit ripl, it would print a newline
|
126
|
+
instead of messing up with shell prompt.
|
127
|
+
|
128
|
+
upon formatting output:
|
129
|
+
|
130
|
+
* <span style="color:gold">require 'ripl/rc/strip_backtrace'</span>
|
131
|
+
|
132
|
+
ripl prints the full backtrace upon exceptions, even the
|
133
|
+
exceptions come from interactive environment, making it
|
134
|
+
very verbose. This ripl plugin strips those backtrace.
|
135
|
+
|
136
|
+
* <span style="color:gold">require 'ripl/rc/color'</span>
|
137
|
+
|
138
|
+
There's ripl-color_result that make use of <a href="https://github.com/michaeldv/awesome_print">awesome_print</a>,
|
139
|
+
<a href="http://coderay.rubychan.de/">coderay</a>, or <a href="https://github.com/janlelis/wirb">wirb</a>. The problem of awesome_print is it's too
|
140
|
+
awesome and too verbose, and the problem of coderay and
|
141
|
+
wirb is that they are both parser based. In ripl, this should
|
142
|
+
be as simple as just print different colors upon different
|
143
|
+
objects, instead of inspecting it and parsing it.
|
144
|
+
|
145
|
+
ripl/rc/color just uses a hash with Class to color mapping
|
146
|
+
to pick up which color should be used upon a ruby object.
|
147
|
+
|
148
|
+
To customize the color schema, inspect `Ripl.config[:rc_color]`
|
149
|
+
|
150
|
+
upon input:
|
151
|
+
|
152
|
+
* <span style="color:gold">require 'ripl/rc/multiline'</span>
|
153
|
+
|
154
|
+
I need some modification on ripl-multi_line to make prompt
|
155
|
+
work better, but not sure if I can come up a good fix and
|
156
|
+
try to convince the author to accept those patches. So I
|
157
|
+
just bundle and maintain it on my own. If you're using
|
158
|
+
ripl-rc, you could use this plugin, otherwise, keep using
|
159
|
+
ripl-multi_line.
|
160
|
+
|
161
|
+
* <span style="color:gold">require 'ripl/rc/eat_whites'</span>
|
162
|
+
|
163
|
+
irb will just give you another prompt upon an empty input,
|
164
|
+
while ripl would show you that your input is nil. I don't like
|
165
|
+
this, because sometimes I'll keep hitting enter to separate
|
166
|
+
between inspects. This plugin would skip inspect if the input
|
167
|
+
is empty just like irb.
|
168
|
+
|
169
|
+
special tool:
|
170
|
+
|
171
|
+
* <span style="color:gold">require 'ripl/rc/anchor'</span>
|
172
|
+
|
173
|
+
So this is my attempt to emulate pry in ripl. Instead
|
174
|
+
trying to make pry support irb_history, colorizing, etc.,
|
175
|
+
I think implement pry like feature in ripl is a lot easier.
|
176
|
+
No need to be fancy, I just need the basic functionality.
|
177
|
+
|
178
|
+
To use it, use:
|
179
|
+
<pre><code>Ripl.anchor your_object_want_to_be_viewed_as_self</code></pre>
|
180
|
+
or
|
181
|
+
<pre><code>Ripl.anchor binding</code></pre>
|
182
|
+
in your code. Other than pry ripl support, you might be
|
183
|
+
interested in <a href="https://github.com/cldwalker/ripl-rails">ripl-rails</a> and <a href="https://github.com/cldwalker/ripl-hijack">ripl-hijack</a>, too.
|
184
|
+
|
185
|
+
about config:
|
186
|
+
|
187
|
+
* <span style="color:gold">require 'ripl/rc/noirbrc'</span>
|
188
|
+
|
189
|
+
By default ripl is reading `~/.irbrc`. I don't think this
|
190
|
+
is what people still using irb would want, because the
|
191
|
+
configuration is totally different. This suppress that,
|
192
|
+
make it only read `~/.riplrc`
|
193
|
+
|
194
|
+
for lazies:
|
195
|
+
|
196
|
+
* <span style="color:gold">require 'ripl/rc'</span>
|
197
|
+
|
198
|
+
This requires anything above for you, and is what `ripl rc`
|
199
|
+
and `ripl rc rails` shell commands did.
|
200
|
+
|
201
|
+
So that's all at the moment for <a href="https://github.com/godfat/ripl-rc/tree/ripl-rc-0.1.3">ripl-rc 0.1.3</a>. Enjoy,
|
202
|
+
|
203
|
+
2010-02-28 (16:36~21:49)
|
data/CHANGES
CHANGED
data/README
CHANGED
@@ -54,33 +54,97 @@ shown in prompt is the level of anchors, started from 1.
|
|
54
54
|
|
55
55
|
## FEATURES:
|
56
56
|
|
57
|
-
|
57
|
+
upon session ends:
|
58
58
|
|
59
|
-
* require 'ripl/rc/squeeze_history'
|
60
|
-
* require 'ripl/rc/mkdir_history'
|
61
|
-
* require 'ripl/rc/ctrld_newline'
|
59
|
+
* `require 'ripl/rc/squeeze_history'`
|
62
60
|
|
63
|
-
|
61
|
+
which squeezes the same input in history, both in memory
|
62
|
+
and history file.
|
64
63
|
|
65
|
-
* require 'ripl/rc/
|
66
|
-
* require 'ripl/rc/color'
|
64
|
+
* `require 'ripl/rc/mkdir_history'`
|
67
65
|
|
68
|
-
|
66
|
+
which calls `mkdir -p` on directory which contains history
|
67
|
+
file. For example, I put my irb_history in an directory
|
68
|
+
might not exist before use: `~/.config/irb/irb_history`
|
69
69
|
|
70
|
-
* require 'ripl/rc/
|
71
|
-
* require 'ripl/rc/eat_whites'
|
70
|
+
* `require 'ripl/rc/ctrld_newline'`
|
72
71
|
|
73
|
-
|
72
|
+
ruby 1.9.2 has no this problem in irb, but 1.8 and ripl do.
|
73
|
+
When hitting ctrl+d to exit ripl, it would print a newline
|
74
|
+
instead of messing up with shell prompt.
|
74
75
|
|
75
|
-
|
76
|
+
upon formatting output:
|
76
77
|
|
77
|
-
|
78
|
+
* `require 'ripl/rc/strip_backtrace'`
|
78
79
|
|
79
|
-
|
80
|
+
ripl prints the full backtrace upon exceptions, even the
|
81
|
+
exceptions come from interactive environment, making it
|
82
|
+
very verbose. This ripl plugin strips those backtrace.
|
80
83
|
|
81
|
-
|
84
|
+
* `require 'ripl/rc/color'`
|
82
85
|
|
83
|
-
|
86
|
+
There's ripl-color_result that make use of <a href="https://github.com/michaeldv/awesome_print">awesome_print</a>,
|
87
|
+
<a href="http://coderay.rubychan.de/">coderay</a>, or <a href="https://github.com/janlelis/wirb">wirb</a>. The problem of awesome_print is it's too
|
88
|
+
awesome and too verbose, and the problem of coderay and
|
89
|
+
wirb is that they are both parser based. In ripl, this should
|
90
|
+
be as simple as just print different colors upon different
|
91
|
+
objects, instead of inspecting it and parsing it.
|
92
|
+
|
93
|
+
ripl/rc/color just uses a hash with Class to color mapping
|
94
|
+
to pick up which color should be used upon a ruby object.
|
95
|
+
|
96
|
+
To customize the color schema, inspect `Ripl.config[:rc_color]`
|
97
|
+
|
98
|
+
upon input:
|
99
|
+
|
100
|
+
* `require 'ripl/rc/multiline'`
|
101
|
+
|
102
|
+
I need some modification on ripl-multi_line to make prompt
|
103
|
+
work better, but not sure if I can come up a good fix and
|
104
|
+
try to convince the author to accept those patches. So I
|
105
|
+
just bundle and maintain it on my own. If you're using
|
106
|
+
ripl-rc, you could use this plugin, otherwise, keep using
|
107
|
+
ripl-multi_line.
|
108
|
+
|
109
|
+
* `require 'ripl/rc/eat_whites'`
|
110
|
+
|
111
|
+
irb will just give you another prompt upon an empty input,
|
112
|
+
while ripl would show you that your input is nil. I don't like
|
113
|
+
this, because sometimes I'll keep hitting enter to separate
|
114
|
+
between inspects. This plugin would skip inspect if the input
|
115
|
+
is empty just like irb.
|
116
|
+
|
117
|
+
special tool:
|
118
|
+
|
119
|
+
* `require 'ripl/rc/anchor'`
|
120
|
+
|
121
|
+
So this is my attempt to emulate pry in ripl. Instead
|
122
|
+
trying to make pry support irb_history, colorizing, etc.,
|
123
|
+
I think implement pry like feature in ripl is a lot easier.
|
124
|
+
No need to be fancy, I just need the basic functionality.
|
125
|
+
|
126
|
+
To use it, use:
|
127
|
+
<pre><code>Ripl.anchor your_object_want_to_be_viewed_as_self</code></pre>
|
128
|
+
or
|
129
|
+
<pre><code>Ripl.anchor binding</code></pre>
|
130
|
+
in your code. Other than pry ripl support, you might be
|
131
|
+
interested in <a href="https://github.com/cldwalker/ripl-rails">ripl-rails</a> and <a href="https://github.com/cldwalker/ripl-hijack">ripl-hijack</a>, too.
|
132
|
+
|
133
|
+
about config:
|
134
|
+
|
135
|
+
* `require 'ripl/rc/noirbrc'`
|
136
|
+
|
137
|
+
By default ripl is reading `~/.irbrc`. I don't think this
|
138
|
+
is what people still using irb would want, because the
|
139
|
+
configuration is totally different. This suppress that,
|
140
|
+
make it only read `~/.riplrc`
|
141
|
+
|
142
|
+
for lazies:
|
143
|
+
|
144
|
+
* `require 'ripl/rc'`
|
145
|
+
|
146
|
+
This requires anything above for you, and is what `ripl rc`
|
147
|
+
and `ripl rc rails` shell commands did.
|
84
148
|
|
85
149
|
## REQUIREMENTS:
|
86
150
|
|
data/README.md
CHANGED
@@ -54,33 +54,97 @@ shown in prompt is the level of anchors, started from 1.
|
|
54
54
|
|
55
55
|
## FEATURES:
|
56
56
|
|
57
|
-
|
57
|
+
upon session ends:
|
58
58
|
|
59
|
-
* require 'ripl/rc/squeeze_history'
|
60
|
-
* require 'ripl/rc/mkdir_history'
|
61
|
-
* require 'ripl/rc/ctrld_newline'
|
59
|
+
* `require 'ripl/rc/squeeze_history'`
|
62
60
|
|
63
|
-
|
61
|
+
which squeezes the same input in history, both in memory
|
62
|
+
and history file.
|
64
63
|
|
65
|
-
* require 'ripl/rc/
|
66
|
-
* require 'ripl/rc/color'
|
64
|
+
* `require 'ripl/rc/mkdir_history'`
|
67
65
|
|
68
|
-
|
66
|
+
which calls `mkdir -p` on directory which contains history
|
67
|
+
file. For example, I put my irb_history in an directory
|
68
|
+
might not exist before use: `~/.config/irb/irb_history`
|
69
69
|
|
70
|
-
* require 'ripl/rc/
|
71
|
-
* require 'ripl/rc/eat_whites'
|
70
|
+
* `require 'ripl/rc/ctrld_newline'`
|
72
71
|
|
73
|
-
|
72
|
+
ruby 1.9.2 has no this problem in irb, but 1.8 and ripl do.
|
73
|
+
When hitting ctrl+d to exit ripl, it would print a newline
|
74
|
+
instead of messing up with shell prompt.
|
74
75
|
|
75
|
-
|
76
|
+
upon formatting output:
|
76
77
|
|
77
|
-
|
78
|
+
* `require 'ripl/rc/strip_backtrace'`
|
78
79
|
|
79
|
-
|
80
|
+
ripl prints the full backtrace upon exceptions, even the
|
81
|
+
exceptions come from interactive environment, making it
|
82
|
+
very verbose. This ripl plugin strips those backtrace.
|
80
83
|
|
81
|
-
|
84
|
+
* `require 'ripl/rc/color'`
|
82
85
|
|
83
|
-
|
86
|
+
There's ripl-color_result that make use of <a href="https://github.com/michaeldv/awesome_print">awesome_print</a>,
|
87
|
+
<a href="http://coderay.rubychan.de/">coderay</a>, or <a href="https://github.com/janlelis/wirb">wirb</a>. The problem of awesome_print is it's too
|
88
|
+
awesome and too verbose, and the problem of coderay and
|
89
|
+
wirb is that they are both parser based. In ripl, this should
|
90
|
+
be as simple as just print different colors upon different
|
91
|
+
objects, instead of inspecting it and parsing it.
|
92
|
+
|
93
|
+
ripl/rc/color just uses a hash with Class to color mapping
|
94
|
+
to pick up which color should be used upon a ruby object.
|
95
|
+
|
96
|
+
To customize the color schema, inspect `Ripl.config[:rc_color]`
|
97
|
+
|
98
|
+
upon input:
|
99
|
+
|
100
|
+
* `require 'ripl/rc/multiline'`
|
101
|
+
|
102
|
+
I need some modification on ripl-multi_line to make prompt
|
103
|
+
work better, but not sure if I can come up a good fix and
|
104
|
+
try to convince the author to accept those patches. So I
|
105
|
+
just bundle and maintain it on my own. If you're using
|
106
|
+
ripl-rc, you could use this plugin, otherwise, keep using
|
107
|
+
ripl-multi_line.
|
108
|
+
|
109
|
+
* `require 'ripl/rc/eat_whites'`
|
110
|
+
|
111
|
+
irb will just give you another prompt upon an empty input,
|
112
|
+
while ripl would show you that your input is nil. I don't like
|
113
|
+
this, because sometimes I'll keep hitting enter to separate
|
114
|
+
between inspects. This plugin would skip inspect if the input
|
115
|
+
is empty just like irb.
|
116
|
+
|
117
|
+
special tool:
|
118
|
+
|
119
|
+
* `require 'ripl/rc/anchor'`
|
120
|
+
|
121
|
+
So this is my attempt to emulate pry in ripl. Instead
|
122
|
+
trying to make pry support irb_history, colorizing, etc.,
|
123
|
+
I think implement pry like feature in ripl is a lot easier.
|
124
|
+
No need to be fancy, I just need the basic functionality.
|
125
|
+
|
126
|
+
To use it, use:
|
127
|
+
<pre><code>Ripl.anchor your_object_want_to_be_viewed_as_self</code></pre>
|
128
|
+
or
|
129
|
+
<pre><code>Ripl.anchor binding</code></pre>
|
130
|
+
in your code. Other than pry ripl support, you might be
|
131
|
+
interested in <a href="https://github.com/cldwalker/ripl-rails">ripl-rails</a> and <a href="https://github.com/cldwalker/ripl-hijack">ripl-hijack</a>, too.
|
132
|
+
|
133
|
+
about config:
|
134
|
+
|
135
|
+
* `require 'ripl/rc/noirbrc'`
|
136
|
+
|
137
|
+
By default ripl is reading `~/.irbrc`. I don't think this
|
138
|
+
is what people still using irb would want, because the
|
139
|
+
configuration is totally different. This suppress that,
|
140
|
+
make it only read `~/.riplrc`
|
141
|
+
|
142
|
+
for lazies:
|
143
|
+
|
144
|
+
* `require 'ripl/rc'`
|
145
|
+
|
146
|
+
This requires anything above for you, and is what `ripl rc`
|
147
|
+
and `ripl rc rails` shell commands did.
|
84
148
|
|
85
149
|
## REQUIREMENTS:
|
86
150
|
|
data/lib/ripl/rc/color.rb
CHANGED
@@ -23,7 +23,6 @@ module Ripl::Rc::Color
|
|
23
23
|
U.send(U.colors[Hash ]){ ', ' }) +
|
24
24
|
U.send(U.colors[Hash ]){ '}' }
|
25
25
|
|
26
|
-
# TODO: this find should preserve order!
|
27
26
|
else ; if color = U.find_color(result)
|
28
27
|
U.send(color){ display }
|
29
28
|
else
|
@@ -49,7 +48,7 @@ module Ripl::Rc::Color
|
|
49
48
|
# Class <=> Class
|
50
49
|
if k1 < k2 then -1
|
51
50
|
elsif k1 > k2 then 1
|
52
|
-
else
|
51
|
+
else 0
|
53
52
|
end}.find{ |(klass, _)| value.kind_of?(klass) } || []).last
|
54
53
|
end
|
55
54
|
|
data/lib/ripl/rc/version.rb
CHANGED
data/ripl-rc.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{ripl-rc}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.4"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Lin Jen-Shin (godfat)"]
|
9
|
-
s.date = %q{2011-
|
9
|
+
s.date = %q{2011-03-01}
|
10
10
|
s.default_executable = %q{ripl-rc}
|
11
11
|
s.description = %q{ripl plugins collection, take you want, leave you don't.}
|
12
12
|
s.email = ["godfat (XD) godfat.org"]
|
13
13
|
s.executables = ["ripl-rc"]
|
14
14
|
s.extra_rdoc_files = ["CHANGES", "CONTRIBUTORS", "LICENSE", "TODO"]
|
15
|
-
s.files = [".gitignore", "CHANGES", "CONTRIBUTORS", "Gemfile", "LICENSE", "README", "README.md", "Rakefile", "TODO", "bin/ripl-rc", "lib/ripl/rc.rb", "lib/ripl/rc/anchor.rb", "lib/ripl/rc/color.rb", "lib/ripl/rc/ctrld_newline.rb", "lib/ripl/rc/eat_whites.rb", "lib/ripl/rc/mkdir_history.rb", "lib/ripl/rc/multiline.rb", "lib/ripl/rc/noirbrc.rb", "lib/ripl/rc/squeeze_history.rb", "lib/ripl/rc/strip_backtrace.rb", "lib/ripl/rc/version.rb", "ripl-rc.gemspec", "screenshot.png", "task/gemgem.rb", "test/test_squeeze_history.rb"]
|
15
|
+
s.files = [".gitignore", "2011-02-28.md", "CHANGES", "CONTRIBUTORS", "Gemfile", "LICENSE", "README", "README.md", "Rakefile", "TODO", "bin/ripl-rc", "lib/ripl/rc.rb", "lib/ripl/rc/anchor.rb", "lib/ripl/rc/color.rb", "lib/ripl/rc/ctrld_newline.rb", "lib/ripl/rc/eat_whites.rb", "lib/ripl/rc/mkdir_history.rb", "lib/ripl/rc/multiline.rb", "lib/ripl/rc/noirbrc.rb", "lib/ripl/rc/squeeze_history.rb", "lib/ripl/rc/strip_backtrace.rb", "lib/ripl/rc/version.rb", "ripl-rc.gemspec", "screenshot.png", "task/gemgem.rb", "test/test_squeeze_history.rb"]
|
16
16
|
s.homepage = %q{http://github.com/godfat/}
|
17
17
|
s.rdoc_options = ["--main", "README"]
|
18
18
|
s.require_paths = ["lib"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripl-rc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,12 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-03-01 00:00:00.000000000 +08:00
|
13
13
|
default_executable: ripl-rc
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ripl
|
17
|
-
requirement: &
|
17
|
+
requirement: &2168489000 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *2168489000
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: bacon
|
28
|
-
requirement: &
|
28
|
+
requirement: &2168488280 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,10 +33,10 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *2168488280
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
38
|
name: rr
|
39
|
-
requirement: &
|
39
|
+
requirement: &2168487580 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ! '>='
|
@@ -44,7 +44,7 @@ dependencies:
|
|
44
44
|
version: '0'
|
45
45
|
type: :development
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
47
|
+
version_requirements: *2168487580
|
48
48
|
description: ripl plugins collection, take you want, leave you don't.
|
49
49
|
email:
|
50
50
|
- godfat (XD) godfat.org
|
@@ -58,6 +58,7 @@ extra_rdoc_files:
|
|
58
58
|
- TODO
|
59
59
|
files:
|
60
60
|
- .gitignore
|
61
|
+
- 2011-02-28.md
|
61
62
|
- CHANGES
|
62
63
|
- CONTRIBUTORS
|
63
64
|
- Gemfile
|