capistrano-o2web-recipes 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/capistrano-o2web-recipes.gemspec +0 -1
- data/lib/capistrano/o2web_recipes/version.rb +1 -1
- data/lib/capistrano/tasks/o2web_recipes.rake +2 -0
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc6dbdc1760be25909a18146d763d1896e9899fa
|
4
|
+
data.tar.gz: 18753f4eda472604f656d94d4f023143651a2ffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be158b26146005b3f7a150cd08b9d62947805e3dc6ff6f685d7c3d28d6806b2a864916ca778a081e490bb0467d99c533f8c3479fd8a2795944424a57076a4149
|
7
|
+
data.tar.gz: 326cdc761261f7d066a448186ba416596de525aa9fa69dc5f5bc8cf0b183d1e8188418d7245c02a6acdb0af77dc62710a7ff0a569c2404603719ff13c8a7f31e
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ And then:
|
|
20
20
|
|
21
21
|
### Setup and usage
|
22
22
|
|
23
|
-
Add this line to `Capfile`, after `require 'capistrano/rails/
|
23
|
+
Add this line to `Capfile`, after `require 'capistrano/rails/migrations'`
|
24
24
|
|
25
25
|
require 'capistrano/o2web_recipes'
|
26
26
|
|
@@ -50,15 +50,17 @@ Configurations can be customized in your deploy file with:
|
|
50
50
|
set :server, 'example.com'
|
51
51
|
set :admin_name, 'admin'
|
52
52
|
set :deployer_name, 'deployer'
|
53
|
+
# default to %W[system]
|
53
54
|
set :files_public_dirs, fetch(:files_public_dirs, []).push(*%W[
|
54
|
-
|
55
|
+
spree
|
55
56
|
])
|
57
|
+
# default to []
|
56
58
|
set :files_private_dirs, fetch(:files_private_dirs, []).push(*%W[
|
57
59
|
])
|
58
60
|
set :nginx_workers, 1
|
61
|
+
# default to %W[assets system]
|
59
62
|
set :nginx_assets_dirs, fetch(:nginx_assets_dirs, []).push(*%W[
|
60
|
-
|
61
|
-
system
|
63
|
+
spree
|
62
64
|
])
|
63
65
|
set :nginx_max_body_size, '10m'
|
64
66
|
```
|
@@ -66,6 +68,5 @@ set :nginx_max_body_size, '10m'
|
|
66
68
|
### TODO
|
67
69
|
|
68
70
|
1. Use stages (staging/production) to scope Nginx config file to allow multiple stages on the same server.
|
69
|
-
1. Lose the dependency to capistrano3-nginx gem.
|
70
71
|
1. Log rotate
|
71
72
|
1. Monit
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-o2web-recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrice Lebel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.1'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: capistrano3-nginx
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '2.0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '2.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: yaml_db
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|