capun 0.0.20 → 0.0.21
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.
- checksums.yaml +4 -4
- data/lib/capun/setup.rb +2 -2
- data/lib/capun/version.rb +1 -1
- data/lib/generators/capun/templates/newrelic.yml.erb +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: cc0ce1f777dea389e1103e4e681f6a375112330a
|
|
4
|
+
data.tar.gz: 538ae522fab16aa074c65f3a47a1ec92c15d4c6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c3d5ba0609a97927b2d2bf16c7b1367c00d93abeba673d73490fbea9efd2fc29eafc1efaa9a7a7da53493722c6cf6ea61fa8868ea5baad7b3865d57294e4b7b
|
|
7
|
+
data.tar.gz: 702ce0ed6523421fb0d828a7246c599734fb15b1f41f9b1cc9eafca90417703cb6f43bbeb6e60c9db1ccba7e415b0f164a508f01f05ceb2b961bb297f4f302df
|
data/lib/capun/setup.rb
CHANGED
|
@@ -12,7 +12,7 @@ set :pty, false
|
|
|
12
12
|
set :keep_releases, 2
|
|
13
13
|
set :bundle_flags, "--quiet"
|
|
14
14
|
|
|
15
|
-
set :linked_dirs, %w{
|
|
15
|
+
set :linked_dirs, %w{log tmp/pids tmp/cache tmp/sockets public/system}
|
|
16
16
|
set :unicorn_config_path, -> { "#{shared_path}/config/unicorn.config.rb" }
|
|
17
17
|
|
|
18
18
|
set :uploads, []
|
|
@@ -67,7 +67,7 @@ namespace :deploy do
|
|
|
67
67
|
on roles(:app) do |server|
|
|
68
68
|
#create /home/[user]/apps/[app]/shared/config directory, if it doesn't exist yet
|
|
69
69
|
execute :mkdir, "-p", "#{shared_path}/config"
|
|
70
|
-
execute :sudo, :chown, "#{fetch(:user)}:#{fetch(:user)}", "#{shared_path}/config
|
|
70
|
+
execute :sudo, :chown, "-R", "#{fetch(:user)}:#{fetch(:user)}", "#{shared_path}/config/."
|
|
71
71
|
uploads = fetch(:uploads).concat(fetch(:std_uploads))
|
|
72
72
|
uploads.each do |file_hash|
|
|
73
73
|
what = file_hash[:what]
|
data/lib/capun/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capun
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Zamylin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|