ripl 0.6.0 → 0.6.1
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.rdoc +3 -0
- data/README.rdoc +1 -0
- data/lib/ripl/history.rb +1 -1
- data/lib/ripl/version.rb +1 -1
- data/test/history_test.rb +6 -0
- metadata +63 -64
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -189,6 +189,7 @@ Please report them {on github}[http://github.com/cldwalker/ripl/issues].
|
|
189
189
|
* {ripltools}[https://github.com/janlelis/ripltools]: a collection of ripl plugins
|
190
190
|
* {ripl-rc}[https://github.com/godfat/ripl-rc]: ripl plugins for debugging, class-based coloring and more
|
191
191
|
* {ripl-em}[https://github.com/cldwalker/ripl-em]: interact with EM libraries asynchronously
|
192
|
+
* {ripl-readline-em}[https://github.com/pmahoney/ripl-readline-em]: another async EM interface
|
192
193
|
|
193
194
|
== Ripl Shells
|
194
195
|
Shells built on top of ripl:
|
data/lib/ripl/history.rb
CHANGED
data/lib/ripl/version.rb
CHANGED
data/test/history_test.rb
CHANGED
@@ -46,6 +46,12 @@ describe "History with readline" do
|
|
46
46
|
shell.history.to_a.should == []
|
47
47
|
end
|
48
48
|
|
49
|
+
it "#get_input adds to history" do
|
50
|
+
mock($stdin).gets { 'blarg' }
|
51
|
+
capture_stdout { shell.get_input }
|
52
|
+
shell.history.should == ['blarg']
|
53
|
+
end
|
54
|
+
|
49
55
|
it "#read_history is accessible to plugins in #before_loop" do
|
50
56
|
mod = Object.const_set "Ping_read_history", Module.new
|
51
57
|
mod.send(:define_method, 'read_history') { @history = ['pong_read_history'] }
|
metadata
CHANGED
@@ -1,86 +1,83 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripl
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 0.6.1
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Gabriel Horner
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
12
|
+
|
13
|
+
date: 2012-01-14 00:00:00 -05:00
|
13
14
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
16
17
|
name: bond
|
17
|
-
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
20
|
none: false
|
19
|
-
requirements:
|
21
|
+
requirements:
|
20
22
|
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
23
|
+
- !ruby/object:Gem::Version
|
22
24
|
version: 0.4.0
|
23
25
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
27
28
|
name: bacon
|
28
|
-
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
31
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
32
|
+
requirements:
|
33
|
+
- - ">="
|
34
|
+
- !ruby/object:Gem::Version
|
33
35
|
version: 1.1.0
|
34
36
|
type: :development
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
38
39
|
name: rr
|
39
|
-
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
42
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
44
46
|
version: 1.0.0
|
45
47
|
type: :development
|
46
|
-
|
47
|
-
|
48
|
-
- !ruby/object:Gem::Dependency
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
49
50
|
name: bacon-bits
|
50
|
-
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
51
53
|
none: false
|
52
|
-
requirements:
|
53
|
-
- -
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version:
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "0"
|
56
58
|
type: :development
|
57
|
-
|
58
|
-
|
59
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
60
61
|
name: bacon-rr
|
61
|
-
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
62
64
|
none: false
|
63
|
-
requirements:
|
64
|
-
- -
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version:
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: "0"
|
67
69
|
type: :development
|
68
|
-
|
69
|
-
|
70
|
-
description: ripl is a light, modular alternative to irb. Like irb, it loads ~/.irbrc,
|
71
|
-
has autocompletion and keeps history in ~/.irb_history. Unlike irb, it is highly
|
72
|
-
customizable via plugins and supports commands i.e. ripl-play. This customizability
|
73
|
-
makes it easy to build custom shells (i.e. for a gem or application) and complex
|
74
|
-
shells (i.e. for the web). In other words, ripl is also a shell framework. Works
|
75
|
-
on ruby 1.8.7 and greater.
|
70
|
+
version_requirements: *id005
|
71
|
+
description: ripl is a light, modular alternative to irb. Like irb, it loads ~/.irbrc, has autocompletion and keeps history in ~/.irb_history. Unlike irb, it is highly customizable via plugins and supports commands i.e. ripl-play. This customizability makes it easy to build custom shells (i.e. for a gem or application) and complex shells (i.e. for the web). In other words, ripl is also a shell framework. Works on ruby 1.8.7 and greater.
|
76
72
|
email: gabriel.horner@gmail.com
|
77
|
-
executables:
|
73
|
+
executables:
|
78
74
|
- ripl
|
79
75
|
extensions: []
|
80
|
-
|
76
|
+
|
77
|
+
extra_rdoc_files:
|
81
78
|
- README.rdoc
|
82
79
|
- LICENSE.txt
|
83
|
-
files:
|
80
|
+
files:
|
84
81
|
- lib/ripl/completion.rb
|
85
82
|
- lib/ripl/history.rb
|
86
83
|
- lib/ripl/readline.rb
|
@@ -106,29 +103,31 @@ files:
|
|
106
103
|
- man/ripl.1.ronn
|
107
104
|
has_rdoc: true
|
108
105
|
homepage: http://github.com/cldwalker/ripl
|
109
|
-
licenses:
|
106
|
+
licenses:
|
110
107
|
- MIT
|
111
108
|
post_install_message:
|
112
109
|
rdoc_options: []
|
113
|
-
|
110
|
+
|
111
|
+
require_paths:
|
114
112
|
- lib
|
115
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
116
114
|
none: false
|
117
|
-
requirements:
|
118
|
-
- -
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version:
|
121
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - ">="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: "0"
|
119
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
120
|
none: false
|
123
|
-
requirements:
|
124
|
-
- -
|
125
|
-
- !ruby/object:Gem::Version
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
126
124
|
version: 1.3.6
|
127
125
|
requirements: []
|
126
|
+
|
128
127
|
rubyforge_project:
|
129
128
|
rubygems_version: 1.6.2
|
130
129
|
signing_key:
|
131
130
|
specification_version: 3
|
132
|
-
summary: ruby interactive print loop - A light, modular alternative to irb and a shell
|
133
|
-
framework
|
131
|
+
summary: ruby interactive print loop - A light, modular alternative to irb and a shell framework
|
134
132
|
test_files: []
|
133
|
+
|