fluent_command_builder 0.1.3 → 0.1.4

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 (26) hide show
  1. data/lib/fluent_command_builder.rb +1 -0
  2. data/lib/fluent_command_builder/command_builder.rb +11 -15
  3. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +19 -19
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler_35.rb +19 -19
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +19 -19
  6. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +33 -33
  7. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +55 -55
  8. data/lib/fluent_command_builder/command_builders/installutil_11.rb +10 -10
  9. data/lib/fluent_command_builder/command_builders/installutil_20.rb +11 -11
  10. data/lib/fluent_command_builder/command_builders/installutil_35.rb +11 -11
  11. data/lib/fluent_command_builder/command_builders/installutil_40.rb +12 -12
  12. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +17 -17
  13. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +17 -17
  14. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +25 -25
  15. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +43 -43
  16. data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +34 -34
  17. data/lib/fluent_command_builder/command_builders/mstest_2005.rb +20 -20
  18. data/lib/fluent_command_builder/command_builders/mstest_2008.rb +21 -21
  19. data/lib/fluent_command_builder/command_builders/mstest_2010.rb +24 -24
  20. data/lib/fluent_command_builder/command_builders/netsh_2008.rb +84 -84
  21. data/lib/fluent_command_builder/command_builders/nunit_console_25.rb +25 -25
  22. data/lib/fluent_command_builder/command_builders/rake_09.rb +27 -27
  23. data/lib/fluent_command_builder/command_builders/simian_23.rb +27 -27
  24. data/lib/fluent_command_builder/command_builders/tf_2010.rb +395 -395
  25. data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +1951 -0
  26. metadata +3 -2
@@ -5,163 +5,163 @@ module FluentCommandBuilder
5
5
  module V40
6
6
  class MSDeploy
7
7
  def initialize command=nil
8
- @builder = CommandBuilder.new command
9
- @builder.append 'MSDeploy'
8
+ @b = CommandBuilder.new command
9
+ @b.append 'MSDeploy'
10
10
  self
11
11
  end
12
12
 
13
13
  def allow_untrusted bool
14
- @builder.append "-allowUntrusted:#{bool}"
14
+ @b.append "-allowUntrusted:#{@b.format bool}"
15
15
  self
16
16
  end
17
17
 
18
18
  def app_host_config_dir path
19
- @builder.append "-appHostConfigDir:#{path}"
19
+ @b.append "-appHostConfigDir:#{@b.format path}"
20
20
  self
21
21
  end
22
22
 
23
23
  def declare_param param
24
- @builder.append_format(param, ',', '=') { |v| "-declareParam:#{v}" }
24
+ @b.append "-declareParam:#{@b.format param, ',', '='}"
25
25
  self
26
26
  end
27
27
 
28
28
  def declare_param_file xml_file
29
- @builder.append "-declareParamFile:#{xml_file}"
29
+ @b.append "-declareParamFile:#{@b.format xml_file}"
30
30
  self
31
31
  end
32
32
 
33
33
  def dest provider
34
- @builder.append "-dest:#{provider}"
34
+ @b.append "-dest:#{@b.format provider}"
35
35
  self
36
36
  end
37
37
 
38
38
  def disable_link link_extension
39
- @builder.append "-disableLink:#{link_extension}"
39
+ @b.append "-disableLink:#{@b.format link_extension}"
40
40
  self
41
41
  end
42
42
 
43
43
  def disable_rule rule
44
- @builder.append_format(rule, ',') { |v| "-disableRule:#{v}" }
44
+ @b.append "-disableRule:#{@b.format rule, ','}"
45
45
  self
46
46
  end
47
47
 
48
48
  def disable_skip_directive skip_directive_name
49
- @builder.append "-disableSkipDirective:#{skip_directive_name}"
49
+ @b.append "-disableSkipDirective:#{@b.format skip_directive_name}"
50
50
  self
51
51
  end
52
52
 
53
53
  def enable_link link_extension
54
- @builder.append "-enableLink:#{link_extension}"
54
+ @b.append "-enableLink:#{@b.format link_extension}"
55
55
  self
56
56
  end
57
57
 
58
58
  def enable_rule rule
