shelly 0.1.15 → 0.1.16
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/shelly/cli/main.rb +12 -3
- data/lib/shelly/version.rb +1 -1
- data/shelly.gemspec +1 -1
- data/spec/shelly/cli/main_spec.rb +1 -1
- metadata +4 -4
data/lib/shelly/cli/main.rb
CHANGED
@@ -202,7 +202,15 @@ We have been notified about it. We will be adding new resources shortly}
|
|
202
202
|
exit 1
|
203
203
|
end
|
204
204
|
|
205
|
-
desc "setup", "Set up
|
205
|
+
desc "setup", "Set up git remotes for deployment on Shelly Cloud"
|
206
|
+
long_desc %{
|
207
|
+
Set up git remotes for deployment on Shelly Cloud.
|
208
|
+
|
209
|
+
When an application is cloned from a git repository (for example from Github)
|
210
|
+
shelly setup will set up git remotes needed for deployment on Shelly Cloud.
|
211
|
+
|
212
|
+
Application must have Cloudfile in the repository.
|
213
|
+
}
|
206
214
|
method_option :cloud, :type => :string, :aliases => "-c", :desc => "Specify cloud"
|
207
215
|
def setup
|
208
216
|
app = multiple_clouds(options[:cloud], "setup")
|
@@ -279,9 +287,10 @@ We have been notified about it. We will be adding new resources shortly}
|
|
279
287
|
|
280
288
|
if options[:tail]
|
281
289
|
loop do
|
282
|
-
logs = app.application_logs(:from => logs['range']['last'],
|
290
|
+
logs = app.application_logs(:from => logs['range']['last'],
|
291
|
+
:source => options[:source])
|
283
292
|
print_logs(logs)
|
284
|
-
sleep
|
293
|
+
sleep 0.5
|
285
294
|
end
|
286
295
|
end
|
287
296
|
rescue Client::APIException => e
|
data/lib/shelly/version.rb
CHANGED
data/shelly.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_runtime_dependency "progressbar"
|
30
30
|
s.add_runtime_dependency "grit"
|
31
31
|
s.add_runtime_dependency "launchy"
|
32
|
-
s.add_runtime_dependency "shelly-dependencies", "~> 0.
|
32
|
+
s.add_runtime_dependency "shelly-dependencies", "~> 0.2.1"
|
33
33
|
|
34
34
|
s.files = `git ls-files`.split("\n")
|
35
35
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -45,7 +45,7 @@ Tasks:
|
|
45
45
|
shelly rake TASK # Run rake task
|
46
46
|
shelly redeploy # Redeploy application
|
47
47
|
shelly register [EMAIL] # Register new account
|
48
|
-
shelly setup # Set up
|
48
|
+
shelly setup # Set up git remotes for deployment on Shelly Cloud
|
49
49
|
shelly start # Start the cloud
|
50
50
|
shelly stop # Shutdown the cloud
|
51
51
|
shelly user <command> # Manage collaborators
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-07-
|
12
|
+
date: 2012-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -258,7 +258,7 @@ dependencies:
|
|
258
258
|
requirements:
|
259
259
|
- - ~>
|
260
260
|
- !ruby/object:Gem::Version
|
261
|
-
version: 0.
|
261
|
+
version: 0.2.1
|
262
262
|
type: :runtime
|
263
263
|
prerelease: false
|
264
264
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -266,7 +266,7 @@ dependencies:
|
|
266
266
|
requirements:
|
267
267
|
- - ~>
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
version: 0.
|
269
|
+
version: 0.2.1
|
270
270
|
description: Tool for managing applications and clouds at shellycloud.com
|
271
271
|
email:
|
272
272
|
- support@shellycloud.com
|