methadone 1.2.6 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c8313e64afd2cdd8841de895190d05ca27d350fa
4
+ data.tar.gz: 031a2254cd3894076e7192c7bdf3e70198103d4d
5
+ SHA512:
6
+ metadata.gz: 1ad67101488c31588201c6029ab5be39138bb310bd57f27f03aaefdaa8dba099884bab989a7b2091e39c132d17933521bbc8632c356febe657acd8f444a94c4d
7
+ data.tar.gz: 9a9d0b1373c5fcfbc9e3eea47b8c04cdecc5bfc925bdffe91963c74c68a6ec59c7c1af69a7cb2a28633ea0d2a59da3519622e50d06a0a7b62180984cbb05663e
data/.travis.yml CHANGED
@@ -6,6 +6,7 @@ rvm:
6
6
  - 1.9.2
7
7
  - 1.9.3
8
8
  - 1.8.7
9
+ - 2.0.0
9
10
  - ree
10
11
  - rbx
11
12
  - jruby-18mode
data/CHANGES.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## v.1.3.0 - May 11, 2013
4
+
5
+ * Enhance `version` to allow for a compact form, e.g. ``version MyAPP::VERSION, :compact => true`` so that doing `--version` only shows the
6
+ app name and version, not the entire help screen. See [64].
7
+ * Allow using DSL methods before the call to `main`, even though you really shouldn't. See [65]
8
+
9
+ [64]: https://github.com/davetron5000/methadone/issues/64
10
+ [65]: https://github.com/davetron5000/methadone/issues/65
11
+
3
12
  ## v.1.2.6 - Mar 10, 2013
4
13
 
5
14
  * Need `rspec` as a real dev dependency since it's not part of Aruba any longer. See [61].
data/bin/methadone CHANGED
@@ -92,7 +92,7 @@ use_log_level_option
92
92
 
93
93
  arg :app_name, :required, "Name of your app, which is used for the gem name and executable name"
94
94
 
95
- version Methadone::VERSION
95
+ version Methadone::VERSION, :compact => true
96
96
 
97
97
  go!
98
98
 
@@ -75,11 +75,11 @@ Feature: Bootstrap a new command-line app
75
75
  6 steps (6 passed)
76
76
  """
77
77
 
78
- Scenario: Bootstrap a new app with a dash is OK
78
+ Scenario Outline: Bootstrap a new app with a dash is OK
79
79
  Given I successfully run `methadone tmp/new-gem`
80
80
  And I cd to "tmp/new-gem"
81
81
  And my app's name is "new-gem"
82
- When I successfully run `bin/new-gem --help` with "lib" in the library path
82
+ When I successfully run `bin/new-gem <help>` with "lib" in the library path
83
83
  Then the banner should be present
84
84
  And the banner should document that this app takes options
85
85
  And the following options should be documented:
@@ -94,6 +94,34 @@ Feature: Bootstrap a new command-line app
94
94
  1 scenario (1 passed)
95
95
  6 steps (6 passed)
96
96
  """
97
+ Examples:
98
+ | help |
99
+ | -h |
100
+ | --help |
101
+ | --version |
102
+
103
+ Scenario: Version flag can be used to only show the app version
104
+ Given I successfully run `methadone tmp/new-gem`
105
+ And "bin/new-gem" has configured version to show only the version and not help
106
+ And I cd to "tmp/new-gem"
107
+ And my app's name is "new-gem"
108
+ When I successfully run `bin/new-gem --version` with "lib" in the library path
109
+ Then the output should contain:
110
+ """
111
+ new-gem version 0.0.1
112
+ """
113
+
114
+ @wip
115
+ Scenario: Version flag can be used to only show the app version with a custom format
116
+ Given I successfully run `methadone tmp/new-gem`
117
+ And "bin/new-gem" has configured version to show only the version with a custom format and not help
118
+ And I cd to "tmp/new-gem"
119
+ And my app's name is "new-gem"
120
+ When I successfully run `bin/new-gem --version` with "lib" in the library path
121
+ Then the output should contain:
122
+ """
123
+ new-gem V0.0.1
124
+ """
97
125
 
