vermillion-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.hound.yml +2 -0
- data/.rubocop.yml +320 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +26 -0
- data/README.md +55 -0
- data/Rakefile +10 -0
- data/bin/setup +7 -0
- data/bin/vermillion +16 -0
- data/doc/ChangeBranchTest.html +240 -0
- data/doc/ConfigurationTest.html +277 -0
- data/doc/CreateTest.html +240 -0
- data/doc/Gemfile.html +145 -0
- data/doc/Gemfile_lock.html +173 -0
- data/doc/README_md.html +216 -0
- data/doc/Rakefile.html +151 -0
- data/doc/UpdateTest.html +280 -0
- data/doc/Vermillion.html +272 -0
- data/doc/Vermillion/Cfg.html +362 -0
- data/doc/Vermillion/Controller.html +185 -0
- data/doc/Vermillion/Controller/Base.html +503 -0
- data/doc/Vermillion/Controller/Change.html +301 -0
- data/doc/Vermillion/Controller/Create.html +301 -0
- data/doc/Vermillion/Controller/Firstrun.html +256 -0
- data/doc/Vermillion/Controller/Status.html +308 -0
- data/doc/Vermillion/Controller/Update.html +326 -0
- data/doc/Vermillion/Helper.html +252 -0
- data/doc/Vermillion/Helper/ApiCommunication.html +307 -0
- data/doc/Vermillion/Helper/Endpoint.html +506 -0
- data/doc/Vermillion/Helper/Formatting.html +250 -0
- data/doc/Vermillion/Helper/Network.html +304 -0
- data/doc/Vermillion/Helper/Results.html +341 -0
- data/doc/Vermillion/Helper/Time.html +295 -0
- data/doc/Vermillion/Request.html +332 -0
- data/doc/Vermillion/Router.html +351 -0
- data/doc/Vermillion/Test.html +183 -0
- data/doc/Vermillion/Test/Base.html +260 -0
- data/doc/Vermillion/Utils.html +247 -0
- data/doc/bin/setup.html +147 -0
- data/doc/created.rid +33 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +138 -0
- data/doc/js/darkfish.js +155 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +94 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +595 -0
- data/doc/table_of_contents.html +255 -0
- data/doc/vermillion-client_gemspec.html +166 -0
- data/lib/client.rb +35 -0
- data/lib/client/config.rb +58 -0
- data/lib/client/controller.rb +68 -0
- data/lib/client/controller/change.rb +26 -0
- data/lib/client/controller/create.rb +26 -0
- data/lib/client/controller/firstrun.rb +30 -0
- data/lib/client/controller/status.rb +43 -0
- data/lib/client/controller/update.rb +26 -0
- data/lib/client/helper.rb +21 -0
- data/lib/client/helper/apicommunication.rb +78 -0
- data/lib/client/helper/endpoint.rb +61 -0
- data/lib/client/helper/formatting.rb +23 -0
- data/lib/client/helper/network.rb +54 -0
- data/lib/client/helper/results.rb +28 -0
- data/lib/client/helper/time.rb +33 -0
- data/lib/client/request.rb +22 -0
- data/lib/client/router.rb +56 -0
- data/lib/client/utils.rb +18 -0
- data/lib/client/version.rb +4 -0
- data/lib/test.rb +13 -0
- data/lib/test/base.rb +17 -0
- data/test/test_change_branch.rb +14 -0
- data/test/test_configuration.rb +21 -0
- data/test/test_create.rb +14 -0
- data/test/test_update.rb +24 -0
- data/vermillion-client.gemspec +23 -0
- metadata +201 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8dd273f5d6b64ec4441a6777bc91955953da226c
|
4
|
+
data.tar.gz: 5cc6633e4b9d43638e6e680e366f2d4c2fdf0570
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 974980ab8ea1ca576ee3aa1a425e3c927f20ca6205a354745ad3a746ba7bd7df7dfee6b5a28755f0b95d85dd4400d07e232be1fffd97c5cb2c59ad628195c375
|
7
|
+
data.tar.gz: da52455cfd9f0e0e27407838e3704bce056014266815178ca59d4866982a5ada4cf60d9dba04155e6eb8abe15de248683d528c893beb7ec14a4c982ee610152e
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.gem
|
data/.hound.yml
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,320 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2016-07-26 11:49:15 -0600 using RuboCop version 0.42.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
Lint/DeprecatedClassMethods:
|
12
|
+
Exclude:
|
13
|
+
- 'lib/evertils/common/entity/notebooks.rb'
|
14
|
+
|
15
|
+
# Offense count: 1
|
16
|
+
Lint/ShadowingOuterLocalVariable:
|
17
|
+
Exclude:
|
18
|
+
- 'lib/evertils/test/base.rb'
|
19
|
+
|
20
|
+
# Offense count: 1
|
21
|
+
# Configuration parameters: ContextCreatingMethods.
|
22
|
+
Lint/UselessAccessModifier:
|
23
|
+
Exclude:
|
24
|
+
- 'lib/evertils/common/authentication.rb'
|
25
|
+
|
26
|
+
# Offense count: 9
|
27
|
+
Lint/UselessAssignment:
|
28
|
+
Exclude:
|
29
|
+
- 'lib/evertils/common/entity/note.rb'
|
30
|
+
- 'lib/evertils/common/query/simple.rb'
|
31
|
+
|
32
|
+
# Offense count: 10
|
33
|
+
Metrics/AbcSize:
|
34
|
+
Max: 46
|
35
|
+
|
36
|
+
# Offense count: 2
|
37
|
+
# Configuration parameters: CountComments.
|
38
|
+
Metrics/ClassLength:
|
39
|
+
Max: 117
|
40
|
+
|
41
|
+
# Offense count: 2
|
42
|
+
Metrics/CyclomaticComplexity:
|
43
|
+
Max: 20
|
44
|
+
|
45
|
+
# Offense count: 65
|
46
|
+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
47
|
+
# URISchemes: http, https
|
48
|
+
Metrics/LineLength:
|
49
|
+
Max: 176
|
50
|
+
|
51
|
+
# Offense count: 13
|
52
|
+
# Configuration parameters: CountComments.
|
53
|
+
Metrics/MethodLength:
|
54
|
+
Max: 45
|
55
|
+
|
56
|
+
# Offense count: 2
|
57
|
+
# Configuration parameters: CountKeywordArgs.
|
58
|
+
Metrics/ParameterLists:
|
59
|
+
Max: 6
|
60
|
+
|
61
|
+
# Offense count: 1
|
62
|
+
Metrics/PerceivedComplexity:
|
63
|
+
Max: 11
|
64
|
+
|
65
|
+
# Offense count: 2
|
66
|
+
# Cop supports --auto-correct.
|
67
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
68
|
+
# SupportedStyles: prefer_alias, prefer_alias_method
|
69
|
+
Style/Alias:
|
70
|
+
Exclude:
|
71
|
+
- 'lib/evertils/common/entity/note.rb'
|
72
|
+
- 'lib/evertils/common/entity/notes.rb'
|
73
|
+
|
74
|
+
# Offense count: 1
|
75
|
+
Style/ClassVars:
|
76
|
+
Exclude:
|
77
|
+
- 'lib/evertils/test/base.rb'
|
78
|
+
|
79
|
+
# Offense count: 6
|
80
|
+
# Cop supports --auto-correct.
|
81
|
+
Style/ColonMethodCall:
|
82
|
+
Exclude:
|
83
|
+
- 'lib/evertils/common/converter/yaml_to_enml.rb'
|
84
|
+
- 'lib/evertils/common/entity/note.rb'
|
85
|
+
- 'lib/evertils/common/entity/notebooks.rb'
|
86
|
+
- 'lib/evertils/common/entity/stack.rb'
|
87
|
+
- 'lib/evertils/test/base.rb'
|
88
|
+
|
89
|
+
# Offense count: 1
|
90
|
+
# Cop supports --auto-correct.
|
91
|
+
# Configuration parameters: Keywords.
|
92
|
+
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
|
93
|
+
Style/CommentAnnotation:
|
94
|
+
Exclude:
|
95
|
+
- 'Rakefile'
|
96
|
+
|
97
|
+
# Offense count: 3
|
98
|
+
# Cop supports --auto-correct.
|
99
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
|
100
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
101
|
+
Style/ConditionalAssignment:
|
102
|
+
Exclude:
|
103
|
+
- 'lib/evertils/common/manager/note.rb'
|
104
|
+
- 'lib/evertils/common/manager/notebook.rb'
|
105
|
+
- 'lib/evertils/common/manager/tag.rb'
|
106
|
+
|
107
|
+
# Offense count: 25
|
108
|
+
Style/Documentation:
|
109
|
+
Enabled: false
|
110
|
+
|
111
|
+
# Offense count: 1
|
112
|
+
# Cop supports --auto-correct.
|
113
|
+
Style/EmptyLines:
|
114
|
+
Exclude:
|
115
|
+
- 'Rakefile'
|
116
|
+
|
117
|
+
# Offense count: 3
|
118
|
+
# Cop supports --auto-correct.
|
119
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
120
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
121
|
+
Style/EmptyLinesAroundClassBody:
|
122
|
+
Exclude:
|
123
|
+
- 'lib/evertils/common/converter/yaml_to_enml.rb'
|
124
|
+
- 'lib/evertils/test/base.rb'
|
125
|
+
|
126
|
+
# Offense count: 4
|
127
|
+
# Cop supports --auto-correct.
|
128
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
129
|
+
# SupportedStyles: empty_lines, no_empty_lines
|
130
|
+
Style/EmptyLinesAroundModuleBody:
|
131
|
+
Exclude:
|
132
|
+
- 'lib/evertils/common.rb'
|
133
|
+
- 'lib/evertils/test.rb'
|
134
|
+
|
135
|
+
# Offense count: 2
|
136
|
+
# Cop supports --auto-correct.
|
137
|
+
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
138
|
+
Style/ExtraSpacing:
|
139
|
+
Exclude:
|
140
|
+
- 'Rakefile'
|
141
|
+
- 'lib/evertils/test/base.rb'
|
142
|
+
|
143
|
+
# Offense count: 1
|
144
|
+
# Configuration parameters: MinBodyLength.
|
145
|
+
Style/GuardClause:
|
146
|
+
Exclude:
|
147
|
+
- 'lib/evertils/common/authentication.rb'
|
148
|
+
|
149
|
+
# Offense count: 5
|
150
|
+
# Cop supports --auto-correct.
|
151
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
152
|
+
# SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets
|
153
|
+
Style/HashSyntax:
|
154
|
+
Exclude:
|
155
|
+
- 'Rakefile'
|
156
|
+
- 'lib/evertils/common/authentication.rb'
|
157
|
+
|
158
|
+
# Offense count: 3
|
159
|
+
# Cop supports --auto-correct.
|
160
|
+
# Configuration parameters: MaxLineLength.
|
161
|
+
Style/IfUnlessModifier:
|
162
|
+
Exclude:
|
163
|
+
- 'Rakefile'
|
164
|
+
- 'lib/evertils/common/authentication.rb'
|
165
|
+
|
166
|
+
# Offense count: 2
|
167
|
+
# Cop supports --auto-correct.
|
168
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
169
|
+
# SupportedStyles: normal, rails
|
170
|
+
Style/IndentationConsistency:
|
171
|
+
Exclude:
|
172
|
+
- 'lib/evertils/common/converter/yaml_to_enml.rb'
|
173
|
+
|
174
|
+
# Offense count: 1
|
175
|
+
# Cop supports --auto-correct.
|
176
|
+
Style/LeadingCommentSpace:
|
177
|
+
Exclude:
|
178
|
+
- 'test/test_notes.rb'
|
179
|
+
|
180
|
+
# Offense count: 3
|
181
|
+
# Cop supports --auto-correct.
|
182
|
+
Style/MethodCallParentheses:
|
183
|
+
Exclude:
|
184
|
+
- 'lib/evertils/common/enml.rb'
|
185
|
+
|
186
|
+
# Offense count: 10
|
187
|
+
# Cop supports --auto-correct.
|
188
|
+
Style/NegatedIf:
|
189
|
+
Exclude:
|
190
|
+
- 'lib/evertils/common/enml.rb'
|
191
|
+
- 'lib/evertils/common/entity/note.rb'
|
192
|
+
- 'lib/evertils/common/entity/notebook.rb'
|
193
|
+
- 'lib/evertils/common/entity/notebooks.rb'
|
194
|
+
- 'lib/evertils/common/entity/stack.rb'
|
195
|
+
- 'lib/evertils/common/query/time.rb'
|
196
|
+
- 'lib/evertils/test/base.rb'
|
197
|
+
|
198
|
+
# Offense count: 16
|
199
|
+
# Cop supports --auto-correct.
|
200
|
+
# Configuration parameters: EnforcedOctalStyle, SupportedOctalStyles.
|
201
|
+
# SupportedOctalStyles: zero_with_o, zero_only
|
202
|
+
Style/NumericLiteralPrefix:
|
203
|
+
Exclude:
|
204
|
+
- 'test/test_notes.rb'
|
205
|
+
- 'test/test_time_queries.rb'
|
206
|
+
|
207
|
+
# Offense count: 1
|
208
|
+
# Cop supports --auto-correct.
|
209
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
210
|
+
# SupportedStyles: predicate, comparison
|
211
|
+
Style/NumericPredicate:
|
212
|
+
Exclude:
|
213
|
+
- 'lib/evertils/common/entity/notes.rb'
|
214
|
+
|
215
|
+
# Offense count: 1
|
216
|
+
# Cop supports --auto-correct.
|
217
|
+
# Configuration parameters: PreferredDelimiters.
|
218
|
+
Style/PercentLiteralDelimiters:
|
219
|
+
Exclude:
|
220
|
+
- 'evertils-common.gemspec'
|
221
|
+
|
222
|
+
# Offense count: 1
|
223
|
+
# Cop supports --auto-correct.
|
224
|
+
Style/PerlBackrefs:
|
225
|
+
Exclude:
|
226
|
+
- 'lib/evertils/common/kernel.rb'
|
227
|
+
|
228
|
+
# Offense count: 3
|
229
|
+
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
230
|
+
# NamePrefix: is_, has_, have_
|
231
|
+
# NamePrefixBlacklist: is_, has_, have_
|
232
|
+
# NameWhitelist: is_a?
|
233
|
+
Style/PredicateName:
|
234
|
+
Exclude:
|
235
|
+
- 'spec/**/*'
|
236
|
+
- 'lib/evertils/common.rb'
|
237
|
+
- 'lib/evertils/common/generic.rb'
|
238
|
+
- 'lib/evertils/test.rb'
|
239
|
+
|
240
|
+
# Offense count: 7
|
241
|
+
# Cop supports --auto-correct.
|
242
|
+
Style/RedundantBegin:
|
243
|
+
Exclude:
|
244
|
+
- 'lib/evertils/common/authentication.rb'
|
245
|
+
- 'lib/evertils/common/entity/note.rb'
|
246
|
+
- 'lib/evertils/common/entity/notebooks.rb'
|
247
|
+
- 'lib/evertils/common/entity/stack.rb'
|
248
|
+
- 'lib/evertils/common/query/simple.rb'
|
249
|
+
|
250
|
+
# Offense count: 1
|
251
|
+
# Cop supports --auto-correct.
|
252
|
+
Style/RedundantSelf:
|
253
|
+
Exclude:
|
254
|
+
- 'lib/evertils/common/kernel.rb'
|
255
|
+
|
256
|
+
# Offense count: 3
|
257
|
+
# Cop supports --auto-correct.
|
258
|
+
# Configuration parameters: AllowForAlignment.
|
259
|
+
Style/SpaceAroundOperators:
|
260
|
+
Exclude:
|
261
|
+
- 'Rakefile'
|
262
|
+
- 'lib/evertils/common/authentication.rb'
|
263
|
+
- 'lib/evertils/test/base.rb'
|
264
|
+
|
265
|
+
# Offense count: 114
|
266
|
+
# Cop supports --auto-correct.
|
267
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
|
268
|
+
# SupportedStyles: single_quotes, double_quotes
|
269
|
+
Style/StringLiterals:
|
270
|
+
Enabled: false
|
271
|
+
|
272
|
+
# Offense count: 2
|
273
|
+
# Cop supports --auto-correct.
|
274
|
+
# Configuration parameters: IgnoredMethods.
|
275
|
+
# IgnoredMethods: respond_to, define_method
|
276
|
+
Style/SymbolProc:
|
277
|
+
Exclude:
|
278
|
+
- 'lib/evertils/common/converter/yaml_to_enml.rb'
|
279
|
+
- 'lib/evertils/common/enml.rb'
|
280
|
+
|
281
|
+
# Offense count: 32
|
282
|
+
# Cop supports --auto-correct.
|
283
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
284
|
+
# SupportedStyles: final_newline, final_blank_line
|
285
|
+
Style/TrailingBlankLines:
|
286
|
+
Enabled: false
|
287
|
+
|
288
|
+
# Offense count: 1
|
289
|
+
# Cop supports --auto-correct.
|
290
|
+
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
291
|
+
# SupportedStyles: comma, consistent_comma, no_comma
|
292
|
+
Style/TrailingCommaInLiteral:
|
293
|
+
Exclude:
|
294
|
+
- 'lib/evertils/common/authentication.rb'
|
295
|
+
|
296
|
+
# Offense count: 1
|
297
|
+
# Cop supports --auto-correct.
|
298
|
+
Style/TrailingWhitespace:
|
299
|
+
Exclude:
|
300
|
+
- 'lib/evertils/common/converter/yaml_to_enml.rb'
|
301
|
+
|
302
|
+
# Offense count: 2
|
303
|
+
# Cop supports --auto-correct.
|
304
|
+
Style/UnneededPercentQ:
|
305
|
+
Exclude:
|
306
|
+
- 'evertils-common.gemspec'
|
307
|
+
|
308
|
+
# Offense count: 8
|
309
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
310
|
+
# SupportedStyles: snake_case, camelCase
|
311
|
+
Style/VariableName:
|
312
|
+
Exclude:
|
313
|
+
- 'lib/evertils/common/authentication.rb'
|
314
|
+
|
315
|
+
# Offense count: 5
|
316
|
+
# Cop supports --auto-correct.
|
317
|
+
Style/ZeroLengthPredicate:
|
318
|
+
Exclude:
|
319
|
+
- 'lib/evertils/common/authentication.rb'
|
320
|
+
- 'lib/evertils/test/base.rb'
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
vermillion-client (0.3.0)
|
5
|
+
mime-types
|
6
|
+
notifaction
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
mime-types (3.0)
|
12
|
+
mime-types-data (~> 3.2015)
|
13
|
+
mime-types-data (3.2016.0221)
|
14
|
+
notifaction (0.0.9)
|
15
|
+
rake (10.4.2)
|
16
|
+
|
17
|
+
PLATFORMS
|
18
|
+
ruby
|
19
|
+
|
20
|
+
DEPENDENCIES
|
21
|
+
bundler (~> 1.10)
|
22
|
+
rake (~> 10.0)
|
23
|
+
vermillion-client!
|
24
|
+
|
25
|
+
BUNDLED WITH
|
26
|
+
1.11.2
|
data/README.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# vermillion-client
|
2
|
+
|
3
|
+
Interact with your [vermillion-server](https://github.com/aapis/vermillion-server) instances.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
`gem install vermillion-client`
|
8
|
+
|
9
|
+
If no `~/.vermillion.yml` file is present, the application will attempt to create on before anything else so you don't have to create this file. You do have to update it with real information, here is an example.
|
10
|
+
|
11
|
+
```yml
|
12
|
+
servers:
|
13
|
+
-
|
14
|
+
name: domain1
|
15
|
+
address: domain2.com
|
16
|
+
https: false
|
17
|
+
key: SHA_HASH
|
18
|
+
-
|
19
|
+
name: local
|
20
|
+
address: localhost:8000
|
21
|
+
https: false
|
22
|
+
key: DIFFERENT_SHA_HASH
|
23
|
+
-
|
24
|
+
name: domain2
|
25
|
+
address: domain2.com
|
26
|
+
https: true
|
27
|
+
user:
|
28
|
+
test@example.com
|
29
|
+
```
|
30
|
+
|
31
|
+
## Supported Commands
|
32
|
+
|
33
|
+
### change
|
34
|
+
|
35
|
+
Change branches on the requested server.
|
36
|
+
|
37
|
+
`vermillion change branch local/domain1 -t my-feature-branch`
|
38
|
+
|
39
|
+
### status
|
40
|
+
|
41
|
+
Prints information about `vermillion`, including the app's configuration data and a list of the servers the client can access.
|
42
|
+
|
43
|
+
`vermillion status`
|
44
|
+
|
45
|
+
### update
|
46
|
+
|
47
|
+
Quite simply, executes `git-pull` in the requested project.
|
48
|
+
|
49
|
+
`vermillion update one local/domain1`
|
50
|
+
|
51
|
+
### create
|
52
|
+
|
53
|
+
Create a new directory on the server.
|
54
|
+
|
55
|
+
`vermillion create one local/domain4`
|
data/Rakefile
ADDED
data/bin/setup
ADDED
data/bin/vermillion
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# fix load path
|
4
|
+
lib = File.expand_path('../../lib', __FILE__)
|
5
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
|
7
|
+
require "client"
|
8
|
+
|
9
|
+
# Modify configuration options here
|
10
|
+
app = Vermillion::Cfg.new
|
11
|
+
# Bootstrap!
|
12
|
+
app.bootstrap!
|
13
|
+
|
14
|
+
# Config file located, route the request
|
15
|
+
req = Vermillion::Router.new(app)
|
16
|
+
req.route
|