virb 0.0.8 → 0.0.9
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.
- data/lib/virb/pry.rb +7 -7
- data/lib/virb/version.rb +1 -1
- 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