shelly 0.2.4 → 0.2.5
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/CHANGELOG.md +4 -0
- data/lib/shelly/cli/deploy.rb +3 -0
- data/lib/shelly/version.rb +1 -1
- data/spec/shelly/cli/deploy_spec.rb +4 -1
- metadata +5 -5
data/CHANGELOG.md
CHANGED
data/lib/shelly/cli/deploy.rb
CHANGED
@@ -51,6 +51,9 @@ module Shelly
|
|
51
51
|
if content["delayed_job"]
|
52
52
|
say("Starting delayed job", :green); say(content["delayed_job"])
|
53
53
|
end
|
54
|
+
if content["sidekiq"]
|
55
|
+
say("Starting sidekiq", :green); say(content["sidekiq"])
|
56
|
+
end
|
54
57
|
if content["thin_restart"]
|
55
58
|
say("Starting thin", :green); say(content["thin_restart"])
|
56
59
|
end
|
data/lib/shelly/version.rb
CHANGED
@@ -96,6 +96,8 @@ describe Shelly::CLI::Deploy do
|
|
96
96
|
$stdout.should_receive(:puts).with("rake db:migrate")
|
97
97
|
$stdout.should_receive(:puts).with(green "Starting delayed job")
|
98
98
|
$stdout.should_receive(:puts).with("delayed jobs")
|
99
|
+
$stdout.should_receive(:puts).with(green "Starting sidekiq")
|
100
|
+
$stdout.should_receive(:puts).with("sidekiq workers")
|
99
101
|
$stdout.should_receive(:puts).with(green "Starting thin")
|
100
102
|
$stdout.should_receive(:puts).with("thins up and running")
|
101
103
|
end
|
@@ -103,7 +105,8 @@ describe Shelly::CLI::Deploy do
|
|
103
105
|
def response
|
104
106
|
{"created_at" => "2011-12-12 at 14:14:59", "bundle_install" => "Installing gems",
|
105
107
|
"whenever" => "Looking up schedule.rb", "thin_restart" => "thins up and running",
|
106
|
-
"delayed_job" => "delayed jobs", "
|
108
|
+
"delayed_job" => "delayed jobs", "sidekiq" => "sidekiq workers",
|
109
|
+
"callbacks" => "rake db:migrate"}
|
107
110
|
end
|
108
111
|
end
|
109
112
|
|
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.2.
|
4
|
+
version: 0.2.5
|
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: 2013-02-
|
12
|
+
date: 2013-02-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -317,7 +317,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
317
317
|
version: '0'
|
318
318
|
segments:
|
319
319
|
- 0
|
320
|
-
hash:
|
320
|
+
hash: 1968045791141033120
|
321
321
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
322
322
|
none: false
|
323
323
|
requirements:
|
@@ -326,10 +326,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
326
326
|
version: '0'
|
327
327
|
segments:
|
328
328
|
- 0
|
329
|
-
hash:
|
329
|
+
hash: 1968045791141033120
|
330
330
|
requirements: []
|
331
331
|
rubyforge_project: shelly
|
332
|
-
rubygems_version: 1.8.
|
332
|
+
rubygems_version: 1.8.25
|
333
333
|
signing_key:
|
334
334
|
specification_version: 3
|
335
335
|
summary: Shelly Cloud command line tool
|