ir_b 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ir_b.rb +2 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
data/lib/ir_b.rb CHANGED
@@ -36,11 +36,10 @@ module IrB
36
36
  next unless line_n > (ir_b_line - 6)
37
37
  break if line_n > (ir_b_line + 5)
38
38
  if line_n == ir_b_line
39
- color = "\e[100m"
39
+ puts "\e[100m =>#{line_n.to_s.rjust(3)}: #{line.chomp} \e[0m"
40
40
  else
41
- color = "\e[90m"
41
+ puts "\e[90m#{line_n.to_s.rjust(6)}: #{line.chomp} \e[0m"
42
42
  end
43
- puts color + "#{line_n.to_s.rjust(5)}: #{line.strip} \e[0m"
44
43
  end
45
44
 
46
45
  IRB.start_session(_binding)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - jugyo
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-08 00:00:00 +09:00
17
+ date: 2010-10-10 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency