stacktor 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3106adf49174822dcbdd25cf1c168db7e5178671
4
- data.tar.gz: 0559ec1ed188df9d2e9dc9fbe88858a2cf297b02
3
+ metadata.gz: c78e64c4b6ce27c3e4598a7d310e52079f39379a
4
+ data.tar.gz: c0c5627abc6476e251cf093101f0d793d6f1600e
5
5
  SHA512:
6
- metadata.gz: 75842619655b043a392b87b2e2a60e985b4d77881c8599677fcb033070c95eed78ef949cb31ff478bd14366f19a460c3fe85a8fc36ce3051109ed1295af2fa88
7
- data.tar.gz: d918efaf4e373bab813775a9fc815c017fd684376d0f5511308d302408d49432fa1c1b13696a84b49ccf8aaa754154c25cc3c9af578224491e8494dc7cae21d7
6
+ metadata.gz: bfdeb1ca7866f67f24001e8fb991e09b95df2893f0f5940db02441925879b5310bf63c7cd448b0cade19053cbb72d11c0b680911e4164e3ec1faa335cfbd64d5
7
+ data.tar.gz: b00ef89d6bd0ed65c66d2f59297d06cb51fc489852841bacd9932f6767997110e977da6d245ec0453622b515d24b01906e409d01063d1e16c3488e0845162538
@@ -6,25 +6,6 @@ module Stacktor
6
6
 
7
7
  class Request
8
8
 
9
- def self.connection_for(uri)
10
- @connections ||= {}
11
-
12
- host = uri.host
13
- port = uri.port
14
- secure = uri.scheme == 'https'
15
-
16
- if @connections[ [host, port, secure] ].nil?
17
- c = Net::HTTP.new(host, port)
18
- c.use_ssl = secure
19
- c.verify_mode = OpenSSL::SSL::VERIFY_NONE
20
- c.start
21
- @connections[ [host, port, secure] ] = c
22
- else
23
- c = @connections[ [host, port, secure] ]
24
- end
25
- return c
26
- end
27
-
28
9
  def initialize(opts)
29
10
  @options = opts
30
11
  end
@@ -63,7 +44,7 @@ module Stacktor
63
44
  def execute
64
45
  data = self.data
65
46
  uri = URI(self.url)
66
- conn = self.class.connection_for(uri)
47
+ conn = connection_for(uri)
67
48
  req_kls = Net::HTTP.const_get(self.method.capitalize)
68
49
  headers = self.headers
69
50
  resp_fn = @options[:response_handler]
@@ -109,6 +90,19 @@ module Stacktor
109
90
  return ret
110
91
  end
111
92
 
93
+ private
94
+
95
+ def connection_for(uri)
96
+ host = uri.host
97
+ port = uri.port
98
+ secure = uri.scheme == 'https'
99
+
100
+ c = Net::HTTP.new(host, port)
101
+ c.use_ssl = secure
102
+ c.verify_mode = OpenSSL::SSL::VERIFY_NONE
103
+ return c
104
+ end
105
+
112
106
  end
113
107
 
114
108
  end
@@ -1,3 +1,3 @@
1
1
  module Stacktor
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -32,6 +32,7 @@ nnoremap <silent> <Plug>NetrwBrowseX :call netrw#NetrwBrowseX(expand("<cWORD>")
32
32
  map <D-]> :tabn
