gli 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/gli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.1.0' #:nodoc:
3
+ VERSION = '2.2.0' #:nodoc:
4
4
  end
5
5
  end
@@ -14,7 +14,11 @@ else
14
14
  include GLI::App
15
15
  end
16
16
 
17
+ sort_help (ENV['TODO_SORT_HELP'] || 'alpha').to_sym
18
+ wrap_help_text (ENV['TODO_WRAP_HELP_TEXT'] || 'to_terminal').to_sym
19
+
17
20
  program_desc 'Manages tasks'
21
+ program_long_desc "A test program that has a sophisticated UI that can be used to exercise a lot of GLI's power"
18
22
 
19
23
  config_file "gli_test_todo.rc"
20
24
 
data/test/tc_doc.rb CHANGED
@@ -56,6 +56,10 @@ class TC_testDoc < Clean::Test::TestCase
56
56
  @stringio << desc << "\n"
57
57
  end
58
58
 
59
+ def program_long_desc(desc)
60
+ @stringio << desc << "\n"
61
+ end
62
+
59
63
  def version(version)
60
64
  @stringio << version << "\n"
61
65
  end
@@ -158,6 +162,7 @@ private
158
162
  @app = TestApp.new
159
163
  @app.instance_eval do
160
164
  program_desc "program desc"
165
+ program_long_desc "program long desc"
161
166
  version "1.3.4"
162
167
 
163
168
  TC_testDoc.flag_with_everything_specified(self)
@@ -227,6 +232,7 @@ private
227
232
  @string =<<EOS
228
233
  BEGIN
229
234
  program desc
235
+ program long desc
230
236
  1.3.4
231
237
  flag: F
232
238
  aliases: flag2
data/test/tc_flag.rb CHANGED
@@ -27,28 +27,36 @@ class TC_testFlag < Clean::Test::TestCase
27
27
  }
28
28
  end
29
29
 
30
- def flag_with_names(names)
30
+ def test_flag_can_mask_its_value
31
+ Given flag_with_names(:password, :mask => true)
32
+ Then attributes_should_be_set(:safe_default_value => "********")
33
+ end
34
+
35
+ def flag_with_names(names,options = {})
31
36
  lambda do
32
37
  @options = {
33
38
  :desc => 'Filename',
34
39
  :long_desc => 'The Filename',
35
40
  :arg_name => 'file',
36
41
  :default_value => '~/.blah.rc',
42
+ :safe_default_value => '~/.blah.rc',
37
43
  :must_match => /foobar/,
38
44
  :type => Float,
39
- }
45
+ }.merge(options)
40
46
  @flag = GLI::Flag.new(names,@options)
41
47
  @cli_option = @flag
42
48
  end
43
49
  end
44
50
 
45
- def attributes_should_be_set
51
+ def attributes_should_be_set(override={})
46
52
  lambda {
47
- assert_equal(@options[:desc],@flag.description)
48
- assert_equal(@options[:long_desc],@flag.long_description)
49
- assert_equal(@options[:default_value],@flag.default_value)
50
- assert_equal(@options[:must_match],@flag.must_match)
51
- assert_equal(@options[:type],@flag.type)
53
+ expected = @options.merge(override)
54
+ assert_equal(expected[:desc],@flag.description)
55
+ assert_equal(expected[:long_desc],@flag.long_description)
56
+ assert_equal(expected[:default_value],@flag.default_value)
57
+ assert_equal(expected[:safe_default_value],@flag.safe_default_value)
58
+ assert_equal(expected[:must_match],@flag.must_match)
59
+ assert_equal(expected[:type],@flag.type)
52
60
  assert(@flag.usage != nil)
53
61
  }
54
62
  end
data/test/test_helper.rb CHANGED
@@ -11,3 +11,5 @@ module TestHelper
11
11
  include GLI::App
12
12
  end
13
13
  end
14
+
15
+ Faker::Config.locale = :en
metadata CHANGED
@@ -1,427 +1,321 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gli
3
- version: !ruby/object:Gem::Version
4
- version: 2.1.0
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
5
  prerelease:
