fluent_command_builder 0.6.0 → 0.7.0

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 (76) hide show
  1. data/lib/fluent_command_builder.rb +3 -0
  2. data/lib/fluent_command_builder/command_base.rb +21 -10
  3. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +1 -1
  4. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +995 -994
  5. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +991 -990
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +1 -1
  7. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +30 -29
  8. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +30 -29
  9. data/lib/fluent_command_builder/command_builders/bundle.rb +1 -1
  10. data/lib/fluent_command_builder/command_builders/bundle_11.rb +102 -101
  11. data/lib/fluent_command_builder/command_builders/cucumber.rb +1 -1
  12. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +60 -59
  13. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +62 -61
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +1 -1
  15. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +72 -71
  16. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +72 -71
  17. data/lib/fluent_command_builder/command_builders/dotcover.rb +1 -1
  18. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +17 -16
  19. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +101 -100
  20. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +101 -100
  21. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +105 -104
  22. data/lib/fluent_command_builder/command_builders/installutil.rb +1 -1
  23. data/lib/fluent_command_builder/command_builders/installutil_11.rb +15 -14
  24. data/lib/fluent_command_builder/command_builders/installutil_20.rb +17 -16
  25. data/lib/fluent_command_builder/command_builders/installutil_35.rb +17 -16
  26. data/lib/fluent_command_builder/command_builders/installutil_40.rb +20 -19
  27. data/lib/fluent_command_builder/command_builders/msbuild.rb +1 -1
  28. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +27 -26
  29. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +27 -26
  30. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +43 -42
  31. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +46 -45
  32. data/lib/fluent_command_builder/command_builders/msdeploy.rb +1 -1
  33. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +61 -60
  34. data/lib/fluent_command_builder/command_builders/mstest.rb +1 -1
  35. data/lib/fluent_command_builder/command_builders/mstest_100.rb +41 -40
  36. data/lib/fluent_command_builder/command_builders/mstest_80.rb +33 -32
  37. data/lib/fluent_command_builder/command_builders/mstest_90.rb +35 -34
  38. data/lib/fluent_command_builder/command_builders/netsh.rb +1 -1
  39. data/lib/fluent_command_builder/command_builders/netsh_61.rb +139 -138
  40. data/lib/fluent_command_builder/command_builders/nuget.rb +17 -0
  41. data/lib/fluent_command_builder/command_builders/nuget_20.rb +433 -0
  42. data/lib/fluent_command_builder/command_builders/nunit.rb +1 -1
  43. data/lib/fluent_command_builder/command_builders/nunit_25.rb +50 -49
  44. data/lib/fluent_command_builder/command_builders/nunit_26.rb +66 -65
  45. data/lib/fluent_command_builder/command_builders/rake.rb +1 -1
  46. data/lib/fluent_command_builder/command_builders/rake_09.rb +48 -47
  47. data/lib/fluent_command_builder/command_builders/security_osx.rb +1 -1
  48. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +55 -54
  49. data/lib/fluent_command_builder/command_builders/sevenzip.rb +1 -1
  50. data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +211 -210
  51. data/lib/fluent_command_builder/command_builders/simian.rb +1 -1
  52. data/lib/fluent_command_builder/command_builders/simian_23.rb +47 -46
  53. data/lib/fluent_command_builder/command_builders/team_foundation.rb +1 -1
  54. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +822 -821
  55. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +1 -1
  56. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +744 -743
  57. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +1 -1
  58. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +103 -87
  59. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +123 -107
  60. data/lib/fluent_command_builder/executor.rb +44 -0
  61. data/lib/fluent_command_builder/executors/backticks_executor.rb +7 -0
  62. data/lib/fluent_command_builder/executors/dry_run_executor.rb +7 -0
  63. data/lib/fluent_command_builder/executors/rake_sh_executor.rb +10 -0
  64. data/lib/fluent_command_builder/executors/system_executor.rb +7 -0
  65. data/lib/fluent_command_builder/path_finder.rb +20 -0
  66. data/lib/fluent_command_builder/path_finders/unix_path_finder.rb +13 -0
  67. data/lib/fluent_command_builder/path_finders/windows_path_finder.rb +14 -0
  68. data/lib/fluent_command_builder/underlying_builder.rb +75 -59
  69. data/lib/fluent_command_builder/version.rb +40 -0
  70. data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +1 -2
  71. data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +13 -13
  72. data/lib/fluent_command_builder/version_validator.rb +37 -0
  73. metadata +16 -7
  74. data/lib/command_version_detector.rb +0 -1
  75. data/lib/fluent_command_builder/util.rb +0 -18
  76. data/lib/fluent_command_builder/version_detectors/lib/path_finder.rb +0 -43
