ir_b 1.1.0 → 1.1.1

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 +1 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
data/lib/ir_b.rb CHANGED
@@ -29,7 +29,7 @@ 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 }&line=#{ ir_b_line }\e[0m"
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"
33
33
 
34
34
  File.open(file).each_with_index do |line, index|
35
35
  line_n = index + 1
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 0
9
- version: 1.1.0
8
+ - 1
9
+ version: 1.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - jugyo