98
126
  Scenario: Won't squash an existing dir
99
127
  When I successfully run `methadone tmp/newgem`
@@ -23,3 +23,19 @@ Then /^the stderr should match \/([^\/]*)\/$/ do |expected|
23
23
  assert_matching_output(expected, all_stderr)
24
24
  end
25
25
 
26
+ Given /^"(.*?)" has configured version to show only the version (.*)and not help$/ do |gemname,extras|
27
+ lines = File.read("tmp/aruba/tmp/new-gem/#{gemname}").split(/\n/)
28
+ File.open("tmp/aruba/tmp/new-gem/#{gemname}","w") do |file|
29
+ lines.each do |line|
30
+ if line =~ /^\s*version New::Gem::VERSION/
31
+ if extras =~ /with a custom format/
32
+ file.puts line + ", :compact => true, :format => '%s V%s'"
33
+ else
34
+ file.puts line + ", :compact => true"
35
+ end
36
+ else
37
+ file.puts line
38
+ end
39
+ end
40
+ end
41
+ end
@@ -115,8 +115,6 @@ module Methadone
115
115
  # To run this method, call #go!
116
116
  def main(&block)
117
117
  @main_block = block
118
- @options = {}
119
- @option_parser = OptionParserProxy.new(OptionParser.new,@options)
120
118
  end
121
119
 
122
120
  # Configure the auto-handling of StandardError exceptions caught
@@ -215,7 +213,7 @@ module Methadone
215
213
  #
216
214
  # Further, any one of those keys can be used to determine the default value for the option.
217
215
  def opts
218
- @option_parser
216
+ @option_parser ||= OptionParserProxy.new(OptionParser.new,options)
219
217
  end
220
218
 
221
219
  # Calls the +on+ method of #opts with the given arguments (see RDoc for #opts for the additional
@@ -272,27 +270,49 @@ module Methadone
272
270
  # go!
273
271
  #
274
272
  def options
275
- @options
273
+ @options ||= {}
276
274
  end
277
275
 
278
276
  # Set the version of your app so it appears in the
279
277
  # banner. This also adds --version as an option to your app which,
280
- # when used, will act just like --help
278
+ # when used, will act just like --help (see version_options to control this)
281
279
  #
282
280
  # version:: the current version of your app. Should almost always be
283
281
  # YourApp::VERSION, where the module YourApp should've been generated
284
282
  # by the bootstrap script
285
- # custom_message:: if provided, customized the message shown next to --version
286
- def version(version,custom_message='Show help/version info')
283
+ # version_options:: controls how the version option behaves. If this is a string,
284
+ # then the string will be used as documentation for the --version flag.
285
+ # If a Hash, more configuration is available:
286
+ # custom_docs:: the string to document the --version flag if you don't like the default
287
+ # compact:: if true, --version will just show the app name and version - no help
288
+ # format:: if provided, this can give limited control over the format of the compact
289
+ # version string. It should be a printf-style string and will be given
290
+ # two options: the first is the CLI app name, and the second is the version string
291
+ def version(version,version_options={})
287
292
  opts.version(version)
288
- opts.on("--version",custom_message) do
289
- puts opts.to_s
293
+ if version_options.kind_of?(String)
294
+ version_options = { :custom_docs => version_options }
295
+ end
296
+ version_options[:custom_docs] ||= "Show help/version info"
297
+ version_options[:format] ||= "%s version %s"
298
+ opts.on("--version",version_options[:custom_docs]) do
299
+ if version_options[:compact]
300
+ puts version_options[:format] % [::File.basename($0),version]
301
+ else
302
+ puts opts.to_s
303
+ end
290
304
  exit 0
291
305
  end
292
306
  end
293
307
 