59
- @builder.append_format(rule, ',') { |v| "-enableRule:#{v}" }
59
+ @b.append "-enableRule:#{@b.format rule, ','}"
60
60
  self
61
61
  end
62
62
 
63
63
  def enable_skip_directive skip_directive_name
64
- @builder.append "-enableSkipDirective:#{skip_directive_name}"
64
+ @b.append "-enableSkipDirective:#{@b.format skip_directive_name}"
65
65
  self
66
66
  end
67
67
 
68
68
  def post_sync command
69
- @builder.append "-postSync:#{command}"
69
+ @b.append "-postSync:#{@b.format command}"
70
70
  self
71
71
  end
72
72
 
73
73
  def pre_sync command
74
- @builder.append "-preSync:#{command}"
74
+ @b.append "-preSync:#{@b.format command}"
75
75
  self
76
76
  end
77
77
 
78
78
  def remove_param param
79
- @builder.append "-removeParam:#{param}"
79
+ @b.append "-removeParam:#{@b.format param}"
80
80
  self
81
81
  end
82
82
 
83
83
  def replace arg
84
- @builder.append "-replace:#{arg}"
84
+ @b.append "-replace:#{@b.format arg}"
85
85
  self
86
86
  end
87
87
 
88
88
  def retry_attempts number
89
- @builder.append "-retryAttempts:#{number}"
89
+ @b.append "-retryAttempts:#{@b.format number}"
90
90
  self
91
91
  end
92
92
 
93
93
  def retry_interval milliseconds
94
- @builder.append "-retryInterval:#{milliseconds}"
94
+ @b.append "-retryInterval:#{@b.format milliseconds}"
95
95
  self
96
96
  end
97
97
 
98
98
  def set_param param
99
- @builder.append_format(param, ',', '=') { |v| "-setParam:#{v}" }
99
+ @b.append "-setParam:#{@b.format param, ',', '='}"
100
100
  self
101
101
  end
102
102
 
103
103
  def set_param_file xml_file
104
- @builder.append "-setParamFile:#{xml_file}"
104
+ @b.append "-setParamFile:#{@b.format xml_file}"
105
105
  self
106
106
  end
107
107
 
108
108
  def show_secure
109
- @builder.append "-showSecure"
109
+ @b.append '-showSecure'
110
110
  self
111
111
  end
112
112
 
113
113
  def skip arg
114
- @builder.append "-skip:#{arg}"
114
+ @b.append "-skip:#{@b.format arg}"
115
115
  self
116
116
  end
117
117
 
118
118
  def source provider
119
- @builder.append "-source:#{provider}"
119
+ @b.append "-source:#{@b.format provider}"
120
120
  self
121
121
  end
122
122
 
123
123
  def unicode
124
- @builder.append "-unicode"
124
+ @b.append '-unicode'
125
125
  self
126
126
  end
127
127
 
128
128
  def use_check_sum
129
- @builder.append "-useCheckSum"
129
+ @b.append '-useCheckSum'
130
130
  self
131
131
  end
132
132
 
133
133
  def verb verb_name
134
- @builder.append "-verb:#{verb_name}"
134
+ @b.append "-verb:#{@b.format verb_name}"
135
135
  self
136
136
  end
137
137
 
138
138
  def verbose
139
- @builder.append "-verbose"
139
+ @b.append '-verbose'
140
140
  self
141
141
  end
142
142
 
143
143
  def web_server_dir path
144
- @builder.append "-webServerDir:#{path}"
144
+ @b.append "-webServerDir:#{@b.format path}"
145
145
  self
146
146
  end
147
147
 
148
148
  def whatif
149
- @builder.append "-whatif"
149
+ @b.append '-whatif'
150
150
  self
151
151
  end
152
152
 
153
153
  def xml
154
- @builder.append "-xml"
154
+ @b.append '-xml'
155
155
  self
156
156
  end
157
157
 
158
158
  def xpath path
159
- @builder.append "-xpath:#{path}"
159
+ @b.append "-xpath:#{@b.format path}"
160
160
  self
161
161
  end
162
162
 
163
163
  def to_s
164
- @builder.to_s
164
+ @b.to_s
165
165
  end