@@ -7,6 +7,7 @@ module FluentCommandBuilder
7
7
  end
8
8
  module NUnit
9
9
  module V25
10
+ VERSION = '2.5'
10
11
  def self.create(input_files=nil)
11
12
  b = UnderlyingBuilder.new FluentCommandBuilder::NUnit::COMMAND_NAME
12
13
  c = NUnit.new(b, input_files)
@@ -19,126 +20,126 @@ module FluentCommandBuilder
19
20
  class NUnit < CommandBase
20
21
  def initialize(underlying_builder, input_files=nil)
21
22
  super underlying_builder
22
- b.append " #{b.format input_files}" unless input_files.nil?
23
+ @b.append " #{@b.format input_files}" unless input_files.nil?
23
24
  end
24
25
  def input_files(input_files)
25
- b.append " #{b.format input_files}"
26
- yield b if block_given?
26
+ @b.append " #{@b.format input_files}"
27
+ yield @b if block_given?
27
28
  self
28
29
  end
29
30
  def fixture(fixture)
30
- b.append " /fixture:#{b.format fixture}"
31
- yield b if block_given?
31
+ @b.append " /fixture:#{@b.format fixture}"
32
+ yield @b if block_given?
32
33
  self
33
34
  end
34
35
  def load(fixture)
35
- b.append " /load:#{b.format fixture}"
36
- yield b if block_given?
36
+ @b.append " /load:#{@b.format fixture}"
37
+ yield @b if block_given?
37
38
  self
38
39
  end
39
40
  def run(test)
40
- b.append " /run:#{b.format test}"
41
- yield b if block_given?
41
+ @b.append " /run:#{@b.format test}"
42
+ yield @b if block_given?
42
43
  self
43
44
  end
44
45
  def config(config)
45
- b.append " /config:#{b.format config}"
46
- yield b if block_given?
46
+ @b.append " /config:#{@b.format config}"
47
+ yield @b if block_given?
47
48
  self
48
49
  end
49
50
  def xml(file)
50
- b.append " /xml:#{b.format file}"
51
- yield b if block_given?
51
+ @b.append " /xml:#{@b.format file}"
52
+ yield @b if block_given?
52
53
  self
53
54
  end
54
55
  def xml_console
55
- b.append ' /xmlConsole'
56
- yield b if block_given?
56
+ @b.append ' /xmlConsole'
57
+ yield @b if block_given?
57
58
  self
58
59
  end
59
60
  def output(file)
60
- b.append " /output:#{b.format file}"
61
- yield b if block_given?
61
+ @b.append " /output:#{@b.format file}"
62
+ yield @b if block_given?
62
63
  self
63
64
  end
64
65
  def out(file)
65
- b.append " /out:#{b.format file}"
66
- yield b if block_given?
66
+ @b.append " /out:#{@b.format file}"
67
+ yield @b if block_given?
67
68
  self
68
69
  end
69
70
  def err(file)
70
- b.append " /err:#{b.format file}"
71
- yield b if block_given?
71
+ @b.append " /err:#{@b.format file}"
72
+ yield @b if block_given?
72
73
  self
73
74
  end
74
75
  def labels
75
- b.append ' /labels'
76
- yield b if block_given?
76
+ @b.append ' /labels'
77
+ yield @b if block_given?
77
78
  self
78
79
  end
79
80
  def trace(level)
80
- b.append " /trace:#{b.format level}"
81
- yield b if block_given?
81
+ @b.append " /trace:#{@b.format level}"
82
+ yield @b if block_given?
82
83
  self
83
84
  end
84
85
  def include(category)
85
- b.append " /include:#{b.format category}"
86
- yield b if block_given?
86
+ @b.append " /include:#{@b.format category}"
87
+ yield @b if block_given?
87
88
  self
