tty 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tty
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-01 00:00:00.000000000 Z
12
+ date: 2012-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &2152426380 !ruby/object:Gem::Requirement
16
+ requirement: &2160319500 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2152426380
24
+ version_requirements: *2160319500
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &2152425900 !ruby/object:Gem::Requirement
27
+ requirement: &2160319060 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2152425900
35
+ version_requirements: *2160319060
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: yard
38
- requirement: &2152425460 !ruby/object:Gem::Requirement
38
+ requirement: &2160318560 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152425460
46
+ version_requirements: *2160318560
47
47
  description: Toolbox for developing CLI clients
48
48
  email:
49
49
  - ''
@@ -61,7 +61,11 @@ files:
61
61
  - README.md
62
62
  - Rakefile
63
63
  - lib/tty.rb
64
- - lib/tty/color.rb
64
+ - lib/tty/shell.rb
65
+ - lib/tty/shell/question.rb
66
+ - lib/tty/shell/question/modifier.rb
67
+ - lib/tty/shell/question/validation.rb
68
+ - lib/tty/shell/statement.rb
65
69
  - lib/tty/support/coercion.rb
66
70
  - lib/tty/support/conversion.rb
67
71
  - lib/tty/support/delegatable.rb
@@ -87,10 +91,22 @@ files:
87
91
  - lib/tty/table/renderer/unicode.rb
88
92
  - lib/tty/table/validatable.rb
89
93
  - lib/tty/terminal.rb
94
+ - lib/tty/terminal/color.rb
90
95
  - lib/tty/vector.rb
91
96
  - lib/tty/version.rb
92
97
  - spec/spec_helper.rb
93
- - spec/tty/color_spec.rb
98
+ - spec/tty/shell/ask_spec.rb
99
+ - spec/tty/shell/error_spec.rb
100
+ - spec/tty/shell/print_table_spec.rb
101
+ - spec/tty/shell/question/initialize_spec.rb
102
+ - spec/tty/shell/question/modifier/apply_to_spec.rb
103
+ - spec/tty/shell/question/modifier/letter_case_spec.rb
104
+ - spec/tty/shell/question/modifier/whitespace_spec.rb
105
+ - spec/tty/shell/question/validation/coerce_spec.rb
106
+ - spec/tty/shell/question/validation/valid_value_spec.rb
107
+ - spec/tty/shell/say_spec.rb
108
+ - spec/tty/shell/statement/initialize_spec.rb
109
+ - spec/tty/shell/warn_spec.rb
94
110
  - spec/tty/support/coercion_spec.rb
95
111
  - spec/tty/support/conversion_spec.rb
96
112
  - spec/tty/support/delegatable_spec.rb
@@ -126,6 +142,11 @@ files:
126
142
  - spec/tty/table/renderer_spec.rb
127
143
  - spec/tty/table/to_s_spec.rb
128
144
  - spec/tty/table/validatable_spec.rb
145
+ - spec/tty/terminal/color/code_spec.rb
146
+ - spec/tty/terminal/color/remove_spec.rb
147
+ - spec/tty/terminal/color/set_spec.rb
148
+ - spec/tty/terminal/color_spec.rb
149
+ - spec/tty/terminal/home_spec.rb
129
150
  - spec/tty/terminal/size_spec.rb
130
151
  - spec/tty/vector/new_spec.rb
131
152
  - tasks/metrics/cane.rake
@@ -158,7 +179,18 @@ specification_version: 3
158
179
  summary: Toolbox for developing CLI clients
159
180
  test_files:
160
181
  - spec/spec_helper.rb
161
- - spec/tty/color_spec.rb
182
+ - spec/tty/shell/ask_spec.rb
183
+ - spec/tty/shell/error_spec.rb
184
+ - spec/tty/shell/print_table_spec.rb
185
+ - spec/tty/shell/question/initialize_spec.rb
186
+ - spec/tty/shell/question/modifier/apply_to_spec.rb
187
+ - spec/tty/shell/question/modifier/letter_case_spec.rb
188
+ - spec/tty/shell/question/modifier/whitespace_spec.rb
189
+ - spec/tty/shell/question/validation/coerce_spec.rb
190
+ - spec/tty/shell/question/validation/valid_value_spec.rb
191
+ - spec/tty/shell/say_spec.rb
192
+ - spec/tty/shell/statement/initialize_spec.rb
193
+ - spec/tty/shell/warn_spec.rb
162
194
  - spec/tty/support/coercion_spec.rb
163
195
  - spec/tty/support/conversion_spec.rb
164
196
  - spec/tty/support/delegatable_spec.rb
@@ -194,6 +226,11 @@ test_files:
194
226
  - spec/tty/table/renderer_spec.rb
195
227
  - spec/tty/table/to_s_spec.rb
196
228
  - spec/tty/table/validatable_spec.rb
229
+ - spec/tty/terminal/color/code_spec.rb
230
+ - spec/tty/terminal/color/remove_spec.rb
231
+ - spec/tty/terminal/color/set_spec.rb
232
+ - spec/tty/terminal/color_spec.rb
233
+ - spec/tty/terminal/home_spec.rb
197
234
  - spec/tty/terminal/size_spec.rb
198
235
  - spec/tty/vector/new_spec.rb
199
236
  has_rdoc:
data/lib/tty/color.rb DELETED
@@ -1,14 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- module TTY
4
- class Color
5
-
6
- # Embed in a String to clear all previous ANSI sequences.
7
- CLEAR = "\e[0m""]"
8
- # The start of an ANSI bold sequence.
9
- BOLD = "\e[1m""]"
10
-
11
- attr_reader :enabled
12
-
13
- end # Color
14
- end # TTY
@@ -1,5 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe TTY::Color do
4
-
5
- end