ripl-commands 0.2.0 → 0.2.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/.gemspec +1 -1
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +4 -1
- data/deps.rip +1 -1
- data/lib/ripl/commands.rb +2 -2
- data/lib/ripl/commands/history.rb +1 -1
- data/lib/ripl/completions/commands.rb +4 -0
- metadata +8 -7
data/.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = "This ripl plugin provides a core group of commands for any ripl shell. It aims to match and surpass functionality in irb's commands."
|
13
13
|
s.required_rubygems_version = ">= 1.3.6"
|
14
14
|
s.rubyforge_project = 'tagaholic'
|
15
|
-
s.add_dependency 'ripl', '>= 0.2.
|
15
|
+
s.add_dependency 'ripl', '>= 0.2.9'
|
16
16
|
s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
|
17
17
|
s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
|
18
18
|
s.license = 'MIT'
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -23,6 +23,10 @@ Try it out:
|
|
23
23
|
ripl(main):2> config :result_prompt, '<> '
|
24
24
|
<> "<> "
|
25
25
|
|
26
|
+
# Autocomplete available config keys
|
27
|
+
>> config :[TAB]
|
28
|
+
:binding :color_error :multi_line_prompt :name :prompt :result_prompt
|
29
|
+
|
26
30
|
# Jump around in different objects as irb does with subsessions and workspaces
|
27
31
|
>> jump 'dude'
|
28
32
|
=> 'dude'
|
@@ -95,5 +99,4 @@ The above jump session then looks like:
|
|
95
99
|
|
96
100
|
== Todo
|
97
101
|
* Add exit for a jump
|
98
|
-
* Add command completion
|
99
102
|
* Fix stacktrace interference caused by jumps
|
data/deps.rip
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ripl >=0.2.
|
1
|
+
ripl >=0.2.9
|
data/lib/ripl/commands.rb
CHANGED
@@ -3,7 +3,7 @@ require 'ripl/commands/history'
|
|
3
3
|
|
4
4
|
module Ripl
|
5
5
|
module Commands
|
6
|
-
VERSION = '0.2.
|
6
|
+
VERSION = '0.2.1'
|
7
7
|
|
8
8
|
module Core
|
9
9
|
def self.jumps
|
@@ -36,4 +36,4 @@ module Ripl
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
|
-
Ripl::Commands.
|
39
|
+
Ripl::Commands.include Ripl::Commands::Core
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ripl-commands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Gabriel Horner
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-24 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,12 +26,12 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 5
|
30
30
|
segments:
|
31
31
|
- 0
|
32
32
|
- 2
|
33
|
-
-
|
34
|
-
version: 0.2.
|
33
|
+
- 9
|
34
|
+
version: 0.2.9
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
description: This ripl plugin provides a core group of commands for any ripl shell. It aims to match and surpass functionality in irb's commands.
|
@@ -46,6 +46,7 @@ extra_rdoc_files:
|
|
46
46
|
files:
|
47
47
|
- lib/ripl/commands/history.rb
|
48
48
|
- lib/ripl/commands.rb
|
49
|
+
- lib/ripl/completions/commands.rb
|
49
50
|
- LICENSE.txt
|
50
51
|
- CHANGELOG.rdoc
|
51
52
|
- README.rdoc
|