capun 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d466a36a7502af8fdda78544e1b333f655e7f220
4
- data.tar.gz: 8683c2fee0575cac1864c28b1b89bb40e01b01db
3
+ metadata.gz: cc0ce1f777dea389e1103e4e681f6a375112330a
4
+ data.tar.gz: 538ae522fab16aa074c65f3a47a1ec92c15d4c6d
5
5
  SHA512:
6
- metadata.gz: 24251974e58cc2a9b37134523aa8c4d7a86409ea980dabffc9a82ed14a13d068bfd43b361054b6f19ff22be2e26d9679ef1b4db533a1610bb3d73ea5c34f877e
7
- data.tar.gz: 36b3c0b4de39d21e871f10567b208c5ff3f3558d571d1cde8a6f73123636550e8630fa2ee58506f97d9e09072b0350014d68bbe0a473ed82f4105562ca5281b0
6
+ metadata.gz: 9c3d5ba0609a97927b2d2bf16c7b1367c00d93abeba673d73490fbea9efd2fc29eafc1efaa9a7a7da53493722c6cf6ea61fa8868ea5baad7b3865d57294e4b7b
7
+ data.tar.gz: 702ce0ed6523421fb0d828a7246c599734fb15b1f41f9b1cc9eafca90417703cb6f43bbeb6e60c9db1ccba7e415b0f164a508f01f05ceb2b961bb297f4f302df
@@ -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{bin log tmp/pids tmp/cache tmp/sockets public/system}
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]
@@ -1,3 +1,3 @@
1
1
  module Capun
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
@@ -39,6 +39,6 @@ test:
39
39
  # It doesn't make sense to report to New Relic from automated test runs.
40
40
  monitor_mode: false
41
41
 
42
- production:
42
+ <%= fetch(:stage) %>:
43
43
  <<: *default_settings
44
44
  app_name: <%= fetch(:application) %> (Production)
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.20
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-08 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler