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 NUnit
8
- COMMAND_NAME = 'nunit-console'
9
- def self.version_detector
10
- @version_detector ||= StandardVersionDetector.new COMMAND_NAME, '/help'
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,153 +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 NUnit
9
- module V25
10
- VERSION = '2.5'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::NUnit::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::NUnit.version_detector
13
- def configure_nunit
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def nunit(input_files=nil)
19
- b = UnderlyingBuilder.new @@config
20
- c = NUnit.new(b, input_files)
21
- yield b if block_given?
22
- c
23
- end
24
- class NUnit < CommandBase
25
- def initialize(underlying_builder, input_files=nil)
26
- super underlying_builder
27
- @b.append " #{@b.format input_files}" unless input_files.nil?
28
- end
29
- def input_files(input_files)
30
- @b.append " #{@b.format input_files}"
31
- yield @b if block_given?
32
- self
33
- end
34
- def fixture(fixture)
35
- @b.append " -fixture:#{@b.format fixture}"
36
- yield @b if block_given?
37
- self
38
- end
39
- def load(fixture)
40
- @b.append " -load:#{@b.format fixture}"
41
- yield @b if block_given?
42
- self
43
- end
44
- def run(test)
45
- @b.append " -run:#{@b.format test}"
46
- yield @b if block_given?
47
- self
48
- end
49
- def config(config)
50
- @b.append " -config:#{@b.format config}"
51
- yield @b if block_given?
52
- self
53
- end
54
- def xml(file)
55
- @b.append " -xml:#{@b.format file}"
56
- yield @b if block_given?
57
- self
58
- end
59
- def xml_console
60
- @b.append ' -xmlConsole'
61
- yield @b if block_given?
62
- self
63
- end
64
- def output(file)
65
- @b.append " -output:#{@b.format file}"
66
- yield @b if block_given?
67
- self
68
- end
69
- def out(file)
70
- @b.append " -out:#{@b.format file}"
71
- yield @b if block_given?
72
- self
73
- end
74
- def err(file)
75
- @b.append " -err:#{@b.format file}"
76
- yield @b if block_given?
77
- self
78
- end
79
- def labels
80
- @b.append ' -labels'
81
- yield @b if block_given?
82
- self
83
- end
84
- def trace(level)
85
- @b.append " -trace:#{@b.format level}"
86
- yield @b if block_given?
87
- self
88
- end
89
- def include(category)
90
- @b.append " -include:#{@b.format category}"
91
- yield @b if block_given?
92
- self
93
- end
94
- def exclude(category)
95
- @b.append " -exclude:#{@b.format category}"
96
- yield @b if block_given?
97
- self
98
- end
99
- def process(process)
100
- @b.append " -process:#{@b.format process}"
101
- yield @b if block_given?
102
- self
103
- end
104
- def domain(domain)
105
- @b.append " -domain:#{@b.format domain}"
106
- yield @b if block_given?
107
- self
108
- end
109
- def framework(framework)
110
- @b.append " -framework:#{@b.format framework}"
111
- yield @b if block_given?
112
- self
113
- end
114
- def no_shadow
115
- @b.append ' -noShadow'
116
- yield @b if block_given?
117
- self
118
- end
119
- def no_thread
120
- @b.append ' -noThread'
121
- yield @b if block_given?
122
- self
123
- end
124
- def timeout(timeout)
125
- @b.append " -timeout:#{@b.format timeout}"
126
- yield @b if block_given?
127
- self
128
- end
129
- def wait
130
- @b.append ' -wait'
131
- yield @b if block_given?
132
- self
133
- end
134
- def no_logo
135
- @b.append ' -noLogo'
136
- yield @b if block_given?
137
- self
138
- end
139
- def no_dots
140
- @b.append ' -noDots'
141
- yield @b if block_given?
142
- self
143
- end
144
- def help
145
- @b.append ' -help'
146
- yield @b if block_given?
147
- self
148
- end
149
- end
150
-
151
- end
152
- end
153
- end
@@ -1,193 +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 NUnit
9
- module V26
10
- VERSION = '2.6'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::NUnit::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::NUnit.version_detector
13
- def configure_nunit
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def nunit(input_files=nil)
19
- b = UnderlyingBuilder.new @@config
20
- c = NUnit.new(b, input_files)
21
- yield b if block_given?
22
- c
23
- end
24
- class NUnit < CommandBase
25
- def initialize(underlying_builder, input_files=nil)
26
- super underlying_builder
27
- @b.append " #{@b.format input_files}" unless input_files.nil?
28
- end
29
- def input_files(input_files)
30
- @b.append " #{@b.format input_files}"
31
- yield @b if block_given?
32
- self
33
- end
34
- def fixture(fixture)
35
- @b.append " -fixture:#{@b.format fixture}"
36
- yield @b if block_given?
37
- self
38
- end
39
- def load(fixture)
40
- @b.append " -load:#{@b.format fixture}"
41
- yield @b if block_given?
42
- self
43
- end
44
- def run(test)
45
- @b.append " -run:#{@b.format test}"
46
- yield @b if block_given?
47
- self
48
- end
49
- def run_list(file)
50
- @b.append " -runList:#{@b.format file}"
51
- yield @b if block_given?
52
- self
53
- end
54
- def config(config)
55
- @b.append " -config:#{@b.format config}"
56
- yield @b if block_given?
57
- self
58
- end
59
- def result(file)
60
- @b.append " -result:#{@b.format file}"
61
- yield @b if block_given?
62
- self
63
- end
64
- def xml(file)
65
- @b.append " -xml:#{@b.format file}"
66
- yield @b if block_given?
67
- self
68
- end
69
- def xml_console
70
- @b.append ' -xmlConsole'
71
- yield @b if block_given?
72
- self
73
- end
74
- def no_result
75
- @b.append ' -noResult'
76
- yield @b if block_given?
77
- self
78
- end
79
- def no_xml
80
- @b.append ' -noXml'
81
- yield @b if block_given?
82
- self
83
- end
84
- def output(file)
85
- @b.append " -output:#{@b.format file}"
86
- yield @b if block_given?
87
- self
88
- end
89
- def out(file)
90
- @b.append " -out:#{@b.format file}"
91
- yield @b if block_given?
92
- self
93
- end
94
- def err(file)
95
- @b.append " -err:#{@b.format file}"
96
- yield @b if block_given?
97
- self
98
- end
99
- def work(directory)
100
- @b.append " -work:#{@b.format directory}"
101
- yield @b if block_given?
102
- self
103
- end
104
- def labels
105
- @b.append ' -labels'
106
- yield @b if block_given?
107
- self
108
- end
109
- def trace(level)
110
- @b.append " -trace:#{@b.format level}"
111
- yield @b if block_given?
112
- self
113
- end
114
- def include(category)
115
- @b.append " -include:#{@b.format category}"
116
- yield @b if block_given?
117
- self
118
- end
119
- def exclude(category)
120
- @b.append " -exclude:#{@b.format category}"
121
- yield @b if block_given?
122
- self
123
- end
124
- def framework(framework)
125
- @b.append " -framework:#{@b.format framework}"
126
- yield @b if block_given?
127
- self
128
- end
129
- def process(process)
130
- @b.append " -process:#{@b.format process}"
131
- yield @b if block_given?
132
- self
133
- end
134
- def domain(domain)
135
- @b.append " -domain:#{@b.format domain}"
136
- yield @b if block_given?
137
- self
138
- end
139
- def apartment(apartment)
140
- @b.append " -apartment:#{@b.format apartment}"
141
- yield @b if block_given?
142
- self
143
- end
144
- def no_shadow
145
- @b.append ' -noShadow'
146
- yield @b if block_given?
147
- self
148
- end
149
- def no_thread
150
- @b.append ' -noThread'
151
- yield @b if block_given?
152
- self
153
- end
154
- def timeout(timeout)
155
- @b.append " -timeout:#{@b.format timeout}"
156
- yield @b if block_given?
157
- self
158
- end
159
- def wait
160
- @b.append ' -wait'
161
- yield @b if block_given?
162
- self
163
- end
164
- def no_logo
165
- @b.append ' -noLogo'
166
- yield @b if block_given?
167
- self
168
- end
169
- def no_dots
170
- @b.append ' -noDots'
171
- yield @b if block_given?
172
- self
173
- end
174
- def stop_on_error
175
- @b.append ' -stopOnError'
176
- yield @b if block_given?
177
- self
178
- end
179
- def cleanup
180
- @b.append ' -cleanup'
181
- yield @b if block_given?
182
- self
183
- end
184
- def help
185
- @b.append ' -help'
186
- yield @b if block_given?
187
- self
188
- end
189
- end
190
-
191
- end
192
- end
193
- 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 Rake
8
- COMMAND_NAME = 'rake'
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,156 +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 Rake
9
- module V09
10
- VERSION = '0.9'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::Rake::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::Rake.version_detector
13
- def configure_rake
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def rake(task=nil)
19
- b = UnderlyingBuilder.new @@config
20
- c = Rake.new(b, task)
21
- yield b if block_given?
22
- c
23
- end
24
- class Rake < CommandBase
25
- def initialize(underlying_builder, task=nil)
26
- super underlying_builder
27
- @b.append " #{@b.format task, ' '}" unless task.nil?
28
- end
29
- def classic_namespace
30
- @b.append ' --classic-namespace'
31
- yield @b if block_given?
32
- self
33
- end
34
- def describe(pattern=nil)
35
- @b.append ' --describe'
36
- @b.append " #{@b.format pattern}" unless pattern.nil?
37
- yield @b if block_given?
38
- self
39
- end
40
- def dry_run
41
- @b.append ' --dry-run'
42
- yield @b if block_given?
43
- self
44
- end
45
- def execute(code)
46
- @b.append " --execute #{@b.format code}"
47
- yield @b if block_given?
48
- self
49
- end
50
- def execute_continue(code)
51
- @b.append " --execute-continue #{@b.format code}"
52
- yield @b if block_given?
53
- self
54
- end
55
- def execute_print(code)
56
- @b.append " --execute-print #{@b.format code}"
57
- yield @b if block_given?
58
- self
59
- end
60
- def help
61
- @b.append ' --help'
62
- yield @b if block_given?
63
- self
64
- end
65
- def libdir(lib_dir)
66
- @b.append " --libdir #{@b.format lib_dir}"
67
- yield @b if block_given?
68
- self
69
- end
70
- def no_deprecation_warnings
71
- @b.append ' --no-deprecation-warnings'
72
- yield @b if block_given?
73
- self
74
- end
75
- def no_search
76
- @b.append ' --no-search'
77
- yield @b if block_given?
78
- self
79
- end
80
- def no_system
81
- @b.append ' --no-system'
82
- yield @b if block_given?
83
- self
84
- end
85
- def prereqs
86
- @b.append ' --prereqs'
87
- yield @b if block_given?
88
- self
89
- end
90
- def quiet
91
- @b.append ' --quiet'
92
- yield @b if block_given?
93
- self
94
- end
95
- def rakefile(file)
96
- @b.append " --rakefile #{@b.format file}"
97
- yield @b if block_given?
98
- self
99
- end
100
- def rakelibdir(rake_lib_dir)
101
- @b.append " --rakelibdir #{@b.format rake_lib_dir}"
102
- yield @b if block_given?
103
- self
104
- end
105
- def require(file)
106
- @b.append " --require #{@b.format file}"
107
- yield @b if block_given?
108
- self
109
- end
110
- def rules
111
- @b.append ' --rules'
112
- yield @b if block_given?
113
- self
114
- end
115
- def silent
116
- @b.append ' --silent'
117
- yield @b if block_given?
118
- self
119
- end
120
- def system
121
- @b.append ' --system'
122
- yield @b if block_given?
123
- self
124
- end
125
- def tasks(pattern=nil)
126
- @b.append ' --tasks'
127
- @b.append " #{@b.format pattern}" unless pattern.nil?
128
- yield @b if block_given?
129
- self
130
- end
131
- def trace
132
- @b.append ' --trace'
133
- yield @b if block_given?
134
- self
135
- end
136
- def verbose
137
- @b.append ' --verbose'
138
- yield @b if block_given?
139
- self
140
- end
141
- def version
142
- @b.append ' --version'
143
- yield @b if block_given?
144
- self
145
- end
146
- def where(pattern=nil)
147
- @b.append ' --where'
148
- @b.append " #{@b.format pattern}" unless pattern.nil?
149
- yield @b if block_given?
150
- self
151
- end
152
- end
153
-
154
- end
155
- end
156
- end