fluent_command_builder 0.7.8 → 0.7.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/lib/fluent_command_builder.rb +1 -1
  2. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +9 -1
  3. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +9 -1
  4. data/lib/fluent_command_builder/command_builders/bundle.rb +9 -1
  5. data/lib/fluent_command_builder/command_builders/cucumber.rb +9 -1
  6. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +9 -1
  7. data/lib/fluent_command_builder/command_builders/dotcover.rb +9 -1
  8. data/lib/fluent_command_builder/command_builders/installutil.rb +9 -1
  9. data/lib/fluent_command_builder/command_builders/msbuild.rb +9 -1
  10. data/lib/fluent_command_builder/command_builders/msdeploy.rb +9 -1
  11. data/lib/fluent_command_builder/command_builders/mstest.rb +9 -1
  12. data/lib/fluent_command_builder/command_builders/netsh.rb +9 -1
  13. data/lib/fluent_command_builder/command_builders/nuget.rb +9 -1
  14. data/lib/fluent_command_builder/command_builders/nunit.rb +9 -1
  15. data/lib/fluent_command_builder/command_builders/nunit_25.rb +23 -23
  16. data/lib/fluent_command_builder/command_builders/nunit_26.rb +31 -31
  17. data/lib/fluent_command_builder/command_builders/rake.rb +9 -1
  18. data/lib/fluent_command_builder/command_builders/security_osx.rb +9 -1
  19. data/lib/fluent_command_builder/command_builders/sevenzip.rb +9 -1
  20. data/lib/fluent_command_builder/command_builders/{sevenzip_92.rb → sevenzip_920.rb} +5 -5
  21. data/lib/fluent_command_builder/command_builders/simian.rb +9 -1
  22. data/lib/fluent_command_builder/command_builders/team_foundation.rb +9 -1
  23. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +9 -1
  24. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +5 -118
  25. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +5 -0
  26. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +9 -1
  27. data/lib/fluent_command_builder/version.rb +2 -1
  28. data/lib/fluent_command_builder/version_detectors/{lib/appengine_python_version_detector.rb → appengine_python_version_detector.rb} +18 -14
  29. data/lib/fluent_command_builder/version_detectors/default_version_detector.rb +32 -0
  30. data/lib/fluent_command_builder/version_detectors/osx_version_detector.rb +12 -0
  31. data/lib/fluent_command_builder/version_detectors/standard_version_detector.rb +22 -0
  32. data/lib/fluent_command_builder/version_detectors/version_detector_init.rb +24 -0
  33. data/lib/fluent_command_builder/version_detectors/windows_version_detector.rb +12 -0
  34. metadata +13 -27
  35. data/lib/fluent_command_builder/version_detectors/appcfg_python.rb +0 -9
  36. data/lib/fluent_command_builder/version_detectors/aspnet_compiler.rb +0 -9
  37. data/lib/fluent_command_builder/version_detectors/bundle.rb +0 -9
  38. data/lib/fluent_command_builder/version_detectors/cucumber.rb +0 -9
  39. data/lib/fluent_command_builder/version_detectors/dev_appserver_python.rb +0 -9
  40. data/lib/fluent_command_builder/version_detectors/dotcover.rb +0 -9
  41. data/lib/fluent_command_builder/version_detectors/installutil.rb +0 -9
  42. data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +0 -14
  43. data/lib/fluent_command_builder/version_detectors/msbuild.rb +0 -9
  44. data/lib/fluent_command_builder/version_detectors/msdeploy.rb +0 -9
  45. data/lib/fluent_command_builder/version_detectors/mstest.rb +0 -9
  46. data/lib/fluent_command_builder/version_detectors/nuget.rb +0 -9
  47. data/lib/fluent_command_builder/version_detectors/nunit.rb +0 -9
  48. data/lib/fluent_command_builder/version_detectors/rake.rb +0 -9
  49. data/lib/fluent_command_builder/version_detectors/security_osx.rb +0 -9
  50. data/lib/fluent_command_builder/version_detectors/sevenzip.rb +0 -9
  51. data/lib/fluent_command_builder/version_detectors/team_foundation.rb +0 -9
  52. data/lib/fluent_command_builder/version_detectors/team_foundation_tee.rb +0 -9
  53. data/lib/fluent_command_builder/version_detectors/xcodebuild.rb +0 -9
