capistrano-o2web-recipes 0.0.6 → 0.0.7

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: b0e3597cb961fe40f1c5aa5341cc3af65c60d2fe
4
- data.tar.gz: 14f87363001d4e0f30fbb84244412f6901d56252
3
+ metadata.gz: 409018e429c809606655699c0f0fb34c09945e15
4
+ data.tar.gz: 0307eb033ccafa9f0463abbe18d71e344cd4e43d
5
5
  SHA512:
6
- metadata.gz: a19669eba1b9efdc809d7a8f05c111d63b79d2aa4a5032572cf343efa365edc519bf6d9b01453915f1a90e7e38ddb02361931fce8a19baea13ad3ae8d3520a68
7
- data.tar.gz: 2dcf021595e88ae0d1ef3764c6dc2968a71a5e5348d14ce9ec3c016451894a71e0ff30971760bb61f688588defe4fb5bbf1d3ddc725535edd683879c4621e2b7
6
+ metadata.gz: d03bd541cd21b664560f255e0eb66f0f3014009593366122c62816ccf95814e9dbab049b802c0f792048e7b086cc96170b050e523a25f3fce81fd1eef1980382
7
+ data.tar.gz: 86be34715957f5842776bc933f6529d4efb200780ccb64f1c0e7ab6221996decb1d81297040b15e7d9379b5973a1da3eb5e504a5e4c3b461bd800dbdb87a6cc6
@@ -1,6 +1,5 @@
1
1
  module Capistrano
2
2
  module O2webRecipes
3
- VERSION = "0.0.6"
4
- RAILS_VERSION = "4.2"
3
+ VERSION = "0.0.7"
5
4
  end
6
5
  end
@@ -1,5 +1,16 @@
1
1
  require 'erb'
2
2
 
3
+ namespace :load do
4
+ task :defaults do
5
+ set :files_public_dirs, ['system']
6
+ set :files_private_dirs, []
7
+
8
+ set :nginx_workers, 1
9
+ set :nginx_assets_dirs, %w[assets system]
10
+ set :nginx_max_body_size, '10m'
11
+ end
12
+ end
13
+
3
14
  Rake::Task["deploy:compile_assets"].clear
4
15
 
5
16
  namespace :deploy do
@@ -33,16 +44,13 @@ namespace :deploy do
33
44
  run_locally { execute "rm -rf #{local_dir}" }
34
45
  end
35
46
  end
36
- end
37
47
 
38
- namespace :load do
39
- task :defaults do
40
- set :files_public_dirs, ['system']
41
- set :files_private_dirs, []
42
-
43
- set :nginx_workers, 1
44
- set :nginx_assets_dirs, %w[assets system]
45
- set :nginx_max_body_size, '10m'
48
+ after :deploy, :touch_cron_log do
49
+ on roles :app do
50
+ within shared_path do
51
+ execute :touch, 'log/cron.log'
52
+ end
53
+ end
46
54
  end
47
55
  end
48
56
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-o2web-recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrice Lebel