tty-reader 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty-reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Murach
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-05 00:00:00.000000000 Z
11
+ date: 2018-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: wisper
@@ -101,17 +101,21 @@ dependencies:
101
101
  - !ruby/object:Gem::Version
102
102
  version: '3.0'
103
103
  description: A set of methods for processing keyboard input in character, line and
104
- multiline modes. In addition it maintains history of entered input with an ability
105
- to recall and re-edit those inputs and register to listen for keystrokes.
104
+ multiline modes. It maintains history of entered input with an ability to recall
105
+ and re-edit those inputs. It lets you register to listen for keystroke events and
106
+ trigger custom key events yourself.
106
107
  email:
107
108
  - ''
108
109
  executables: []
109
110
  extensions: []
110
111
  extra_rdoc_files: []
111
112
  files:
113
+ - CHANGELOG.md
112
114
  - LICENSE.txt
113
115
  - README.md
114
116
  - Rakefile
117
+ - benchmarks/speed_read_char.rb
118
+ - benchmarks/speed_read_line.rb
115
119
  - bin/console
116
120
  - bin/setup
117
121
  - examples/keypress.rb
@@ -130,6 +134,15 @@ files:
130
134
  - lib/tty/reader/version.rb
131
135
  - lib/tty/reader/win_api.rb
132
136
  - lib/tty/reader/win_console.rb
137
+ - spec/spec_helper.rb
138
+ - spec/unit/history_spec.rb
139
+ - spec/unit/key_event_spec.rb
140
+ - spec/unit/line_spec.rb
141
+ - spec/unit/publish_keypress_event_spec.rb
142
+ - spec/unit/read_keypress_spec.rb
143
+ - spec/unit/read_line_spec.rb
144
+ - spec/unit/read_multiline_spec.rb
145
+ - spec/unit/subscribe_spec.rb
133
146
  - tasks/console.rake
134
147
  - tasks/coverage.rake
135
148
  - tasks/spec.rake