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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afc399a4d24e5a29a71b26a60735c227e36eae78
4
- data.tar.gz: 1a793f0708d3f9f21b2b8a9099a0f65138af460e
3
+ metadata.gz: 9fc89446c1a7d8c2867d80966385bd4440afd881
4
+ data.tar.gz: 035306deacfd89d6e45a6892718bb241e8db8966
5
5
  SHA512:
6
- metadata.gz: fccdd6b3a6d51ee79a59485d02c11bc34915e03b3a9e8f995a2573e34e8251ee430df4c1aa759fd10be92162e41989d4b79a40cd194f3740e8657b22f581dd26
7
- data.tar.gz: 5ccd493b90af286827cb299419c332e224abb1fff8a104644f093651abe691b781722a2390a701f62e4c7ddc59f057ce580e286d829b9fedc13b88d6b1031de1
6
+ metadata.gz: a6b3bdf5587d883b255aa70875f717ac411cb2189db1b42eb1c815cf29bef09a52679f9293bf0794a8bbe67dba83d05a6ef2332676c3ed9a38c700a259568d92
7
+ data.tar.gz: 661bad9b1aa6eb3df3fbadd57ba7f9a4c61087fbdf839019e503269def8ab309a5d2e95674e03da004175e2e97e876e29d9be43d246847c80ca65d641a21cc48
@@ -6,8 +6,8 @@ module RawLine
6
6
  attr_accessor :default_terminal
7
7
  end
8
8
 
9
- def initialize(terminal: self.class.default_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
@@ -1,3 +1,3 @@
1
1
  module RawLine
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
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.2
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: '0.4'
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: '0.4'
61
+ version: 0.4.2
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: term-ansicolor
64
64
  requirement: !ruby/object:Gem::Requirement