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,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 AspnetCompiler
8
- COMMAND_NAME = 'aspnet_compiler'
9
- def self.version_detector
10
- @version_detector ||= StandardVersionDetector.new 'MSBuild', '/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,103 +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 AspnetCompiler
9
- module V20
10
- VERSION = '2.0'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::AspnetCompiler.version_detector
13
- def configure_aspnet_compiler
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def aspnet_compiler(target_dir=nil)
19
- b = UnderlyingBuilder.new @@config
20
- c = AspnetCompiler.new(b, target_dir)
21
- yield b if block_given?
22
- c
23
- end
24
- class AspnetCompiler < CommandBase
25
- def initialize(underlying_builder, target_dir=nil)
26
- super underlying_builder
27
- @b.append " #{@b.format target_dir}" unless target_dir.nil?
28
- end
29
- def metabase_path(metabase_path)
30
- @b.append " -m #{@b.format metabase_path}"
31
- yield @b if block_given?
32
- self
33
- end
34
- def virtual_path(virtual_path)
35
- @b.append " -v #{@b.format virtual_path}"
36
- yield @b if block_given?
37
- self
38
- end
39
- def physical_path(physical_path)
40
- @b.append " -p #{@b.format physical_path}"
41
- yield @b if block_given?
42
- self
43
- end
44
- def allow_subsequent_updates
45
- @b.append ' -u'
46
- yield @b if block_given?
47
- self
48
- end
49
- def force_overwrite_files
50
- @b.append ' -f'
51
- yield @b if block_given?
52
- self
53
- end
54
- def force_debug_output
55
- @b.append ' -d'
56
- yield @b if block_given?
57
- self
58
- end
59
- def fixed_names
60
- @b.append ' -fixedNames'
61
- yield @b if block_given?
62
- self
63
- end
64
- def full_rebuild
65
- @b.append ' -c'
66
- yield @b if block_given?
67
- self
68
- end
69
- def error_stack
70
- @b.append ' -errorStack'
71
- yield @b if block_given?
72
- self
73
- end
74
- def no_logo
75
- @b.append ' -noLogo'
76
- yield @b if block_given?
77
- self
78
- end
79
- def key_file(file)
80
- @b.append " -keyFile #{@b.format file}"
81
- yield @b if block_given?
82
- self
83
- end
84
- def key_container(container)
85
- @b.append " -keyContainer #{@b.format container}"
86
- yield @b if block_given?
87
- self
88
- end
89
- def aptca
90
- @b.append ' -aptca'
91
- yield @b if block_given?
92
- self
93
- end
94
- def delay_sign
95
- @b.append ' -delaySign'
96
- yield @b if block_given?
97
- self
98
- end
99
- end
100
-
101
- end
102
- end
103
- end
@@ -1,103 +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 AspnetCompiler
9
- module V40
10
- VERSION = '4.0'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::AspnetCompiler.version_detector
13
- def configure_aspnet_compiler
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def aspnet_compiler(target_dir=nil)
19
- b = UnderlyingBuilder.new @@config
20
- c = AspnetCompiler.new(b, target_dir)
21
- yield b if block_given?
22
- c
23
- end
24
- class AspnetCompiler < CommandBase
25
- def initialize(underlying_builder, target_dir=nil)
26
- super underlying_builder
27
- @b.append " #{@b.format target_dir}" unless target_dir.nil?
28
- end
29
- def metabase_path(metabase_path)
30
- @b.append " -m #{@b.format metabase_path}"
31
- yield @b if block_given?
32
- self
33
- end
34
- def virtual_path(virtual_path)
35
- @b.append " -v #{@b.format virtual_path}"
36
- yield @b if block_given?
37
- self
38
- end
39
- def physical_path(physical_path)
40
- @b.append " -p #{@b.format physical_path}"
41
- yield @b if block_given?
42
- self
43
- end
44
- def allow_subsequent_updates
45
- @b.append ' -u'
46
- yield @b if block_given?
47
- self
48
- end
49
- def force_overwrite_files
50
- @b.append ' -f'
51
- yield @b if block_given?
52
- self
53
- end
54
- def force_debug_output
55
- @b.append ' -d'
56
- yield @b if block_given?
57
- self
58
- end
59
- def fixed_names
60
- @b.append ' -fixedNames'
61
- yield @b if block_given?
62
- self
63
- end
64
- def full_rebuild
65
- @b.append ' -c'
66
- yield @b if block_given?
67
- self
68
- end
69
- def error_stack
70
- @b.append ' -errorStack'
71
- yield @b if block_given?
72
- self
73
- end
74
- def no_logo
75
- @b.append ' -noLogo'
76
- yield @b if block_given?
77
- self
78
- end
79
- def key_file(file)
80
- @b.append " -keyFile #{@b.format file}"
81
- yield @b if block_given?
82
- self
83
- end
84
- def key_container(container)
85
- @b.append " -keyContainer #{@b.format container}"
86
- yield @b if block_given?
87
- self
88
- end
89
- def aptca
90
- @b.append ' -aptca'
91
- yield @b if block_given?
92
- self
93
- end
94
- def delay_sign
95
- @b.append ' -delaySign'
96
- yield @b if block_given?
97
- self
98
- end
99
- end
100
-
101
- end
102
- end
103
- 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 Bundle
8
- COMMAND_NAME = 'bundle'
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,321 +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 V11
10
- VERSION = '1.1'
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 show(gem=nil)
75
- Show.new @b, gem
76
- end
77
- def update(gem=nil)
78
- Update.new @b, gem
79
- end
80
- def version
81
- @b.append ' version'
82
- yield @b if block_given?
83
- self
84
- end
85
- def viz
86
- Viz.new @b
87
- end
88
- end
89
- class Cache < CommandBase
90
- def initialize(underlying_builder)
91
- super underlying_builder
92
- @b.append ' cache'
93
- end
94
- def no_prune
95
- @b.append ' --no-prune'
96
- yield @b if block_given?
97
- self
98
- end
99
- end
100
- class Check < CommandBase
101
- def initialize(underlying_builder)
102
- super underlying_builder
103
- @b.append ' check'
104
- end
105
- def gemfile(file)
106
- @b.append " --gemfile=#{@b.format file}"
107
- yield @b if block_given?
108
- self
109
- end
110
- def path(path)
111
- @b.append " --path=#{@b.format path}"
112
- yield @b if block_given?
113
- self
114
- end
115
- end
116
- class Clean < CommandBase
117
- def initialize(underlying_builder)
118
- super underlying_builder
119
- @b.append ' clean'
120
- end
121
- def force
122
- @b.append ' --force'
123
- yield @b if block_given?
124
- self
125
- end
126
- end
127
- class Gem < CommandBase
128
- def initialize(underlying_builder, gem)
129
- super underlying_builder
130
- @b.append " gem #{@b.format gem}"
131
- end
132
- def bin
133
- @b.append ' --bin'
134
- yield @b if block_given?
135
- self
136
- end
137
- end
138
- class Init < CommandBase
139
- def initialize(underlying_builder)
140
- super underlying_builder
141
- @b.append ' init'
142
- end
143
- def gemspec(file)
144
- @b.append " --gemspec=#{@b.format file}"
145
- yield @b if block_given?
146
- self
147
- end
148
- end
149
- class Install < CommandBase
150
- def initialize(underlying_builder)
151
- super underlying_builder
152
- @b.append ' install'
153
- end
154
- def binstubs(path)
155
- @b.append " --binstubs=#{@b.format path}"
156
- yield @b if block_given?
157
- self
158
- end
159
- def clean
160
- @b.append ' --clean'
161
- yield @b if block_given?
162
- self
163
- end
164
- def deployment
165
- @b.append ' --deployment'
166
- yield @b if block_given?
167
- self
168
- end
169
- def frozen
170
- @b.append ' --frozen'
171
- yield @b if block_given?
172
- self
173
- end
174
- def full_index
175
- @b.append ' --full-index'
176
- yield @b if block_given?
177
- self
178
- end
179
- def gemfile(file)
180
- @b.append " --gemfile=#{@b.format file}"
181
- yield @b if block_given?
182
- self
183
- end
184
- def local
185
- @b.append ' --local'
186
- yield @b if block_given?
187
- self
188
- end
189
- def no_cache
190
- @b.append ' --no-cache'
191
- yield @b if block_given?
192
- self
193
- end
194
- def no_prune
195
- @b.append ' --no-prune'
196
- yield @b if block_given?
197
- self
198
- end
199
- def path(path)
200
- @b.append " --path=#{@b.format path}"
201
- yield @b if block_given?
202
- self
203
- end
204
- def quiet
205
- @b.append ' --quiet'
206
- yield @b if block_given?
207
- self
208
- end
209
- def shebang(string)
210
- @b.append " --shebang=#{@b.format string}"
211
- yield @b if block_given?
212
- self
213
- end
214
- def standalone(array)
215
- @b.append " --standalone=#{@b.format array}"
216
- yield @b if block_given?
217
- self
218
- end
219
- def system
220
- @b.append ' --system'
221
- yield @b if block_given?
222
- self
223
- end
224
- def without(group)
225
- @b.append " --without=#{@b.format group}"
226
- yield @b if block_given?
227
- self
228
- end
229
- end
230
- class Outdated < CommandBase
231
- def initialize(underlying_builder, gem=nil)
232
- super underlying_builder
233
- @b.append ' outdated'
234
- @b.append " #{@b.format gem}" unless gem.nil?
235
- end
236
- def local
237
- @b.append ' --local'
238
- yield @b if block_given?
239
- self
240
- end
241
- def pre
242
- @b.append ' --pre'
243
- yield @b if block_given?
244
- self
245
- end
246
- def source
247
- @b.append ' --source'
248
- yield @b if block_given?
249
- self
250
- end
251
- end
252
- class Package < CommandBase
253
- def initialize(underlying_builder)
254
- super underlying_builder
255
- @b.append ' package'
256
- end
257
- def no_prune
258
- @b.append ' --no-prune'
259
- yield @b if block_given?
260
- self
261
- end
262
- end
263
- class Show < CommandBase
264
- def initialize(underlying_builder, gem=nil)
265
- super underlying_builder
266
- @b.append ' show'
267
- @b.append " #{@b.format gem}" unless gem.nil?
268
- end
269
- def paths
270
- @b.append ' --paths'
271
- yield @b if block_given?
272
- self
273
- end
274
- end
275
- class Update < CommandBase
276
- def initialize(underlying_builder, gem=nil)
277
- super underlying_builder
278
- @b.append ' update'
279
- @b.append " #{@b.format gem}" unless gem.nil?
280
- end
281
- def local
282
- @b.append ' --local'
283
- yield @b if block_given?
284
- self
285
- end
286
- def source(source)
287
- @b.append " --source=#{@b.format source}"
288
- yield @b if block_given?
289
- self
290
- end
291
- end
292
- class Viz < CommandBase
293
- def initialize(underlying_builder)
294
- super underlying_builder
295
- @b.append ' viz'
296
- end
297
- def file(file)
298
- @b.append " --file=#{@b.format file}"
299
- yield @b if block_given?
300
- self
301
- end
302
- def format(format)
303
- @b.append " --format=#{@b.format format}"
304
- yield @b if block_given?
305
- self
306
- end
307
- def requirements
308
- @b.append ' --requirements'
309
- yield @b if block_given?
310
- self
311
- end
312
- def version
313
- @b.append ' --version'
314
- yield @b if block_given?
315
- self
316
- end
317
- end
318
-
319
- end
320
- end
321
- end