33
33
  map <D-[> :tabp
34
34
  vmap <BS> "-d
35
+ map Û :tabp
35
36
  map Ý :tabn
36
37
  map Û :tabp
37
38
  imap \\p <?php ?><Left><Left><Left>
@@ -73,22 +74,23 @@ if expand('%') == '' && !&modified && line('$') <= 1 && getline(1) == ''
73
74
  let s:wipebuf = bufnr('%')
74
75
  endif
75
76
  set shortmess=aoO
77
+ badd +1 session.vis
76
78
  badd +20 stacktor.gemspec
77
- badd +38 lib/stacktor/identity/v2/client.rb
79
+ badd +1 lib/stacktor/identity/v2/client.rb
78
80
  badd +27 lib/stacktor/identity/v2/token.rb
79
- badd +0 lib/stacktor.rb
80
- badd +36 lib/stacktor/core/client.rb
81
+ badd +1 lib/stacktor.rb
82
+ badd +1 lib/stacktor/core/client.rb
81
83
  badd +1 lib/stacktor/swift/client.rb
82
- badd +25 lib/stacktor/swift/v1/client.rb
84
+ badd +1 lib/stacktor/swift/v1/client.rb
83
85
  badd +61 lib/stacktor/core/request.rb
84
- badd +0 lib/stacktor/core/resource.rb
86
+ badd +1 lib/stacktor/core/resource.rb
85
87
  badd +11 lib/stacktor/swift/v1/container.rb
86
- badd +0 lib/stacktor/swift/v1/container_object.rb
88
+ badd +1 lib/stacktor/swift/v1/container_object.rb
87
89
  badd +2 lib/stacktor/version.rb
88
- badd +0 README.md
90
+ badd +1 README.md
89
91
  args stacktor.gemspec
90
92
  set lines=40 columns=172
91
- winpos 727 297
93
+ winpos 510 324
92
94
  edit stacktor.gemspec
93
95
  set splitbelow splitright
94
96
  wincmd _ | wincmd |
@@ -104,20 +106,20 @@ set nosplitright
104
106
  wincmd t
105
107
  set winheight=1 winwidth=1
106
108
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
107
- exe '2resize ' . ((&lines * 18 + 20) / 40)
109
+ exe '2resize ' . ((&lines * 19 + 20) / 40)
108
110
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
109
- exe '3resize ' . ((&lines * 18 + 20) / 40)
111
+ exe '3resize ' . ((&lines * 17 + 20) / 40)
110
112
  exe 'vert 3resize ' . ((&columns * 85 + 86) / 172)
111
113
  argglobal
112
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
113
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
114
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
115
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
116
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
117
114
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
115
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
116
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
117
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
118
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
119
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
118
120
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
119
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
120
121
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
122
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
121
123
  setlocal keymap=
122
124
  setlocal noarabic
123
125
  setlocal autoindent
@@ -220,24 +222,24 @@ setlocal nowinfixwidth
220
222
  setlocal wrap
221
223
  setlocal wrapmargin=0
222
224
  silent! normal! zE
223
- let s:l = 19 - ((17 * winheight(0) + 18) / 37)
225
+ let s:l = 15 - ((14 * winheight(0) + 18) / 37)
224
226
  if s:l < 1 | let s:l = 1 | endif
225
227
  exe s:l
226
228
  normal! zt
227
- 19
228
- normal! 030|
229
+ 15
230
+ normal! 0
229
231
  wincmd w
230
232
  argglobal
231
233
  edit lib/stacktor/version.rb
232
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
233
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
234
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
235
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
236
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
237
234
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
235
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
236
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
237
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
238
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
239
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
238
240
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
239
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
240
241
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
242
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
241
243
  setlocal keymap=
242
244
  setlocal noarabic
243
245
  setlocal autoindent
@@ -340,7 +342,7 @@ setlocal nowinfixwidth
340
342
  setlocal wrap
341
343
  setlocal wrapmargin=0
342
344
  silent! normal! zE
343
- let s:l = 2 - ((0 * winheight(0) + 9) / 18)
345
+ let s:l = 2 - ((1 * winheight(0) + 9) / 19)
344
346
  if s:l < 1 | let s:l = 1 | endif
345
347
  exe s:l
346
348
  normal! zt
@@ -451,17 +453,17 @@ setlocal nowinfixwidth
451
453
  setlocal wrap
452
454
  setlocal wrapmargin=0
453
455
  silent! normal! zE
454
- let s:l = 18 - ((17 * winheight(0) + 9) / 18)
456
+ let s:l = 17 - ((16 * winheight(0) + 8) / 17)
455
457
  if s:l < 1 | let s:l = 1 | endif
456
458
  exe s:l
457
459
  normal! zt
458
- 18
460
+ 17
459
461
  normal! 0
460
462
  wincmd w
461
463
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
462
- exe '2resize ' . ((&lines * 18 + 20) / 40)
464
+ exe '2resize ' . ((&lines * 19 + 20) / 40)
463
465
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
464
- exe '3resize ' . ((&lines * 18 + 20) / 40)
466
+ exe '3resize ' . ((&lines * 17 + 20) / 40)
465
467
  exe 'vert 3resize ' . ((&columns * 85 + 86) / 172)
466
468
  tabedit lib/stacktor.rb
467
469
  set splitbelow splitright
@@ -470,15 +472,15 @@ set nosplitright
470
472
  wincmd t
471
473
  set winheight=1 winwidth=1
472
474
  argglobal
473
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
474
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
475
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
476
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
477
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
478
475
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
476
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
477
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
478
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
479
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
480
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
479
481
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
480
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
481
482
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
483
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
482
484
  setlocal keymap=
483
485
  setlocal noarabic
484
486
  setlocal autoindent
@@ -600,15 +602,15 @@ set winheight=1 winwidth=1
600
602
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
601
603
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
602
604
  argglobal
603
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
604
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
605
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
606
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
607
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
608
605
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
606
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
607
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
608
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
609
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
610
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
609
611
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
610
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
611
612
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
613
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
612
614
  setlocal keymap=
613
615
  setlocal noarabic
614
616
  setlocal autoindent
@@ -711,24 +713,24 @@ setlocal nowinfixwidth
711
713
  setlocal wrap
712
714
  setlocal wrapmargin=0
713
715
  silent! normal! zE
714
- let s:l = 37 - ((30 * winheight(0) + 18) / 37)
716
+ let s:l = 31 - ((24 * winheight(0) + 18) / 37)
715
717
  if s:l < 1 | let s:l = 1 | endif
716
718
  exe s:l
717
719
  normal! zt
718
- 37
719
- normal! 040|
720
+ 31
721
+ normal! 015|
720
722
  wincmd w
721
723
  argglobal
722
724
  edit lib/stacktor/core/request.rb
723
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
724
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
725
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
726
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
727
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
728
725
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
726
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
727
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
728
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
729
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
730
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
729
731
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
730
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
731
732
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
733
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
732
734
  setlocal keymap=
733
735
  setlocal noarabic
734
736
  setlocal autoindent
@@ -831,12 +833,12 @@ setlocal nowinfixwidth
831
833
  setlocal wrap
832
834
  setlocal wrapmargin=0
833
835
  silent! normal! zE
834
- let s:l = 65 - ((22 * winheight(0) + 18) / 37)
836
+ let s:l = 60 - ((0 * winheight(0) + 18) / 37)
835
837
  if s:l < 1 | let s:l = 1 | endif
836
838
  exe s:l
837
839
  normal! zt
838
- 65
839
- normal! 025|
840
+ 60
841
+ normal! 08|
840
842
  wincmd w
841
843
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
842
844
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
@@ -853,15 +855,15 @@ set winheight=1 winwidth=1
853
855
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
854
856
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
855
857
  argglobal
856
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
857
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
858
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
859
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
860
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
861
858
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
859
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
860
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
861
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
862
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
863
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
862
864
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
863
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
864
865
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
866
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
865
867
  setlocal keymap=
866
868
  setlocal noarabic
867
869
  setlocal autoindent
@@ -973,15 +975,15 @@ normal! 011|
973
975
  wincmd w
974
976
  argglobal
975
977
  edit lib/stacktor/identity/v2/token.rb
976
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
977
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
978
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
979
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
980
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
981
978
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
979
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
980
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
981
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
982
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
983
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
982
984
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
983
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
984
985
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
986
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
985
987
  setlocal keymap=
986
988
  setlocal noarabic
987
989
  setlocal autoindent
@@ -1106,15 +1108,15 @@ set winheight=1 winwidth=1
1106
1108
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
1107
1109
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
1108
1110
  argglobal
1109
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1110
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1111
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1112
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1113
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1114
1111
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
1112
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1113
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1114
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1115
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1116
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1115
1117
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
1116
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1117
1118
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
1119
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1118
1120
  setlocal keymap=
1119
1121
  setlocal noarabic
1120
1122
  setlocal autoindent
@@ -1217,24 +1219,24 @@ setlocal nowinfixwidth
1217
1219
  setlocal wrap
1218
1220
  setlocal wrapmargin=0
1219
1221
  silent! normal! zE
1220
- let s:l = 98 - ((15 * winheight(0) + 18) / 37)
1222
+ let s:l = 28 - ((11 * winheight(0) + 18) / 37)
1221
1223
  if s:l < 1 | let s:l = 1 | endif
1222
1224
  exe s:l
1223
1225
  normal! zt
1224
- 98
1225
- normal! 055|
1226
+ 28
1227
+ normal! 032|
1226
1228
  wincmd w
1227
1229
  argglobal
1228
1230
  edit lib/stacktor/swift/v1/container_object.rb
1229
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1230
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1231
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1232
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1233
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1234
1231
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
1232
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1233
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1234
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1235
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1236
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1235
1237
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
1236
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1237
1238
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
1239
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1238
1240
  setlocal keymap=
1239
1241
  setlocal noarabic
1240
1242
  setlocal autoindent
@@ -1337,12 +1339,12 @@ setlocal nowinfixwidth
1337
1339
  setlocal wrap
1338
1340
  setlocal wrapmargin=0
1339
1341
  silent! normal! zE
1340
- let s:l = 93 - ((33 * winheight(0) + 18) / 37)
1342
+ let s:l = 51 - ((36 * winheight(0) + 18) / 37)
1341
1343
  if s:l < 1 | let s:l = 1 | endif
1342
1344
  exe s:l
1343
1345
  normal! zt
1344
- 93
1345
- normal! 014|
1346
+ 51
1347
+ normal! 0
1346
1348
  wincmd w
1347
1349
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
1348
1350
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
@@ -1359,15 +1361,15 @@ set winheight=1 winwidth=1
1359
1361
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
1360
1362
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
1361
1363
  argglobal
1362
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1363
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1364
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1365
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1366
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1367
1364
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
1365
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1366
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1367
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1368
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1369
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1368
1370
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
1369
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1370
1371
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
1372
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1371
1373
  setlocal keymap=
1372
1374
  setlocal noarabic
1373
1375
  setlocal autoindent
@@ -1479,15 +1481,15 @@ normal! 023|
1479
1481
  wincmd w
1480
1482
  argglobal
1481
1483
  edit lib/stacktor/core/resource.rb
1482
- nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1483
- nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1484
- nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1485
- nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1486
- nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1487
1484
  nnoremap <buffer> <silent> ] :exe v:count1."stag =RubyCursorIdentifier()