88
89
  end
89
90
  def exclude(category)
90
- b.append " /exclude:#{b.format category}"
91
- yield b if block_given?
91
+ @b.append " /exclude:#{@b.format category}"
92
+ yield @b if block_given?
92
93
  self
93
94
  end
94
95
  def process(process)
95
- b.append " /process:#{b.format process}"
96
- yield b if block_given?
96
+ @b.append " /process:#{@b.format process}"
97
+ yield @b if block_given?
97
98
  self
98
99
  end
99
100
  def domain(domain)
100
- b.append " /domain:#{b.format domain}"
101
- yield b if block_given?
101
+ @b.append " /domain:#{@b.format domain}"
102
+ yield @b if block_given?
102
103
  self
103
104
  end
104
105
  def framework(framework)
105
- b.append " /framework:#{b.format framework}"
106
- yield b if block_given?
106
+ @b.append " /framework:#{@b.format framework}"
107
+ yield @b if block_given?
107
108
  self
108
109
  end
109
110
  def no_shadow
110
- b.append ' /noShadow'
111
- yield b if block_given?
111
+ @b.append ' /noShadow'
112
+ yield @b if block_given?
112
113
  self
113
114
  end
114
115
  def no_thread
115
- b.append ' /noThread'
116
- yield b if block_given?
116
+ @b.append ' /noThread'
117
+ yield @b if block_given?
117
118
  self
118
119
  end
119
120
  def timeout(timeout)
120
- b.append " /timeout:#{b.format timeout}"
121
- yield b if block_given?
121
+ @b.append " /timeout:#{@b.format timeout}"
122
+ yield @b if block_given?
122
123
  self
123
124
  end
124
125
  def wait
125
- b.append ' /wait'
126
- yield b if block_given?
126
+ @b.append ' /wait'
127
+ yield @b if block_given?
127
128
  self
128
129
  end
129
130
  def no_logo
130
- b.append ' /noLogo'
131
- yield b if block_given?
131
+ @b.append ' /noLogo'
132
+ yield @b if block_given?
132
133
  self
133
134
  end
134
135
  def no_dots
135
- b.append ' /noDots'
136
- yield b if block_given?
136
+ @b.append ' /noDots'
137
+ yield @b if block_given?
137
138
  self
138
139
  end
139
140
  def help
140
- b.append ' /help'
141
- yield b if block_given?
141
+ @b.append ' /help'
142
+ yield @b if block_given?
142
143
  self
143
144
  end
144
145
  end
@@ -7,6 +7,7 @@ module FluentCommandBuilder
7
7
  end
8
8
  module NUnit
9
9
  module V26
10
+ VERSION = '2.6'
10
11
  def self.create(input_files=nil)
11
12
  b = UnderlyingBuilder.new FluentCommandBuilder::NUnit::COMMAND_NAME
12
13
  c = NUnit.new(b, input_files)
@@ -19,166 +20,166 @@ module FluentCommandBuilder
19
20
  class NUnit < CommandBase
20
21
  def initialize(underlying_builder, input_files=nil)
21
22
  super underlying_builder
22
- b.append " #{b.format input_files}" unless input_files.nil?
23
+ @b.append " #{@b.format input_files}" unless input_files.nil?
23
24
  end
24
25
  def input_files(input_files)
25
- b.append " #{b.format input_files}"
26
- yield b if block_given?
26
+ @b.append " #{@b.format input_files}"
27
+ yield @b if block_given?
27
28
  self
28
29
  end
29
30
  def fixture(fixture)
30
- b.append " /fixture:#{b.format fixture}"
31
- yield b if block_given?
31
+ @b.append " /fixture:#{@b.format fixture}"
32
+ yield @b if block_given?
32
33
  self
33
34
  end
34
35
  def load(fixture)
35
- b.append " /load:#{b.format fixture}"
36
- yield b if block_given?
36
+ @b.append " /load:#{@b.format fixture}"
37
+ yield @b if block_given?
37
38
  self
38
39
  end
39
40
  def run(test)
40
- b.append " /run:#{b.format test}"
41
- yield b if block_given?
41
+ @b.append " /run:#{@b.format test}"
42
+ yield @b if block_given?
42
43
  self
43
44
  end
44
45
  def run_list(file)
45
- b.append " /runList:#{b.format file}"
46
- yield b if block_given?
46
+ @b.append " /runList:#{@b.format file}"
47
+ yield @b if block_given?
47
48
  self
48
49
  end
49
50
  def config(config)
50
- b.append " /config:#{b.format config}"
51
- yield b if block_given?
51
+ @b.append " /config:#{@b.format config}"
52
+ yield @b if block_given?
52
53
  self
53
54
  end
54
55
  def result(file)
55
- b.append " /result:#{b.format file}"
56
- yield b if block_given?
56
+ @b.append " /result:#{@b.format file}"
57
+ yield @b if block_given?
57
58
  self
58
59
  end
59
60
  def xml(file)
60
- b.append " /xml:#{b.format file}"
61
- yield b if block_given?
61
+ @b.append " /xml:#{@b.format file}"
62
+ yield @b if block_given?
62
63
  self
63
64
  end
64
65
  def xml_console
65
- b.append ' /xmlConsole'
66
- yield b if block_given?
66
+ @b.append ' /xmlConsole'
67
+ yield @b if block_given?
67
68
  self
68
69
  end
69
70
  def no_result
70
- b.append ' /noResult'
71
- yield b if block_given?
71
+ @b.append ' /noResult'
72
+ yield @b if block_given?
72
73
  self
73
74
  end
74
75
  def no_xml
75
- b.append ' /noXml'
76
- yield b if block_given?
76
+ @b.append ' /noXml'
77
+ yield @b if block_given?
77
78
  self
78
79
  end
79
80
  def output(file)
80
- b.append " /output:#{b.format file}"
81
- yield b if block_given?
81
+ @b.append " /output:#{@b.format file}"
82
+ yield @b if block_given?
82
83
  self
83
84
  end
84
85
  def out(file)
85
- b.append " /out:#{b.format file}"
86
- yield b if block_given?
86
+ @b.append " /out:#{@b.format file}"
87
+ yield @b if block_given?
87
88
  self
88
89
  end
89
90
  def err(file)
90
- b.append " /err:#{b.format file}"
91
- yield b if block_given?
91
+ @b.append " /err:#{@b.format file}"
92
+ yield @b if block_given?
92
93
  self
93
94
  end
94
95
  def work(directory)
95
- b.append " /work:#{b.format directory}"
96
- yield b if block_given?
96
+ @b.append " /work:#{@b.format directory}"
97
+ yield @b if block_given?
97
98
  self
98
99
  end
99
100
  def labels
100
- b.append ' /labels'
101
- yield b if block_given?
101
+ @b.append ' /labels'
102
+ yield @b if block_given?
102
103
  self
103
104
  end
104
105
  def trace(level)
105
- b.append " /trace:#{b.format level}"
106
- yield b if block_given?
106
+ @b.append " /trace:#{@b.format level}"
107
+ yield @b if block_given?
107
108
  self
108
109
  end
109
110
  def include(category)
110
- b.append " /include:#{b.format category}"
111
- yield b if block_given?
111
+ @b.append " /include:#{@b.format category}"
112
+ yield @b if block_given?
112
113
  self
113
114
  end
114
115
  def exclude(category)
115
- b.append " /exclude:#{b.format category}"
116
- yield b if block_given?
116
+ @b.append " /exclude:#{@b.format category}"
117
+ yield @b if block_given?
117
118
  self
118
119
  end
119
120
  def framework(framework)
120
- b.append " /framework:#{b.format framework}"
121
- yield b if block_given?
121
+ @b.append " /framework:#{@b.format framework}"
122
+ yield @b if block_given?
122
123
  self
123
124
  end
124
125
  def process(process)
125
- b.append " /process:#{b.format process}"
126
- yield b if block_given?
126
+ @b.append " /process:#{@b.format process}"
127
+ yield @b if block_given?
127
128
  self
128
129
  end
129
130
  def domain(domain)
130
- b.append " /domain:#{b.format domain}"
131
- yield b if block_given?
131
+ @b.append " /domain:#{@b.format domain}"
132
+ yield @b if block_given?
132
133
  self
133
134
  end
134
135
  def apartment(apartment)
135
- b.append " /apartment:#{b.format apartment}"
136
- yield b if block_given?
136
+ @b.append " /apartment:#{@b.format apartment}"
137
+ yield @b if block_given?
137
138
  self
138
139
  end
139
140
  def no_shadow
140
- b.append ' /noShadow'
141
- yield b if block_given?
141
+ @b.append ' /noShadow'
142
+ yield @b if block_given?
142
143
  self
143
144
  end
144
145
  def no_thread
145
- b.append ' /noThread'
146
- yield b if block_given?
146
+ @b.append ' /noThread'
147
+ yield @b if block_given?
147
148
  self
148
149
  end
149
150
  def timeout(timeout)
150
- b.append " /timeout:#{b.format timeout}"
151
- yield b if block_given?
151
+ @b.append " /timeout:#{@b.format timeout}"
152
+ yield @b if block_given?
152
153
  self
153
154
  end
154
155
  def wait
155
- b.append ' /wait'
156
- yield b if block_given?
156
+ @b.append ' /wait'
157
+ yield @b if block_given?
157
158
  self
158
159
  end
159
160
  def no_logo
160
- b.append ' /noLogo'
161
- yield b if block_given?
161
+ @b.append ' /noLogo'
162
+ yield @b if block_given?
162
163
  self
163
164
  end
164
165
  def no_dots
165
- b.append ' /noDots'
166
- yield b if block_given?
166
+ @b.append ' /noDots'
167
+ yield @b if block_given?
167
168
  self
168
169
  end
169
170
  def stop_on_error
170
- b.append ' /stopOnError'
171
- yield b if block_given?
171
+ @b.append ' /stopOnError'
172
+ yield @b if block_given?
172
173
  self
173
174
  end
174
175
  def cleanup
175
- b.append ' /cleanup'
176
- yield b if block_given?
176
+ @b.append ' /cleanup'
177
+ yield @b if block_given?
177
178
  self
178
179
  end
179
180
  def help
180
- b.append ' /help'
181
- yield b if block_given?
181
+ @b.append ' /help'
182
+ yield @b if block_given?
182
183
  self
183
184
  end
184
185
  end
@@ -1,5 +1,5 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
- require File.expand_path(File.dirname(__FILE__) + '/../util')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../version')
3
3
 
4
4
  module FluentCommandBuilder
5
5
  def rake(&block)
@@ -7,6 +7,7 @@ module FluentCommandBuilder
7
7
  end
8
8
  module Rake
9
9
  module V09
10
+ VERSION = '0.9'
10
11
  def self.create(task=nil)
11
12
  b = UnderlyingBuilder.new FluentCommandBuilder::Rake::COMMAND_NAME
12
13
  c = Rake.new(b, task)
@@ -19,121 +20,121 @@ module FluentCommandBuilder
19
20
  class Rake < CommandBase
20
21
  def initialize(underlying_builder, task=nil)
21
22
  super underlying_builder
22
- b.append " #{b.format task, ' '}" unless task.nil?
23
+ @b.append " #{@b.format task, ' '}" unless task.nil?
23
24
  end
24
25
  def classic_namespace
25
- b.append ' --classic-namespace'
26
- yield b if block_given?
26
+ @b.append ' --classic-namespace'
27
+ yield @b if block_given?
27
28
  self
28
29
  end
29
30
  def describe(pattern)
30
- b.append " --describe #{b.format pattern}"
31
- yield b if block_given?
31
+ @b.append " --describe #{@b.format pattern}"
32
+ yield @b if block_given?
32
33
  self
33
34
  end
34
35
  def dry_run
35
- b.append ' --dry-run'
36
- yield b if block_given?
36
+ @b.append ' --dry-run'
37
+ yield @b if block_given?
37
38
  self
38
39
  end
39
40
  def execute(code)
40
- b.append " --execute #{b.format code}"
41
- yield b if block_given?
41
+ @b.append " --execute #{@b.format code}"
42
+ yield @b if block_given?
42
43
  self
43
44
  end
44
45
  def execute_print(code)
45
- b.append " --execute-print #{b.format code}"
46
- yield b if block_given?
46
+ @b.append " --execute-print #{@b.format code}"
47
+ yield @b if block_given?
47
48
  self
48
49
  end
49
50
  def execute_continue(code)
50
- b.append " --execute-continue #{b.format code}"
51
- yield b if block_given?
51
+ @b.append " --execute-continue #{@b.format code}"
52
+ yield @b if block_given?
52
53
  self
53
54
  end
54
55
  def libdir(lib_dir)
55
- b.append " --libdir #{b.format lib_dir}"
56
- yield b if block_given?
56
+ @b.append " --libdir #{@b.format lib_dir}"
57
+ yield @b if block_given?
57
58
  self
58
59
  end
59
60
  def no_search
60
- b.append ' --no-search'
61
- yield b if block_given?
61
+ @b.append ' --no-search'
62
+ yield @b if block_given?
62
63
  self
63
64
  end
64
65
  def prereqs
65
- b.append ' --prereqs'
66
- yield b if block_given?
66
+ @b.append ' --prereqs'
67
+ yield @b if block_given?
67
68
  self
68
69
  end
69
70
  def quiet
70
- b.append ' --quiet'
71
- yield b if block_given?
71
+ @b.append ' --quiet'
72
+ yield @b if block_given?
72
73
  self
73
74
  end
74
75
  def rakefile(file)
75
- b.append " --rakefile #{b.format file}"
76
- yield b if block_given?
76
+ @b.append " --rakefile #{@b.format file}"
77
+ yield @b if block_given?
77
78
  self
78
79
  end
79
80
  def rakelibdir(rake_lib_dir)
80
- b.append " --rakelibdir #{b.format rake_lib_dir}"
81
- yield b if block_given?
81
+ @b.append " --rakelibdir #{@b.format rake_lib_dir}"
82
+ yield @b if block_given?
82
83
  self
83
84
  end
84
85
  def require(file)
85
- b.append " --require #{b.format file}"
86
- yield b if block_given?
86
+ @b.append " --require #{@b.format file}"
87
+ yield @b if block_given?
87
88
  self
88
89
  end
89
90
  def rules
90
- b.append ' --rules'
91
- yield b if block_given?
91
+ @b.append ' --rules'
92
+ yield @b if block_given?
92
93
  self
93
94
  end
94
95
  def silent
95
- b.append ' --silent'
96
- yield b if block_given?
96
+ @b.append ' --silent'
97
+ yield @b if block_given?
97
98
  self
98
99
  end
99
100
  def no_system
100
- b.append ' --no-system'
101
- yield b if block_given?
101
+ @b.append ' --no-system'
102
+ yield @b if block_given?
102
103
  self
103
104
  end
104
105
  def tasks(pattern)
105
- b.append " --tasks #{b.format pattern}"
106
- yield b if block_given?
106
+ @b.append " --tasks #{@b.format pattern}"
107
+ yield @b if block_given?
107
108
  self
108
109
  end
109
110
  def trace
110
- b.append ' --trace'
111
- yield b if block_given?
111
+ @b.append ' --trace'
112
+ yield @b if block_given?
112
113
  self
113
114
  end
114
115
  def verbose
115
- b.append ' --verbose'
116
- yield b if block_given?
116
+ @b.append ' --verbose'
117
+ yield @b if block_given?
117
118
  self
118
119
  end
119
120
  def version
120
- b.append ' --version'
121
- yield b if block_given?
121
+ @b.append ' --version'
122
+ yield @b if block_given?
122
123
  self
123
124
  end
124
125
  def where(pattern)
125
- b.append " --where #{b.format pattern}"
126
- yield b if block_given?
126
+ @b.append " --where #{@b.format pattern}"
127
+ yield @b if block_given?
127
128
  self
128
129
  end
129
130
  def no_deprecation_warnings
130
- b.append ' --no-deprecation-warnings'
131
- yield b if block_given?
131
+ @b.append ' --no-deprecation-warnings'
132
+ yield @b if block_given?
132
133
  self
133
134
  end
134
135
  def help
135
- b.append ' --help'
136
- yield b if block_given?
136
+ @b.append ' --help'
137
+ yield @b if block_given?
137
138
  self
138
139
  end
139
140
  end