6
+ segments:
7
+ - 2
8
+ - 2
9
+ - 0
10
+ version: 2.2.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - David Copeland
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-09-14 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-09-19 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: rake
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: 0.9.2.2
22
- type: :development
23
22
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: &id001 !ruby/object:Gem::Requirement
25
24
  none: false
26
- requirements:
25
+ requirements:
27
26
  - - ~>
28
- - !ruby/object:Gem::Version
27
+ - !ruby/object:Gem::Version
28
+ hash: 11
29
+ segments:
30
+ - 0
31
+ - 9
32
+ - 2
33
+ - 2
29
34
  version: 0.9.2.2
30
- - !ruby/object:Gem::Dependency
31
- name: rdoc
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: '3.11'
38
35
  type: :development
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: rdoc
39
39
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
41
  none: false
42
- requirements:
42
+ requirements:
43
43
  - - ~>
44
- - !ruby/object:Gem::Version
45
- version: '3.11'
46
- - !ruby/object:Gem::Dependency
47
- name: roodi
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ~>
52
- - !ruby/object:Gem::Version
53
- version: 2.1.0
44
+ - !ruby/object:Gem::Version
45
+ hash: 17
46
+ segments:
47
+ - 3
48
+ - 11
49
+ version: "3.11"
54
50
  type: :development
51
+ version_requirements: *id002
52
+ - !ruby/object:Gem::Dependency
53
+ name: roodi
55
54
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
55
+ requirement: &id003 !ruby/object:Gem::Requirement
57
56
  none: false
58
- requirements:
57
+ requirements:
59
58
  - - ~>
60
- - !ruby/object:Gem::Version
59
+ - !ruby/object:Gem::Version
60
+ hash: 11
61
+ segments:
62
+ - 2
63
+ - 1
64
+ - 0
61
65
  version: 2.1.0
62
- - !ruby/object:Gem::Dependency
63
- name: reek
64
- requirement: !ruby/object:Gem::Requirement
65
- none: false
66
- requirements:
67
- - - ! '>='
68
- - !ruby/object:Gem::Version
69
- version: '0'
70
66
  type: :development
67
+ version_requirements: *id003
68
+ - !ruby/object:Gem::Dependency
69
+ name: reek
71
70
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
71
+ requirement: &id004 !ruby/object:Gem::Requirement
73
72
  none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- - !ruby/object:Gem::Dependency
79
- name: rainbow
80
- requirement: !ruby/object:Gem::Requirement
81
- none: false
82
- requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 1.1.1
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ hash: 3
77
+ segments:
78
+ - 0
79
+ version: "0"
86
80
  type: :development
81
+ version_requirements: *id004
82
+ - !ruby/object:Gem::Dependency
83
+ name: rainbow
87
84
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
85
+ requirement: &id005 !ruby/object:Gem::Requirement
89
86
  none: false
90
- requirements:
87
+ requirements:
91
88
  - - ~>
92
- - !ruby/object:Gem::Version
89
+ - !ruby/object:Gem::Version
90
+ hash: 17
91
+ segments:
92
+ - 1
93
+ - 1
94
+ - 1
93
95
  version: 1.1.1
94
- - !ruby/object:Gem::Dependency
95
- name: clean_test
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
96
  type: :development
97
+ version_requirements: *id005
98
+ - !ruby/object:Gem::Dependency
99
+ name: clean_test
103
100
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
101
+ requirement: &id006 !ruby/object:Gem::Requirement
105
102
  none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
111
- name: aruba
112
- requirement: !ruby/object:Gem::Requirement
113
- none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ hash: 3
107
+ segments:
108
+ - 0
109
+ version: "0"
118
110
  type: :development
111
+ version_requirements: *id006
112
+ - !ruby/object:Gem::Dependency
113
+ name: aruba
119
114
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
115
+ requirement: &id007 !ruby/object:Gem::Requirement
121
116
  none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
117
+ requirements:
118
+ - - ">="
119
+ - !ruby/object:Gem::Version
120
+ hash: 3
121
+ segments:
122
+ - 0
123
+ version: "0"
124
+ type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
127
  name: sdoc
