virb 0.0.5 → 0.0.6
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/README.md +2 -0
- data/lib/virb.vim +3 -1
- data/lib/virb/version.rb +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -52,6 +52,8 @@ If IRB takes too long (more than about half a second) to evaluate your code,
|
|
52
52
|
you may need to manually force the session buffer to update itself. You can
|
53
53
|
force an update by pressing SPACE in normal mode.
|
54
54
|
|
55
|
+
After you start up Virb, you can also monitor the IRB session you are driving
|
56
|
+
by tailing a file called `.virb/session` (relative to the working directory).
|
55
57
|
|
56
58
|
## Using Virb with Pry
|
57
59
|
|
data/lib/virb.vim
CHANGED
@@ -68,7 +68,6 @@ endfunc
|
|
68
68
|
|
69
69
|
function! VirbInteractive()
|
70
70
|
setlocal nu
|
71
|
-
setlocal statusline=%!VirbStatusLine()
|
72
71
|
command! -bar -range Virb :<line1>,<line2>call Virb()
|
73
72
|
set ft=ruby
|
74
73
|
nnoremap <buffer> <cr> :call Virb()<cr>
|
@@ -86,5 +85,8 @@ setlocal nu
|
|
86
85
|
" set up interactive buffer
|
87
86
|
wincmd p
|
88
87
|
call VirbInteractive()
|
88
|
+
" just in the first buffer window
|
89
|
+
setlocal statusline=%!VirbStatusLine()
|
89
90
|
|
90
91
|
:au BufNewFile,BufRead *.rb call VirbInteractive()
|
92
|
+
|
data/lib/virb/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-03 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A Vim shell for irb and rails console
|
15
15
|
email:
|