shelly 0.4.35 → 0.4.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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 +18 -8
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38bef5b682a08b32dc16b8c9f53bfa315c7519b9
|
4
|
+
data.tar.gz: c237d97ce913a8fa7a257a476f47c1b4b370cc2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ae8c903c04f1eea25044b9bd75061f8992487734fc8718fea4f63835a66e0e12d6e5ffb4ea77500714b2a8cb03ec59f9ca7f9177547e50ab284b0fecf3bd42
|
7
|
+
data.tar.gz: 538eb932812a5f9c9bda35ce94b95966aacd8ee65bed9c5614134f3c3bfe9baba5f5976432fb586b2dab8a117dcc4fdbaae9e347c7a0bbb4af3c71b7f070e8e8
|
data/CHANGELOG.md
CHANGED
data/lib/shelly/cli/deploy.rb
CHANGED
@@ -67,6 +67,9 @@ module Shelly
|
|
67
67
|
if content["clockwork"]
|
68
68
|
say("Starting clockwork", :green); say(content["clockwork"])
|
69
69
|
end
|
70
|
+
if content["processes"]
|
71
|
+
say("Starting processes", :green); say(content["processes"])
|
72
|
+
end
|
70
73
|
if content["thin_restart"]
|
71
74
|
say("Starting thin", :green); say(content["thin_restart"])
|
72
75
|
end
|
data/lib/shelly/version.rb
CHANGED
@@ -115,6 +115,8 @@ describe Shelly::CLI::Deploy do
|
|
115
115
|
$stdout.should_receive(:puts).with("sidekiq workers")
|
116
116
|
$stdout.should_receive(:puts).with(green "Starting clockwork")
|
117
117
|
$stdout.should_receive(:puts).with("clockwork output")
|
118
|
+
$stdout.should_receive(:puts).with(green "Starting processes")
|
119
|
+
$stdout.should_receive(:puts).with("processes output")
|
118
120
|
$stdout.should_receive(:puts).with(green "Starting thin")
|
119
121
|
$stdout.should_receive(:puts).with("thins up and running")
|
120
122
|
$stdout.should_receive(:puts).with(green "Starting puma")
|
@@ -130,14 +132,22 @@ describe Shelly::CLI::Deploy do
|
|
130
132
|
|
131
133
|
def response
|
132
134
|
{
|
133
|
-
"created_at"
|
134
|
-
"
|
135
|
-
"
|
136
|
-
"
|
137
|
-
"
|
138
|
-
"
|
139
|
-
"
|
140
|
-
"
|
135
|
+
"created_at" => "2011-12-12 at 14:14:59",
|
136
|
+
"bundle_install" => "Installing gems",
|
137
|
+
"whenever" => "Looking up schedule.rb",
|
138
|
+
"thin_restart" => "thins up and running",
|
139
|
+
"puma_restart" => "pumas up and running",
|
140
|
+
"delayed_job" => "delayed jobs",
|
141
|
+
"sidekiq" => "sidekiq workers",
|
142
|
+
"db_migrate" => "rake db:migrate",
|
143
|
+
"after_restart" => "after restart hook",
|
144
|
+
"before_restart" => "before restart hook",
|
145
|
+
"before_symlink" => "before symlink hook",
|
146
|
+
"before_migrate" => "before migrate hook",
|
147
|
+
"after_successful_deploy_hook" => "after successful deploy hook",
|
148
|
+
"on_restart" => "on restart hook",
|
149
|
+
"clockwork" => "clockwork output",
|
150
|
+
"processes" => "processes output"
|
141
151
|
}
|
142
152
|
end
|
143
153
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shelly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shelly Cloud team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -353,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
353
|
version: '0'
|
354
354
|
requirements: []
|
355
355
|
rubyforge_project: shelly
|
356
|
-
rubygems_version: 2.
|
356
|
+
rubygems_version: 2.4.1
|
357
357
|
signing_key:
|
358
358
|
specification_version: 4
|
359
359
|
summary: Shelly Cloud command line tool
|