ripl 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gemspec +2 -1
- data/.travis.yml +6 -0
- data/CHANGELOG.rdoc +4 -0
- data/lib/ripl.rb +2 -1
- data/lib/ripl/history.rb +1 -1
- data/lib/ripl/version.rb +1 -1
- data/test/.riplrc +0 -0
- data/test/deps.rip +2 -1
- data/test/runner_test.rb +2 -2
- data/test/test_helper.rb +3 -0
- metadata +77 -65
data/.gemspec
CHANGED
@@ -17,8 +17,9 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.add_development_dependency 'rr', '>= 1.0.0'
|
18
18
|
s.add_development_dependency 'bacon-bits'
|
19
19
|
s.add_development_dependency 'bacon-rr'
|
20
|
+
s.add_development_dependency 'rake', '0.9.2.2'
|
20
21
|
s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
|
21
|
-
s.files += Dir.glob(['man/*', '*.gemspec'])
|
22
|
+
s.files += Dir.glob(['man/*', '*.gemspec']) + %w{.travis.yml test/.riplrc}
|
22
23
|
s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
|
23
24
|
s.license = 'MIT'
|
24
25
|
end
|
data/.travis.yml
ADDED
data/CHANGELOG.rdoc
CHANGED
data/lib/ripl.rb
CHANGED
data/lib/ripl/history.rb
CHANGED
data/lib/ripl/version.rb
CHANGED
data/test/.riplrc
ADDED
File without changes
|
data/test/deps.rip
CHANGED
data/test/runner_test.rb
CHANGED
@@ -67,13 +67,13 @@ describe "Runner" do
|
|
67
67
|
it "rescues and prints SyntaxError" do
|
68
68
|
mock(Runner).load(anything) { raise SyntaxError }
|
69
69
|
mock_shell
|
70
|
-
capture_stderr { Runner.run([]) }.should =~ %r{^ripl: Error while loading
|
70
|
+
capture_stderr { Runner.run([]) }.should =~ %r{^ripl: Error while loading .*.riplrc:\nSyntaxError:}
|
71
71
|
end
|
72
72
|
|
73
73
|
it "rescues and prints LoadError" do
|
74
74
|
mock(Runner).load(anything) { raise LoadError }
|
75
75
|
mock_shell
|
76
|
-
capture_stderr { Runner.run([]) }.should =~ %r{^ripl: Error while loading
|
76
|
+
capture_stderr { Runner.run([]) }.should =~ %r{^ripl: Error while loading .*.riplrc:\nLoadError:}
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,83 +1,96 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripl
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.6.2
|
4
5
|
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
|
-
|
13
|
-
|
14
|
-
|
15
|
-
dependencies:
|
16
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-02-12 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
17
15
|
name: bond
|
18
|
-
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70297166159640 !ruby/object:Gem::Requirement
|
20
17
|
none: false
|
21
|
-
requirements:
|
18
|
+
requirements:
|
22
19
|
- - ~>
|
23
|
-
- !ruby/object:Gem::Version
|
20
|
+
- !ruby/object:Gem::Version
|
24
21
|
version: 0.4.0
|
25
22
|
type: :runtime
|
26
|
-
version_requirements: *id001
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bacon
|
29
23
|
prerelease: false
|
30
|
-
|
24
|
+
version_requirements: *70297166159640
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: bacon
|
27
|
+
requirement: &70297166159180 !ruby/object:Gem::Requirement
|
31
28
|
none: false
|
32
|
-
requirements:
|
33
|
-
- -
|
34
|
-
- !ruby/object:Gem::Version
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
35
32
|
version: 1.1.0
|
36
33
|
type: :development
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
name: rr
|
40
34
|
prerelease: false
|
41
|
-
|
35
|
+
version_requirements: *70297166159180
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rr
|
38
|
+
requirement: &70297166158720 !ruby/object:Gem::Requirement
|
42
39
|
none: false
|
43
|
-
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
46
43
|
version: 1.0.0
|
47
44
|
type: :development
|
48
|
-
version_requirements: *id003
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: bacon-bits
|
51
45
|
prerelease: false
|
52
|
-
|
46
|
+
version_requirements: *70297166158720
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: bacon-bits
|
49
|
+
requirement: &70297166158320 !ruby/object:Gem::Requirement
|
53
50
|
none: false
|
54
|
-
requirements:
|
55
|
-
- -
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version:
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
58
55
|
type: :development
|
59
|
-
|
60
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *70297166158320
|
58
|
+
- !ruby/object:Gem::Dependency
|
61
59
|
name: bacon-rr
|
60
|
+
requirement: &70297166157860 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
62
67
|
prerelease: false
|
63
|
-
|
68
|
+
version_requirements: *70297166157860
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: &70297166157360 !ruby/object:Gem::Requirement
|
64
72
|
none: false
|
65
|
-
requirements:
|
66
|
-
- -
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version:
|
73
|
+
requirements:
|
74
|
+
- - =
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 0.9.2.2
|
69
77
|
type: :development
|
70
|
-
|
71
|
-
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *70297166157360
|
80
|
+
description: ripl is a light, modular alternative to irb. Like irb, it loads ~/.irbrc,
|
81
|
+
has autocompletion and keeps history in ~/.irb_history. Unlike irb, it is highly
|
82
|
+
customizable via plugins and supports commands i.e. ripl-play. This customizability
|
83
|
+
makes it easy to build custom shells (i.e. for a gem or application) and complex
|
84
|
+
shells (i.e. for the web). In other words, ripl is also a shell framework. Works
|
85
|
+
on ruby 1.8.7 and greater.
|
72
86
|
email: gabriel.horner@gmail.com
|
73
|
-
executables:
|
87
|
+
executables:
|
74
88
|
- ripl
|
75
89
|
extensions: []
|
76
|
-
|
77
|
-
extra_rdoc_files:
|
90
|
+
extra_rdoc_files:
|
78
91
|
- README.rdoc
|
79
92
|
- LICENSE.txt
|
80
|
-
files:
|
93
|
+
files:
|
81
94
|
- lib/ripl/completion.rb
|
82
95
|
- lib/ripl/history.rb
|
83
96
|
- lib/ripl/readline.rb
|
@@ -101,33 +114,32 @@ files:
|
|
101
114
|
- man/ripl.1
|
102
115
|
- man/ripl.1.html
|
103
116
|
- man/ripl.1.ronn
|
104
|
-
|
117
|
+
- .travis.yml
|
118
|
+
- test/.riplrc
|
105
119
|
homepage: http://github.com/cldwalker/ripl
|
106
|
-
licenses:
|
120
|
+
licenses:
|
107
121
|
- MIT
|
108
122
|
post_install_message:
|
109
123
|
rdoc_options: []
|
110
|
-
|
111
|
-
require_paths:
|
124
|
+
require_paths:
|
112
125
|
- lib
|
113
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
127
|
none: false
|
115
|
-
requirements:
|
116
|
-
- -
|
117
|
-
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
133
|
none: false
|
121
|
-
requirements:
|
122
|
-
- -
|
123
|
-
- !ruby/object:Gem::Version
|
134
|
+
requirements:
|
135
|
+
- - ! '>='
|
136
|
+
- !ruby/object:Gem::Version
|
124
137
|
version: 1.3.6
|
125
138
|
requirements: []
|
126
|
-
|
127
139
|
rubyforge_project:
|
128
|
-
rubygems_version: 1.
|
140
|
+
rubygems_version: 1.8.15
|
129
141
|
signing_key:
|
130
142
|
specification_version: 3
|
131
|
-
summary: ruby interactive print loop - A light, modular alternative to irb and a shell
|
143
|
+
summary: ruby interactive print loop - A light, modular alternative to irb and a shell
|
144
|
+
framework
|
132
145
|
test_files: []
|
133
|
-
|