highline 1.6.2 → 1.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +24 -0
- data/Rakefile +4 -4
- data/lib/highline.rb +283 -130
- data/lib/highline/color_scheme.rb +20 -2
- data/lib/highline/menu.rb +1 -1
- data/lib/highline/question.rb +3 -0
- data/lib/highline/string_extensions.rb +98 -0
- data/lib/highline/style.rb +184 -0
- data/test/string_methods.rb +34 -0
- data/test/tc_color_scheme.rb +42 -0
- data/test/tc_highline.rb +133 -4
- data/test/tc_string_extension.rb +22 -0
- data/test/tc_string_highline.rb +40 -0
- data/test/tc_style.rb +569 -0
- data/test/ts_all.rb +3 -0
- metadata +32 -30
data/test/ts_all.rb
CHANGED
metadata
CHANGED
@@ -1,37 +1,36 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: highline
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.6.5
|
4
5
|
prerelease:
|
5
|
-
version: 1.6.2
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- James Edward Gray II
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2011-05-13 00:00:00 -05:00
|
14
|
-
default_executable:
|
12
|
+
date: 2011-11-05 00:00:00.000000000 Z
|
15
13
|
dependencies: []
|
14
|
+
description: ! 'A high-level IO library that provides validation, type conversion,
|
15
|
+
and more for
|
16
16
|
|
17
|
-
description: |
|
18
|
-
A high-level IO library that provides validation, type conversion, and more for
|
19
17
|
command-line interfaces. HighLine also includes a complete menu system that can
|
18
|
+
|
20
19
|
crank out anything from simple list selection to complete shells with just
|
20
|
+
|
21
21
|
minutes of work.
|
22
22
|
|
23
|
+
'
|
23
24
|
email: james@grayproductions.net
|
24
25
|
executables: []
|
25
|
-
|
26
26
|
extensions: []
|
27
|
-
|
28
|
-
extra_rdoc_files:
|
27
|
+
extra_rdoc_files:
|
29
28
|
- README
|
30
29
|
- INSTALL
|
31
30
|
- TODO
|
32
31
|
- CHANGELOG
|
33
32
|
- LICENSE
|
34
|
-
files:
|
33
|
+
files:
|
35
34
|
- examples/ansi_colors.rb
|
36
35
|
- examples/asking_for_arrays.rb
|
37
36
|
- examples/basic_usage.rb
|
@@ -48,12 +47,18 @@ files:
|
|
48
47
|
- lib/highline/import.rb
|
49
48
|
- lib/highline/menu.rb
|
50
49
|
- lib/highline/question.rb
|
50
|
+
- lib/highline/string_extensions.rb
|
51
|
+
- lib/highline/style.rb
|
51
52
|
- lib/highline/system_extensions.rb
|
52
53
|
- lib/highline.rb
|
54
|
+
- test/string_methods.rb
|
53
55
|
- test/tc_color_scheme.rb
|
54
56
|
- test/tc_highline.rb
|
55
57
|
- test/tc_import.rb
|
56
58
|
- test/tc_menu.rb
|
59
|
+
- test/tc_string_extension.rb
|
60
|
+
- test/tc_string_highline.rb
|
61
|
+
- test/tc_style.rb
|
57
62
|
- test/ts_all.rb
|
58
63
|
- Rakefile
|
59
64
|
- setup.rb
|
@@ -62,36 +67,33 @@ files:
|
|
62
67
|
- TODO
|
63
68
|
- CHANGELOG
|
64
69
|
- LICENSE
|
65
|
-
has_rdoc: true
|
66
70
|
homepage: http://highline.rubyforge.org
|
67
71
|
licenses: []
|
68
|
-
|
69
72
|
post_install_message:
|
70
|
-
rdoc_options:
|
73
|
+
rdoc_options:
|
71
74
|
- --title
|
72
75
|
- HighLine Documentation
|
73
76
|
- --main
|
74
77
|
- README
|
75
|
-
require_paths:
|
78
|
+
require_paths:
|
76
79
|
- lib
|
77
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
78
81
|
none: false
|
79
|
-
requirements:
|
80
|
-
- -
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version:
|
83
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
87
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version:
|
88
|
+
requirements:
|
89
|
+
- - ! '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
89
92
|
requirements: []
|
90
|
-
|
91
93
|
rubyforge_project: highline
|
92
|
-
rubygems_version: 1.
|
94
|
+
rubygems_version: 1.8.10
|
93
95
|
signing_key:
|
94
96
|
specification_version: 3
|
95
97
|
summary: HighLine is a high-level command-line IO library.
|
96
|
-
test_files:
|
98
|
+
test_files:
|
97
99
|
- test/ts_all.rb
|