128
- requirement: !ruby/object:Gem::Requirement
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
129
130
  none: false
130
- requirements:
131
- - - ! '>='
132
- - !ruby/object:Gem::Version
133
- version: '0'
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ hash: 3
135
+ segments:
136
+ - 0
137
+ version: "0"
134
138
  type: :development
139
+ version_requirements: *id008
140
+ - !ruby/object:Gem::Dependency
141
+ name: faker
135
142
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
143
+ requirement: &id009 !ruby/object:Gem::Requirement
137
144
  none: false
138
- requirements:
139
- - - ! '>='
140
- - !ruby/object:Gem::Version
141
- version: '0'
142
- description: Build command-suite CLI apps that are awesome. Bootstrap your app, add
143
- commands, options and documentation while maintaining a well-tested idiomatic command-line
144
- app
145
+ requirements:
146
+ - - "="
147
+ - !ruby/object:Gem::Version
148
+ hash: 23
149
+ segments:
150
+ - 1
151
+ - 0
152
+ - 0
153
+ version: 1.0.0
154
+ type: :development
155
+ version_requirements: *id009
156
+ description: Build command-suite CLI apps that are awesome. Bootstrap your app, add commands, options and documentation while maintaining a well-tested idiomatic command-line app
145
157
  email: davidcopeland@naildrivin5.com
146
- executables:
158
+ executables:
147
159
  - gli
148
160
  extensions: []
149
- extra_rdoc_files:
161
+
162
+ extra_rdoc_files:
163
+ - README.rdoc
164
+ - gli.rdoc
165
+ files:
166
+ - .gitignore
167
+ - .rvmrc
168
+ - .travis.yml
169
+ - Gemfile
170
+ - LICENSE.txt
171
+ - ObjectModel.graffle
150
172
  - README.rdoc
173
+ - Rakefile
174
+ - bin/gli
175
+ - bin/report_on_rake_results
176
+ - bin/test_all_rubies.sh
177
+ - features/gli_executable.feature
178
+ - features/gli_init.feature
179
+ - features/step_definitions/gli_executable_steps.rb
180
+ - features/step_definitions/gli_init_steps.rb
181
+ - features/step_definitions/todo_steps.rb
182
+ - features/support/env.rb
183
+ - features/todo.feature
184
+ - gli.cheat
185
+ - gli.gemspec
151
186
  - gli.rdoc
152
- files:
153
- - !binary |-
154
- LmdpdGlnbm9yZQ==
155
- - !binary |-
156
- LnJ2bXJj
157
- - !binary |-
158
- LnRyYXZpcy55bWw=
159
- - !binary |-
160
- R2VtZmlsZQ==
161
- - !binary |-
162
- TElDRU5TRS50eHQ=
163
- - !binary |-
164
- T2JqZWN0TW9kZWwuZ3JhZmZsZQ==
165
- - !binary |-
166
- UkVBRE1FLnJkb2M=
167
- - !binary |-
168
- UmFrZWZpbGU=
169
- - !binary |-
170
- YmluL2dsaQ==
171
- - !binary |-
172
- YmluL3JlcG9ydF9vbl9yYWtlX3Jlc3VsdHM=
173
- - !binary |-
174
- YmluL3Rlc3RfYWxsX3J1Ymllcy5zaA==
175
- - !binary |-
176
- ZmVhdHVyZXMvZ2xpX2V4ZWN1dGFibGUuZmVhdHVyZQ==
177
- - !binary |-
178
- ZmVhdHVyZXMvZ2xpX2luaXQuZmVhdHVyZQ==
179
- - !binary |-
180
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfZXhlY3V0YWJsZV9zdGVw
181
- cy5yYg==
182
- - !binary |-
183
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfaW5pdF9zdGVwcy5yYg==
184
- - !binary |-
185
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy90b2RvX3N0ZXBzLnJi
186
- - !binary |-
187
- ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
188
- - !binary |-
189
- ZmVhdHVyZXMvdG9kby5mZWF0dXJl
190
- - !binary |-
191
- Z2xpLmNoZWF0
192
- - !binary |-
193
- Z2xpLmdlbXNwZWM=
194
- - !binary |-
195
- Z2xpLnJkb2M=
196
- - !binary |-
197
- bGliL2dsaS5yYg==
198
- - !binary |-
199
- bGliL2dsaS9hcHAucmI=
200
- - !binary |-
201
- bGliL2dsaS9hcHBfc3VwcG9ydC5yYg==
202
- - !binary |-
203
- bGliL2dsaS9jb21tYW5kLnJi
204
- - !binary |-
205
- bGliL2dsaS9jb21tYW5kX2xpbmVfb3B0aW9uLnJi
206
- - !binary |-
207
- bGliL2dsaS9jb21tYW5kX2xpbmVfdG9rZW4ucmI=
208
- - !binary |-
209
- bGliL2dsaS9jb21tYW5kX3N1cHBvcnQucmI=
210
- - !binary |-
211
- bGliL2dsaS9jb21tYW5kcy9jb21wb3VuZF9jb21tYW5kLnJi
212
- - !binary |-
213
- bGliL2dsaS9jb21tYW5kcy9kb2MucmI=
214
- - !binary |-
215
- bGliL2dsaS9jb21tYW5kcy9oZWxwLnJi
216
- - !binary |-
217
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvY29tbWFuZF9maW5kZXIu
218
- cmI=
219
- - !binary |-
220
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvY29tbWFuZF9oZWxwX2Zv
221
- cm1hdC5yYg==
222
- - !binary |-
223
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvZ2xvYmFsX2hlbHBfZm9y
224
- bWF0LnJi
225
- - !binary |-
226
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvaGVscF9jb21wbGV0aW9u
227
- X2Zvcm1hdC5yYg==
228
- - !binary |-
229
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvbGlzdF9mb3JtYXR0ZXIu
230
- cmI=
231
- - !binary |-
232
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvb3B0aW9uc19mb3JtYXR0
233
- ZXIucmI=
234
- - !binary |-
235
- bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvdGV4dF93cmFwcGVyLnJi
236
- - !binary |-
237
- bGliL2dsaS9jb21tYW5kcy9pbml0Y29uZmlnLnJi
238
- - !binary |-
239
- bGliL2dsaS9jb21tYW5kcy9yZG9jX2RvY3VtZW50X2xpc3RlbmVyLnJi
240
- - !binary |-
241
- bGliL2dsaS9jb21tYW5kcy9zY2FmZm9sZC5yYg==
242
- - !binary |-
243
- bGliL2dsaS9jb3B5X29wdGlvbnNfdG9fYWxpYXNlcy5yYg==
244
- - !binary |-
245
- bGliL2dsaS9kc2wucmI=
246
- - !binary |-
247
- bGliL2dsaS9leGNlcHRpb25zLnJi
248
- - !binary |-
249
- bGliL2dsaS9mbGFnLnJi
250
- - !binary |-
251
- bGliL2dsaS9nbGlfb3B0aW9uX3BhcnNlci5yYg==
252
- - !binary |-
253
- bGliL2dsaS9vcHRpb25fcGFyc2VyX2ZhY3RvcnkucmI=
254
- - !binary |-
255
- bGliL2dsaS9vcHRpb25zLnJi
256
- - !binary |-
257
- bGliL2dsaS9zd2l0Y2gucmI=
258
- - !binary |-
259
- bGliL2dsaS90ZXJtaW5hbC5yYg==
260
- - !binary |-
261
- bGliL2dsaS92ZXJzaW9uLnJi
262
- - !binary |-
263
- dGVzdC9hcHBzL1JFQURNRS5tZA==
264
- - !binary |-
265
- dGVzdC9hcHBzL3RvZG8vR2VtZmlsZQ==
266
- - !binary |-
267
- dGVzdC9hcHBzL3RvZG8vUkVBRE1FLnJkb2M=
268
- - !binary |-
269
- dGVzdC9hcHBzL3RvZG8vUmFrZWZpbGU=
270
- - !binary |-
271
- dGVzdC9hcHBzL3RvZG8vYmluL3RvZG8=
272
- - !binary |-
273
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvY3JlYXRlLnJi
274
- - !binary |-
275
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbGlzdC5yYg==
276
- - !binary |-
277
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbHMucmI=
278
- - !binary |-
279
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vdmVyc2lvbi5yYg==
280
- - !binary |-
281
- dGVzdC9hcHBzL3RvZG8vdGVzdC90Y19ub3RoaW5nLnJi
282
- - !binary |-
283
- dGVzdC9hcHBzL3RvZG8vdG9kby5nZW1zcGVj
284
- - !binary |-
285
- dGVzdC9hcHBzL3RvZG8vdG9kby5yZG9j
286
- - !binary |-
287
- dGVzdC9jb25maWcueWFtbA==
288
- - !binary |-
289
- dGVzdC9mYWtlX3N0ZF9vdXQucmI=
290
- - !binary |-
291
- dGVzdC9nbGkucmVlaw==
292
- - !binary |-
293
- dGVzdC9pbml0X3NpbXBsZWNvdi5yYg==
294
- - !binary |-
295
- dGVzdC9vcHRpb25fdGVzdF9oZWxwZXIucmI=
296
- - !binary |-
297
- dGVzdC9yb29kaS55YW1s
298
- - !binary |-
299
- dGVzdC90Y19jb21tYW5kLnJi
300
- - !binary |-
301
- dGVzdC90Y19jb21wb3VudF9jb21tYW5kLnJi
302
- - !binary |-
303
- dGVzdC90Y19kb2MucmI=
304
- - !binary |-
305
- dGVzdC90Y19mbGFnLnJi
306
- - !binary |-
307
- dGVzdC90Y19nbGkucmI=
308
- - !binary |-
309
- dGVzdC90Y19oZWxwLnJi
310
- - !binary |-
311
- dGVzdC90Y19vcHRpb25zLnJi
312
- - !binary |-
313
- dGVzdC90Y19zdWJjb21tYW5kcy5yYg==
314
- - !binary |-
315
- dGVzdC90Y19zd2l0Y2gucmI=
316
- - !binary |-
317
- dGVzdC90Y190ZXJtaW5hbC5yYg==
318
- - !binary |-
319
- dGVzdC90ZXN0X2hlbHBlci5yYg==
187
+ - lib/gli.rb
188
+ - lib/gli/app.rb
189
+ - lib/gli/app_support.rb
190
+ - lib/gli/command.rb
191
+ - lib/gli/command_line_option.rb
192
+ - lib/gli/command_line_token.rb
193
+ - lib/gli/command_support.rb
194
+ - lib/gli/commands/compound_command.rb
195
+ - lib/gli/commands/doc.rb
196
+ - lib/gli/commands/help.rb
197
+ - lib/gli/commands/help_modules/arg_name_formatter.rb
198
+ - lib/gli/commands/help_modules/command_finder.rb
199
+ - lib/gli/commands/help_modules/command_help_format.rb
200
+ - lib/gli/commands/help_modules/global_help_format.rb
201
+ - lib/gli/commands/help_modules/help_completion_format.rb
202
+ - lib/gli/commands/help_modules/list_formatter.rb
203
+ - lib/gli/commands/help_modules/no_wrapping_wrapper.rb
204
+ - lib/gli/commands/help_modules/options_formatter.rb
205
+ - lib/gli/commands/help_modules/text_wrapper.rb
206
+ - lib/gli/commands/help_modules/tty_only_wrapper.rb
207
+ - lib/gli/commands/initconfig.rb
208
+ - lib/gli/commands/rdoc_document_listener.rb
209
+ - lib/gli/commands/scaffold.rb
210
+ - lib/gli/copy_options_to_aliases.rb
211
+ - lib/gli/dsl.rb
212
+ - lib/gli/exceptions.rb
213
+ - lib/gli/flag.rb
214
+ - lib/gli/gli_option_parser.rb
215
+ - lib/gli/option_parser_factory.rb
216
+ - lib/gli/options.rb
217
+ - lib/gli/switch.rb
218
+ - lib/gli/terminal.rb
219
+ - lib/gli/version.rb
220
+ - test/apps/README.md
221
+ - test/apps/todo/Gemfile
222
+ - test/apps/todo/README.rdoc
223
+ - test/apps/todo/Rakefile
224
+ - test/apps/todo/bin/todo
225
+ - test/apps/todo/lib/todo/commands/create.rb
226
+ - test/apps/todo/lib/todo/commands/list.rb
227
+ - test/apps/todo/lib/todo/commands/ls.rb
228
+ - test/apps/todo/lib/todo/version.rb
229
+ - test/apps/todo/test/tc_nothing.rb
230
+ - test/apps/todo/todo.gemspec
231
+ - test/apps/todo/todo.rdoc
232
+ - test/config.yaml
233
+ - test/fake_std_out.rb
234
+ - test/gli.reek
235
+ - test/init_simplecov.rb
236
+ - test/option_test_helper.rb
237
+ - test/roodi.yaml
238
+ - test/tc_command.rb
239
+ - test/tc_compount_command.rb
240
+ - test/tc_doc.rb
241
+ - test/tc_flag.rb
242
+ - test/tc_gli.rb
243
+ - test/tc_help.rb
244
+ - test/tc_options.rb
245
+ - test/tc_subcommands.rb
246
+ - test/tc_switch.rb
247
+ - test/tc_terminal.rb
248
+ - test/test_helper.rb
320
249
  homepage: http://davetron5000.github.com/gli
321
250
  licenses: []
251
+
322
252
  post_install_message:
323
- rdoc_options:
253
+ rdoc_options:
324
254
  - --title
325
255
  - Git Like Interface
326
256
  - --main
327
257
  - README.rdoc
328
- require_paths:
258
+ require_paths:
329
259
  - lib
330
- required_ruby_version: !ruby/object:Gem::Requirement
260
+ required_ruby_version: !ruby/object:Gem::Requirement
331
261
  none: false
332
- requirements:
333
- - - ! '>='
334
- - !ruby/object:Gem::Version
335
- version: '0'
336
- segments:
262
+ requirements:
263
+ - - ">="
264
+ - !ruby/object:Gem::Version
265
+ hash: 3
266
+ segments:
337
267
  - 0
338
- hash: 2667779553904162412
339
- required_rubygems_version: !ruby/object:Gem::Requirement
268
+ version: "0"
269
+ required_rubygems_version: !ruby/object:Gem::Requirement
340
270
  none: false
341
- requirements:
342
- - - ! '>='
343
- - !ruby/object:Gem::Version
344
- version: '0'
345
- segments:
271
+ requirements:
272
+ - - ">="
273
+ - !ruby/object:Gem::Version
274
+ hash: 3
275
+ segments:
346
276
  - 0
347
- hash: 2667779553904162412
277
+ version: "0"
348
278
  requirements: []
279
+
349
280
  rubyforge_project: gli
350
281
  rubygems_version: 1.8.24
351
282
  signing_key:
352
283
  specification_version: 3
353
284
  summary: Build command-suite CLI apps that are awesome.
354
- test_files:
355
- - !binary |-
356
- ZmVhdHVyZXMvZ2xpX2V4ZWN1dGFibGUuZmVhdHVyZQ==
357
- - !binary |-
358
- ZmVhdHVyZXMvZ2xpX2luaXQuZmVhdHVyZQ==
359
- - !binary |-
360
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfZXhlY3V0YWJsZV9zdGVw
361
- cy5yYg==
362
- - !binary |-
363
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfaW5pdF9zdGVwcy5yYg==
364
- - !binary |-
365
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy90b2RvX3N0ZXBzLnJi
366
- - !binary |-
367
- ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
368
- - !binary |-
369
- ZmVhdHVyZXMvdG9kby5mZWF0dXJl
370
- - !binary |-
371
- dGVzdC9hcHBzL1JFQURNRS5tZA==
372
- - !binary |-
373
- dGVzdC9hcHBzL3RvZG8vR2VtZmlsZQ==
374
- - !binary |-
375
- dGVzdC9hcHBzL3RvZG8vUkVBRE1FLnJkb2M=
376
- - !binary |-
377
- dGVzdC9hcHBzL3RvZG8vUmFrZWZpbGU=
378
- - !binary |-
379
- dGVzdC9hcHBzL3RvZG8vYmluL3RvZG8=
380
- - !binary |-
381
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvY3JlYXRlLnJi
382
- - !binary |-
383
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbGlzdC5yYg==
384
- - !binary |-
385
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbHMucmI=
386
- - !binary |-
387
- dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vdmVyc2lvbi5yYg==
388
- - !binary |-
389
- dGVzdC9hcHBzL3RvZG8vdGVzdC90Y19ub3RoaW5nLnJi
390
- - !binary |-
391
- dGVzdC9hcHBzL3RvZG8vdG9kby5nZW1zcGVj
392
- - !binary |-
393
- dGVzdC9hcHBzL3RvZG8vdG9kby5yZG9j
394
- - !binary |-
395
- dGVzdC9jb25maWcueWFtbA==
396
- - !binary |-
397
- dGVzdC9mYWtlX3N0ZF9vdXQucmI=
398
- - !binary |-
399
- dGVzdC9nbGkucmVlaw==
400
- - !binary |-
401
- dGVzdC9pbml0X3NpbXBsZWNvdi5yYg==
402
- - !binary |-
403
- dGVzdC9vcHRpb25fdGVzdF9oZWxwZXIucmI=
404
- - !binary |-
405
- dGVzdC9yb29kaS55YW1s
406
- - !binary |-
407
- dGVzdC90Y19jb21tYW5kLnJi
408
- - !binary |-
409
- dGVzdC90Y19jb21wb3VudF9jb21tYW5kLnJi
410
- - !binary |-
411
- dGVzdC90Y19kb2MucmI=
412
- - !binary |-
413
- dGVzdC90Y19mbGFnLnJi
414
- - !binary |-
415
- dGVzdC90Y19nbGkucmI=
416
- - !binary |-
417
- dGVzdC90Y19oZWxwLnJi
418
- - !binary |-
419
- dGVzdC90Y19vcHRpb25zLnJi
420
- - !binary |-
421
- dGVzdC90Y19zdWJjb21tYW5kcy5yYg==
422
- - !binary |-
423
- dGVzdC90Y19zd2l0Y2gucmI=
424
- - !binary |-
425
- dGVzdC90Y190ZXJtaW5hbC5yYg==
426
- - !binary |-
427
- dGVzdC90ZXN0X2hlbHBlci5yYg==
285
+ test_files:
286
+ - features/gli_executable.feature
287
+ - features/gli_init.feature
288
+ - features/step_definitions/gli_executable_steps.rb
289
+ - features/step_definitions/gli_init_steps.rb
290
+ - features/step_definitions/todo_steps.rb
291
+ - features/support/env.rb
292
+ - features/todo.feature
293
+ - test/apps/README.md
294
+ - test/apps/todo/Gemfile
295
+ - test/apps/todo/README.rdoc
296
+ - test/apps/todo/Rakefile
297
+ - test/apps/todo/bin/todo
298
+ - test/apps/todo/lib/todo/commands/create.rb
299
+ - test/apps/todo/lib/todo/commands/list.rb
300
+ - test/apps/todo/lib/todo/commands/ls.rb
301
+ - test/apps/todo/lib/todo/version.rb
302
+ - test/apps/todo/test/tc_nothing.rb
303
+ - test/apps/todo/todo.gemspec
304
+ - test/apps/todo/todo.rdoc
305
+ - test/config.yaml
306
+ - test/fake_std_out.rb
307
+ - test/gli.reek
308
+ - test/init_simplecov.rb
309
+ - test/option_test_helper.rb
310
+ - test/roodi.yaml
311
+ - test/tc_command.rb
312
+ - test/tc_compount_command.rb
313
+ - test/tc_doc.rb
314
+ - test/tc_flag.rb
315
+ - test/tc_gli.rb
316
+ - test/tc_help.rb
317
+ - test/tc_options.rb
318
+ - test/tc_subcommands.rb
319
+ - test/tc_switch.rb
320
+ - test/tc_terminal.rb
321
+ - test/test_helper.rb