294
308
  private
295
309
 
310
+ # Reset internal state - mostly useful for tests
311
+ def reset!
312
+ @options = nil
313
+ @option_parser = nil
314
+ end
315
+
296
316
  def setup_defaults
297
317
  add_defaults_to_docs
298
318
  set_defaults_from_rc_file
@@ -1,3 +1,3 @@
1
1
  module Methadone #:nodoc:
2
- VERSION = "1.2.6" #:nodoc:
2
+ VERSION = "1.3.0" #:nodoc:
3
3
  end
data/test/test_main.rb CHANGED
@@ -273,6 +273,7 @@ class TestMain < BaseTest
273
273
  Given {
274
274
  @flag_with_string_key_defalt = nil
275
275
  @flag_with_symbol_key_defalt = nil
276
+ reset!
276
277
  main do
277
278
  @flag_with_string_key_defalt = options[:foo]
278
279
  @flag_with_symbol_key_defalt = options['bar']
@@ -725,10 +726,23 @@ class TestMain < BaseTest
725
726
 
726
727
  end
727
728
 
729
+ test_that "we can call methods prior to calling main without a problem" do
730
+ Given {
731
+ description "An app of total awesome"
732
+ opts.on("--switch") { options[:switch] = true }
733
+ main {}
734
+ }
735
+ Then {
736
+ opts.banner.should match /^An app of total awesome$/
737
+ opts.to_s.should match /--switch/
738
+ }
739
+ end
740
+
728
741
  private
729
742
 
730
743
  def app_to_use_rc_file
731
744
  lambda {
745
+ reset!
732
746
  @switch = nil
733
747
  @flag = nil
734
748
  @args = nil
metadata CHANGED
@@ -1,52 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: methadone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
5
- prerelease:
4
+ version: 1.3.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - davetron5000
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-10 00:00:00.000000000 Z
11
+ date: 2013-05-11 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rdoc
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,39 +55,34 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: cucumber
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: aruba
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: simplecov
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
87
  - - ~>
100
88
  - !ruby/object:Gem::Version
@@ -102,7 +90,6 @@ dependencies:
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
94
  - - ~>
108
95
  - !ruby/object:Gem::Version
@@ -110,23 +97,20 @@ dependencies:
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: clean_test
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: mocha
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
115
  - - '='
132
116
  - !ruby/object:Gem::Version
@@ -134,7 +118,6 @@ dependencies:
134
118
  type: :development
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
122
  - - '='
140
123
  - !ruby/object:Gem::Version
@@ -142,7 +125,6 @@ dependencies:
142
125
  - !ruby/object:Gem::Dependency
143
126
  name: minitest
144
127
  requirement: !ruby/object:Gem::Requirement
145
- none: false
146
128
  requirements:
147
129
  - - '='
148
130
  - !ruby/object:Gem::Version
@@ -150,7 +132,6 @@ dependencies:
150
132
  type: :development
151
133
  prerelease: false
152
134
  version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
135
  requirements:
155
136
  - - '='
156
137
  - !ruby/object:Gem::Version
@@ -158,33 +139,29 @@ dependencies:
158
139
  - !ruby/object:Gem::Dependency
159
140
  name: sdoc
160
141
  requirement: !ruby/object:Gem::Requirement
161
- none: false
162
142
  requirements:
163
- - - ! '>='
143
+ - - '>='
164
144
  - !ruby/object:Gem::Version
165
145
  version: '0'
166
146
  type: :development
167
147
  prerelease: false
168
148
  version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
149
  requirements:
171
- - - ! '>='
150
+ - - '>='
172
151
  - !ruby/object:Gem::Version
173
152
  version: '0'
174
153
  - !ruby/object:Gem::Dependency
175
154
  name: rspec
176
155
  requirement: !ruby/object:Gem::Requirement
177
- none: false
178
156
  requirements:
179
- - - ! '>='
157
+ - - '>='
180
158
  - !ruby/object:Gem::Version
181
159
  version: '0'
182
160
  type: :development
183
161
  prerelease: false
184
162
  version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
163
  requirements:
187
- - - ! '>='
164
+ - - '>='
188
165
  - !ruby/object:Gem::Version
189
166
  version: '0'
190
167
  description: Methadone provides a lot of small but useful features for developing
@@ -194,214 +171,117 @@ description: Methadone provides a lot of small but useful features for developin
194
171
  email:
195
172
  - davetron5000 at gmail.com
196
173
  executables:
197
- - !binary |-
198
- bWV0aGFkb25l
174
+ - methadone
199
175
  extensions: []
200
176
  extra_rdoc_files: []
201
177
  files:
202
- - !binary |-
203
- LmdpdGlnbm9yZQ==
204
- - !binary |-
205
- LnJ2bXJj
206
- - !binary |-
207
- LnRyYXZpcy55bWw=
208
- - !binary |-
209
- Q0hBTkdFUy5tZA==
210
- - !binary |-
211
- R2VtZmlsZQ==
212
- - !binary |-
213
- TElDRU5TRS50eHQ=
214
- - !binary |-
215
- UkVBRE1FLnJkb2M=
216
- - !binary |-
217
- UmFrZWZpbGU=
218
- - !binary |-
219
- YmluL21ldGhhZG9uZQ==
220
- - !binary |-
221
- ZmVhdHVyZXMvYm9vdHN0cmFwLmZlYXR1cmU=
222
- - !binary |-
223
- ZmVhdHVyZXMvbGljZW5zZS5mZWF0dXJl
224
- - !binary |-
225
- ZmVhdHVyZXMvcmVhZG1lLmZlYXR1cmU=
226
- - !binary |-
227
- ZmVhdHVyZXMvcnNwZWNfc3VwcG9ydC5mZWF0dXJl
228
- - !binary |-
229
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9ib290c3RyYXBfc3RlcHMucmI=
230
- - !binary |-
231
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9saWNlbnNlX3N0ZXBzLnJi
232
- - !binary |-
233
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9yZWFkbWVfc3RlcHMucmI=
234
- - !binary |-
235
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy92ZXJzaW9uX3N0ZXBzLnJi
236
- - !binary |-
237
- ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
238
- - !binary |-
239
- ZmVhdHVyZXMvdmVyc2lvbi5mZWF0dXJl
240
- - !binary |-
241
- bGliL21ldGhhZG9uZS5yYg==
242
- - !binary |-
243
- bGliL21ldGhhZG9uZS9hcmd2X3BhcnNlci5yYg==
244
- - !binary |-
245
- bGliL21ldGhhZG9uZS9jbGkucmI=
246
- - !binary |-
247
- bGliL21ldGhhZG9uZS9jbGlfbG9nZ2VyLnJi
248
- - !binary |-
249
- bGliL21ldGhhZG9uZS9jbGlfbG9nZ2luZy5yYg==
250
- - !binary |-
251
- bGliL21ldGhhZG9uZS9jdWN1bWJlci5yYg==
252
- - !binary |-
253
- bGliL21ldGhhZG9uZS9lcnJvci5yYg==
254
- - !binary |-
255
- bGliL21ldGhhZG9uZS9leGVjdXRpb25fc3RyYXRlZ3kvYmFzZS5yYg==
256
- - !binary |-
257
- bGliL21ldGhhZG9uZS9leGVjdXRpb25fc3RyYXRlZ3kvanZtLnJi
258
- - !binary |-
259
- bGliL21ldGhhZG9uZS9leGVjdXRpb25fc3RyYXRlZ3kvbXJpLnJi
260
- - !binary |-
261
- bGliL21ldGhhZG9uZS9leGVjdXRpb25fc3RyYXRlZ3kvb3Blbl8zLnJi
262
- - !binary |-
263
- bGliL21ldGhhZG9uZS9leGVjdXRpb25fc3RyYXRlZ3kvb3Blbl80LnJi
264
- - !binary |-
265
- bGliL21ldGhhZG9uZS9leGVjdXRpb25fc3RyYXRlZ3kvcmJ4X29wZW5fNC5y
266
- Yg==
267
- - !binary |-
268
- bGliL21ldGhhZG9uZS9leGl0X25vdy5yYg==
269
- - !binary |-
270
- bGliL21ldGhhZG9uZS9tYWluLnJi
271
- - !binary |-
272
- bGliL21ldGhhZG9uZS9wcm9jZXNzX3N0YXR1cy5yYg==
273
- - !binary |-
274
- bGliL21ldGhhZG9uZS9zaC5yYg==
275
- - !binary |-
276
- bGliL21ldGhhZG9uZS92ZXJzaW9uLnJi
277
- - !binary |-
278
- bWV0aGFkb25lLmdlbXNwZWM=
279
- - !binary |-
280
- dGVtcGxhdGVzL2Z1bGwvLmdpdGlnbm9yZS5lcmI=
281
- - !binary |-
282
- dGVtcGxhdGVzL2Z1bGwvUkVBRE1FLnJkb2MuZXJi
283
- - !binary |-
284
- dGVtcGxhdGVzL2Z1bGwvUmFrZWZpbGUuZXJi
285
- - !binary |-
286
- dGVtcGxhdGVzL2Z1bGwvYXBhY2hlX0xJQ0VOU0UudHh0LmVyYg==
287
- - !binary |-
288
- dGVtcGxhdGVzL2Z1bGwvYmluL2V4ZWN1dGFibGUuZXJi
289
- - !binary |-
290
- dGVtcGxhdGVzL2Z1bGwvY3VzdG9tX0xJQ0VOU0UudHh0LmVyYg==
291
- - !binary |-
292
- dGVtcGxhdGVzL2Z1bGwvZmVhdHVyZXMvZXhlY3V0YWJsZS5mZWF0dXJlLmVy
293
- Yg==
294
- - !binary |-
295
- dGVtcGxhdGVzL2Z1bGwvZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9leGVj
296
- dXRhYmxlX3N0ZXBzLnJiLmVyYg==
297
- - !binary |-
298
- dGVtcGxhdGVzL2Z1bGwvZmVhdHVyZXMvc3VwcG9ydC9lbnYucmIuZXJi
299
- - !binary |-
300
- dGVtcGxhdGVzL2Z1bGwvbWl0X0xJQ0VOU0UudHh0LmVyYg==
301
- - !binary |-
302
- dGVtcGxhdGVzL3JzcGVjL3NwZWMvc29tZXRoaW5nX3NwZWMucmIuZXJi
303
- - !binary |-
304
- dGVtcGxhdGVzL3Rlc3RfdW5pdC90ZXN0L3RjX3NvbWV0aGluZy5yYi5lcmI=
305
- - !binary |-
306
- dGVzdC9iYXNlX3Rlc3QucmI=
307
- - !binary |-
308
- dGVzdC9jb21tYW5kX2Zvcl90ZXN0cy5zaA==
309
- - !binary |-
310
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9iYXNlLnJi
311
- - !binary |-
312
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9qdm0ucmI=
313
- - !binary |-
314
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9tcmkucmI=
315
- - !binary |-
316
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9vcGVuXzMucmI=
317
- - !binary |-
318
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9vcGVuXzQucmI=
319
- - !binary |-
320
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9yYnhfb3Blbl80LnJi
321
- - !binary |-
322
- dGVzdC90ZXN0X2NsaV9sb2dnZXIucmI=
323
- - !binary |-
324
- dGVzdC90ZXN0X2NsaV9sb2dnaW5nLnJi
325
- - !binary |-
326
- dGVzdC90ZXN0X2V4aXRfbm93LnJi
327
- - !binary |-
328
- dGVzdC90ZXN0X21haW4ucmI=
329
- - !binary |-
330
- dGVzdC90ZXN0X3NoLnJi
178
+ - .gitignore
179
+ - .rvmrc
180
+ - .travis.yml
181
+ - CHANGES.md
182
+ - Gemfile
183
+ - LICENSE.txt
184
+ - README.rdoc
185
+ - Rakefile
186
+ - bin/methadone
187
+ - features/bootstrap.feature
188
+ - features/license.feature
189
+ - features/readme.feature
190
+ - features/rspec_support.feature
191
+ - features/step_definitions/bootstrap_steps.rb
192
+ - features/step_definitions/license_steps.rb
193
+ - features/step_definitions/readme_steps.rb
194
+ - features/step_definitions/version_steps.rb
195
+ - features/support/env.rb
196
+ - features/version.feature
197
+ - lib/methadone.rb
198
+ - lib/methadone/argv_parser.rb
199
+ - lib/methadone/cli.rb
200
+ - lib/methadone/cli_logger.rb
201
+ - lib/methadone/cli_logging.rb
202
+ - lib/methadone/cucumber.rb
203
+ - lib/methadone/error.rb
204
+ - lib/methadone/execution_strategy/base.rb
205
+ - lib/methadone/execution_strategy/jvm.rb
206
+ - lib/methadone/execution_strategy/mri.rb
207
+ - lib/methadone/execution_strategy/open_3.rb
208
+ - lib/methadone/execution_strategy/open_4.rb
209
+ - lib/methadone/execution_strategy/rbx_open_4.rb
210
+ - lib/methadone/exit_now.rb
211
+ - lib/methadone/main.rb
212
+ - lib/methadone/process_status.rb
213
+ - lib/methadone/sh.rb
214
+ - lib/methadone/version.rb
215
+ - methadone.gemspec
216
+ - templates/full/.gitignore.erb
217
+ - templates/full/README.rdoc.erb
218
+ - templates/full/Rakefile.erb
219
+ - templates/full/apache_LICENSE.txt.erb
220
+ - templates/full/bin/executable.erb
221
+ - templates/full/custom_LICENSE.txt.erb
222
+ - templates/full/features/executable.feature.erb
223
+ - templates/full/features/step_definitions/executable_steps.rb.erb
224
+ - templates/full/features/support/env.rb.erb
225
+ - templates/full/mit_LICENSE.txt.erb
226
+ - templates/rspec/spec/something_spec.rb.erb
227
+ - templates/test_unit/test/tc_something.rb.erb
228
+ - test/base_test.rb
229
+ - test/command_for_tests.sh
230
+ - test/execution_strategy/test_base.rb
231
+ - test/execution_strategy/test_jvm.rb
232
+ - test/execution_strategy/test_mri.rb
233
+ - test/execution_strategy/test_open_3.rb
234
+ - test/execution_strategy/test_open_4.rb
235
+ - test/execution_strategy/test_rbx_open_4.rb
236
+ - test/test_cli_logger.rb
237
+ - test/test_cli_logging.rb
238
+ - test/test_exit_now.rb
239
+ - test/test_main.rb
240
+ - test/test_sh.rb
331
241
  homepage: http://github.com/davetron5000/methadone
332
242
  licenses: []
243
+ metadata: {}
333
244
  post_install_message:
334
245
  rdoc_options: []
335
246
  require_paths:
336
247
  - lib
337
248
  required_ruby_version: !ruby/object:Gem::Requirement
338
- none: false
339
249
  requirements:
340
- - - ! '>='
250
+ - - '>='
341
251
  - !ruby/object:Gem::Version
342
252
  version: '0'
343
- segments:
344
- - 0
345
- hash: -1970632189031122908
346
253
  required_rubygems_version: !ruby/object:Gem::Requirement
347
- none: false
348
254
  requirements:
349
- - - ! '>='
255
+ - - '>='
350
256
  - !ruby/object:Gem::Version
351
257
  version: '0'
352
- segments:
353
- - 0
354
- hash: -1970632189031122908
355
258
  requirements: []
356
259
  rubyforge_project: methadone
357
- rubygems_version: 1.8.24
260
+ rubygems_version: 2.0.3
358
261
  signing_key:
359
- specification_version: 3
262
+ specification_version: 4
360
263
  summary: Kick the bash habit and start your command-line apps off right
361
264
  test_files:
362
- - !binary |-
363
- ZmVhdHVyZXMvYm9vdHN0cmFwLmZlYXR1cmU=
364
- - !binary |-
365
- ZmVhdHVyZXMvbGljZW5zZS5mZWF0dXJl
366
- - !binary |-
367
- ZmVhdHVyZXMvcmVhZG1lLmZlYXR1cmU=
368
- - !binary |-
369
- ZmVhdHVyZXMvcnNwZWNfc3VwcG9ydC5mZWF0dXJl
370
- - !binary |-
371
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9ib290c3RyYXBfc3RlcHMucmI=
372
- - !binary |-
373
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9saWNlbnNlX3N0ZXBzLnJi
374
- - !binary |-
375
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy9yZWFkbWVfc3RlcHMucmI=
376
- - !binary |-
377
- ZmVhdHVyZXMvc3RlcF9kZWZpbml0aW9ucy92ZXJzaW9uX3N0ZXBzLnJi
378
- - !binary |-
379
- ZmVhdHVyZXMvc3VwcG9ydC9lbnYucmI=
380
- - !binary |-
381
- ZmVhdHVyZXMvdmVyc2lvbi5mZWF0dXJl
382
- - !binary |-
383
- dGVzdC9iYXNlX3Rlc3QucmI=
384
- - !binary |-
385
- dGVzdC9jb21tYW5kX2Zvcl90ZXN0cy5zaA==
386
- - !binary |-
387
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9iYXNlLnJi
388
- - !binary |-
389
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9qdm0ucmI=
390
- - !binary |-
391
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9tcmkucmI=
392
- - !binary |-
393
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9vcGVuXzMucmI=
394
- - !binary |-
395
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9vcGVuXzQucmI=
396
- - !binary |-
397
- dGVzdC9leGVjdXRpb25fc3RyYXRlZ3kvdGVzdF9yYnhfb3Blbl80LnJi
398
- - !binary |-
399
- dGVzdC90ZXN0X2NsaV9sb2dnZXIucmI=
400
- - !binary |-
401
- dGVzdC90ZXN0X2NsaV9sb2dnaW5nLnJi
402
- - !binary |-
403
- dGVzdC90ZXN0X2V4aXRfbm93LnJi
404
- - !binary |-
405
- dGVzdC90ZXN0X21haW4ucmI=
406
- - !binary |-
407
- dGVzdC90ZXN0X3NoLnJi
265
+ - features/bootstrap.feature
266
+ - features/license.feature
267
+ - features/readme.feature
268
+ - features/rspec_support.feature
269
+ - features/step_definitions/bootstrap_steps.rb
270
+ - features/step_definitions/license_steps.rb
271
+ - features/step_definitions/readme_steps.rb
272
+ - features/step_definitions/version_steps.rb
273
+ - features/support/env.rb
274
+ - features/version.feature
275
+ - test/base_test.rb
276
+ - test/command_for_tests.sh
277
+ - test/execution_strategy/test_base.rb
278
+ - test/execution_strategy/test_jvm.rb
279
+ - test/execution_strategy/test_mri.rb
280
+ - test/execution_strategy/test_open_3.rb
281
+ - test/execution_strategy/test_open_4.rb
282
+ - test/execution_strategy/test_rbx_open_4.rb
283
+ - test/test_cli_logger.rb
284
+ - test/test_cli_logging.rb
285
+ - test/test_exit_now.rb
286
+ - test/test_main.rb
287
+ - test/test_sh.rb