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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  == VERSION
4
4
 
5
- This documentation refers to brice version 0.0.4
5
+ This documentation refers to brice version 0.0.5
6
6
 
7
7
 
8
8
  == DESCRIPTION
data/lib/brice/version.rb CHANGED
@@ -4,7 +4,7 @@ class Brice
4
4
 
5
5
  MAJOR = 0
6
6
  MINOR = 0
7
- TINY = 4
7
+ TINY = 5
8
8
 
9
9
  class << self
10
10
 
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 => "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}> ",
39
- :PROMPT_S => "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}> ",
40
- :PROMPT_C => "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}> ",
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
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-16 00:00:00 +01:00
12
+ date: 2009-01-19 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency