ir_b 1.1.2 → 1.2.0

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/ir_b.rb +3 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.2
1
+ 1.2.0
@@ -29,16 +29,16 @@ module IrB
29
29
  def -(_binding)
30
30
  file = _binding.eval '__FILE__'
31
31
  ir_b_line = _binding.eval '__LINE__'
32
- puts "#{file}:#{ir_b_line} \e[90mtxmt://open/?url=file://#{ File.expand_path(file).sub(File.expand_path('~'), '~') }&line=#{ ir_b_line }\e[0m"
32
+ puts "#{file}:#{ir_b_line}"
33
33
 
34
34
  File.open(file).each_with_index do |line, index|
35
35
  line_n = index + 1
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
- puts "\e[100m =>#{line_n.to_s.rjust(3)}: #{line.chomp} \e[0m"
39
+ puts " =>#{line_n.to_s.rjust(3)}: #{line.chomp}"
40
40
  else
41
- puts "\e[90m#{line_n.to_s.rjust(6)}: #{line.chomp} \e[0m"
41
+ puts "#{line_n.to_s.rjust(6)}: #{line.chomp}"
42
42
  end
43
43
  end
44
44
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 1
8
7
  - 2
9
- version: 1.1.2
8
+ - 0
9
+ version: 1.2.0
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-10 00:00:00 +09:00
17
+ date: 2010-11-13 00:00:00 -06:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency