virb 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/virb/pry.rb +7 -7
  2. data/lib/virb/version.rb +1 -1
  3. metadata +1 -1
data/lib/virb/pry.rb CHANGED
@@ -6,13 +6,6 @@ module Virb
6
6
  end
7
7
  def reinit_fifo
8
8
 
9
- `rm -rf .virb`
10
- `mkdir -p .virb`
11
- unless File.exist?('.virb/fifo')
12
- `mkfifo .virb/fifo`
13
- end
14
- `touch .virb/session`
15
-
16
9
  fd = IO.sysopen(".virb/fifo")
17
10
  @io = IO.new(fd, 'r')
18
11
  end
@@ -54,6 +47,13 @@ module Virb
54
47
  end
55
48
 
56
49
  def self.start
50
+ `rm -rf .virb`
51
+ `mkdir -p .virb`
52
+ unless File.exist?('.virb/fifo')
53
+ `mkfifo .virb/fifo`
54
+ end
55
+ `touch .virb/session`
56
+
57
57
  pgid = Process.getpgid(Process.pid())
58
58
 
59
59
  pid = fork do
data/lib/virb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Virb
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: