fluent_command_builder 0.9.7 → 0.9.8

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.
Files changed (92) hide show
  1. data/lib/fluent_command_builder/command_builder.rb +2 -2
  2. data/lib/fluent_command_builder/command_executors/backticks_executor.rb +1 -1
  3. data/lib/fluent_command_builder/command_executors/dry_run_executor.rb +1 -1
  4. data/lib/fluent_command_builder/command_executors/rake_sh_executor.rb +1 -1
  5. data/lib/fluent_command_builder/command_executors/system_executor.rb +1 -1
  6. data/lib/fluent_command_builder/execution_context.rb +2 -2
  7. data/lib/fluent_command_builder/internal/argument_formatter.rb +1 -1
  8. data/lib/fluent_command_builder/internal/command_builder_config.rb +7 -10
  9. data/lib/fluent_command_builder/internal/path.rb +9 -3
  10. data/lib/fluent_command_builder/internal/path_validator.rb +4 -5
  11. data/lib/fluent_command_builder/internal/underlying_builder.rb +3 -3
  12. data/lib/fluent_command_builder/version_validator.rb +11 -6
  13. metadata +55 -90
  14. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +0 -19
  15. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +0 -2613
  16. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +0 -2603
  17. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +0 -19
  18. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +0 -103
  19. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +0 -103
  20. data/lib/fluent_command_builder/command_builders/bundle.rb +0 -19
  21. data/lib/fluent_command_builder/command_builders/bundle_11.rb +0 -321
  22. data/lib/fluent_command_builder/command_builders/bundle_12.rb +0 -345
  23. data/lib/fluent_command_builder/command_builders/cucumber.rb +0 -19
  24. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +0 -178
  25. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +0 -183
  26. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +0 -19
  27. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +0 -208
  28. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +0 -208
  29. data/lib/fluent_command_builder/command_builders/dotcover.rb +0 -19
  30. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +0 -69
  31. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +0 -299
  32. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +0 -299
  33. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +0 -309
  34. data/lib/fluent_command_builder/command_builders/dotcover_21.rb +0 -309
  35. data/lib/fluent_command_builder/command_builders/dotcover_22.rb +0 -309
  36. data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +0 -19
  37. data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +0 -263
  38. data/lib/fluent_command_builder/command_builders/installutil.rb +0 -19
  39. data/lib/fluent_command_builder/command_builders/installutil_11.rb +0 -64
  40. data/lib/fluent_command_builder/command_builders/installutil_20.rb +0 -69
  41. data/lib/fluent_command_builder/command_builders/installutil_35.rb +0 -69
  42. data/lib/fluent_command_builder/command_builders/installutil_40.rb +0 -75
  43. data/lib/fluent_command_builder/command_builders/msbuild.rb +0 -19
  44. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +0 -94
  45. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +0 -94
  46. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +0 -134
  47. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +0 -137
  48. data/lib/fluent_command_builder/command_builders/msdeploy.rb +0 -19
  49. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +0 -182
  50. data/lib/fluent_command_builder/command_builders/mstest.rb +0 -19
  51. data/lib/fluent_command_builder/command_builders/mstest_100.rb +0 -132
  52. data/lib/fluent_command_builder/command_builders/mstest_80.rb +0 -112
  53. data/lib/fluent_command_builder/command_builders/mstest_90.rb +0 -117
  54. data/lib/fluent_command_builder/command_builders/netsh.rb +0 -19
  55. data/lib/fluent_command_builder/command_builders/netsh_61.rb +0 -413
  56. data/lib/fluent_command_builder/command_builders/nuget.rb +0 -19
  57. data/lib/fluent_command_builder/command_builders/nuget_20.rb +0 -437
  58. data/lib/fluent_command_builder/command_builders/nuget_21.rb +0 -533
  59. data/lib/fluent_command_builder/command_builders/nunit.rb +0 -19
  60. data/lib/fluent_command_builder/command_builders/nunit_25.rb +0 -153
  61. data/lib/fluent_command_builder/command_builders/nunit_26.rb +0 -193
  62. data/lib/fluent_command_builder/command_builders/rake.rb +0 -19
  63. data/lib/fluent_command_builder/command_builders/rake_09.rb +0 -156
  64. data/lib/fluent_command_builder/command_builders/rake_100.rb +0 -194
  65. data/lib/fluent_command_builder/command_builders/schtasks.rb +0 -19
  66. data/lib/fluent_command_builder/command_builders/schtasks_61.rb +0 -353
  67. data/lib/fluent_command_builder/command_builders/security_osx.rb +0 -19
  68. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +0 -188
  69. data/lib/fluent_command_builder/command_builders/security_osx_108.rb +0 -188
  70. data/lib/fluent_command_builder/command_builders/sevenzip.rb +0 -19
  71. data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +0 -523
  72. data/lib/fluent_command_builder/command_builders/simian.rb +0 -19
  73. data/lib/fluent_command_builder/command_builders/simian_23.rb +0 -147
  74. data/lib/fluent_command_builder/command_builders/team_foundation.rb +0 -19
  75. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +0 -2160
  76. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +0 -19
  77. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +0 -1885
  78. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +0 -2003
  79. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +0 -19
  80. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +0 -276
  81. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +0 -326
  82. data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +0 -331
  83. data/lib/fluent_command_builder/internal/path_finder.rb +0 -20
  84. data/lib/fluent_command_builder/internal/path_finders/unix_path_finder.rb +0 -13
  85. data/lib/fluent_command_builder/internal/path_finders/windows_path_finder.rb +0 -14
  86. data/lib/fluent_command_builder/version_detectors.rb +0 -1
  87. data/lib/fluent_command_builder/version_detectors/appengine_python_version_detector.rb +0 -23
  88. data/lib/fluent_command_builder/version_detectors/default_version_detector.rb +0 -35
  89. data/lib/fluent_command_builder/version_detectors/dot_net_framework_version_detector.rb +0 -24
  90. data/lib/fluent_command_builder/version_detectors/osx_version_detector.rb +0 -19
  91. data/lib/fluent_command_builder/version_detectors/standard_version_detector.rb +0 -30
  92. data/lib/fluent_command_builder/version_detectors/windows_version_detector.rb +0 -12
