brice 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/lib/brice/version.rb +1 -1
- data/lib/rc/030_prompt.rb +6 -3
- metadata +2 -2
data/README
CHANGED
data/lib/brice/version.rb
CHANGED
data/lib/rc/030_prompt.rb
CHANGED
@@ -27,6 +27,9 @@ brice 'prompt' => nil do |config|
|
|
27
27
|
# PROMPT_C = prompt for continuing statement
|
28
28
|
# RETURN = format to return value
|
29
29
|
|
30
|
+
prefix = "#{RUBY_VERSION}"
|
31
|
+
prefix << "p#{RUBY_PATCHLEVEL}" if defined?(RUBY_PATCHLEVEL)
|
32
|
+
|
30
33
|
IRB.conf[:PROMPT].update(
|
31
34
|
:BRICE_SIMPLE => {
|
32
35
|
:PROMPT_I => ' ',
|
@@ -35,9 +38,9 @@ brice 'prompt' => nil do |config|
|
|
35
38
|
:RETURN => lambda { |rt| "#{rt} => %s\n" }
|
36
39
|
},
|
37
40
|
:BRICE_VERBOSE => {
|
38
|
-
:PROMPT_I => "#{
|
39
|
-
:PROMPT_S => "#{
|
40
|
-
:PROMPT_C => "#{
|
41
|
+
:PROMPT_I => "#{prefix}> ",
|
42
|
+
:PROMPT_S => "#{prefix}> ",
|
43
|
+
:PROMPT_C => "#{prefix}> ",
|
41
44
|
:RETURN => lambda { |rt| "#{rt} => %s\n" }
|
42
45
|
}
|
43
46
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-19 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|