console_cmdr 0.4.3 → 0.4.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6d3e2bbcce8a1771e978663c871ade8c4a4adda1
4
- data.tar.gz: 2220bba1a95bf1977cc0271e7a22d5bd341e8c7a
3
+ metadata.gz: e59291b984dfbf96e7e58d1d464ca20880a2aabd
4
+ data.tar.gz: 0fd624daddb562aa0a23db6cce3ab76abeafe854
5
5
  SHA512:
6
- metadata.gz: 50e9ef50635c6b14e2e4b0b33f2dea5b3d55523fa73006599cb4d030a9f01e051f1358659fe2d351d4e41dcaf899de7e29b2978ccf48027743092e260f0c2458
7
- data.tar.gz: 4eab3e9c85420a3e1b3de595a53384dc41066842767f91f6cd2e96ca36518168bb96b31ff9028a85f9fd6f1db392891c7475c926a18e1e2d165b580837e829eb
6
+ metadata.gz: 684274848d62a9bd1a77766b4b369e216842edc7f86a68843e2b87049efa83fbb8757b0ea0ac066a59cb8f1a7f47f983086886418e1912faa39e726d4a5528f5
7
+ data.tar.gz: 16e3ff96f8b9c0794e4f988016b78e399741595ddb4a2cb8dd516827fc640fe3d05d14f892ae5dc57cbd866b0097249f97b4cbaa447f27af3841c7ab92ef6be1
checksums.yaml.gz.sig CHANGED
@@ -1,4 +1,2 @@
1
- �X�a��hB�ٖ���ГGi=��l�?�=7�2�X��:Wc{�[W��u����<�5�.�@���D���I���I"m
2
- 1KatI�޲j�sXxV�sss��c
3
- !~����J�Kі�e˜�G93:�����@��r[Z��wT*>��@=�S�8�h!��s?��Nh2��%���[�:+����0�6{�O@h����ǝ�Re�e��Y�*�9n���>�~`�a7'�
4
- Ⱥ���k��xpr�{)b �
1
+ ��S��'C7A
2
+ a����Gܾ�w}+u5�Z������깓�.m������f�%�g��� "��{�C�c3K�GE^,Ʒ���(d�Rی��D��b�p��֝�.�֣����������QJ���y{A0V������j�������NW �՝�(P�לyr����RR��:-��O""��Q���R��r} kF_��ù�]A<y�e��:DV/V8��K��u�c�c��� s�F@Ƒ�D
data/lib/console_cmdr.rb CHANGED
@@ -194,7 +194,7 @@ class ConsoleCmdr < Cmdr
194
194
  @keys.pop
195
195
  return nil
196
196
  end
197
-
197
+
198
198
  select_item(i)
199
199
 
200
200
  elsif key == :arrow_left
@@ -266,9 +266,12 @@ class ConsoleCmdr < Cmdr
266
266
  or type == :interactive then
267
267
 
268
268
  if @linebuffer[-1] != ' ' then
269
+
269
270
  a = @linebuffer.split(/ /)
270
271
  a.pop
271
- @linebuffer = a.join ' '
272
+ @linebuffer = a.join(' ')
273
+ @linebuffer += ' ' if @linebuffer.length > 0
274
+
272
275
  end
273
276
 
274
277
  linebuffer.prepend @linebuffer
@@ -279,7 +282,7 @@ class ConsoleCmdr < Cmdr
279
282
  end
280
283
 
281
284
  execute_command = true if type == :message
282
-
285
+
283
286
  if @selection[i][1] == :branch then
284
287
  words = @linebuffer.split(/ /)
285
288
  @linebuffer = (words[0..-2] + [linebuffer]).join(' ')
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- -0D���hZFػ@�Ex��K���m:�����{u��or��'qD��zf�����gU�����s�< ����4|���^쌚������,3 'Lh�FD�Ľ� ���sjn�猋����A�ՁI��c��o$�{|��t+�*������ ���۟���SHb1����K�F'Ю�b|F]oF}C_�(��ۅ��>�pϢ�?�Wۇ�G����e,1�æz� @��eE$iېj,W6ܽ���
1
+ \`�WɁ������k8>�6��^}�\��Q�����[P��-�L7}t �v-�P���㱖ߨ�/��=�e�"s��Q�>��c�<C�����'<�ϑ�n`'Za ��-��WMd���X#N2P$���g�i�b�h9�������e.�|�@<�wlS�?�|��:�]���bC3&�i�Ap4}����p��V�
2
+ �T�,4?���bN)M�k�1+A;|b]d:�F���&iq��c2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: console_cmdr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  JRl6lG+PlMKYzPBmY9bJ9nnHUzlNaUigwV8HWjUzq9NmckAilhs430t3xe8+fsIc
32
32
  uSZB48oWIrOfew==
33
33
  -----END CERTIFICATE-----
34
- date: 2016-12-02 00:00:00.000000000 Z
34
+ date: 2016-12-03 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: cmdr
metadata.gz.sig CHANGED
Binary file