virb 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
data/lib/virb/default.rb CHANGED
@@ -89,6 +89,12 @@ module IRB
89
89
 
90
90
  # initialize IRB and start TOP_LEVEL irb
91
91
  def IRB.start(ap_path = nil)
92
+ `rm -rf .virb`
93
+ `mkdir -p .virb`
94
+ unless File.exist?('.virb/fifo')
95
+ `mkfifo .virb/fifo`
96
+ end
97
+ `touch .virb/session`
92
98
 
93
99
  vimscript = File.join(File.dirname(__FILE__), '..', 'virb.vim')
94
100
 
@@ -158,14 +164,6 @@ module IRB
158
164
  class Irb
159
165
  def initialize(workspace = nil, input_method = StdioInputMethod.new , output_method = nil)
160
166
 
161
- `rm -rf .virb`
162
- `mkdir -p .virb`
163
- unless File.exist?('.virb/fifo')
164
- `mkfifo .virb/fifo`
165
- end
166
- `touch .virb/session`
167
-
168
-
169
167
  # input_method is hard to override
170
168
 
171
169
  @context = Context.new(self, workspace, input_method, output_method)
data/lib/virb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Virb
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: