gli 2.2.1 → 2.3.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ Given /^the todo app is coded to avoid sorted help commands$/ do
7
7
  end
8
8
 
9
9
  Given /^the todo app is coded to avoid wrapping text$/ do
10
- ENV['TODO_WRAP_HELP_TEXT'] = 'never'
10
+ ENV['TODO_WRAP_HELP_TEXT'] = 'one_line'
11
11
  end
12
12
 
13
13
  Given /^the todo app is coded to wrap text only for tty$/ do
@@ -78,3 +78,7 @@ Then /^I should see the defaults for '(.*)' from the config file in the help$/ d
78
78
  end
79
79
  end
80
80
 
81
+
82
+ Given /^the todo app is coded to use verbatim formatting$/ do
83
+ ENV['TODO_WRAP_HELP_TEXT'] = 'verbatim'
84
+ end
@@ -157,7 +157,7 @@ Feature: The todo app has a nice user interface
157
157
  | list --help |
158
158
 
159
159
 
160
- Scenario: Getting Help without wrapping
160
+ Scenario: Getting Help with no wrapping
161
161
  Given the todo app is coded to avoid wrapping text
162
162
  When I successfully run `todo help list`
163
163
  Then the output should contain:
@@ -180,6 +180,37 @@ Feature: The todo app has a nice user interface
180
180
  tasks - List tasks (default)
181
181
  """
182
182
 
183
+ Scenario: Getting Help with verbatim formatting
184
+ Given the todo app is coded to use verbatim formatting
185
+ When I successfully run `todo help list`
186
+ Then the output should contain:
187
+ """
188
+ NAME
189
+ list - List things, such as tasks or contexts
190
+
191
+ SYNOPSIS
192
+ todo [global options] list [command options] [--flag arg] [-x arg] [tasks]
193
+ todo [global options] list [command options] [--otherflag arg] [-b] [-f|--foobar] contexts
194
+
195
+ DESCRIPTION
196
+
197
+ List a whole lot of things that you might be keeping track of
198
+ in your overall todo list.
199
+
200
+ This is your go-to place or finding all of the things that you
201
+ might have
202
+ stored in
203
+ your todo databases.
204
+
205
+
206
+ COMMAND OPTIONS
207
+ -l, --[no-]long - Show long form
208
+
209
+ COMMANDS
210
+ contexts - List contexts
211
+ tasks - List tasks (default)
212
+ """
213
+
183
214
  Scenario: Getting Help without wrapping
184
215
  Given the todo app is coded to wrap text only for tty
185
216
  When I successfully run `todo help list`
data/lib/gli/app.rb CHANGED
@@ -229,8 +229,10 @@ module GLI
229
229
  #
230
230
  # wrap_type:: Symbol indicating how you'd like text wrapped:
231
231
  # +:to_terminal+:: Wrap text based on the width of the terminal (default)
232
- # +:never+:: Do not wrap text at all. This will bring all help content onto one line, removing any newlines
233
- # +:tty_only+:: Wrap like +:to_terminal+ if this output is going to a TTY, otherwise don't wrap (like +:never+)
232
+ # +:verbatim+:: Format text exactly as it was given to the various methods. This is useful if your output has
233
+ # formatted output, e.g. ascii tables and you don't want it messed with.
234
+ # +:one_line+:: Do not wrap text at all. This will bring all help content onto one line, removing any newlines
235
+ # +:tty_only+:: Wrap like +:to_terminal+ if this output is going to a TTY, otherwise don't wrap (like +:one_line+)
234
236
  def wrap_help_text(wrap_type)
235
237
  @help_text_wrap_type = wrap_type
236
238
  end
@@ -3,7 +3,8 @@ require 'gli/command'
3
3
  require 'gli/terminal'
4
4
  require 'gli/commands/help_modules/list_formatter'
5
5
  require 'gli/commands/help_modules/text_wrapper'
6
- require 'gli/commands/help_modules/no_wrapping_wrapper'
6
+ require 'gli/commands/help_modules/one_line_wrapper'
7
+ require 'gli/commands/help_modules/verbatim_wrapper'
7
8
  require 'gli/commands/help_modules/tty_only_wrapper'
8
9
  require 'gli/commands/help_modules/options_formatter'
9
10
  require 'gli/commands/help_modules/global_help_format'
@@ -21,8 +22,11 @@ module GLI
21
22
 
22
23
  WRAPPERS = {
23
24
  :to_terminal => HelpModules::TextWrapper,
24
- :never => HelpModules::NoWrappingWrapper,
25
+ :never => HelpModules::OneLineWrapper,
26
+ :one_line => HelpModules::OneLineWrapper,
25
27
  :tty_only => HelpModules::TTYOnlyWrapper,
28
+ :none => HelpModules::VerbatimWrapper,
29
+ :verbatim => HelpModules::VerbatimWrapper,
26
30
  }
27
31
  # The help command used for the two-level interactive help system
28
32
  class Help < Command
@@ -2,7 +2,7 @@ module GLI
2
2
  module Commands
3
3
  module HelpModules
4
4
  # Formats text in one line, stripping newlines and NOT wrapping
5
- class NoWrappingWrapper
5
+ class OneLineWrapper
6
6
  # Args are ignored entirely; this keeps it consistent with the TextWrapper interface
7
7
  def initialize(width,indent)
8
8
  end
@@ -8,7 +8,7 @@ module GLI
8
8
  @proxy = if STDOUT.tty?
9
9
  TextWrapper.new(width,indent)
10
10
  else
11
- NoWrappingWrapper.new(width,indent)
11
+ OneLineWrapper.new(width,indent)
12
12
  end
13
13
  end
14
14
 
@@ -0,0 +1,16 @@
1
+ module GLI
2
+ module Commands
3
+ module HelpModules
4
+ # Leaves text formatting exactly as it was received. Doesn't strip anything.
5
+ class VerbatimWrapper
6
+ # Args are ignored entirely; this keeps it consistent with the TextWrapper interface
7
+ def initialize(width,indent)
8
+ end
9
+
10
+ def wrap(text)
11
+ return String(text)
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
data/lib/gli/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module GLI
2
2
  unless const_defined? :VERSION
3
- VERSION = '2.2.1' #:nodoc:
3
+ VERSION = '2.3.0.rc1' #:nodoc:
4
4
  end
5
5
  end
@@ -0,0 +1,36 @@
1
+ require 'test_helper'
2
+
3
+ class TC_testVerbatimWrapper < Clean::Test::TestCase
4
+ include TestHelper
5
+
6
+ test_that "verbatim wrapper handles nil" do
7
+ Given {
8
+ @wrapper = GLI::Commands::HelpModules::VerbatimWrapper.new(any_int,any_int)
9
+ }
10
+ When {
11
+ @result = @wrapper.wrap(nil)
12
+ }
13
+ Then {
14
+ assert_equal '',@result
15
+ }
16
+ end
17
+
18
+ test_that "verbatim wrapper doesn't touch the input" do
19
+ Given {
20
+ @wrapper = GLI::Commands::HelpModules::VerbatimWrapper.new(any_int,any_int)
21
+ @input = <<EOS
22
+ |This is|an ASCII|table|
23
+ +-------+--------+-----+
24
+ | foo | bar | baz |
25
+ +-------+--------+-----+
26
+ EOS
27
+ }
28
+ When {
29
+ @result = @wrapper.wrap(@input)
30
+ }
31
+ Then {
32
+ assert_equal @input,@result
33
+ }
34
+ end
35
+
36
+ end
metadata CHANGED
@@ -1,321 +1,456 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gli
3
- version: !ruby/object:Gem::Version
4
- hash: 5
5
- prerelease:
6
- segments:
7
- - 2
8
- - 2
9
- - 1
10
- version: 2.2.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.0.rc1
5
+ prerelease: 6
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - David Copeland
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-09-19 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-09-30 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rake
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 11
29
- segments:
30
- - 0
31
- - 9
32
- - 2
33
- - 2
20
+ - !ruby/object:Gem::Version
34
21
  version: 0.9.2.2
35
22
  type: :development
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rdoc
39
23
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.9.2.2
30
+ - !ruby/object:Gem::Dependency
31
+ name: rdoc
32
+ requirement: !ruby/object:Gem::Requirement
41
33
  none: false
42
- requirements:
34
+ requirements:
43
35
  - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 17
46
- segments:
47
- - 3
48
- - 11
49
- version: "3.11"
36
+ - !ruby/object:Gem::Version
37
+ version: '3.11'
50
38
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: roodi
54
39
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.11'
46
+ - !ruby/object:Gem::Dependency
47
+ name: roodi
48
+ requirement: !ruby/object:Gem::Requirement
56
49
  none: false
57
- requirements:
50
+ requirements:
58
51
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 11
61
- segments:
62
- - 2
63
- - 1
64
- - 0
52
+ - !ruby/object:Gem::Version
65
53
  version: 2.1.0
66
54
  type: :development
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: reek
70
55
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 2.1.0
62
+ - !ruby/object:Gem::Dependency
63
+ name: reek
64
+ requirement: !ruby/object:Gem::Requirement
72
65
  none: false
73
- requirements:
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- hash: 3
77
- segments:
78
- - 0
79
- version: "0"
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
80
70
  type: :development
81
- version_requirements: *id004
82
- - !ruby/object:Gem::Dependency
83
- name: rainbow
84
71
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ 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
86
81
  none: false
87
- requirements:
82
+ requirements:
88
83
  - - ~>
89
- - !ruby/object:Gem::Version
90
- hash: 17
91
- segments:
92
- - 1
93
- - 1
94
- - 1
84
+ - !ruby/object:Gem::Version
95
85
  version: 1.1.1
96
86
  type: :development
97
- version_requirements: *id005
98
- - !ruby/object:Gem::Dependency
99
- name: clean_test
100
87
  prerelease: false
101
- requirement: &id006 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
102
89
  none: false
103
- requirements:
104
- - - ">="
105
- - !ruby/object:Gem::Version
106
- hash: 3
107
- segments:
108
- - 0
109
- version: "0"
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ 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'
110
102
  type: :development
111
- version_requirements: *id006
112
- - !ruby/object:Gem::Dependency
113
- name: aruba
114
103
  prerelease: false
115
- requirement: &id007 !ruby/object:Gem::Requirement
104
+ version_requirements: !ruby/object:Gem::Requirement
116
105
  none: false
117
- requirements:
118
- - - ">="
119
- - !ruby/object:Gem::Version
120
- hash: 3
121
- segments:
122
- - 0
123
- version: "0"
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'
124
118
  type: :development
125
- version_requirements: *id007
126
- - !ruby/object:Gem::Dependency
127
- name: sdoc
128
119
  prerelease: false
129
- requirement: &id008 !ruby/object:Gem::Requirement
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: sdoc
128
+ requirement: !ruby/object:Gem::Requirement
130
129
  none: false
131
- requirements:
132
- - - ">="
133
- - !ruby/object:Gem::Version
134
- hash: 3
135
- segments:
136
- - 0
137
- version: "0"
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
138
134
  type: :development
139
- version_requirements: *id008
140
- - !ruby/object:Gem::Dependency
141
- name: faker
142
135
  prerelease: false
143
- requirement: &id009 !ruby/object:Gem::Requirement
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: faker
144
+ requirement: !ruby/object:Gem::Requirement
144
145
  none: false
145
- requirements:
146
- - - "="
147
- - !ruby/object:Gem::Version
148
- hash: 23
149
- segments:
150
- - 1
151
- - 0
152
- - 0
146
+ requirements:
147
+ - - '='
148
+ - !ruby/object:Gem::Version
153
149
  version: 1.0.0
154
150
  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
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - '='
156
+ - !ruby/object:Gem::Version
157
+ version: 1.0.0
158
+ description: Build command-suite CLI apps that are awesome. Bootstrap your app, add
159
+ commands, options and documentation while maintaining a well-tested idiomatic command-line
160
+ app
157
161
  email: davidcopeland@naildrivin5.com
158
- executables:
162
+ executables:
159
163
  - gli
160
164
  extensions: []
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
165
+ extra_rdoc_files:
172
166
  - 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
186
167
  - gli.rdoc
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
168
+ files:
169
+ - !binary |-
170
+ LmdpdGlnbm9yZQ==
171
+ - !binary |-
172
+ LnJ2bXJj
173
+ - !binary |-
174
+ LnRyYXZpcy55bWw=
175
+ - !binary |-
176
+ R2VtZmlsZQ==
177
+ - !binary |-
178
+ TElDRU5TRS50eHQ=
179
+ - !binary |-
180
+ T2JqZWN0TW9kZWwuZ3JhZmZsZQ==
181
+ - !binary |-
182
+ UkVBRE1FLnJkb2M=
183
+ - !binary |-
184
+ UmFrZWZpbGU=
185
+ - !binary |-
186
+ YmluL2dsaQ==
187
+ - !binary |-
188
+ YmluL3JlcG9ydF9vbl9yYWtlX3Jlc3VsdHM=
189
+ - !binary |-
190
+ YmluL3Rlc3RfYWxsX3J1Ymllcy5zaA==
191
+ - !binary |-
192
+ ZmVhdHVyZXMvZ2xpX2V4ZWN1dGFibGUuZmVhdHVyZQ==
193
+ - !binary |-
194
+ ZmVhdHVyZXMvZ2xpX2luaXQuZmVhdHVyZQ==
195
+ - !binary |-
196
+ ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfZXhlY3V0YWJsZV9zdGVw
197
+ cy5yYg==
198
+ - !binary |-
199
+ ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfaW5pdF9zdGVwcy5yYg==
200
+ - !binary |-
201
+ ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy90b2RvX3N0ZXBzLnJi
202
+ - !binary |-
203
+ ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
204
+ - !binary |-
205
+ ZmVhdHVyZXMvdG9kby5mZWF0dXJl
206
+ - !binary |-
207
+ Z2xpLmNoZWF0
208
+ - !binary |-
209
+ Z2xpLmdlbXNwZWM=
210
+ - !binary |-
211
+ Z2xpLnJkb2M=
212
+ - !binary |-
213
+ bGliL2dsaS5yYg==
214
+ - !binary |-
215
+ bGliL2dsaS9hcHAucmI=
216
+ - !binary |-
217
+ bGliL2dsaS9hcHBfc3VwcG9ydC5yYg==
218
+ - !binary |-
219
+ bGliL2dsaS9jb21tYW5kLnJi
220
+ - !binary |-
221
+ bGliL2dsaS9jb21tYW5kX2xpbmVfb3B0aW9uLnJi
222
+ - !binary |-
223
+ bGliL2dsaS9jb21tYW5kX2xpbmVfdG9rZW4ucmI=
224
+ - !binary |-
225
+ bGliL2dsaS9jb21tYW5kX3N1cHBvcnQucmI=
226
+ - !binary |-
227
+ bGliL2dsaS9jb21tYW5kcy9jb21wb3VuZF9jb21tYW5kLnJi
228
+ - !binary |-
229
+ bGliL2dsaS9jb21tYW5kcy9kb2MucmI=
230
+ - !binary |-
231
+ bGliL2dsaS9jb21tYW5kcy9oZWxwLnJi
232
+ - !binary |-
233
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvYXJnX25hbWVfZm9ybWF0
234
+ dGVyLnJi
235
+ - !binary |-
236
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvY29tbWFuZF9maW5kZXIu
237
+ cmI=
238
+ - !binary |-
239
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvY29tbWFuZF9oZWxwX2Zv
240
+ cm1hdC5yYg==
241
+ - !binary |-
242
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvZ2xvYmFsX2hlbHBfZm9y
243
+ bWF0LnJi
244
+ - !binary |-
245
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvaGVscF9jb21wbGV0aW9u
246
+ X2Zvcm1hdC5yYg==
247
+ - !binary |-
248
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvbGlzdF9mb3JtYXR0ZXIu
249
+ cmI=
250
+ - !binary |-
251
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvb25lX2xpbmVfd3JhcHBl
252
+ ci5yYg==
253
+ - !binary |-
254
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvb3B0aW9uc19mb3JtYXR0
255
+ ZXIucmI=
256
+ - !binary |-
257
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvdGV4dF93cmFwcGVyLnJi
258
+ - !binary |-
259
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvdHR5X29ubHlfd3JhcHBl
260
+ ci5yYg==
261
+ - !binary |-
262
+ bGliL2dsaS9jb21tYW5kcy9oZWxwX21vZHVsZXMvdmVyYmF0aW1fd3JhcHBl
263
+ ci5yYg==
264
+ - !binary |-
265
+ bGliL2dsaS9jb21tYW5kcy9pbml0Y29uZmlnLnJi
266
+ - !binary |-
267
+ bGliL2dsaS9jb21tYW5kcy9yZG9jX2RvY3VtZW50X2xpc3RlbmVyLnJi
268
+ - !binary |-
269
+ bGliL2dsaS9jb21tYW5kcy9zY2FmZm9sZC5yYg==
270
+ - !binary |-
271
+ bGliL2dsaS9jb3B5X29wdGlvbnNfdG9fYWxpYXNlcy5yYg==
272
+ - !binary |-
273
+ bGliL2dsaS9kc2wucmI=
274
+ - !binary |-
275
+ bGliL2dsaS9leGNlcHRpb25zLnJi
276
+ - !binary |-
277
+ bGliL2dsaS9mbGFnLnJi
278
+ - !binary |-
279
+ bGliL2dsaS9nbGlfb3B0aW9uX3BhcnNlci5yYg==
280
+ - !binary |-
281
+ bGliL2dsaS9vcHRpb25fcGFyc2VyX2ZhY3RvcnkucmI=
282
+ - !binary |-
283
+ bGliL2dsaS9vcHRpb25zLnJi
284
+ - !binary |-
285
+ bGliL2dsaS9zd2l0Y2gucmI=
286
+ - !binary |-
287
+ bGliL2dsaS90ZXJtaW5hbC5yYg==
288
+ - !binary |-
289
+ bGliL2dsaS92ZXJzaW9uLnJi
290
+ - !binary |-
291
+ dGVzdC9hcHBzL1JFQURNRS5tZA==
292
+ - !binary |-
293
+ dGVzdC9hcHBzL3RvZG8vR2VtZmlsZQ==
294
+ - !binary |-
295
+ dGVzdC9hcHBzL3RvZG8vUkVBRE1FLnJkb2M=
296
+ - !binary |-
297
+ dGVzdC9hcHBzL3RvZG8vUmFrZWZpbGU=
298
+ - !binary |-
299
+ dGVzdC9hcHBzL3RvZG8vYmluL3RvZG8=
300
+ - !binary |-
301
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvY3JlYXRlLnJi
302
+ - !binary |-
303
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbGlzdC5yYg==
304
+ - !binary |-
305
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbHMucmI=
306
+ - !binary |-
307
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vdmVyc2lvbi5yYg==
308
+ - !binary |-
309
+ dGVzdC9hcHBzL3RvZG8vdGVzdC90Y19ub3RoaW5nLnJi
310
+ - !binary |-
311
+ dGVzdC9hcHBzL3RvZG8vdG9kby5nZW1zcGVj
312
+ - !binary |-
313
+ dGVzdC9hcHBzL3RvZG8vdG9kby5yZG9j
314
+ - !binary |-
315
+ dGVzdC9jb25maWcueWFtbA==
316
+ - !binary |-
317
+ dGVzdC9mYWtlX3N0ZF9vdXQucmI=
318
+ - !binary |-
319
+ dGVzdC9nbGkucmVlaw==
320
+ - !binary |-
321
+ dGVzdC9pbml0X3NpbXBsZWNvdi5yYg==
322
+ - !binary |-
323
+ dGVzdC9vcHRpb25fdGVzdF9oZWxwZXIucmI=
324
+ - !binary |-
325
+ dGVzdC9yb29kaS55YW1s
326
+ - !binary |-
327
+ dGVzdC90Y19jb21tYW5kLnJi
328
+ - !binary |-
329
+ dGVzdC90Y19jb21wb3VudF9jb21tYW5kLnJi
330
+ - !binary |-
331
+ dGVzdC90Y19kb2MucmI=
332
+ - !binary |-
333
+ dGVzdC90Y19mbGFnLnJi
334
+ - !binary |-
335
+ dGVzdC90Y19nbGkucmI=
336
+ - !binary |-
337
+ dGVzdC90Y19oZWxwLnJi
338
+ - !binary |-
339
+ dGVzdC90Y19vcHRpb25zLnJi
340
+ - !binary |-
341
+ dGVzdC90Y19zdWJjb21tYW5kcy5yYg==
342
+ - !binary |-
343
+ dGVzdC90Y19zd2l0Y2gucmI=
344
+ - !binary |-
345
+ dGVzdC90Y190ZXJtaW5hbC5yYg==
346
+ - !binary |-
347
+ dGVzdC90Y192ZXJiYXRpbV93cmFwcGVyLnJi
348
+ - !binary |-
349
+ dGVzdC90ZXN0X2hlbHBlci5yYg==
249
350
  homepage: http://davetron5000.github.com/gli
250
351
  licenses: []
251
-
252
352
  post_install_message:
253
- rdoc_options:
353
+ rdoc_options:
254
354
  - --title
255
355
  - Git Like Interface
256
356
  - --main
257
357
  - README.rdoc
258
- require_paths:
358
+ require_paths:
259
359
  - lib
260
- required_ruby_version: !ruby/object:Gem::Requirement
360
+ required_ruby_version: !ruby/object:Gem::Requirement
261
361
  none: false
262
- requirements:
263
- - - ">="
264
- - !ruby/object:Gem::Version
265
- hash: 3
266
- segments:
362
+ requirements:
363
+ - - ! '>='
364
+ - !ruby/object:Gem::Version
365
+ version: '0'
366
+ segments:
267
367
  - 0
268
- version: "0"
269
- required_rubygems_version: !ruby/object:Gem::Requirement
368
+ hash: -3796893543708416219
369
+ required_rubygems_version: !ruby/object:Gem::Requirement
270
370
  none: false
271
- requirements:
272
- - - ">="
273
- - !ruby/object:Gem::Version
274
- hash: 3
275
- segments:
276
- - 0
277
- version: "0"
371
+ requirements:
372
+ - - ! '>'
373
+ - !ruby/object:Gem::Version
374
+ version: 1.3.1
278
375
  requirements: []
279
-
280
376
  rubyforge_project: gli
281
377
  rubygems_version: 1.8.24
282
378
  signing_key:
283
379
  specification_version: 3
284
380
  summary: Build command-suite CLI apps that are awesome.
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
381
+ test_files:
382
+ - !binary |-
383
+ ZmVhdHVyZXMvZ2xpX2V4ZWN1dGFibGUuZmVhdHVyZQ==
384
+ - !binary |-
385
+ ZmVhdHVyZXMvZ2xpX2luaXQuZmVhdHVyZQ==
386
+ - !binary |-
387
+ ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfZXhlY3V0YWJsZV9zdGVw
388
+ cy5yYg==
389
+ - !binary |-
390
+ ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9nbGlfaW5pdF9zdGVwcy5yYg==
391
+ - !binary |-
392
+ ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy90b2RvX3N0ZXBzLnJi
393
+ - !binary |-
394
+ ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
395
+ - !binary |-
396
+ ZmVhdHVyZXMvdG9kby5mZWF0dXJl
397
+ - !binary |-
398
+ dGVzdC9hcHBzL1JFQURNRS5tZA==
399
+ - !binary |-
400
+ dGVzdC9hcHBzL3RvZG8vR2VtZmlsZQ==
401
+ - !binary |-
402
+ dGVzdC9hcHBzL3RvZG8vUkVBRE1FLnJkb2M=
403
+ - !binary |-
404
+ dGVzdC9hcHBzL3RvZG8vUmFrZWZpbGU=
405
+ - !binary |-
406
+ dGVzdC9hcHBzL3RvZG8vYmluL3RvZG8=
407
+ - !binary |-
408
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvY3JlYXRlLnJi
409
+ - !binary |-
410
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbGlzdC5yYg==
411
+ - !binary |-
412
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vY29tbWFuZHMvbHMucmI=
413
+ - !binary |-
414
+ dGVzdC9hcHBzL3RvZG8vbGliL3RvZG8vdmVyc2lvbi5yYg==
415
+ - !binary |-
416
+ dGVzdC9hcHBzL3RvZG8vdGVzdC90Y19ub3RoaW5nLnJi
417
+ - !binary |-
418
+ dGVzdC9hcHBzL3RvZG8vdG9kby5nZW1zcGVj
419
+ - !binary |-
420
+ dGVzdC9hcHBzL3RvZG8vdG9kby5yZG9j
421
+ - !binary |-
422
+ dGVzdC9jb25maWcueWFtbA==
423
+ - !binary |-
424
+ dGVzdC9mYWtlX3N0ZF9vdXQucmI=
425
+ - !binary |-
426
+ dGVzdC9nbGkucmVlaw==
427
+ - !binary |-
428
+ dGVzdC9pbml0X3NpbXBsZWNvdi5yYg==
429
+ - !binary |-
430
+ dGVzdC9vcHRpb25fdGVzdF9oZWxwZXIucmI=
431
+ - !binary |-
432
+ dGVzdC9yb29kaS55YW1s
433
+ - !binary |-
434
+ dGVzdC90Y19jb21tYW5kLnJi
435
+ - !binary |-
436
+ dGVzdC90Y19jb21wb3VudF9jb21tYW5kLnJi
437
+ - !binary |-
438
+ dGVzdC90Y19kb2MucmI=
439
+ - !binary |-
440
+ dGVzdC90Y19mbGFnLnJi
441
+ - !binary |-
442
+ dGVzdC90Y19nbGkucmI=
443
+ - !binary |-
444
+ dGVzdC90Y19oZWxwLnJi
445
+ - !binary |-
446
+ dGVzdC90Y19vcHRpb25zLnJi
447
+ - !binary |-
448
+ dGVzdC90Y19zdWJjb21tYW5kcy5yYg==
449
+ - !binary |-
450
+ dGVzdC90Y19zd2l0Y2gucmI=
451
+ - !binary |-
452
+ dGVzdC90Y190ZXJtaW5hbC5yYg==
453
+ - !binary |-
454
+ dGVzdC90Y192ZXJiYXRpbV93cmFwcGVyLnJi
455
+ - !binary |-
456
+ dGVzdC90ZXN0X2hlbHBlci5yYg==