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.
- data/lib/fluent_command_builder.rb +3 -0
- data/lib/fluent_command_builder/command_base.rb +21 -10
- data/lib/fluent_command_builder/command_builders/appcfg_python.rb +1 -1
- data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +995 -994
- data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +991 -990
- data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +1 -1
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +30 -29
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +30 -29
- data/lib/fluent_command_builder/command_builders/bundle.rb +1 -1
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +102 -101
- data/lib/fluent_command_builder/command_builders/cucumber.rb +1 -1
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +60 -59
- data/lib/fluent_command_builder/command_builders/cucumber_12.rb +62 -61
- data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +1 -1
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +72 -71
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +72 -71
- data/lib/fluent_command_builder/command_builders/dotcover.rb +1 -1
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +17 -16
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +101 -100
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +101 -100
- data/lib/fluent_command_builder/command_builders/dotcover_20.rb +105 -104
- data/lib/fluent_command_builder/command_builders/installutil.rb +1 -1
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +15 -14
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +17 -16
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +17 -16
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +20 -19
- data/lib/fluent_command_builder/command_builders/msbuild.rb +1 -1
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +27 -26
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +27 -26
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +43 -42
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +46 -45
- data/lib/fluent_command_builder/command_builders/msdeploy.rb +1 -1
- data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +61 -60
- data/lib/fluent_command_builder/command_builders/mstest.rb +1 -1
- data/lib/fluent_command_builder/command_builders/mstest_100.rb +41 -40
- data/lib/fluent_command_builder/command_builders/mstest_80.rb +33 -32
- data/lib/fluent_command_builder/command_builders/mstest_90.rb +35 -34
- data/lib/fluent_command_builder/command_builders/netsh.rb +1 -1
- data/lib/fluent_command_builder/command_builders/netsh_61.rb +139 -138
- data/lib/fluent_command_builder/command_builders/nuget.rb +17 -0
- data/lib/fluent_command_builder/command_builders/nuget_20.rb +433 -0
- data/lib/fluent_command_builder/command_builders/nunit.rb +1 -1
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +50 -49
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +66 -65
- data/lib/fluent_command_builder/command_builders/rake.rb +1 -1
- data/lib/fluent_command_builder/command_builders/rake_09.rb +48 -47
- data/lib/fluent_command_builder/command_builders/security_osx.rb +1 -1
- data/lib/fluent_command_builder/command_builders/security_osx_107.rb +55 -54
- data/lib/fluent_command_builder/command_builders/sevenzip.rb +1 -1
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +211 -210
- data/lib/fluent_command_builder/command_builders/simian.rb +1 -1
- data/lib/fluent_command_builder/command_builders/simian_23.rb +47 -46
- data/lib/fluent_command_builder/command_builders/team_foundation.rb +1 -1
- data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +822 -821
- data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +1 -1
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +744 -743
- data/lib/fluent_command_builder/command_builders/xcodebuild.rb +1 -1
- data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +103 -87
- data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +123 -107
- data/lib/fluent_command_builder/executor.rb +44 -0
- data/lib/fluent_command_builder/executors/backticks_executor.rb +7 -0
- data/lib/fluent_command_builder/executors/dry_run_executor.rb +7 -0
- data/lib/fluent_command_builder/executors/rake_sh_executor.rb +10 -0
- data/lib/fluent_command_builder/executors/system_executor.rb +7 -0
- data/lib/fluent_command_builder/path_finder.rb +20 -0
- data/lib/fluent_command_builder/path_finders/unix_path_finder.rb +13 -0
- data/lib/fluent_command_builder/path_finders/windows_path_finder.rb +14 -0
- data/lib/fluent_command_builder/underlying_builder.rb +75 -59
- data/lib/fluent_command_builder/version.rb +40 -0
- data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +1 -2
- data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +13 -13
- data/lib/fluent_command_builder/version_validator.rb +37 -0
- metadata +16 -7
- data/lib/command_version_detector.rb +0 -1
- data/lib/fluent_command_builder/util.rb +0 -18
- 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 DevAppserverPython
|
|
9
9
|
module V16
|
|
10
|
+
VERSION = '1.6'
|
|
10
11
|
def self.create(application_root=nil)
|
|
11
12
|
b = UnderlyingBuilder.new FluentCommandBuilder::DevAppserverPython::COMMAND_NAME
|
|
12
13
|
c = DevAppserverPython.new(b, application_root)
|
|
@@ -19,181 +20,181 @@ module FluentCommandBuilder
|
|
|
19
20
|
class DevAppserverPython < CommandBase
|
|
20
21
|
def initialize(underlying_builder, application_root=nil)
|
|
21
22
|
super underlying_builder
|
|
22
|
-
b.append " #{b.format application_root}" unless application_root.nil?
|
|
23
|
+
@b.append " #{@b.format application_root}" unless application_root.nil?
|
|
23
24
|
end
|
|
24
25
|
def application_root(application_root)
|
|
25
|
-
b.append " #{b.format application_root}"
|
|
26
|
-
yield b if block_given?
|
|
26
|
+
@b.append " #{@b.format application_root}"
|
|
27
|
+
yield @b if block_given?
|
|
27
28
|
self
|
|
28
29
|
end
|
|
29
30
|
def address(address)
|
|
30
|
-
b.append " --address=#{b.format address}"
|
|
31
|
-
yield b if block_given?
|
|
31
|
+
@b.append " --address=#{@b.format address}"
|
|
32
|
+
yield @b if block_given?
|
|
32
33
|
self
|
|
33
34
|
end
|
|
34
35
|
def clear_datastore
|
|
35
|
-
b.append ' --clear_datastore'
|
|
36
|
-
yield b if block_given?
|
|
36
|
+
@b.append ' --clear_datastore'
|
|
37
|
+
yield @b if block_given?
|
|
37
38
|
self
|
|
38
39
|
end
|
|
39
40
|
def debug
|
|
40
|
-
b.append ' --debug'
|
|
41
|
-
yield b if block_given?
|
|
41
|
+
@b.append ' --debug'
|
|
42
|
+
yield @b if block_given?
|
|
42
43
|
self
|
|
43
44
|
end
|
|
44
45
|
def help
|
|
45
|
-
b.append ' --help'
|
|
46
|
-
yield b if block_given?
|
|
46
|
+
@b.append ' --help'
|
|
47
|
+
yield @b if block_given?
|
|
47
48
|
self
|
|
48
49
|
end
|
|
49
50
|
def port(port)
|
|
50
|
-
b.append " --port=#{b.format port}"
|
|
51
|
-
yield b if block_given?
|
|
51
|
+
@b.append " --port=#{@b.format port}"
|
|
52
|
+
yield @b if block_given?
|
|
52
53
|
self
|
|
53
54
|
end
|
|
54
55
|
def allow_skipped_files
|
|
55
|
-
b.append ' --allow_skipped_files'
|
|
56
|
-
yield b if block_given?
|
|
56
|
+
@b.append ' --allow_skipped_files'
|
|
57
|
+
yield @b if block_given?
|
|
57
58
|
self
|
|
58
59
|
end
|
|
59
60
|
def auth_domain
|
|
60
|
-
b.append ' --auth_domain'
|
|
61
|
-
yield b if block_given?
|
|
61
|
+
@b.append ' --auth_domain'
|
|
62
|
+
yield @b if block_given?
|
|
62
63
|
self
|
|
63
64
|
end
|
|
64
65
|
def backends
|
|
65
|
-
b.append ' --backends'
|
|
66
|
-
yield b if block_given?
|
|
66
|
+
@b.append ' --backends'
|
|
67
|
+
yield @b if block_given?
|
|
67
68
|
self
|
|
68
69
|
end
|
|
69
70
|
def blobstore_path(dir)
|
|
70
|
-
b.append " --blobstore_path=#{b.format dir}"
|
|
71
|
-
yield b if block_given?
|
|
71
|
+
@b.append " --blobstore_path=#{@b.format dir}"
|
|
72
|
+
yield @b if block_given?
|
|
72
73
|
self
|
|
73
74
|
end
|
|
74
75
|
def clear_prospective_search
|
|
75
|
-
b.append ' --clear_prospective_search'
|
|
76
|
-
yield b if block_given?
|
|
76
|
+
@b.append ' --clear_prospective_search'
|
|
77
|
+
yield @b if block_given?
|
|
77
78
|
self
|
|
78
79
|
end
|
|
79
80
|
def datastore_path(ds_file)
|
|
80
|
-
b.append " --datastore_path=#{b.format ds_file}"
|
|
81
|
-
yield b if block_given?
|
|
81
|
+
@b.append " --datastore_path=#{@b.format ds_file}"
|
|
82
|
+
yield @b if block_given?
|
|
82
83
|
self
|
|
83
84
|
end
|
|
84
85
|
def debug_imports
|
|
85
|
-
b.append ' --debug_imports'
|
|
86
|
-
yield b if block_given?
|
|
86
|
+
@b.append ' --debug_imports'
|
|
87
|
+
yield @b if block_given?
|
|
87
88
|
self
|
|
88
89
|
end
|
|
89
90
|
def default_partition
|
|
90
|
-
b.append ' --default_partition'
|
|
91
|
-
yield b if block_given?
|
|
91
|
+
@b.append ' --default_partition'
|
|
92
|
+
yield @b if block_given?
|
|
92
93
|
self
|
|
93
94
|
end
|
|
94
95
|
def disable_static_caching
|
|
95
|
-
b.append ' --disable_static_caching'
|
|
96
|
-
yield b if block_given?
|
|
96
|
+
@b.append ' --disable_static_caching'
|
|
97
|
+
yield @b if block_given?
|
|
97
98
|
self
|
|
98
99
|
end
|
|
99
100
|
def disable_task_running
|
|
100
|
-
b.append ' --disable_task_running'
|
|
101
|
-
yield b if block_given?
|
|
101
|
+
@b.append ' --disable_task_running'
|
|
102
|
+
yield @b if block_given?
|
|
102
103
|
self
|
|
103
104
|
end
|
|
104
105
|
def enable_sendmail
|
|
105
|
-
b.append ' --enable_sendmail'
|
|
106
|
-
yield b if block_given?
|
|
106
|
+
@b.append ' --enable_sendmail'
|
|
107
|
+
yield @b if block_given?
|
|
107
108
|
self
|
|
108
109
|
end
|
|
109
110
|
def high_replication
|
|
110
|
-
b.append ' --high_replication'
|
|
111
|
-
yield b if block_given?
|
|
111
|
+
@b.append ' --high_replication'
|
|
112
|
+
yield @b if block_given?
|
|
112
113
|
self
|
|
113
114
|
end
|
|
114
115
|
def history_path(path)
|
|
115
|
-
b.append " --history_path=#{b.format path}"
|
|
116
|
-
yield b if block_given?
|
|
116
|
+
@b.append " --history_path=#{@b.format path}"
|
|
117
|
+
yield @b if block_given?
|
|
117
118
|
self
|
|
118
119
|
end
|
|
119
120
|
def multiprocess_min_port
|
|
120
|
-
b.append ' --multiprocess_min_port'
|
|
121
|
-
yield b if block_given?
|
|
121
|
+
@b.append ' --multiprocess_min_port'
|
|
122
|
+
yield @b if block_given?
|
|
122
123
|
self
|
|
123
124
|
end
|
|
124
125
|
def mysql_host(hostname)
|
|
125
|
-
b.append " --mysql_host=#{b.format hostname}"
|
|
126
|
-
yield b if block_given?
|
|
126
|
+
@b.append " --mysql_host=#{@b.format hostname}"
|
|
127
|
+
yield @b if block_given?
|
|
127
128
|
self
|
|
128
129
|
end
|
|
129
130
|
def mysql_port(port)
|
|
130
|
-
b.append " --mysql_port=#{b.format port}"
|
|
131
|
-
yield b if block_given?
|
|
131
|
+
@b.append " --mysql_port=#{@b.format port}"
|
|
132
|
+
yield @b if block_given?
|
|
132
133
|
self
|
|
133
134
|
end
|
|
134
135
|
def mysql_user(user)
|
|
135
|
-
b.append " --mysql_user=#{b.format user}"
|
|
136
|
-
yield b if block_given?
|
|
136
|
+
@b.append " --mysql_user=#{@b.format user}"
|
|
137
|
+
yield @b if block_given?
|
|
137
138
|
self
|
|
138
139
|
end
|
|
139
140
|
def mysql_password(password)
|
|
140
|
-
b.append " --mysql_password=#{b.format password}"
|
|
141
|
-
yield b if block_given?
|
|
141
|
+
@b.append " --mysql_password=#{@b.format password}"
|
|
142
|
+
yield @b if block_given?
|
|
142
143
|
self
|
|
143
144
|
end
|
|
144
145
|
def mysql_socket(path)
|
|
145
|
-
b.append " --mysql_socket=#{b.format path}"
|
|
146
|
-
yield b if block_given?
|
|
146
|
+
@b.append " --mysql_socket=#{@b.format path}"
|
|
147
|
+
yield @b if block_given?
|
|
147
148
|
self
|
|
148
149
|
end
|
|
149
150
|
def persist_logs
|
|
150
|
-
b.append ' --persist_logs'
|
|
151
|
-
yield b if block_given?
|
|
151
|
+
@b.append ' --persist_logs'
|
|
152
|
+
yield @b if block_given?
|
|
152
153
|
self
|
|
153
154
|
end
|
|
154
155
|
def require_indexes
|
|
155
|
-
b.append ' --require_indexes'
|
|
156
|
-
yield b if block_given?
|
|
156
|
+
@b.append ' --require_indexes'
|
|
157
|
+
yield @b if block_given?
|
|
157
158
|
self
|
|
158
159
|
end
|
|
159
160
|
def show_mail_body
|
|
160
|
-
b.append ' --show_mail_body'
|
|
161
|
-
yield b if block_given?
|
|
161
|
+
@b.append ' --show_mail_body'
|
|
162
|
+
yield @b if block_given?
|
|
162
163
|
self
|
|
163
164
|
end
|
|
164
165
|
def skip_sdk_update_check
|
|
165
|
-
b.append ' --skip_sdk_update_check'
|
|
166
|
-
yield b if block_given?
|
|
166
|
+
@b.append ' --skip_sdk_update_check'
|
|
167
|
+
yield @b if block_given?
|
|
167
168
|
self
|
|
168
169
|
end
|
|
169
170
|
def smtp_host(hostname)
|
|
170
|
-
b.append " --smtp_host=#{b.format hostname}"
|
|
171
|
-
yield b if block_given?
|
|
171
|
+
@b.append " --smtp_host=#{@b.format hostname}"
|
|
172
|
+
yield @b if block_given?
|
|
172
173
|
self
|
|
173
174
|
end
|
|
174
175
|
def smtp_port(port)
|
|
175
|
-
b.append " --smtp_port=#{b.format port}"
|
|
176
|
-
yield b if block_given?
|
|
176
|
+
@b.append " --smtp_port=#{@b.format port}"
|
|
177
|
+
yield @b if block_given?
|
|
177
178
|
self
|
|
178
179
|
end
|
|
179
180
|
def smtp_user(user)
|
|
180
|
-
b.append " --smtp_user=#{b.format user}"
|
|
181
|
-
yield b if block_given?
|
|
181
|
+
@b.append " --smtp_user=#{@b.format user}"
|
|
182
|
+
yield @b if block_given?
|
|
182
183
|
self
|
|
183
184
|
end
|
|
184
185
|
def smtp_password(password)
|
|
185
|
-
b.append " --smtp_password=#{b.format password}"
|
|
186
|
-
yield b if block_given?
|
|
186
|
+
@b.append " --smtp_password=#{@b.format password}"
|
|
187
|
+
yield @b if block_given?
|
|
187
188
|
self
|
|
188
189
|
end
|
|
189
190
|
def task_retry_seconds
|
|
190
|
-
b.append ' --task_retry_seconds'
|
|
191
|
-
yield b if block_given?
|
|
191
|
+
@b.append ' --task_retry_seconds'
|
|
192
|
+
yield @b if block_given?
|
|
192
193
|
self
|
|
193
194
|
end
|
|
194
195
|
def use_sqlite
|
|
195
|
-
b.append ' --use_sqlite'
|
|
196
|
-
yield b if block_given?
|
|
196
|
+
@b.append ' --use_sqlite'
|
|
197
|
+
yield @b if block_given?
|
|
197
198
|
self
|
|
198
199
|
end
|
|
199
200
|
end
|
|
@@ -7,6 +7,7 @@ module FluentCommandBuilder
|
|
|
7
7
|
end
|
|
8
8
|
module DevAppserverPython
|
|
9
9
|
module V17
|
|
10
|
+
VERSION = '1.7'
|
|
10
11
|
def self.create(application_root=nil)
|
|
11
12
|
b = UnderlyingBuilder.new FluentCommandBuilder::DevAppserverPython::COMMAND_NAME
|
|
12
13
|
c = DevAppserverPython.new(b, application_root)
|
|
@@ -19,181 +20,181 @@ module FluentCommandBuilder
|
|
|
19
20
|
class DevAppserverPython < CommandBase
|
|
20
21
|
def initialize(underlying_builder, application_root=nil)
|
|
21
22
|
super underlying_builder
|
|
22
|
-
b.append " #{b.format application_root}" unless application_root.nil?
|
|
23
|
+
@b.append " #{@b.format application_root}" unless application_root.nil?
|
|
23
24
|
end
|
|
24
25
|
def application_root(application_root)
|
|
25
|
-
b.append " #{b.format application_root}"
|
|
26
|
-
yield b if block_given?
|
|
26
|
+
@b.append " #{@b.format application_root}"
|
|
27
|
+
yield @b if block_given?
|
|
27
28
|
self
|
|
28
29
|
end
|
|
29
30
|
def address(address)
|
|
30
|
-
b.append " --address=#{b.format address}"
|
|
31
|
-
yield b if block_given?
|
|
31
|
+
@b.append " --address=#{@b.format address}"
|
|
32
|
+
yield @b if block_given?
|
|
32
33
|
self
|
|
33
34
|
end
|
|
34
35
|
def clear_datastore
|
|
35
|
-
b.append ' --clear_datastore'
|
|
36
|
-
yield b if block_given?
|
|
36
|
+
@b.append ' --clear_datastore'
|
|
37
|
+
yield @b if block_given?
|
|
37
38
|
self
|
|
38
39
|
end
|
|
39
40
|
def debug
|
|
40
|
-
b.append ' --debug'
|
|
41
|
-
yield b if block_given?
|
|
41
|
+
@b.append ' --debug'
|
|
42
|
+
yield @b if block_given?
|
|
42
43
|
self
|
|
43
44
|
end
|
|
44
45
|
def help
|
|
45
|
-
b.append ' --help'
|
|
46
|
-
yield b if block_given?
|
|
46
|
+
@b.append ' --help'
|
|
47
|
+
yield @b if block_given?
|
|
47
48
|
self
|
|
48
49
|
end
|
|
49
50
|
def port(port)
|
|
50
|
-
b.append " --port=#{b.format port}"
|
|
51
|
-
yield b if block_given?
|
|
51
|
+
@b.append " --port=#{@b.format port}"
|
|
52
|
+
yield @b if block_given?
|
|
52
53
|
self
|
|
53
54
|
end
|
|
54
55
|
def allow_skipped_files
|
|
55
|
-
b.append ' --allow_skipped_files'
|
|
56
|
-
yield b if block_given?
|
|
56
|
+
@b.append ' --allow_skipped_files'
|
|
57
|
+
yield @b if block_given?
|
|
57
58
|
self
|
|
58
59
|
end
|
|
59
60
|
def auth_domain
|
|
60
|
-
b.append ' --auth_domain'
|
|
61
|
-
yield b if block_given?
|
|
61
|
+
@b.append ' --auth_domain'
|
|
62
|
+
yield @b if block_given?
|
|
62
63
|
self
|
|
63
64
|
end
|
|
64
65
|
def backends
|
|
65
|
-
b.append ' --backends'
|
|
66
|
-
yield b if block_given?
|
|
66
|
+
@b.append ' --backends'
|
|
67
|
+
yield @b if block_given?
|
|
67
68
|
self
|
|
68
69
|
end
|
|
69
70
|
def blobstore_path(dir)
|
|
70
|
-
b.append " --blobstore_path=#{b.format dir}"
|
|
71
|
-
yield b if block_given?
|
|
71
|
+
@b.append " --blobstore_path=#{@b.format dir}"
|
|
72
|
+
yield @b if block_given?
|
|
72
73
|
self
|
|
73
74
|
end
|
|
74
75
|
def clear_prospective_search
|
|
75
|
-
b.append ' --clear_prospective_search'
|
|
76
|
-
yield b if block_given?
|
|
76
|
+
@b.append ' --clear_prospective_search'
|
|
77
|
+
yield @b if block_given?
|
|
77
78
|
self
|
|
78
79
|
end
|
|
79
80
|
def datastore_path(ds_file)
|
|
80
|
-
b.append " --datastore_path=#{b.format ds_file}"
|
|
81
|
-
yield b if block_given?
|
|
81
|
+
@b.append " --datastore_path=#{@b.format ds_file}"
|
|
82
|
+
yield @b if block_given?
|
|
82
83
|
self
|
|
83
84
|
end
|
|
84
85
|
def debug_imports
|
|
85
|
-
b.append ' --debug_imports'
|
|
86
|
-
yield b if block_given?
|
|
86
|
+
@b.append ' --debug_imports'
|
|
87
|
+
yield @b if block_given?
|
|
87
88
|
self
|
|
88
89
|
end
|
|
89
90
|
def default_partition
|
|
90
|
-
b.append ' --default_partition'
|
|
91
|
-
yield b if block_given?
|
|
91
|
+
@b.append ' --default_partition'
|
|
92
|
+
yield @b if block_given?
|
|
92
93
|
self
|
|
93
94
|
end
|
|
94
95
|
def disable_static_caching
|
|
95
|
-
b.append ' --disable_static_caching'
|
|
96
|
-
yield b if block_given?
|
|
96
|
+
@b.append ' --disable_static_caching'
|
|
97
|
+
yield @b if block_given?
|
|
97
98
|
self
|
|
98
99
|
end
|
|
99
100
|
def disable_task_running
|
|
100
|
-
b.append ' --disable_task_running'
|
|
101
|
-
yield b if block_given?
|
|
101
|
+
@b.append ' --disable_task_running'
|
|
102
|
+
yield @b if block_given?
|
|
102
103
|
self
|
|
103
104
|
end
|
|
104
105
|
def enable_sendmail
|
|
105
|
-
b.append ' --enable_sendmail'
|
|
106
|
-
yield b if block_given?
|
|
106
|
+
@b.append ' --enable_sendmail'
|
|
107
|
+
yield @b if block_given?
|
|
107
108
|
self
|
|
108
109
|
end
|
|
109
110
|
def high_replication
|
|
110
|
-
b.append ' --high_replication'
|
|
111
|
-
yield b if block_given?
|
|
111
|
+
@b.append ' --high_replication'
|
|
112
|
+
yield @b if block_given?
|
|
112
113
|
self
|
|
113
114
|
end
|
|
114
115
|
def history_path(path)
|
|
115
|
-
b.append " --history_path=#{b.format path}"
|
|
116
|
-
yield b if block_given?
|
|
116
|
+
@b.append " --history_path=#{@b.format path}"
|
|
117
|
+
yield @b if block_given?
|
|
117
118
|
self
|
|
118
119
|
end
|
|
119
120
|
def multiprocess_min_port
|
|
120
|
-
b.append ' --multiprocess_min_port'
|
|
121
|
-
yield b if block_given?
|
|
121
|
+
@b.append ' --multiprocess_min_port'
|
|
122
|
+
yield @b if block_given?
|
|
122
123
|
self
|
|
123
124
|
end
|
|
124
125
|
def mysql_host(hostname)
|
|
125
|
-
b.append " --mysql_host=#{b.format hostname}"
|
|
126
|
-
yield b if block_given?
|
|
126
|
+
@b.append " --mysql_host=#{@b.format hostname}"
|
|
127
|
+
yield @b if block_given?
|
|
127
128
|
self
|
|
128
129
|
end
|
|
129
130
|
def mysql_port(port)
|
|
130
|
-
b.append " --mysql_port=#{b.format port}"
|
|
131
|
-
yield b if block_given?
|
|
131
|
+
@b.append " --mysql_port=#{@b.format port}"
|
|
132
|
+
yield @b if block_given?
|
|
132
133
|
self
|
|
133
134
|
end
|
|
134
135
|
def mysql_user(user)
|
|
135
|
-
b.append " --mysql_user=#{b.format user}"
|
|
136
|
-
yield b if block_given?
|
|
136
|
+
@b.append " --mysql_user=#{@b.format user}"
|
|
137
|
+
yield @b if block_given?
|
|
137
138
|
self
|
|
138
139
|
end
|
|
139
140
|
def mysql_password(password)
|
|
140
|
-
b.append " --mysql_password=#{b.format password}"
|
|
141
|
-
yield b if block_given?
|
|
141
|
+
@b.append " --mysql_password=#{@b.format password}"
|
|
142
|
+
yield @b if block_given?
|
|
142
143
|
self
|
|
143
144
|
end
|
|
144
145
|
def mysql_socket(path)
|
|
145
|
-
b.append " --mysql_socket=#{b.format path}"
|
|
146
|
-
yield b if block_given?
|
|
146
|
+
@b.append " --mysql_socket=#{@b.format path}"
|
|
147
|
+
yield @b if block_given?
|
|
147
148
|
self
|
|
148
149
|
end
|
|
149
150
|
def persist_logs
|
|
150
|
-
b.append ' --persist_logs'
|
|
151
|
-
yield b if block_given?
|
|
151
|
+
@b.append ' --persist_logs'
|
|
152
|
+
yield @b if block_given?
|
|
152
153
|
self
|
|
153
154
|
end
|
|
154
155
|
def require_indexes
|
|
155
|
-
b.append ' --require_indexes'
|
|
156
|
-
yield b if block_given?
|
|
156
|
+
@b.append ' --require_indexes'
|
|
157
|
+
yield @b if block_given?
|
|
157
158
|
self
|
|
158
159
|
end
|
|
159
160
|
def show_mail_body
|
|
160
|
-
b.append ' --show_mail_body'
|
|
161
|
-
yield b if block_given?
|
|
161
|
+
@b.append ' --show_mail_body'
|
|
162
|
+
yield @b if block_given?
|
|
162
163
|
self
|
|
163
164
|
end
|
|
164
165
|
def skip_sdk_update_check
|
|
165
|
-
b.append ' --skip_sdk_update_check'
|
|
166
|
-
yield b if block_given?
|
|
166
|
+
@b.append ' --skip_sdk_update_check'
|
|
167
|
+
yield @b if block_given?
|
|
167
168
|
self
|
|
168
169
|
end
|
|
169
170
|
def smtp_host(hostname)
|
|
170
|
-
b.append " --smtp_host=#{b.format hostname}"
|
|
171
|
-
yield b if block_given?
|
|
171
|
+
@b.append " --smtp_host=#{@b.format hostname}"
|
|
172
|
+
yield @b if block_given?
|
|
172
173
|
self
|
|
173
174
|
end
|
|
174
175
|
def smtp_port(port)
|
|
175
|
-
b.append " --smtp_port=#{b.format port}"
|
|
176
|
-
yield b if block_given?
|
|
176
|
+
@b.append " --smtp_port=#{@b.format port}"
|
|
177
|
+
yield @b if block_given?
|
|
177
178
|
self
|
|
178
179
|
end
|
|
179
180
|
def smtp_user(user)
|
|
180
|
-
b.append " --smtp_user=#{b.format user}"
|
|
181
|
-
yield b if block_given?
|
|
181
|
+
@b.append " --smtp_user=#{@b.format user}"
|
|
182
|
+
yield @b if block_given?
|
|
182
183
|
self
|
|
183
184
|
end
|
|
184
185
|
def smtp_password(password)
|
|
185
|
-
b.append " --smtp_password=#{b.format password}"
|
|
186
|
-
yield b if block_given?
|
|
186
|
+
@b.append " --smtp_password=#{@b.format password}"
|
|
187
|
+
yield @b if block_given?
|
|
187
188
|
self
|
|
188
189
|
end
|
|
189
190
|
def task_retry_seconds
|
|
190
|
-
b.append ' --task_retry_seconds'
|
|
191
|
-
yield b if block_given?
|
|
191
|
+
@b.append ' --task_retry_seconds'
|
|
192
|
+
yield @b if block_given?
|
|
192
193
|
self
|
|
193
194
|
end
|
|
194
195
|
def use_sqlite
|
|
195
|
-
b.append ' --use_sqlite'
|
|
196
|
-
yield b if block_given?
|
|
196
|
+
@b.append ' --use_sqlite'
|
|
197
|
+
yield @b if block_given?
|
|
197
198
|
self
|
|
198
199
|
end
|
|
199
200
|
end
|