yap-rawline 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rawline/key_bindings.rb +3 -3
- data/lib/rawline/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fc89446c1a7d8c2867d80966385bd4440afd881
|
4
|
+
data.tar.gz: 035306deacfd89d6e45a6892718bb241e8db8966
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6b3bdf5587d883b255aa70875f717ac411cb2189db1b42eb1c815cf29bef09a52679f9293bf0794a8bbe67dba83d05a6ef2332676c3ed9a38c700a259568d92
|
7
|
+
data.tar.gz: 661bad9b1aa6eb3df3fbadd57ba7f9a4c61087fbdf839019e503269def8ab309a5d2e95674e03da004175e2e97e876e29d9be43d246847c80ca65d641a21cc48
|
data/lib/rawline/key_bindings.rb
CHANGED
@@ -6,8 +6,8 @@ module RawLine
|
|
6
6
|
attr_accessor :default_terminal
|
7
7
|
end
|
8
8
|
|
9
|
-
def initialize(terminal:
|
10
|
-
@terminal = terminal
|
9
|
+
def initialize(terminal: nil)
|
10
|
+
@terminal = terminal || self.class.default_terminal
|
11
11
|
@keys = {}
|
12
12
|
end
|
13
13
|
|
@@ -104,6 +104,6 @@ module RawLine
|
|
104
104
|
@terminal.keys[j] = code
|
105
105
|
keys[code] = block
|
106
106
|
end
|
107
|
-
end
|
107
|
+
end
|
108
108
|
end
|
109
109
|
end
|
data/lib/rawline/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yap-rawline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabio Cevasco
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.4.2
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 0.4.2
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: term-ansicolor
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|