fluent_command_builder 0.1.26 → 0.1.27
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.
- data/lib/fluent_command_builder.rb +3 -0
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +8 -8
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_35.rb +8 -8
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +8 -8
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +32 -32
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +15 -15
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +70 -0
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +128 -81
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +294 -0
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +5 -5
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +6 -6
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +6 -6
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +7 -7
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +10 -10
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +10 -10
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +16 -16
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +17 -17
- data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +25 -25
- data/lib/fluent_command_builder/command_builders/mstest_2005.rb +14 -14
- data/lib/fluent_command_builder/command_builders/mstest_2008.rb +14 -14
- data/lib/fluent_command_builder/command_builders/mstest_2010.rb +16 -16
- data/lib/fluent_command_builder/command_builders/netsh_2008.rb +73 -73
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +48 -33
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +183 -0
- data/lib/fluent_command_builder/command_builders/rake_09.rb +13 -13
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +69 -69
- data/lib/fluent_command_builder/command_builders/simian_23.rb +24 -24
- data/lib/fluent_command_builder/command_builders/tf_2010.rb +306 -306
- data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +282 -282
- metadata +5 -2
@@ -3,7 +3,9 @@ require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/comma
|
|
3
3
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/aspnet_compiler_40.rb')
|
4
4
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/bundle_11.rb')
|
5
5
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/cucumber_11.rb')
|
6
|
+
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/dotcover_10.rb')
|
6
7
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/dotcover_11.rb')
|
8
|
+
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/dotcover_12.rb')
|
7
9
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/installutil_11.rb')
|
8
10
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/installutil_20.rb')
|
9
11
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/installutil_35.rb')
|
@@ -18,6 +20,7 @@ require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/comma
|
|
18
20
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/mstest_2010.rb')
|
19
21
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/netsh_2008.rb')
|
20
22
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/nunit_25.rb')
|
23
|
+
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/nunit_26.rb')
|
21
24
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/rake_09.rb')
|
22
25
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/sevenzip_92.rb')
|
23
26
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/simian_23.rb')
|
@@ -6,21 +6,21 @@ module FluentCommandBuilder
|
|
6
6
|
module V20
|
7
7
|
COMMAND_NAME = 'aspnet_compiler'
|
8
8
|
class AspnetCompiler < CommandBase
|
9
|
-
def initialize
|
9
|
+
def initialize(builder, target_dir=nil)
|
10
10
|
super builder
|
11
11
|
@builder.append " #{@builder.format target_dir}" unless target_dir.nil?
|
12
12
|
end
|
13
|
-
def metabase_path
|
13
|
+
def metabase_path(metabase_path)
|
14
14
|
@builder.append " -m #{@builder.format metabase_path}"
|
15
15
|
yield @builder if block_given?
|
16
16
|
self
|
17
17
|
end
|
18
|
-
def virtual_path
|
18
|
+
def virtual_path(virtual_path)
|
19
19
|
@builder.append " -v #{@builder.format virtual_path}"
|
20
20
|
yield @builder if block_given?
|
21
21
|
self
|
22
22
|
end
|
23
|
-
def physical_path
|
23
|
+
def physical_path(physical_path)
|
24
24
|
@builder.append " -p #{@builder.format physical_path}"
|
25
25
|
yield @builder if block_given?
|
26
26
|
self
|
@@ -60,12 +60,12 @@ module FluentCommandBuilder
|
|
60
60
|
yield @builder if block_given?
|
61
61
|
self
|
62
62
|
end
|
63
|
-
def key_file
|
63
|
+
def key_file(file)
|
64
64
|
@builder.append " -keyFile #{@builder.format file}"
|
65
65
|
yield @builder if block_given?
|
66
66
|
self
|
67
67
|
end
|
68
|
-
def key_container
|
68
|
+
def key_container(container)
|
69
69
|
@builder.append " -keyContainer #{@builder.format container}"
|
70
70
|
yield @builder if block_given?
|
71
71
|
self
|
@@ -81,7 +81,7 @@ module FluentCommandBuilder
|
|
81
81
|
self
|
82
82
|
end
|
83
83
|
end
|
84
|
-
def aspnet_compiler
|
84
|
+
def aspnet_compiler(target_dir=nil)
|
85
85
|
builder = CommandBuilder.new COMMAND_NAME
|
86
86
|
command = AspnetCompiler.new builder, target_dir
|
87
87
|
yield builder if block_given?
|
@@ -89,7 +89,7 @@ module FluentCommandBuilder
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end
|
92
|
-
def aspnet_compiler_20
|
92
|
+
def aspnet_compiler_20(target_dir=nil)
|
93
93
|
builder = CommandBuilder.new AspnetCompiler::V20::COMMAND_NAME
|
94
94
|
command = AspnetCompiler::V20::AspnetCompiler.new builder, target_dir
|
95
95
|
yield builder if block_given?
|
@@ -6,21 +6,21 @@ module FluentCommandBuilder
|
|
6
6
|
module V35
|
7
7
|
COMMAND_NAME = 'aspnet_compiler'
|
8
8
|
class AspnetCompiler < CommandBase
|
9
|
-
def initialize
|
9
|
+
def initialize(builder, target_dir=nil)
|
10
10
|
super builder
|
11
11
|
@builder.append " #{@builder.format target_dir}" unless target_dir.nil?
|
12
12
|
end
|
13
|
-
def metabase_path
|
13
|
+
def metabase_path(metabase_path)
|
14
14
|
@builder.append " -m #{@builder.format metabase_path}"
|
15
15
|
yield @builder if block_given?
|
16
16
|
self
|
17
17
|
end
|
18
|
-
def virtual_path
|
18
|
+
def virtual_path(virtual_path)
|
19
19
|
@builder.append " -v #{@builder.format virtual_path}"
|
20
20
|
yield @builder if block_given?
|
21
21
|
self
|
22
22
|
end
|
23
|
-
def physical_path
|
23
|
+
def physical_path(physical_path)
|
24
24
|
@builder.append " -p #{@builder.format physical_path}"
|
25
25
|
yield @builder if block_given?
|
26
26
|
self
|
@@ -60,12 +60,12 @@ module FluentCommandBuilder
|
|
60
60
|
yield @builder if block_given?
|
61
61
|
self
|
62
62
|
end
|
63
|
-
def key_file
|
63
|
+
def key_file(file)
|
64
64
|
@builder.append " -keyFile #{@builder.format file}"
|
65
65
|
yield @builder if block_given?
|
66
66
|
self
|
67
67
|
end
|
68
|
-
def key_container
|
68
|
+
def key_container(container)
|
69
69
|
@builder.append " -keyContainer #{@builder.format container}"
|
70
70
|
yield @builder if block_given?
|
71
71
|
self
|
@@ -81,7 +81,7 @@ module FluentCommandBuilder
|
|
81
81
|
self
|
82
82
|
end
|
83
83
|
end
|
84
|
-
def aspnet_compiler
|
84
|
+
def aspnet_compiler(target_dir=nil)
|
85
85
|
builder = CommandBuilder.new COMMAND_NAME
|
86
86
|
command = AspnetCompiler.new builder, target_dir
|
87
87
|
yield builder if block_given?
|
@@ -89,7 +89,7 @@ module FluentCommandBuilder
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end
|
92
|
-
def aspnet_compiler_35
|
92
|
+
def aspnet_compiler_35(target_dir=nil)
|
93
93
|
builder = CommandBuilder.new AspnetCompiler::V35::COMMAND_NAME
|
94
94
|
command = AspnetCompiler::V35::AspnetCompiler.new builder, target_dir
|
95
95
|
yield builder if block_given?
|
@@ -6,21 +6,21 @@ module FluentCommandBuilder
|
|
6
6
|
module V40
|
7
7
|
COMMAND_NAME = 'aspnet_compiler'
|
8
8
|
class AspnetCompiler < CommandBase
|
9
|
-
def initialize
|
9
|
+
def initialize(builder, target_dir=nil)
|
10
10
|
super builder
|
11
11
|
@builder.append " #{@builder.format target_dir}" unless target_dir.nil?
|
12
12
|
end
|
13
|
-
def metabase_path
|
13
|
+
def metabase_path(metabase_path)
|
14
14
|
@builder.append " -m #{@builder.format metabase_path}"
|
15
15
|
yield @builder if block_given?
|
16
16
|
self
|
17
17
|
end
|
18
|
-
def virtual_path
|
18
|
+
def virtual_path(virtual_path)
|
19
19
|
@builder.append " -v #{@builder.format virtual_path}"
|
20
20
|
yield @builder if block_given?
|
21
21
|
self
|
22
22
|
end
|
23
|
-
def physical_path
|
23
|
+
def physical_path(physical_path)
|
24
24
|
@builder.append " -p #{@builder.format physical_path}"
|
25
25
|
yield @builder if block_given?
|
26
26
|
self
|
@@ -60,12 +60,12 @@ module FluentCommandBuilder
|
|
60
60
|
yield @builder if block_given?
|
61
61
|
self
|
62
62
|
end
|
63
|
-
def key_file
|
63
|
+
def key_file(file)
|
64
64
|
@builder.append " -keyFile #{@builder.format file}"
|
65
65
|
yield @builder if block_given?
|
66
66
|
self
|
67
67
|
end
|
68
|
-
def key_container
|
68
|
+
def key_container(container)
|
69
69
|
@builder.append " -keyContainer #{@builder.format container}"
|
70
70
|
yield @builder if block_given?
|
71
71
|
self
|
@@ -81,7 +81,7 @@ module FluentCommandBuilder
|
|
81
81
|
self
|
82
82
|
end
|
83
83
|
end
|
84
|
-
def aspnet_compiler
|
84
|
+
def aspnet_compiler(target_dir=nil)
|
85
85
|
builder = CommandBuilder.new COMMAND_NAME
|
86
86
|
command = AspnetCompiler.new builder, target_dir
|
87
87
|
yield builder if block_given?
|
@@ -89,7 +89,7 @@ module FluentCommandBuilder
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
end
|
92
|
-
def aspnet_compiler_40
|
92
|
+
def aspnet_compiler_40(target_dir=nil)
|
93
93
|
builder = CommandBuilder.new AspnetCompiler::V40::COMMAND_NAME
|
94
94
|
command = AspnetCompiler::V40::AspnetCompiler.new builder, target_dir
|
95
95
|
yield builder if block_given?
|
@@ -6,7 +6,7 @@ module FluentCommandBuilder
|
|
6
6
|
module V11
|
7
7
|
COMMAND_NAME = 'bundle'
|
8
8
|
class Bundle < CommandBase
|
9
|
-
def initialize
|
9
|
+
def initialize(builder)
|
10
10
|
super builder
|
11
11
|
end
|
12
12
|
def cache
|
@@ -18,24 +18,24 @@ module FluentCommandBuilder
|
|
18
18
|
def clean
|
19
19
|
Clean.new @builder
|
20
20
|
end
|
21
|
-
def config
|
21
|
+
def config(name, value=nil)
|
22
22
|
@builder.append " config #{@builder.format name}"
|
23
23
|
@builder.append " #{@builder.format value}" unless value.nil?
|
24
24
|
yield @builder if block_given?
|
25
25
|
self
|
26
26
|
end
|
27
|
-
def console
|
27
|
+
def console(group=nil)
|
28
28
|
@builder.append ' console'
|
29
29
|
@builder.append " #{@builder.format group}" unless group.nil?
|
30
30
|
yield @builder if block_given?
|
31
31
|
self
|
32
32
|
end
|
33
|
-
def exec
|
33
|
+
def exec(command)
|
34
34
|
@builder.append " exec #{@builder.format command}"
|
35
35
|
yield @builder if block_given?
|
36
36
|
self
|
37
37
|
end
|
38
|
-
def gem
|
38
|
+
def gem(gem)
|
39
39
|
Gem.new @builder, gem
|
40
40
|
end
|
41
41
|
def init
|
@@ -44,21 +44,21 @@ module FluentCommandBuilder
|
|
44
44
|
def install
|
45
45
|
Install.new @builder
|
46
46
|
end
|
47
|
-
def open
|
47
|
+
def open(gem)
|
48
48
|
@builder.append " open #{@builder.format gem}"
|
49
49
|
yield @builder if block_given?
|
50
50
|
self
|
51
51
|
end
|
52
|
-
def outdated
|
52
|
+
def outdated(gem=nil)
|
53
53
|
Outdated.new @builder, gem
|
54
54
|
end
|
55
55
|
def package
|
56
56
|
Package.new @builder
|
57
57
|
end
|
58
|
-
def show
|
58
|
+
def show(gem=nil)
|
59
59
|
Show.new @builder, gem
|
60
60
|
end
|
61
|
-
def update
|
61
|
+
def update(gem=nil)
|
62
62
|
Update.new @builder, gem
|
63
63
|
end
|
64
64
|
def version
|
@@ -71,7 +71,7 @@ module FluentCommandBuilder
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
class Cache < CommandBase
|
74
|
-
def initialize
|
74
|
+
def initialize(builder)
|
75
75
|
super builder
|
76
76
|
@builder.append ' cache'
|
77
77
|
end
|
@@ -82,23 +82,23 @@ module FluentCommandBuilder
|
|
82
82
|
end
|
83
83
|
end
|
84
84
|
class Check < CommandBase
|
85
|
-
def initialize
|
85
|
+
def initialize(builder)
|
86
86
|
super builder
|
87
87
|
@builder.append ' check'
|
88
88
|
end
|
89
|
-
def gemfile
|
89
|
+
def gemfile(file)
|
90
90
|
@builder.append " --gemfile=#{@builder.format file}"
|
91
91
|
yield @builder if block_given?
|
92
92
|
self
|
93
93
|
end
|
94
|
-
def path
|
94
|
+
def path(path)
|
95
95
|
@builder.append " --path=#{@builder.format path}"
|
96
96
|
yield @builder if block_given?
|
97
97
|
self
|
98
98
|
end
|
99
99
|
end
|
100
100
|
class Clean < CommandBase
|
101
|
-
def initialize
|
101
|
+
def initialize(builder)
|
102
102
|
super builder
|
103
103
|
@builder.append ' clean'
|
104
104
|
end
|
@@ -109,7 +109,7 @@ module FluentCommandBuilder
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
class Gem < CommandBase
|
112
|
-
def initialize
|
112
|
+
def initialize(builder, gem)
|
113
113
|
super builder
|
114
114
|
@builder.append " gem #{@builder.format gem}"
|
115
115
|
end
|
@@ -120,22 +120,22 @@ module FluentCommandBuilder
|
|
120
120
|
end
|
121
121
|
end
|
122
122
|
class Init < CommandBase
|
123
|
-
def initialize
|
123
|
+
def initialize(builder)
|
124
124
|
super builder
|
125
125
|
@builder.append ' init'
|
126
126
|
end
|
127
|
-
def gemspec
|
127
|
+
def gemspec(file)
|
128
128
|
@builder.append " --gemspec=#{@builder.format file}"
|
129
129
|
yield @builder if block_given?
|
130
130
|
self
|
131
131
|
end
|
132
132
|
end
|
133
133
|
class Install < CommandBase
|
134
|
-
def initialize
|
134
|
+
def initialize(builder)
|
135
135
|
super builder
|
136
136
|
@builder.append ' install'
|
137
137
|
end
|
138
|
-
def binstubs
|
138
|
+
def binstubs(path)
|
139
139
|
@builder.append " --binstubs=#{@builder.format path}"
|
140
140
|
yield @builder if block_given?
|
141
141
|
self
|
@@ -160,7 +160,7 @@ module FluentCommandBuilder
|
|
160
160
|
yield @builder if block_given?
|
161
161
|
self
|
162
162
|
end
|
163
|
-
def gemfile
|
163
|
+
def gemfile(file)
|
164
164
|
@builder.append " --gemfile=#{@builder.format file}"
|
165
165
|
yield @builder if block_given?
|
166
166
|
self
|
@@ -180,7 +180,7 @@ module FluentCommandBuilder
|
|
180
180
|
yield @builder if block_given?
|
181
181
|
self
|
182
182
|
end
|
183
|
-
def path
|
183
|
+
def path(path)
|
184
184
|
@builder.append " --path=#{@builder.format path}"
|
185
185
|
yield @builder if block_given?
|
186
186
|
self
|
@@ -190,12 +190,12 @@ module FluentCommandBuilder
|
|
190
190
|
yield @builder if block_given?
|
191
191
|
self
|
192
192
|
end
|
193
|
-
def shebang
|
193
|
+
def shebang(string)
|
194
194
|
@builder.append " --shebang=#{@builder.format string}"
|
195
195
|
yield @builder if block_given?
|
196
196
|
self
|
197
197
|
end
|
198
|
-
def standalone
|
198
|
+
def standalone(array)
|
199
199
|
@builder.append " --standalone=#{@builder.format array}"
|
200
200
|
yield @builder if block_given?
|
201
201
|
self
|
@@ -205,14 +205,14 @@ module FluentCommandBuilder
|
|
205
205
|
yield @builder if block_given?
|
206
206
|
self
|
207
207
|
end
|
208
|
-
def without
|
208
|
+
def without(group)
|
209
209
|
@builder.append " --without=#{@builder.format group}"
|
210
210
|
yield @builder if block_given?
|
211
211
|
self
|
212
212
|
end
|
213
213
|
end
|
214
214
|
class Outdated < CommandBase
|
215
|
-
def initialize
|
215
|
+
def initialize(builder, gem=nil)
|
216
216
|
super builder
|
217
217
|
@builder.append ' outdated'
|
218
218
|
@builder.append " #{@builder.format gem}" unless gem.nil?
|
@@ -234,7 +234,7 @@ module FluentCommandBuilder
|
|
234
234
|
end
|
235
235
|
end
|
236
236
|
class Package < CommandBase
|
237
|
-
def initialize
|
237
|
+
def initialize(builder)
|
238
238
|
super builder
|
239
239
|
@builder.append ' package'
|
240
240
|
end
|
@@ -245,7 +245,7 @@ module FluentCommandBuilder
|
|
245
245
|
end
|
246
246
|
end
|
247
247
|
class Show < CommandBase
|
248
|
-
def initialize
|
248
|
+
def initialize(builder, gem=nil)
|
249
249
|
super builder
|
250
250
|
@builder.append ' show'
|
251
251
|
@builder.append " #{@builder.format gem}" unless gem.nil?
|
@@ -257,7 +257,7 @@ module FluentCommandBuilder
|
|
257
257
|
end
|
258
258
|
end
|
259
259
|
class Update < CommandBase
|
260
|
-
def initialize
|
260
|
+
def initialize(builder, gem=nil)
|
261
261
|
super builder
|
262
262
|
@builder.append ' update'
|
263
263
|
@builder.append " #{@builder.format gem}" unless gem.nil?
|
@@ -267,23 +267,23 @@ module FluentCommandBuilder
|
|
267
267
|
yield @builder if block_given?
|
268
268
|
self
|
269
269
|
end
|
270
|
-
def source
|
270
|
+
def source(source)
|
271
271
|
@builder.append " --source=#{@builder.format source}"
|
272
272
|
yield @builder if block_given?
|
273
273
|
self
|
274
274
|
end
|
275
275
|
end
|
276
276
|
class Viz < CommandBase
|
277
|
-
def initialize
|
277
|
+
def initialize(builder)
|
278
278
|
super builder
|
279
279
|
@builder.append ' viz'
|
280
280
|
end
|
281
|
-
def file
|
281
|
+
def file(file)
|
282
282
|
@builder.append " --file=#{@builder.format file}"
|
283
283
|
yield @builder if block_given?
|
284
284
|
self
|
285
285
|
end
|
286
|
-
def format
|
286
|
+
def format(format)
|
287
287
|
@builder.append " --format=#{@builder.format format}"
|
288
288
|
yield @builder if block_given?
|
289
289
|
self
|
@@ -6,46 +6,46 @@ module FluentCommandBuilder
|
|
6
6
|
module V11
|
7
7
|
COMMAND_NAME = 'cucumber'
|
8
8
|
class Cucumber < CommandBase
|
9
|
-
def initialize
|
9
|
+
def initialize(builder, feature=nil)
|
10
10
|
super builder
|
11
11
|
@builder.append " #{@builder.format feature}" unless feature.nil?
|
12
12
|
end
|
13
|
-
def require
|
13
|
+
def require(library)
|
14
14
|
@builder.append " --require #{@builder.format library}"
|
15
15
|
yield @builder if block_given?
|
16
16
|
self
|
17
17
|
end
|
18
|
-
def i18n
|
18
|
+
def i18n(lang)
|
19
19
|
@builder.append " --i18n #{@builder.format lang}"
|
20
20
|
yield @builder if block_given?
|
21
21
|
self
|
22
22
|
end
|
23
|
-
def format
|
23
|
+
def format(format)
|
24
24
|
@builder.append " --format #{@builder.format format}"
|
25
25
|
yield @builder if block_given?
|
26
26
|
self
|
27
27
|
end
|
28
|
-
def out
|
28
|
+
def out(file)
|
29
29
|
@builder.append " --out #{@builder.format file}"
|
30
30
|
yield @builder if block_given?
|
31
31
|
self
|
32
32
|
end
|
33
|
-
def tags
|
33
|
+
def tags(tag_expression)
|
34
34
|
@builder.append " --tags #{@builder.format tag_expression, ','}"
|
35
35
|
yield @builder if block_given?
|
36
36
|
self
|
37
37
|
end
|
38
|
-
def name
|
38
|
+
def name(name)
|
39
39
|
@builder.append " --name #{@builder.format name}"
|
40
40
|
yield @builder if block_given?
|
41
41
|
self
|
42
42
|
end
|
43
|
-
def exclude
|
43
|
+
def exclude(pattern)
|
44
44
|
@builder.append " --exclude #{@builder.format pattern}"
|
45
45
|
yield @builder if block_given?
|
46
46
|
self
|
47
47
|
end
|
48
|
-
def profile
|
48
|
+
def profile(profile)
|
49
49
|
@builder.append " --profile #{@builder.format profile}"
|
50
50
|
yield @builder if block_given?
|
51
51
|
self
|
@@ -70,7 +70,7 @@ module FluentCommandBuilder
|
|
70
70
|
yield @builder if block_given?
|
71
71
|
self
|
72
72
|
end
|
73
|
-
def autoformat
|
73
|
+
def autoformat(dir)
|
74
74
|
@builder.append " --autoformat #{@builder.format dir}"
|
75
75
|
yield @builder if block_given?
|
76
76
|
self
|
@@ -120,7 +120,7 @@ module FluentCommandBuilder
|
|
120
120
|
yield @builder if block_given?
|
121
121
|
self
|
122
122
|
end
|
123
|
-
def lines
|
123
|
+
def lines(lines)
|
124
124
|
@builder.append " --lines #{@builder.format lines}"
|
125
125
|
yield @builder if block_given?
|
126
126
|
self
|
@@ -135,12 +135,12 @@ module FluentCommandBuilder
|
|
135
135
|
yield @builder if block_given?
|
136
136
|
self
|
137
137
|
end
|
138
|
-
def port
|
138
|
+
def port(port)
|
139
139
|
@builder.append " --port #{@builder.format port}"
|
140
140
|
yield @builder if block_given?
|
141
141
|
self
|
142
142
|
end
|
143
|
-
def dotcucumber
|
143
|
+
def dotcucumber(dir)
|
144
144
|
@builder.append " --dotcucumber #{@builder.format dir}"
|
145
145
|
yield @builder if block_given?
|
146
146
|
self
|
@@ -156,7 +156,7 @@ module FluentCommandBuilder
|
|
156
156
|
self
|
157
157
|
end
|
158
158
|
end
|
159
|
-
def cucumber
|
159
|
+
def cucumber(feature=nil)
|
160
160
|
builder = CommandBuilder.new COMMAND_NAME
|
161
161
|
command = Cucumber.new builder, feature
|
162
162
|
yield builder if block_given?
|
@@ -164,7 +164,7 @@ module FluentCommandBuilder
|
|
164
164
|
end
|
165
165
|
end
|
166
166
|
end
|
167
|
-
def cucumber_11
|
167
|
+
def cucumber_11(feature=nil)
|
168
168
|
builder = CommandBuilder.new Cucumber::V11::COMMAND_NAME
|
169
169
|
command = Cucumber::V11::Cucumber.new builder, feature
|
170
170
|
yield builder if block_given?
|