1485
+ nnoremap <buffer> <silent>  :exe v:count1."stag =RubyCursorIdentifier()
1486
+ nnoremap <buffer> <silent> g :exe "stjump =RubyCursorIdentifier()
1487
+ nnoremap <buffer> <silent> g] :exe "stselect =RubyCursorIdentifier()
1488
+ nnoremap <buffer> <silent> } :exe "ptag =RubyCursorIdentifier()
1489
+ nnoremap <buffer> <silent> g} :exe "ptjump =RubyCursorIdentifier()
1488
1490
  nnoremap <buffer> <silent>  :exe v:count1."tag =RubyCursorIdentifier()
1489
- nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1490
1491
  nnoremap <buffer> <silent> g :exe "tjump =RubyCursorIdentifier()
1492
+ nnoremap <buffer> <silent> g] :exe "tselect =RubyCursorIdentifier()
1491
1493
  setlocal keymap=
1492
1494
  setlocal noarabic
1493
1495
  setlocal autoindent
@@ -1599,7 +1601,7 @@ normal! 0
1599
1601
  wincmd w
1600
1602
  exe 'vert 1resize ' . ((&columns * 86 + 86) / 172)
1601
1603
  exe 'vert 2resize ' . ((&columns * 85 + 86) / 172)
1602
- tabnext 1
1604
+ tabnext 3
1603
1605
  if exists('s:wipebuf')
1604
1606
  silent exe 'bwipe ' . s:wipebuf
1605
1607
  endif
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacktor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Graham
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-03 00:00:00.000000000 Z
11
+ date: 2015-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport