fluent_command_builder 0.3.3 → 0.4.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.
@@ -3,6 +3,7 @@ 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/dev_appserver_python_16.rb')
|
6
7
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/dotcover_10.rb')
|
7
8
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/dotcover_11.rb')
|
8
9
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/dotcover_12.rb')
|
@@ -0,0 +1,198 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
3
|
+
|
4
|
+
module FluentCommandBuilder
|
5
|
+
module DevAppserverPython
|
6
|
+
module V16
|
7
|
+
COMMAND_NAME = 'dev_appserver.py'
|
8
|
+
class DevAppserverPython < CommandBase
|
9
|
+
def initialize(builder, application_root)
|
10
|
+
super builder
|
11
|
+
@builder.append " #{@builder.format application_root}"
|
12
|
+
end
|
13
|
+
def address(address)
|
14
|
+
@builder.append " --address=#{@builder.format address}"
|
15
|
+
yield @builder if block_given?
|
16
|
+
self
|
17
|
+
end
|
18
|
+
def clear_datastore
|
19
|
+
@builder.append ' --clear_datastore'
|
20
|
+
yield @builder if block_given?
|
21
|
+
self
|
22
|
+
end
|
23
|
+
def debug
|
24
|
+
@builder.append ' --debug'
|
25
|
+
yield @builder if block_given?
|
26
|
+
self
|
27
|
+
end
|
28
|
+
def help
|
29
|
+
@builder.append ' --help'
|
30
|
+
yield @builder if block_given?
|
31
|
+
self
|
32
|
+
end
|
33
|
+
def port(port)
|
34
|
+
@builder.append " --port=#{@builder.format port}"
|
35
|
+
yield @builder if block_given?
|
36
|
+
self
|
37
|
+
end
|
38
|
+
def allow_skipped_files
|
39
|
+
@builder.append ' --allow_skipped_files'
|
40
|
+
yield @builder if block_given?
|
41
|
+
self
|
42
|
+
end
|
43
|
+
def auth_domain
|
44
|
+
@builder.append ' --auth_domain'
|
45
|
+
yield @builder if block_given?
|
46
|
+
self
|
47
|
+
end
|
48
|
+
def backends
|
49
|
+
@builder.append ' --backends'
|
50
|
+
yield @builder if block_given?
|
51
|
+
self
|
52
|
+
end
|
53
|
+
def blobstore_path(dir)
|
54
|
+
@builder.append " --blobstore_path=#{@builder.format dir}"
|
55
|
+
yield @builder if block_given?
|
56
|
+
self
|
57
|
+
end
|
58
|
+
def clear_prospective_search
|
59
|
+
@builder.append ' --clear_prospective_search'
|
60
|
+
yield @builder if block_given?
|
61
|
+
self
|
62
|
+
end
|
63
|
+
def datastore_path(ds_file)
|
64
|
+
@builder.append " --datastore_path=#{@builder.format ds_file}"
|
65
|
+
yield @builder if block_given?
|
66
|
+
self
|
67
|
+
end
|
68
|
+
def debug_imports
|
69
|
+
@builder.append ' --debug_imports'
|
70
|
+
yield @builder if block_given?
|
71
|
+
self
|
72
|
+
end
|
73
|
+
def default_partition
|
74
|
+
@builder.append ' --default_partition'
|
75
|
+
yield @builder if block_given?
|
76
|
+
self
|
77
|
+
end
|
78
|
+
def disable_static_caching
|
79
|
+
@builder.append ' --disable_static_caching'
|
80
|
+
yield @builder if block_given?
|
81
|
+
self
|
82
|
+
end
|
83
|
+
def disable_task_running
|
84
|
+
@builder.append ' --disable_task_running'
|
85
|
+
yield @builder if block_given?
|
86
|
+
self
|
87
|
+
end
|
88
|
+
def enable_sendmail
|
89
|
+
@builder.append ' --enable_sendmail'
|
90
|
+
yield @builder if block_given?
|
91
|
+
self
|
92
|
+
end
|
93
|
+
def high_replication
|
94
|
+
@builder.append ' --high_replication'
|
95
|
+
yield @builder if block_given?
|
96
|
+
self
|
97
|
+
end
|
98
|
+
def history_path(path)
|
99
|
+
@builder.append " --history_path=#{@builder.format path}"
|
100
|
+
yield @builder if block_given?
|
101
|
+
self
|
102
|
+
end
|
103
|
+
def multiprocess_min_port
|
104
|
+
@builder.append ' --multiprocess_min_port'
|
105
|
+
yield @builder if block_given?
|
106
|
+
self
|
107
|
+
end
|
108
|
+
def mysql_host(hostname)
|
109
|
+
@builder.append " --mysql_host=#{@builder.format hostname}"
|
110
|
+
yield @builder if block_given?
|
111
|
+
self
|
112
|
+
end
|
113
|
+
def mysql_port(port)
|
114
|
+
@builder.append " --mysql_port=#{@builder.format port}"
|
115
|
+
yield @builder if block_given?
|
116
|
+
self
|
117
|
+
end
|
118
|
+
def mysql_user(user)
|
119
|
+
@builder.append " --mysql_user=#{@builder.format user}"
|
120
|
+
yield @builder if block_given?
|
121
|
+
self
|
122
|
+
end
|
123
|
+
def mysql_password(password)
|
124
|
+
@builder.append " --mysql_password=#{@builder.format password}"
|
125
|
+
yield @builder if block_given?
|
126
|
+
self
|
127
|
+
end
|
128
|
+
def mysql_socket(path)
|
129
|
+
@builder.append " --mysql_socket=#{@builder.format path}"
|
130
|
+
yield @builder if block_given?
|
131
|
+
self
|
132
|
+
end
|
133
|
+
def persist_logs
|
134
|
+
@builder.append ' --persist_logs'
|
135
|
+
yield @builder if block_given?
|
136
|
+
self
|
137
|
+
end
|
138
|
+
def require_indexes
|
139
|
+
@builder.append ' --require_indexes'
|
140
|
+
yield @builder if block_given?
|
141
|
+
self
|
142
|
+
end
|
143
|
+
def show_mail_body
|
144
|
+
@builder.append ' --show_mail_body'
|
145
|
+
yield @builder if block_given?
|
146
|
+
self
|
147
|
+
end
|
148
|
+
def skip_sdk_update_check
|
149
|
+
@builder.append ' --skip_sdk_update_check'
|
150
|
+
yield @builder if block_given?
|
151
|
+
self
|
152
|
+
end
|
153
|
+
def smtp_host(hostname)
|
154
|
+
@builder.append " --smtp_host=#{@builder.format hostname}"
|
155
|
+
yield @builder if block_given?
|
156
|
+
self
|
157
|
+
end
|
158
|
+
def smtp_port(port)
|
159
|
+
@builder.append " --smtp_port=#{@builder.format port}"
|
160
|
+
yield @builder if block_given?
|
161
|
+
self
|
162
|
+
end
|
163
|
+
def smtp_user(user)
|
164
|
+
@builder.append " --smtp_user=#{@builder.format user}"
|
165
|
+
yield @builder if block_given?
|
166
|
+
self
|
167
|
+
end
|
168
|
+
def smtp_password(password)
|
169
|
+
@builder.append " --smtp_password=#{@builder.format password}"
|
170
|
+
yield @builder if block_given?
|
171
|
+
self
|
172
|
+
end
|
173
|
+
def task_retry_seconds
|
174
|
+
@builder.append ' --task_retry_seconds'
|
175
|
+
yield @builder if block_given?
|
176
|
+
self
|
177
|
+
end
|
178
|
+
def use_sqlite
|
179
|
+
@builder.append ' --use_sqlite'
|
180
|
+
yield @builder if block_given?
|
181
|
+
self
|
182
|
+
end
|
183
|
+
end
|
184
|
+
def dev_appserver_python(application_root)
|
185
|
+
builder = CommandBuilder.new COMMAND_NAME
|
186
|
+
command = DevAppserverPython.new builder, application_root
|
187
|
+
yield builder if block_given?
|
188
|
+
command
|
189
|
+
end
|
190
|
+
end
|
191
|
+
end
|
192
|
+
def dev_appserver_python_16(application_root)
|
193
|
+
builder = CommandBuilder.new DevAppserverPython::V16::COMMAND_NAME
|
194
|
+
command = DevAppserverPython::V16::DevAppserverPython.new builder, application_root
|
195
|
+
yield builder if block_given?
|
196
|
+
command
|
197
|
+
end
|
198
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent_command_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
16
|
-
requirement: &
|
16
|
+
requirement: &70164419256400 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70164419256400
|
25
25
|
description: A command line builder with a fluent interface written in Ruby.
|
26
26
|
email: matthew-github@matthewriley.name
|
27
27
|
executables: []
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb
|
36
36
|
- lib/fluent_command_builder/command_builders/bundle_11.rb
|
37
37
|
- lib/fluent_command_builder/command_builders/cucumber_11.rb
|
38
|
+
- lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb
|
38
39
|
- lib/fluent_command_builder/command_builders/dotcover_10.rb
|
39
40
|
- lib/fluent_command_builder/command_builders/dotcover_11.rb
|
40
41
|
- lib/fluent_command_builder/command_builders/dotcover_12.rb
|