coolline 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: 1f1ff87139f5360e3f34721db4068b81576a7d45
4
- data.tar.gz: dafbaa6784716d492c90cd41ccf7067bd3b1a97f
3
+ metadata.gz: 0c9e0491e7e65c920ecee01ffb8f7817a861a7ea
4
+ data.tar.gz: 8441446e2d59571b45220fffce3988aa77e43c57
5
5
  SHA512:
6
- metadata.gz: dac637b858d7925e93f5aa22b6ae302d618b29964938eb483160f3f38f57cdbca9e8b90b3219196ce5e6e652a5edb7ac0984cfdfa0c5558d6fff2b3a37c69e6b
7
- data.tar.gz: f8143342410c48abdfdbdb49867cf2716c8bc0cbff743766871d437035a217eaa259f22cfd4603be58627ca9a56d578157fd2e92e55a1631a35b73953579ee64
6
+ metadata.gz: ee8ec55d743a03a2317c60a17503e1869df2dd110fc666f255b7bd4654935de4fc1c8d18aef12bd71ffa790d6cdc89981087fbfff7e2e762c4fd55bf9164a1cf
7
+ data.tar.gz: 0709d7d1450462b3e4728e5496fd4481542486aeb2478b8b303de211044f76267bf41a7ded72d08d0ddf2b30a48dab57459009ce117d0b668fd6ac78a6d62164
@@ -87,12 +87,14 @@ class Coolline
87
87
 
88
88
  # Moves to the beginning of the next line.
89
89
  def go_to_next_line
90
- print "\e[E"
90
+ # CNL/CPL aren't as widely supported as this trick
91
+ # (Namely, iTerm2 does not support them).
92
+ print "\e[1B\r"
91
93
  end
92
94
 
93
95
  # Moves to the beginning of the previous line.
94
96
  def go_to_previous_line
95
- print "\e[F"
97
+ print "\e[1A\r"
96
98
  end
97
99
  end
98
100
  end
@@ -1,3 +1,3 @@
1
1
  class Coolline
2
- Version = "0.4.3"
2
+ Version = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coolline
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
  - Mon ouie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-21 00:00:00.000000000 Z
11
+ date: 2014-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riot
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: |
@@ -33,23 +33,23 @@ extensions: []
33
33
  extra_rdoc_files:
34
34
  - README.md
35
35
  files:
36
+ - ".gemtest"
37
+ - LICENSE
38
+ - README.md
36
39
  - lib/coolline.rb
37
- - lib/coolline/menu.rb
38
40
  - lib/coolline/ansi.rb
39
41
  - lib/coolline/coolline.rb
40
- - lib/coolline/history.rb
41
- - lib/coolline/handler.rb
42
42
  - lib/coolline/editor.rb
43
+ - lib/coolline/handler.rb
44
+ - lib/coolline/history.rb
45
+ - lib/coolline/menu.rb
43
46
  - lib/coolline/version.rb
44
- - test/helpers.rb
47
+ - repl.rb
45
48
  - test/coolline_test.rb
49
+ - test/editor_test.rb
50
+ - test/helpers.rb
46
51
  - test/history_test.rb
47
52
  - test/run_all.rb
48
- - test/editor_test.rb
49
- - repl.rb
50
- - .gemtest
51
- - LICENSE
52
- - README.md
53
53
  homepage: http://github.com/Mon-Ouie/coolline
54
54
  licenses: []
55
55
  metadata: {}
@@ -59,17 +59,17 @@ require_paths:
59
59
  - lib
60
60
  required_ruby_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - '>='
62
+ - - ">="
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.0.14
72
+ rubygems_version: 2.2.2
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Sounds like readline, smells like readline, but isn't readline