coolline 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coolline/ansi.rb +4 -2
- data/lib/coolline/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c9e0491e7e65c920ecee01ffb8f7817a861a7ea
|
4
|
+
data.tar.gz: 8441446e2d59571b45220fffce3988aa77e43c57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee8ec55d743a03a2317c60a17503e1869df2dd110fc666f255b7bd4654935de4fc1c8d18aef12bd71ffa790d6cdc89981087fbfff7e2e762c4fd55bf9164a1cf
|
7
|
+
data.tar.gz: 0709d7d1450462b3e4728e5496fd4481542486aeb2478b8b303de211044f76267bf41a7ded72d08d0ddf2b30a48dab57459009ce117d0b668fd6ac78a6d62164
|
data/lib/coolline/ansi.rb
CHANGED
@@ -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
|
-
|
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[
|
97
|
+
print "\e[1A\r"
|
96
98
|
end
|
97
99
|
end
|
98
100
|
end
|
data/lib/coolline/version.rb
CHANGED
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.
|
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-
|
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
|
-
-
|
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.
|
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
|