@@ -1,345 +0,0 @@
1
- # Generated code. Do not modify.
2
-
3
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
4
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
5
- require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
6
-
7
- module FluentCommandBuilder
8
- module Bundle
9
- module V12
10
- VERSION = '1.2'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::Bundle::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::Bundle.version_detector
13
- def configure_bundle
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def bundle
19
- b = UnderlyingBuilder.new @@config
20
- c = Bundle.new(b)
21
- yield b if block_given?
22
- c
23
- end
24
- class Bundle < CommandBase
25
- def initialize(underlying_builder)
26
- super underlying_builder
27
- end
28
- def cache
29
- Cache.new @b
30
- end
31
- def check
32
- Check.new @b
33
- end
34
- def clean
35
- Clean.new @b
36
- end
37
- def config(name, value=nil)
38
- @b.append " config #{@b.format name}"
39
- @b.append " #{@b.format value}" unless value.nil?
40
- yield @b if block_given?
41
- self
42
- end
43
- def console(group=nil)
44
- @b.append ' console'
45
- @b.append " #{@b.format group}" unless group.nil?
46
- yield @b if block_given?
47
- self
48
- end
49
- def exec(command)
50
- @b.append " exec #{@b.format command}"
51
- yield @b if block_given?
52
- self
53
- end
54
- def gem(gem)
55
- Gem.new @b, gem
56
- end
57
- def init
58
- Init.new @b
59
- end
60
- def install
61
- Install.new @b
62
- end
63
- def open(gem)
64
- @b.append " open #{@b.format gem}"
65
- yield @b if block_given?
66
- self
67
- end
68
- def outdated(gem=nil)
69
- Outdated.new @b, gem
70
- end
71
- def package
72
- Package.new @b
73
- end
74
- def platform
75
- Platform.new @b
76
- end
77
- def show(gem=nil)
78
- Show.new @b, gem
79
- end
80
- def update(gem=nil)
81
- Update.new @b, gem
82
- end
83
- def version
84
- @b.append ' version'
85
- yield @b if block_given?
86
- self
87
- end
88
- def viz
89
- Viz.new @b
90
- end
91
- end
92
- class Cache < CommandBase
93
- def initialize(underlying_builder)
94
- super underlying_builder
95
- @b.append ' cache'
96
- end
97
- def no_prune
98
- @b.append ' --no-prune'
99
- yield @b if block_given?
100
- self
101
- end
102
- def all
103
- @b.append ' --all'
104
- yield @b if block_given?
105
- self
106
- end
107
- end
108
- class Check < CommandBase
109
- def initialize(underlying_builder)
110
- super underlying_builder
111
- @b.append ' check'
112
- end
113
- def gemfile(file)
114
- @b.append " --gemfile=#{@b.format file}"
115
- yield @b if block_given?
116
- self
117
- end
118
- def path(path)
119
- @b.append " --path=#{@b.format path}"
120
- yield @b if block_given?
121
- self
122
- end
123
- end
124
- class Clean < CommandBase
125
- def initialize(underlying_builder)
126
- super underlying_builder
127
- @b.append ' clean'
128
- end
129
- def force
130
- @b.append ' --force'
131
- yield @b if block_given?
132
- self
133
- end
134
- end
135
- class Gem < CommandBase
136
- def initialize(underlying_builder, gem)
137
- super underlying_builder
138
- @b.append " gem #{@b.format gem}"
139
- end
140
- def bin
141
- @b.append ' --bin'
142
- yield @b if block_given?
143
- self
144
- end
145
- end
146
- class Init < CommandBase
147
- def initialize(underlying_builder)
148
- super underlying_builder
149
- @b.append ' init'
150
- end
151
- def gemspec(file)
152
- @b.append " --gemspec=#{@b.format file}"
153
- yield @b if block_given?
154
- self
155
- end
156
- end
157
- class Install < CommandBase
158
- def initialize(underlying_builder)
159
- super underlying_builder
160
- @b.append ' install'
161
- end
162
- def binstubs(path)
163
- @b.append " --binstubs=#{@b.format path}"
164
- yield @b if block_given?
165
- self
166
- end
167
- def clean
168
- @b.append ' --clean'
169
- yield @b if block_given?
170
- self
171
- end
172
- def deployment
173
- @b.append ' --deployment'
174
- yield @b if block_given?
175
- self
176
- end
177
- def frozen
178
- @b.append ' --frozen'
179
- yield @b if block_given?
180
- self
181
- end
182
- def full_index
183
- @b.append ' --full-index'
184
- yield @b if block_given?
185
- self
186
- end
187
- def gemfile(file)
188
- @b.append " --gemfile=#{@b.format file}"
189
- yield @b if block_given?
190
- self
191
- end
192
- def local
193
- @b.append ' --local'
194
- yield @b if block_given?
195
- self
196
- end
197
- def no_cache
198
- @b.append ' --no-cache'
199
- yield @b if block_given?
200
- self
201
- end
202
- def no_prune
203
- @b.append ' --no-prune'
204
- yield @b if block_given?
205
- self
206
- end
207
- def path(path)
208
- @b.append " --path=#{@b.format path}"
209
- yield @b if block_given?
210
- self
211
- end
212
- def quiet
213
- @b.append ' --quiet'
214
- yield @b if block_given?
215
- self
216
- end
217
- def shebang(string)
218
- @b.append " --shebang=#{@b.format string}"
219
- yield @b if block_given?
220
- self
221
- end
222
- def standalone(array)
223
- @b.append " --standalone=#{@b.format array}"
224
- yield @b if block_given?
225
- self
226
- end
227
- def system
228
- @b.append ' --system'
229
- yield @b if block_given?
230
- self
231
- end
232
- def without(group)
233
- @b.append " --without=#{@b.format group}"
234
- yield @b if block_given?
235
- self
236
- end
237
- end
238
- class Outdated < CommandBase
239
- def initialize(underlying_builder, gem=nil)
240
- super underlying_builder
241
- @b.append ' outdated'
242
- @b.append " #{@b.format gem}" unless gem.nil?
243
- end
244
- def local
245
- @b.append ' --local'
246
- yield @b if block_given?
247
- self
248
- end
249
- def pre
250
- @b.append ' --pre'
251
- yield @b if block_given?
252
- self
253
- end
254
- def source
255
- @b.append ' --source'
256
- yield @b if block_given?
257
- self
258
- end
259
- end
260
- class Package < CommandBase
261
- def initialize(underlying_builder)
262
- super underlying_builder
263
- @b.append ' package'
264
- end
265
- def no_prune
266
- @b.append ' --no-prune'
267
- yield @b if block_given?
268
- self
269
- end
270
- def all
271
- @b.append ' --all'
272
- yield @b if block_given?
273
- self
274
- end
275
- end
276
- class Platform < CommandBase
277
- def initialize(underlying_builder)
278
- super underlying_builder
279
- @b.append ' platform'
280
- end
281
- def ruby
282
- @b.append ' --ruby'
283
- yield @b if block_given?
284
- self
285
- end
286
- end
287
- class Show < CommandBase
288
- def initialize(underlying_builder, gem=nil)
289
- super underlying_builder
290
- @b.append ' show'
291
- @b.append " #{@b.format gem}" unless gem.nil?
292
- end
293
- def paths
294
- @b.append ' --paths'
295
- yield @b if block_given?
296
- self
297
- end
298
- end
299
- class Update < CommandBase
300
- def initialize(underlying_builder, gem=nil)
301
- super underlying_builder
302
- @b.append ' update'
303
- @b.append " #{@b.format gem}" unless gem.nil?
304
- end
305
- def local
306
- @b.append ' --local'
307
- yield @b if block_given?
308
- self
309
- end
310
- def source(source)
311
- @b.append " --source=#{@b.format source}"
312
- yield @b if block_given?
313
- self
314
- end
315
- end
316
- class Viz < CommandBase
317
- def initialize(underlying_builder)
318
- super underlying_builder
319
- @b.append ' viz'
320
- end
321
- def file(file)
322
- @b.append " --file=#{@b.format file}"
323
- yield @b if block_given?
324
- self
325
- end
326
- def format(format)
327
- @b.append " --format=#{@b.format format}"
328
- yield @b if block_given?
329
- self
330
- end
331
- def requirements
332
- @b.append ' --requirements'
333
- yield @b if block_given?
334
- self
335
- end
336
- def version
337
- @b.append ' --version'
338
- yield @b if block_given?
339
- self
340
- end
341
- end
342
-
343
- end
344
- end
345
- end
@@ -1,19 +0,0 @@
1
- # Generated code. Do not modify.
2
-
3
- require File.expand_path(File.dirname(__FILE__) + '/../version_detectors')
4
- require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
5
-
6
- module FluentCommandBuilder
7
- module Cucumber
8
- COMMAND_NAME = 'cucumber'
9
- def self.version_detector
10
- @version_detector ||= StandardVersionDetector.new COMMAND_NAME, '--version'
11
- end
12
- def self.version_detector=(value)
13
- @version_detector = value
14
- end
15
- def self.version(path=nil)
16
- self.version_detector.version path
17
- end
18
- end
19
- end
@@ -1,178 +0,0 @@
1
- # Generated code. Do not modify.
2
-
3
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
4
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
5
- require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
6
-
7
- module FluentCommandBuilder
8
- module Cucumber
9
- module V11
10
- VERSION = '1.1'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::Cucumber::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::Cucumber.version_detector
13
- def configure_cucumber
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def cucumber(feature=nil)
19
- b = UnderlyingBuilder.new @@config
20
- c = Cucumber.new(b, feature)
21
- yield b if block_given?
22
- c
23
- end
24
- class Cucumber < CommandBase
25
- def initialize(underlying_builder, feature=nil)
26
- super underlying_builder
27
- @b.append " #{@b.format feature}" unless feature.nil?
28
- end
29
- def require(library)
30
- @b.append " --require #{@b.format library}"
31
- yield @b if block_given?
32
- self
33
- end
34
- def i18n(lang)
35
- @b.append " --i18n #{@b.format lang}"
36
- yield @b if block_given?
37
- self
38
- end
39
- def format(format)
40
- @b.append " --format #{@b.format format}"
41
- yield @b if block_given?
42
- self
43
- end
44
- def out(file)
45
- @b.append " --out #{@b.format file}"
46
- yield @b if block_given?
47
- self
48
- end
49
- def tags(tag_expression)
50
- @b.append " --tags #{@b.format tag_expression, ','}"
51
- yield @b if block_given?
52
- self
53
- end
54
- def name(name)
55
- @b.append " --name #{@b.format name}"
56
- yield @b if block_given?
57
- self
58
- end
59
- def exclude(pattern)
60
- @b.append " --exclude #{@b.format pattern}"
61
- yield @b if block_given?
62
- self
63
- end
64
- def profile(profile)
65
- @b.append " --profile #{@b.format profile}"
66
- yield @b if block_given?
67
- self
68
- end
69
- def no_profile
70
- @b.append ' --no-profile'
71
- yield @b if block_given?
72
- self
73
- end
74
- def color
75
- @b.append ' --color'
76
- yield @b if block_given?
77
- self
78
- end
79
- def no_color
80
- @b.append ' --no-color'
81
- yield @b if block_given?
82
- self
83
- end
84
- def dry_run
85
- @b.append ' --dry-run'
86
- yield @b if block_given?
87
- self
88
- end
89
- def autoformat(dir)
90
- @b.append " --autoformat #{@b.format dir}"
91
- yield @b if block_given?
92
- self
93
- end
94
- def no_multiline
95
- @b.append ' --no-multiline'
96
- yield @b if block_given?
97
- self
98
- end
99
- def no_source
100
- @b.append ' --no-source'
101
- yield @b if block_given?
102
- self
103
- end
104
- def no_snippets
105
- @b.append ' --no-snippets'
106
- yield @b if block_given?
107
- self
108
- end
109
- def quiet
110
- @b.append ' --quiet'
111
- yield @b if block_given?
112
- self
113
- end
114
- def backtrace
115
- @b.append ' --backtrace'
116
- yield @b if block_given?
117
- self
118
- end
119
- def strict
120
- @b.append ' --strict'
121
- yield @b if block_given?
122
- self
123
- end
124
- def wip
125
- @b.append ' --wip'
126
- yield @b if block_given?
127
- self
128
- end
129
- def verbose
130
- @b.append ' --verbose'
131
- yield @b if block_given?
132
- self
133
- end
134
- def guess
135
- @b.append ' --guess'
136
- yield @b if block_given?
137
- self
138
- end
139
- def lines(lines)
140
- @b.append " --lines #{@b.format lines}"
141
- yield @b if block_given?
142
- self
143
- end
144
- def expand
145
- @b.append ' --expand'
146
- yield @b if block_given?
147
- self
148
- end
149
- def drb
150
- @b.append ' --drb'
151
- yield @b if block_given?
152
- self
153
- end
154
- def port(port)
155
- @b.append " --port #{@b.format port}"
156
- yield @b if block_given?
157
- self
158
- end
159
- def dotcucumber(dir)
160
- @b.append " --dotcucumber #{@b.format dir}"
161
- yield @b if block_given?
162
- self
163
- end
164
- def version
165
- @b.append ' --version'
166
- yield @b if block_given?
167
- self
168
- end
169
- def help
170
- @b.append ' --help'
171
- yield @b if block_given?
172
- self
173
- end
174
- end
175
-
176
- end
177
- end
178
- end