fluent_command_builder 0.1.7 → 0.1.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.
@@ -4,40 +4,40 @@ module FluentCommandBuilder
|
|
4
4
|
module DotCover
|
5
5
|
module V11
|
6
6
|
class DotCover
|
7
|
-
def initialize builder
|
7
|
+
def initialize builder
|
8
8
|
@builder = builder
|
9
9
|
@builder.append 'dotCover'
|
10
|
-
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
11
10
|
end
|
12
|
-
def cover
|
13
|
-
Cover.new @builder
|
11
|
+
def cover configuration_file=nil
|
12
|
+
Cover.new @builder, configuration_file
|
14
13
|
end
|
15
|
-
def merge
|
16
|
-
Merge.new @builder
|
14
|
+
def merge configuration_file=nil
|
15
|
+
Merge.new @builder, configuration_file
|
17
16
|
end
|
18
|
-
def report
|
19
|
-
Report.new @builder
|
17
|
+
def report configuration_file=nil
|
18
|
+
Report.new @builder, configuration_file
|
20
19
|
end
|
21
|
-
def list
|
22
|
-
List.new @builder
|
20
|
+
def list configuration_file=nil
|
21
|
+
List.new @builder, configuration_file
|
23
22
|
end
|
24
|
-
def delete
|
25
|
-
Delete.new @builder
|
23
|
+
def delete configuration_file=nil
|
24
|
+
Delete.new @builder, configuration_file
|
26
25
|
end
|
27
|
-
def analyse
|
28
|
-
Analyse.new @builder
|
26
|
+
def analyse configuration_file=nil
|
27
|
+
Analyse.new @builder, configuration_file
|
29
28
|
end
|
30
|
-
def zip
|
31
|
-
Zip.new @builder
|
29
|
+
def zip configuration_file=nil
|
30
|
+
Zip.new @builder, configuration_file
|
32
31
|
end
|
33
32
|
def to_s
|
34
33
|
@builder.to_s
|
35
34
|
end
|
36
35
|
end
|
37
36
|
class Cover
|
38
|
-
def initialize builder
|
37
|
+
def initialize builder, configuration_file=nil
|
39
38
|
@builder = builder
|
40
39
|
@builder.append ' cover'
|
40
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
41
41
|
end
|
42
42
|
def analyse_target_arguments arg
|
43
43
|
@builder.append " /AnalyseTargetArguments=#{@builder.format arg}"
|
@@ -80,9 +80,10 @@ module FluentCommandBuilder
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
class Merge
|
83
|
-
def initialize builder
|
83
|
+
def initialize builder, configuration_file=nil
|
84
84
|
@builder = builder
|
85
85
|
@builder.append ' merge'
|
86
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
86
87
|
end
|
87
88
|
def output arg
|
88
89
|
@builder.append " /Output=#{@builder.format arg}"
|
@@ -101,9 +102,10 @@ module FluentCommandBuilder
|
|
101
102
|
end
|
102
103
|
end
|
103
104
|
class Report
|
104
|
-
def initialize builder
|
105
|
+
def initialize builder, configuration_file=nil
|
105
106
|
@builder = builder
|
106
107
|
@builder.append ' report'
|
108
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
107
109
|
end
|
108
110
|
def output arg
|
109
111
|
@builder.append " /Output=#{@builder.format arg}"
|
@@ -122,9 +124,10 @@ module FluentCommandBuilder
|
|
122
124
|
end
|
123
125
|
end
|
124
126
|
class List
|
125
|
-
def initialize builder
|
127
|
+
def initialize builder, configuration_file=nil
|
126
128
|
@builder = builder
|
127
129
|
@builder.append ' list'
|
130
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
128
131
|
end
|
129
132
|
def output arg
|
130
133
|
@builder.append " /Output=#{@builder.format arg}"
|
@@ -139,9 +142,10 @@ module FluentCommandBuilder
|
|
139
142
|
end
|
140
143
|
end
|
141
144
|
class Delete
|
142
|
-
def initialize builder
|
145
|
+
def initialize builder, configuration_file=nil
|
143
146
|
@builder = builder
|
144
147
|
@builder.append ' delete'
|
148
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
145
149
|
end
|
146
150
|
def source arg
|
147
151
|
@builder.append " /Source=#{@builder.format arg}"
|
@@ -152,9 +156,10 @@ module FluentCommandBuilder
|
|
152
156
|
end
|
153
157
|
end
|
154
158
|
class Analyse
|
155
|
-
def initialize builder
|
159
|
+
def initialize builder, configuration_file=nil
|
156
160
|
@builder = builder
|
157
161
|
@builder.append ' analyse'
|
162
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
158
163
|
end
|
159
164
|
def analyse_target_arguments arg
|
160
165
|
@builder.append " /AnalyseTargetArguments=#{@builder.format arg}"
|
@@ -201,9 +206,10 @@ module FluentCommandBuilder
|
|
201
206
|
end
|
202
207
|
end
|
203
208
|
class Zip
|
204
|
-
def initialize builder
|
209
|
+
def initialize builder, configuration_file=nil
|
205
210
|
@builder = builder
|
206
211
|
@builder.append ' zip'
|
212
|
+
@builder.append " #{@builder.format configuration_file}" unless configuration_file.nil?
|
207
213
|
end
|
208
214
|
def output arg
|
209
215
|
@builder.append " /Output=#{@builder.format arg}"
|
@@ -217,12 +223,12 @@ module FluentCommandBuilder
|
|
217
223
|
@builder.to_s
|
218
224
|
end
|
219
225
|
end
|
220
|
-
def dotcover
|
221
|
-
DotCover.new CommandBuilder.new
|
226
|
+
def dotcover
|
227
|
+
DotCover.new CommandBuilder.new
|
222
228
|
end
|
223
229
|
end
|
224
230
|
end
|
225
|
-
def dotcover_11
|
226
|
-
DotCover::V11::DotCover.new CommandBuilder.new
|
231
|
+
def dotcover_11
|
232
|
+
DotCover::V11::DotCover.new CommandBuilder.new
|
227
233
|
end
|
228
234
|
end
|