166
166
 
167
167
  end
@@ -174,7 +174,7 @@ module FluentCommandBuilder
174
174
 
175
175
  end
176
176
 
177
- def msdeploy40
177
+ def msdeploy_40
178
178
  MSDeploy::V40::MSDeploy.new
179
179
  end
180
180
 
@@ -5,93 +5,93 @@ module FluentCommandBuilder
5
5
  module V2005
6
6
  class MSTest
7
7
  def initialize command=nil
8
- @builder = CommandBuilder.new command
9
- @builder.append 'MSTest'
8
+ @b = CommandBuilder.new command
9
+ @b.append 'MSTest'
10
10
  self
11
11
  end
12
12
 
13
13
  def test_container file_name
14
- @builder.append "/testContainer:#{file_name}"
14
+ @b.append "/testContainer:#{@b.format file_name}"
15
15
  self
16
16
  end
17
17
 
18
18
  def test_metadata file_name
19
- @builder.append "/testMetadata:#{file_name}"
19
+ @b.append "/testMetadata:#{@b.format file_name}"
20
20
  self
21
21
  end
22
22
 
23
23
  def test_list list_list_path
24
- @builder.append "/testList:#{list_list_path}"
24
+ @b.append "/testList:#{@b.format list_list_path}"
25
25
  self
26
26
  end
27
27
 
28
28
  def test test_name
29
- @builder.append "/test:#{test_name}"
29
+ @b.append "/test:#{@b.format test_name}"
30
30
  self
31
31
  end
32
32
 
33
33
  def run_config file_name
34
- @builder.append "/runConfig:#{file_name}"
34
+ @b.append "/runConfig:#{@b.format file_name}"
35
35
  self
36
36
  end
37
37
 
38
38
  def results_file file_name
39
- @builder.append "/resultsFile:#{file_name}"
39
+ @b.append "/resultsFile:#{@b.format file_name}"
40
40
  self
41
41
  end
42
42
 
43
43
  def unique
44
- @builder.append "/unique"
44
+ @b.append '/unique'
45
45
  self
46
46
  end
47
47
 
48
48
  def detail property_id
49
- @builder.append "/detail:#{property_id}"
49
+ @b.append "/detail:#{@b.format property_id}"
50
50
  self
51
51
  end
52
52
 
53
53
  def help
54
- @builder.append "/help"
54
+ @b.append '/help'
55
55
  self
56
56
  end
57
57
 
58
58
  def no_logo
59
- @builder.append "/noLogo"
59
+ @b.append '/noLogo'
60
60
  self
61
61
  end
62
62
 
63
63
  def publish server_name
64
- @builder.append "/publish:#{server_name}"
64
+ @b.append "/publish:#{@b.format server_name}"
65
65
  self
66
66
  end
67
67
 
68
68
  def publish_results_file file_name
69
- @builder.append "/publishResultsFile:#{file_name}"
69
+ @b.append "/publishResultsFile:#{@b.format file_name}"
70
70
  self
71
71
  end
72
72
 
73
73
  def publish_build build_id
74
- @builder.append "/publishBuild:#{build_id}"
74
+ @b.append "/publishBuild:#{@b.format build_id}"
75
75
  self
76
76
  end
77
77
 
78
78
  def team_project team_project_name
79
- @builder.append "/teamProject:#{team_project_name}"
79
+ @b.append "/teamProject:#{@b.format team_project_name}"
80
80
  self
81
81
  end
82
82
 
83
83
  def platform platform
84
- @builder.append "/platform:#{platform}"
84
+ @b.append "/platform:#{@b.format platform}"
85
85
  self
86
86
  end
87
87
 
88
88
  def flavor flavor
89
- @builder.append "/flavor:#{flavor}"
89
+ @b.append "/flavor:#{@b.format flavor}"
90
90
  self
91
91
  end
92
92
 
93
93
  def to_s
94
- @builder.to_s
94
+ @b.to_s
95
95
  end
96
96
 
97
97
  end
@@ -104,7 +104,7 @@ module FluentCommandBuilder
104
104
 
105
105
  end
106
106
 
107
- def mstest2005
107
+ def mstest_2005
108
108
  MSTest::V2005::MSTest.new