@@ -45,7 +45,7 @@ require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/comma
45
45
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/security_osx.rb')
46
46
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/security_osx_107.rb')
47
47
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/sevenzip.rb')
48
- require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/sevenzip_92.rb')
48
+ require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/sevenzip_920.rb')
49
49
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/simian.rb')
50
50
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/simian_23.rb')
51
51
  require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/team_foundation.rb')
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def appcfg_python(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module AppCfgPython
9
8
  COMMAND_NAME = 'appcfg.py'
9
+ def self.version_detector
10
+ @version_detector ||= AppEnginePythonVersionDetector.new COMMAND_NAME
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
10
18
  def self.create(&block)
11
19
  version_module(AppCfgPython).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def aspnet_compiler(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module AspnetCompiler
9
8
  COMMAND_NAME = 'aspnet_compiler'
9
+ def self.version_detector
10
+ @version_detector ||= MSBuild.version_detector
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
10
18
  def self.create(&block)
11
19
  version_module(AspnetCompiler).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def bundle(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module Bundle
9
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
10
18
  def self.create(&block)
11
19
  version_module(Bundle).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def cucumber(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module Cucumber
9
8
  COMMAND_NAME = 'cucumber'
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
10
18
  def self.create(&block)
11
19
  version_module(Cucumber).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def dev_appserver_python(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module DevAppserverPython
9
8
  COMMAND_NAME = 'dev_appserver.py'
9
+ def self.version_detector
10
+ @version_detector ||= AppEnginePythonVersionDetector.new COMMAND_NAME
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
10
18
  def self.create(&block)
11
19
  version_module(DevAppserverPython).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def dotcover(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module DotCover
9
8
  COMMAND_NAME = 'dotCover'
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
10
18
  def self.create(&block)
11
19
  version_module(DotCover).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def installutil(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module InstallUtil
9
8
  COMMAND_NAME = 'installUtil'
9
+ def self.version_detector
10
+ @version_detector ||= StandardVersionDetector.new COMMAND_NAME
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
10
18
  def self.create(&block)
11
19
  version_module(InstallUtil).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def msbuild(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module MSBuild
9
8
  COMMAND_NAME = 'MSBuild'
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
10
18
  def self.create(&block)
11
19
  version_module(MSBuild).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def msdeploy(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module MSDeploy
9
8
  COMMAND_NAME = 'MSDeploy'
9
+ def self.version_detector
10
+ @version_detector ||= StandardVersionDetector.new COMMAND_NAME
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
10
18
  def self.create(&block)
11
19
  version_module(MSDeploy).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def mstest(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module MSTest
9
8
  COMMAND_NAME = 'MSTest'
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
10
18
  def self.create(&block)
11
19
  version_module(MSTest).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def netsh(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module Netsh
9
8
  COMMAND_NAME = 'netsh'
9
+ def self.version_detector
10
+ @version_detector ||= WindowsVersionDetector.new
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
10
18
  def self.create(&block)
11
19
  version_module(Netsh).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def nuget(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module NuGet
9
8
  COMMAND_NAME = 'NuGet'
9
+ def self.version_detector
10
+ @version_detector ||= StandardVersionDetector.new COMMAND_NAME
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
10
18
  def self.create(&block)
11
19
  version_module(NuGet).create &block
12
20
  end
@@ -1,5 +1,4 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../version')
3
2
 
4
3
  module FluentCommandBuilder
5
4
  def nunit(&block)
@@ -7,6 +6,15 @@ module FluentCommandBuilder
7
6
  end
8
7
  module NUnit
9
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
10
18
  def self.create(&block)
11
19
  version_module(NUnit).create &block
12
20
  end
@@ -42,117 +42,117 @@ module FluentCommandBuilder
42
42
  self
43
43
  end
44
44
  def fixture(fixture)
45
- @b.append " /fixture:#{@b.format fixture}"
45
+ @b.append " -fixture:#{@b.format fixture}"
46
46
  yield @b if block_given?
47
47
  self
48
48
  end
49
49
  def load(fixture)
50
- @b.append " /load:#{@b.format fixture}"
50
+ @b.append " -load:#{@b.format fixture}"
51
51
  yield @b if block_given?
52
52
  self
53
53
  end
54
54
  def run(test)
55
- @b.append " /run:#{@b.format test}"
55
+ @b.append " -run:#{@b.format test}"
56
56
  yield @b if block_given?
57
57
  self
58
58
  end
59
59
  def config(config)
60
- @b.append " /config:#{@b.format config}"
60
+ @b.append " -config:#{@b.format config}"
61
61
  yield @b if block_given?
62
62
  self
63
63
  end
64
64
  def xml(file)
65
- @b.append " /xml:#{@b.format file}"
65
+ @b.append " -xml:#{@b.format file}"
66
66
  yield @b if block_given?
67
67
  self
68
68
  end
69
69
  def xml_console
70
- @b.append ' /xmlConsole'
70
+ @b.append ' -xmlConsole'
71
71
  yield @b if block_given?
72
72
  self
73
73
  end
74
74
  def output(file)
75
- @b.append " /output:#{@b.format file}"
75
+ @b.append " -output:#{@b.format file}"
76
76
  yield @b if block_given?
77
77
  self
78
78
  end
79
79
  def out(file)
80
- @b.append " /out:#{@b.format file}"
80
+ @b.append " -out:#{@b.format file}"
81
81
  yield @b if block_given?
82
82
  self
83
83
  end
84
84
  def err(file)
85
- @b.append " /err:#{@b.format file}"
85
+ @b.append " -err:#{@b.format file}"
86
86
  yield @b if block_given?
87
87
  self
88
88
  end
89
89
  def labels
90
- @b.append ' /labels'
90
+ @b.append ' -labels'
91
91
  yield @b if block_given?
92
92
  self
93
93
  end
94
94
  def trace(level)
95
- @b.append " /trace:#{@b.format level}"
95
+ @b.append " -trace:#{@b.format level}"
96
96
  yield @b if block_given?
97
97
  self
98
98
  end
99
99
  def include(category)
100
- @b.append " /include:#{@b.format category}"
100
+ @b.append " -include:#{@b.format category}"
101
101
  yield @b if block_given?
102
102
  self
103
103
  end
104
104
  def exclude(category)
105
- @b.append " /exclude:#{@b.format category}"
105
+ @b.append " -exclude:#{@b.format category}"
106
106
  yield @b if block_given?
107
107
  self
108
108
  end
109
109
  def process(process)
110
- @b.append " /process:#{@b.format process}"
110
+ @b.append " -process:#{@b.format process}"
111
111
  yield @b if block_given?
112
112
  self
113
113
  end
114
114
  def domain(domain)
115
- @b.append " /domain:#{@b.format domain}"
115
+ @b.append " -domain:#{@b.format domain}"
116
116
  yield @b if block_given?
117
117
  self
118
118
  end
119
119
  def framework(framework)
120
- @b.append " /framework:#{@b.format framework}"
120
+ @b.append " -framework:#{@b.format framework}"
121
121
  yield @b if block_given?
122
122
  self
123
123
  end
124
124
  def no_shadow
125
- @b.append ' /noShadow'
125
+ @b.append ' -noShadow'
126
126
  yield @b if block_given?
127
127
  self
128
128
  end
129
129
  def no_thread
130
- @b.append ' /noThread'
130
+ @b.append ' -noThread'
131
131
  yield @b if block_given?
132
132
  self
133
133
  end
134
134
  def timeout(timeout)
135
- @b.append " /timeout:#{@b.format timeout}"
135
+ @b.append " -timeout:#{@b.format timeout}"
136
136
  yield @b if block_given?
137
137
  self
138
138
  end
139
139
  def wait
140
- @b.append ' /wait'
140
+ @b.append ' -wait'
141
141
  yield @b if block_given?
142
142
  self
143
143
  end
144
144
  def no_logo
145
- @b.append ' /noLogo'
145
+ @b.append ' -noLogo'
146
146
  yield @b if block_given?
147
147
  self
148
148
  end
149
149
  def no_dots
150
- @b.append ' /noDots'
150
+ @b.append ' -noDots'
151
151
  yield @b if block_given?
152
152
  self
153
153
  end
154
154
  def help
155
- @b.append ' /help'
155
+ @b.append ' -help'
156
156
  yield @b if block_given?
157
157
  self
158
158
  end
@@ -42,157 +42,157 @@ module FluentCommandBuilder
42
42
  self
43
43
  end
44
44
  def fixture(fixture)
45
- @b.append " /fixture:#{@b.format fixture}"
45
+ @b.append " -fixture:#{@b.format fixture}"
46
46
  yield @b if block_given?
47
47
  self
48
48
  end
49
49
  def load(fixture)
50
- @b.append " /load:#{@b.format fixture}"
50
+ @b.append " -load:#{@b.format fixture}"
51
51
  yield @b if block_given?
52
52
  self
53
53
  end
54
54
  def run(test)
55
- @b.append " /run:#{@b.format test}"
55
+ @b.append " -run:#{@b.format test}"
56
56
  yield @b if block_given?
57
57
  self
58
58
  end
59
59
  def run_list(file)
60
- @b.append " /runList:#{@b.format file}"
60
+ @b.append " -runList:#{@b.format file}"
61
61
  yield @b if block_given?
62
62
  self
63
63
  end
64
64
  def config(config)
65
- @b.append " /config:#{@b.format config}"
65
+ @b.append " -config:#{@b.format config}"
66
66
  yield @b if block_given?
67
67
  self
68
68
  end
69
69
  def result(file)
70
- @b.append " /result:#{@b.format file}"
70
+ @b.append " -result:#{@b.format file}"
71
71
  yield @b if block_given?
72
72
  self
73
73
  end
74
74
  def xml(file)
75
- @b.append " /xml:#{@b.format file}"
75
+ @b.append " -xml:#{@b.format file}"
76
76
  yield @b if block_given?
77
77
  self
78
78
  end
79
79
  def xml_console
80
- @b.append ' /xmlConsole'
80
+ @b.append ' -xmlConsole'
81
81
  yield @b if block_given?
82
82
  self
83
83
  end
84
84
  def no_result
85
- @b.append ' /noResult'
85
+ @b.append ' -noResult'
86
86
  yield @b if block_given?
87
87
  self
88
88
  end
89
89
  def no_xml
90
- @b.append ' /noXml'
90
+ @b.append ' -noXml'
91
91
  yield @b if block_given?
92
92
  self
93
93
  end
94
94
  def output(file)
95
- @b.append " /output:#{@b.format file}"
95
+ @b.append " -output:#{@b.format file}"
96
96
  yield @b if block_given?
97
97
  self
98
98
  end
99
99
  def out(file)
100
- @b.append " /out:#{@b.format file}"
100
+ @b.append " -out:#{@b.format file}"
101
101
  yield @b if block_given?
102
102
  self
103
103
  end
104
104
  def err(file)
105
- @b.append " /err:#{@b.format file}"
105
+ @b.append " -err:#{@b.format file}"
106
106
  yield @b if block_given?
107
107
  self
108
108
  end
109
109
  def work(directory)
110
- @b.append " /work:#{@b.format directory}"
110
+ @b.append " -work:#{@b.format directory}"
111
111
  yield @b if block_given?
112
112
  self
113
113
  end
114
114
  def labels
115
- @b.append ' /labels'
115
+ @b.append ' -labels'
116
116
  yield @b if block_given?
117
117
  self
118
118
  end
119
119
  def trace(level)
120
- @b.append " /trace:#{@b.format level}"
120
+ @b.append " -trace:#{@b.format level}"
121
121
  yield @b if block_given?
122
122
  self
123
123
  end
124
124
  def include(category)
125
- @b.append " /include:#{@b.format category}"
125
+ @b.append " -include:#{@b.format category}"
126
126
  yield @b if block_given?
127
127
  self
128
128
  end
129
129
  def exclude(category)
130
- @b.append " /exclude:#{@b.format category}"
130
+ @b.append " -exclude:#{@b.format category}"
131
131
  yield @b if block_given?
132
132
  self
133
133
  end
134
134
  def framework(framework)
135
- @b.append " /framework:#{@b.format framework}"
135
+ @b.append " -framework:#{@b.format framework}"
136
136
  yield @b if block_given?
137
137
  self
138
138
  end
139
139
  def process(process)
140
- @b.append " /process:#{@b.format process}"
140
+ @b.append " -process:#{@b.format process}"
141
141
  yield @b if block_given?
142
142
  self
143
143
  end
144
144
  def domain(domain)
145
- @b.append " /domain:#{@b.format domain}"
145
+ @b.append " -domain:#{@b.format domain}"
146
146
  yield @b if block_given?
147
147
  self
148
148
  end
149
149
  def apartment(apartment)
150
- @b.append " /apartment:#{@b.format apartment}"
150
+ @b.append " -apartment:#{@b.format apartment}"
151
151
  yield @b if block_given?
152
152
  self
153
153
  end
154
154
  def no_shadow
155
- @b.append ' /noShadow'
155
+ @b.append ' -noShadow'
156
156
  yield @b if block_given?
157
157
  self
158
158
  end
159
159
  def no_thread
160
- @b.append ' /noThread'
160
+ @b.append ' -noThread'
161
161
  yield @b if block_given?
162
162
  self
163
163
  end
164
164
  def timeout(timeout)
165
- @b.append " /timeout:#{@b.format timeout}"
165
+ @b.append " -timeout:#{@b.format timeout}"
166
166
  yield @b if block_given?
167
167
  self
168
168
  end
169
169
  def wait
170
- @b.append ' /wait'
170
+ @b.append ' -wait'
171
171
  yield @b if block_given?
172
172
  self
173
173
  end
174
174
  def no_logo
175
- @b.append ' /noLogo'
175
+ @b.append ' -noLogo'
176
176
  yield @b if block_given?
177
177
  self
178
178
  end
179
179
  def no_dots
180
- @b.append ' /noDots'
180
+ @b.append ' -noDots'
181
181
  yield @b if block_given?
182
182
  self
183
183
  end
184
184
  def stop_on_error
185
- @b.append ' /stopOnError'
185
+ @b.append ' -stopOnError'
186
186
  yield @b if block_given?
187
187
  self
188
188
  end
189
189
  def cleanup
190
- @b.append ' /cleanup'
190
+ @b.append ' -cleanup'
191
191
  yield @b if block_given?
192
192
  self
193
193
  end
194
194
  def help
195
- @b.append ' /help'
195
+ @b.append ' -help'
196
196
  yield @b if block_given?
197
197
  self
198
198
  end