capistrano-thin 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/README.md +6 -0
- data/capistrano-thin.gemspec +1 -1
- data/lib/capistrano/tasks/thin.cap +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 260dc2501ae158e6f23b2f035659480aabc07e8b
|
4
|
+
data.tar.gz: cddffc08de6535b12f0965421584f88afa93d85c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2355fe1f58a0b0cc0babc364139d48a5a59b22b14ea3927ed7fbafce6b095c833944ffde5087e43f12ad7d1c1c6fe4eb1312727d0c82bb2afdd3970d229f103
|
7
|
+
data.tar.gz: 7d78a2c4e339b37ce544c4241d6ef49060ee2153bec9a2b35ce8cf0ba6b1886a3d2166c33acaaffa294f6f34933654a851024711e8771656b215a5131da37415
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -18,6 +18,12 @@ but you can also specify custom config file using `set` e.g.
|
|
18
18
|
set :thin_config_path, -> { "#{shared_path}/config/thin.yml" }
|
19
19
|
```
|
20
20
|
|
21
|
+
By default, thin will be executed with :app role. But you can assign it to a different role:
|
22
|
+
|
23
|
+
```ruby
|
24
|
+
set :thin_roles, [:my_role]
|
25
|
+
```
|
26
|
+
|
21
27
|
## Installation
|
22
28
|
|
23
29
|
Add this line to your application's Gemfile:
|
data/capistrano-thin.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "capistrano-thin"
|
7
|
-
spec.version = "2.0.
|
7
|
+
spec.version = "2.0.1"
|
8
8
|
spec.authors = ["Alessandro Lepore"]
|
9
9
|
spec.email = ["a.lepore@freegoweb.it"]
|
10
10
|
spec.summary = %q{Thin tasks for Capistrano 3.x}
|
@@ -4,7 +4,7 @@ namespace :thin do
|
|
4
4
|
commands.each do |command|
|
5
5
|
desc "thin #{command}"
|
6
6
|
task command do
|
7
|
-
on roles(:app), in: :sequence, wait: 5 do
|
7
|
+
on roles(fetch(:thin_roles, :app)), in: :sequence, wait: 5 do
|
8
8
|
within current_path do
|
9
9
|
config_file = fetch(:thin_config_path, "config/thin/#{fetch(:stage)}.yml")
|
10
10
|
execute :bundle, "exec thin #{command} -C #{config_file}"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-thin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alessandro Lepore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|