fluent_command_builder 0.9.9 → 0.9.10

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 (70) hide show
  1. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +14 -0
  2. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +2612 -0
  3. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +2602 -0
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +14 -0
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +102 -0
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +102 -0
  7. data/lib/fluent_command_builder/command_builders/bundle.rb +14 -0
  8. data/lib/fluent_command_builder/command_builders/bundle_11.rb +320 -0
  9. data/lib/fluent_command_builder/command_builders/bundle_12.rb +344 -0
  10. data/lib/fluent_command_builder/command_builders/cucumber.rb +14 -0
  11. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +177 -0
  12. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +182 -0
  13. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +14 -0
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +207 -0
  15. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +207 -0
  16. data/lib/fluent_command_builder/command_builders/dotcover.rb +14 -0
  17. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +68 -0
  18. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +298 -0
  19. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +298 -0
  20. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +308 -0
  21. data/lib/fluent_command_builder/command_builders/dotcover_21.rb +308 -0
  22. data/lib/fluent_command_builder/command_builders/dotcover_22.rb +308 -0
  23. data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +14 -0
  24. data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +262 -0
  25. data/lib/fluent_command_builder/command_builders/installutil.rb +14 -0
  26. data/lib/fluent_command_builder/command_builders/installutil_11.rb +63 -0
  27. data/lib/fluent_command_builder/command_builders/installutil_20.rb +68 -0
  28. data/lib/fluent_command_builder/command_builders/installutil_35.rb +68 -0
  29. data/lib/fluent_command_builder/command_builders/installutil_40.rb +74 -0
  30. data/lib/fluent_command_builder/command_builders/msbuild.rb +14 -0
  31. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +93 -0
  32. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +93 -0
  33. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +133 -0
  34. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +136 -0
  35. data/lib/fluent_command_builder/command_builders/msdeploy.rb +14 -0
  36. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +181 -0
  37. data/lib/fluent_command_builder/command_builders/mstest.rb +14 -0
  38. data/lib/fluent_command_builder/command_builders/mstest_100.rb +131 -0
  39. data/lib/fluent_command_builder/command_builders/mstest_80.rb +111 -0
  40. data/lib/fluent_command_builder/command_builders/mstest_90.rb +116 -0
  41. data/lib/fluent_command_builder/command_builders/netsh.rb +14 -0
  42. data/lib/fluent_command_builder/command_builders/netsh_61.rb +412 -0
  43. data/lib/fluent_command_builder/command_builders/nuget.rb +14 -0
  44. data/lib/fluent_command_builder/command_builders/nuget_20.rb +436 -0
  45. data/lib/fluent_command_builder/command_builders/nuget_21.rb +532 -0
  46. data/lib/fluent_command_builder/command_builders/nunit.rb +14 -0
  47. data/lib/fluent_command_builder/command_builders/nunit_25.rb +152 -0
  48. data/lib/fluent_command_builder/command_builders/nunit_26.rb +192 -0
  49. data/lib/fluent_command_builder/command_builders/rake.rb +14 -0
  50. data/lib/fluent_command_builder/command_builders/rake_09.rb +155 -0
  51. data/lib/fluent_command_builder/command_builders/rake_100.rb +193 -0
  52. data/lib/fluent_command_builder/command_builders/schtasks.rb +14 -0
  53. data/lib/fluent_command_builder/command_builders/schtasks_61.rb +352 -0
  54. data/lib/fluent_command_builder/command_builders/security_osx.rb +14 -0
  55. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +187 -0
  56. data/lib/fluent_command_builder/command_builders/security_osx_108.rb +187 -0
  57. data/lib/fluent_command_builder/command_builders/sevenzip.rb +14 -0
  58. data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +522 -0
  59. data/lib/fluent_command_builder/command_builders/simian.rb +14 -0
  60. data/lib/fluent_command_builder/command_builders/simian_23.rb +146 -0
  61. data/lib/fluent_command_builder/command_builders/team_foundation.rb +14 -0
  62. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2159 -0
  63. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +14 -0
  64. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1884 -0
  65. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +2002 -0
  66. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +14 -0
  67. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +275 -0
  68. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +325 -0
  69. data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +330 -0
  70. metadata +82 -13