109
109
  end
110
110
 
@@ -5,98 +5,98 @@ module FluentCommandBuilder
5
5
  module V2008
6
6
  class MSTest
7
7
  def initialize command=nil
8
- @builder = CommandBuilder.new command
9
- @builder.append 'MSTest'
8
+ @b = CommandBuilder.new command
9
+ @b.append 'MSTest'
10
10
  self
11
11
  end
12
12
 
13
13
  def test_container file_name
14
- @builder.append "/testContainer:#{file_name}"
14
+ @b.append "/testContainer:#{@b.format file_name}"
15
15
  self
16
16
  end
17
17
 
18
18
  def test_metadata file_name
19
- @builder.append "/testMetadata:#{file_name}"
19
+ @b.append "/testMetadata:#{@b.format file_name}"
20
20
  self
21
21
  end
22
22
 
23
23
  def test_list list_list_path
24
- @builder.append "/testList:#{list_list_path}"
24
+ @b.append "/testList:#{@b.format list_list_path}"
25
25
  self
26
26
  end
27
27
 
28
28
  def test test_name
29
- @builder.append "/test:#{test_name}"
29
+ @b.append "/test:#{@b.format test_name}"
30
30
  self
31
31
  end
32
32
 
33
33
  def no_isolation
34
- @builder.append "/noIsolation"
34
+ @b.append '/noIsolation'
35
35
  self
36
36
  end
37
37
 
38
38
  def run_config file_name
39
- @builder.append "/runConfig:#{file_name}"
39
+ @b.append "/runConfig:#{@b.format file_name}"
40
40
  self
41
41
  end
42
42
 
43
43
  def results_file file_name
44
- @builder.append "/resultsFile:#{file_name}"
44
+ @b.append "/resultsFile:#{@b.format file_name}"
45
45
  self
46
46
  end
47
47
 
48
48
  def unique
49
- @builder.append "/unique"
49
+ @b.append '/unique'
50
50
  self
51
51
  end
52
52
 
53
53
  def detail property_id
54
- @builder.append "/detail:#{property_id}"
54
+ @b.append "/detail:#{@b.format property_id}"
55
55
  self
56
56
  end
57
57
 
58
58
  def help
59
- @builder.append "/help"
59
+ @b.append '/help'
60
60
  self
61
61
  end
62
62
 
63
63
  def no_logo
64
- @builder.append "/noLogo"
64
+ @b.append '/noLogo'
65
65
  self
66
66
  end
67
67
 
68
68
  def publish server_name
69
- @builder.append "/publish:#{server_name}"
69
+ @b.append "/publish:#{@b.format server_name}"
70
70
  self
71
71
  end
72
72
 
73
73
  def publish_results_file file_name
74
- @builder.append "/publishResultsFile:#{file_name}"
74
+ @b.append "/publishResultsFile:#{@b.format file_name}"
75
75
  self
76
76
  end
77
77
 
78
78
  def publish_build build_id
79
- @builder.append "/publishBuild:#{build_id}"
79
+ @b.append "/publishBuild:#{@b.format build_id}"
80
80
  self
81
81
  end
82
82
 
83
83
  def team_project team_project_name
84
- @builder.append "/teamProject:#{team_project_name}"
84
+ @b.append "/teamProject:#{@b.format team_project_name}"
85
85
  self
86
86
  end
87
87
 
88
88
  def platform platform
89
- @builder.append "/platform:#{platform}"
89
+ @b.append "/platform:#{@b.format platform}"
90
90
  self
91
91
  end
92
92
 
93
93
  def flavor flavor
94
- @builder.append "/flavor:#{flavor}"
94
+ @b.append "/flavor:#{@b.format flavor}"
95
95
  self
96
96
  end
97
97
 
98
98
  def to_s
99
- @builder.to_s
99
+ @b.to_s
100
100
  end
101
101
 
102
102
  end
@@ -109,7 +109,7 @@ module FluentCommandBuilder
109
109
 
110
110
  end
111
111
 
112
- def mstest2008
112
+ def mstest_2008
113
113
  MSTest::V2008::MSTest.new
114
114
  end
115
115