@@ -0,0 +1,14 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require 'getversion'
4
+ require_relative '../internal/underlying_builder'
5
+
6
+ module FluentCommandBuilder
7
+ module AspnetCompiler
8
+ COMMAND_NAME = 'aspnet_compiler'
9
+ def self.version(path=nil)
10
+ executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
11
+ GetVersion[executable]
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,102 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require_relative '../internal/command_base'
4
+ require_relative '../internal/command_builder_config'
5
+ require_relative '../internal/underlying_builder'
6
+
7
+ module FluentCommandBuilder
8
+ module AspnetCompiler
9
+ module V20
10
+ VERSION = '2.0'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME, VERSION
12
+ def configure_aspnet_compiler
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def aspnet_compiler(target_dir=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = AspnetCompiler.new(b, target_dir)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class AspnetCompiler < CommandBase
24
+ def initialize(underlying_builder, target_dir=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format target_dir}" unless target_dir.nil?
27
+ end
28
+ def metabase_path(metabase_path)
29
+ @b.append " -m #{@b.format metabase_path}"
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def virtual_path(virtual_path)
34
+ @b.append " -v #{@b.format virtual_path}"
35
+ yield @b if block_given?
36
+ self
37
+ end
38
+ def physical_path(physical_path)
39
+ @b.append " -p #{@b.format physical_path}"
40
+ yield @b if block_given?
41
+ self
42
+ end
43
+ def allow_subsequent_updates
44
+ @b.append ' -u'
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def force_overwrite_files
49
+ @b.append ' -f'
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def force_debug_output
54
+ @b.append ' -d'
55
+ yield @b if block_given?
56
+ self
57
+ end
58
+ def fixed_names
59
+ @b.append ' -fixedNames'
60
+ yield @b if block_given?
61
+ self
62
+ end
63
+ def full_rebuild
64
+ @b.append ' -c'
65
+ yield @b if block_given?
66
+ self
67
+ end
68
+ def error_stack
69
+ @b.append ' -errorStack'
70
+ yield @b if block_given?
71
+ self
72
+ end
73
+ def no_logo
74
+ @b.append ' -noLogo'
75
+ yield @b if block_given?
76
+ self
77
+ end
78
+ def key_file(file)
79
+ @b.append " -keyFile #{@b.format file}"
80
+ yield @b if block_given?
81
+ self
82
+ end
83
+ def key_container(container)
84
+ @b.append " -keyContainer #{@b.format container}"
85
+ yield @b if block_given?
86
+ self
87
+ end
88
+ def aptca
89
+ @b.append ' -aptca'
90
+ yield @b if block_given?
91
+ self
92
+ end
93
+ def delay_sign
94
+ @b.append ' -delaySign'
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ end
99
+
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,102 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require_relative '../internal/command_base'
4
+ require_relative '../internal/command_builder_config'
5
+ require_relative '../internal/underlying_builder'
6
+
7
+ module FluentCommandBuilder
8
+ module AspnetCompiler
9
+ module V40
10
+ VERSION = '4.0'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME, VERSION
12
+ def configure_aspnet_compiler
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def aspnet_compiler(target_dir=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = AspnetCompiler.new(b, target_dir)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class AspnetCompiler < CommandBase
24
+ def initialize(underlying_builder, target_dir=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format target_dir}" unless target_dir.nil?
27
+ end
28
+ def metabase_path(metabase_path)
29
+ @b.append " -m #{@b.format metabase_path}"
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def virtual_path(virtual_path)
34
+ @b.append " -v #{@b.format virtual_path}"
35
+ yield @b if block_given?
36
+ self
37
+ end
38
+ def physical_path(physical_path)
39
+ @b.append " -p #{@b.format physical_path}"
40
+ yield @b if block_given?
41
+ self
42
+ end
43
+ def allow_subsequent_updates
44
+ @b.append ' -u'
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def force_overwrite_files
49
+ @b.append ' -f'
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def force_debug_output
54
+ @b.append ' -d'
55
+ yield @b if block_given?
56
+ self
57
+ end
58
+ def fixed_names
59
+ @b.append ' -fixedNames'
60
+ yield @b if block_given?
61
+ self
62
+ end
63
+ def full_rebuild
64
+ @b.append ' -c'
65
+ yield @b if block_given?
66
+ self
67
+ end
68
+ def error_stack
69
+ @b.append ' -errorStack'
70
+ yield @b if block_given?
71
+ self
72
+ end
73
+ def no_logo
74
+ @b.append ' -noLogo'
75
+ yield @b if block_given?
76
+ self
77
+ end
78
+ def key_file(file)
79
+ @b.append " -keyFile #{@b.format file}"
80
+ yield @b if block_given?
81
+ self
82
+ end
83
+ def key_container(container)
84
+ @b.append " -keyContainer #{@b.format container}"
85
+ yield @b if block_given?
86
+ self
87
+ end
88
+ def aptca
89
+ @b.append ' -aptca'
90
+ yield @b if block_given?
91
+ self
92
+ end
93
+ def delay_sign
94
+ @b.append ' -delaySign'
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ end
99
+
100
+ end
101
+ end
102
+ end
@@ -0,0 +1,14 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require 'getversion'
4
+ require_relative '../internal/underlying_builder'
5
+
6
+ module FluentCommandBuilder
7
+ module Bundle
8
+ COMMAND_NAME = 'bundle'
9
+ def self.version(path=nil)
10
+ executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
11
+ GetVersion[executable]
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,320 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require_relative '../internal/command_base'
4
+ require_relative '../internal/command_builder_config'
5
+ require_relative '../internal/underlying_builder'
6
+
7
+ module FluentCommandBuilder
8
+ module Bundle
9
+ module V11
10
+ VERSION = '1.1'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::Bundle::COMMAND_NAME, VERSION
12
+ def configure_bundle
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def bundle
18
+ b = UnderlyingBuilder.new @@config
19
+ c = Bundle.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class Bundle < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def cache
28
+ Cache.new @b
29
+ end
30
+ def check
31
+ Check.new @b
32
+ end
33
+ def clean
34
+ Clean.new @b
35
+ end
36
+ def config(name, value=nil)
37
+ @b.append " config #{@b.format name}"
38
+ @b.append " #{@b.format value}" unless value.nil?
39
+ yield @b if block_given?
40
+ self
41
+ end
42
+ def console(group=nil)
43
+ @b.append ' console'
44
+ @b.append " #{@b.format group}" unless group.nil?
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def exec(command)
49
+ @b.append " exec #{@b.format command}"
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def gem(gem)
54
+ Gem.new @b, gem
55
+ end
56
+ def init
57
+ Init.new @b
58
+ end
59
+ def install
60
+ Install.new @b
61
+ end
62
+ def open(gem)
63
+ @b.append " open #{@b.format gem}"
64
+ yield @b if block_given?
65
+ self
66
+ end
67
+ def outdated(gem=nil)
68
+ Outdated.new @b, gem
69
+ end
70
+ def package
71
+ Package.new @b
72
+ end
73
+ def show(gem=nil)
74
+ Show.new @b, gem
75
+ end
76
+ def update(gem=nil)
77
+ Update.new @b, gem
78
+ end
79
+ def version
80
+ @b.append ' version'
81
+ yield @b if block_given?
82
+ self
83
+ end
84
+ def viz
85
+ Viz.new @b
86
+ end
87
+ end
88
+ class Cache < CommandBase
89
+ def initialize(underlying_builder)
90
+ super underlying_builder
91
+ @b.append ' cache'
92
+ end
93
+ def no_prune
94
+ @b.append ' --no-prune'
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ end
99
+ class Check < CommandBase
100
+ def initialize(underlying_builder)
101
+ super underlying_builder
102
+ @b.append ' check'
103
+ end
104
+ def gemfile(file)
105
+ @b.append " --gemfile=#{@b.format file}"
106
+ yield @b if block_given?
107
+ self
108
+ end
109
+ def path(path)
110
+ @b.append " --path=#{@b.format path}"
111
+ yield @b if block_given?
112
+ self
113
+ end
114
+ end
115
+ class Clean < CommandBase
116
+ def initialize(underlying_builder)
117
+ super underlying_builder
118
+ @b.append ' clean'
119
+ end
120
+ def force
121
+ @b.append ' --force'
122
+ yield @b if block_given?
123
+ self
124
+ end
125
+ end
126
+ class Gem < CommandBase
127
+ def initialize(underlying_builder, gem)
128
+ super underlying_builder
129
+ @b.append " gem #{@b.format gem}"
130
+ end
131
+ def bin
132
+ @b.append ' --bin'
133
+ yield @b if block_given?
134
+ self
135
+ end
136
+ end
137
+ class Init < CommandBase
138
+ def initialize(underlying_builder)
139
+ super underlying_builder
140
+ @b.append ' init'
141
+ end
142
+ def gemspec(file)
143
+ @b.append " --gemspec=#{@b.format file}"
144
+ yield @b if block_given?
145
+ self
146
+ end
147
+ end
148
+ class Install < CommandBase
149
+ def initialize(underlying_builder)
150
+ super underlying_builder
151
+ @b.append ' install'
152
+ end
153
+ def binstubs(path)
154
+ @b.append " --binstubs=#{@b.format path}"
155
+ yield @b if block_given?
156
+ self
157
+ end
158
+ def clean
159
+ @b.append ' --clean'
160
+ yield @b if block_given?
161
+ self
162
+ end
163
+ def deployment
164
+ @b.append ' --deployment'
165
+ yield @b if block_given?
166
+ self
167
+ end
168
+ def frozen
169
+ @b.append ' --frozen'
170
+ yield @b if block_given?
171
+ self
172
+ end
173
+ def full_index
174
+ @b.append ' --full-index'
175
+ yield @b if block_given?
176
+ self
177
+ end
178
+ def gemfile(file)
179
+ @b.append " --gemfile=#{@b.format file}"
180
+ yield @b if block_given?
181
+ self
182
+ end
183
+ def local
184
+ @b.append ' --local'
185
+ yield @b if block_given?
186
+ self
187
+ end
188
+ def no_cache
189
+ @b.append ' --no-cache'
190
+ yield @b if block_given?
191
+ self
192
+ end
193
+ def no_prune
194
+ @b.append ' --no-prune'
195
+ yield @b if block_given?
196
+ self
197
+ end
198
+ def path(path)
199
+ @b.append " --path=#{@b.format path}"
200
+ yield @b if block_given?
201
+ self
202
+ end
203
+ def quiet
204
+ @b.append ' --quiet'
205
+ yield @b if block_given?
206
+ self
207
+ end
208
+ def shebang(string)
209
+ @b.append " --shebang=#{@b.format string}"
210
+ yield @b if block_given?
211
+ self
212
+ end
213
+ def standalone(array)
214
+ @b.append " --standalone=#{@b.format array}"
215
+ yield @b if block_given?
216
+ self
217
+ end
218
+ def system
219
+ @b.append ' --system'
220
+ yield @b if block_given?
221
+ self
222
+ end
223
+ def without(group)
224
+ @b.append " --without=#{@b.format group}"
225
+ yield @b if block_given?
226
+ self
227
+ end
228
+ end
229
+ class Outdated < CommandBase
230
+ def initialize(underlying_builder, gem=nil)
231
+ super underlying_builder
232
+ @b.append ' outdated'
233
+ @b.append " #{@b.format gem}" unless gem.nil?
234
+ end
235
+ def local
236
+ @b.append ' --local'
237
+ yield @b if block_given?
238
+ self
239
+ end
240
+ def pre
241
+ @b.append ' --pre'
242
+ yield @b if block_given?
243
+ self
244
+ end
245
+ def source
246
+ @b.append ' --source'
247
+ yield @b if block_given?
248
+ self
249
+ end
250
+ end
251
+ class Package < CommandBase
252
+ def initialize(underlying_builder)
253
+ super underlying_builder
254
+ @b.append ' package'
255
+ end
256
+ def no_prune
257
+ @b.append ' --no-prune'
258
+ yield @b if block_given?
259
+ self
260
+ end
261
+ end
262
+ class Show < CommandBase
263
+ def initialize(underlying_builder, gem=nil)
264
+ super underlying_builder
265
+ @b.append ' show'
266
+ @b.append " #{@b.format gem}" unless gem.nil?
267
+ end
268
+ def paths
269
+ @b.append ' --paths'
270
+ yield @b if block_given?
271
+ self
272
+ end
273
+ end
274
+ class Update < CommandBase
275
+ def initialize(underlying_builder, gem=nil)
276
+ super underlying_builder
277
+ @b.append ' update'
278
+ @b.append " #{@b.format gem}" unless gem.nil?
279
+ end
280
+ def local
281
+ @b.append ' --local'
282
+ yield @b if block_given?
283
+ self
284
+ end
285
+ def source(source)
286
+ @b.append " --source=#{@b.format source}"
287
+ yield @b if block_given?
288
+ self
289
+ end
290
+ end
291
+ class Viz < CommandBase
292
+ def initialize(underlying_builder)
293
+ super underlying_builder
294
+ @b.append ' viz'
295
+ end
296
+ def file(file)
297
+ @b.append " --file=#{@b.format file}"
298
+ yield @b if block_given?
299
+ self
300
+ end
301
+ def format(format)
302
+ @b.append " --format=#{@b.format format}"
303
+ yield @b if block_given?
304
+ self
305
+ end
306
+ def requirements
307
+ @b.append ' --requirements'
308
+ yield @b if block_given?
309
+ self
310
+ end
311
+ def version
312
+ @b.append ' --version'
313
+ yield @b if block_given?
314
+ self
315
+ end
316
+ end
317
+
318
+ end
319
+ end
320
+ end