pushapp 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pushapp/generators.rb +1 -1
- data/lib/pushapp/version.rb +1 -1
- data/templates/knife.rb.erb +8 -0
- data/templates/unicorn_nginx.conf.erb +2 -1
- metadata +3 -3
- data/templates/solo.rb.erb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ceb12f105b5f35f3c93cfac0400bee6570ab3ce
|
4
|
+
data.tar.gz: 4e0d8522b8a966612d0a25a86a46dceebc4041ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bf8998aa7232c3ea88f999d9b87b86b69fb6d1556605f9b67e4bfa7dd38b04648200583e8a866dbb51cd5d6e44a1a729d3944eae38317564b735fe5fc07830e
|
7
|
+
data.tar.gz: 8e5cc376a09e32dcc875cd79017fb59f99d9ef5b5701e4662a8c58952de8daccc962f2184c986ccc0026a7a4daf69582ceed0a53e084a21e10bebc78c7eceaae
|
data/lib/pushapp/generators.rb
CHANGED
@@ -83,7 +83,7 @@ module Pushapp
|
|
83
83
|
|
84
84
|
template 'Cheffile.erb', 'config/deploys/chef/Cheffile'
|
85
85
|
template 'Vagrantfile.erb', 'config/deploys/chef/Vagrantfile'
|
86
|
-
template '
|
86
|
+
template 'knife.rb.erb', 'config/deploys/chef/.chef/knife.rb'
|
87
87
|
template 'node.json.erb', "config/deploys/chef/nodes/#{app_host}.json"
|
88
88
|
template 'user.json.erb', "config/deploys/chef/data_bags/users/#{app_user}.json"
|
89
89
|
|
data/lib/pushapp/version.rb
CHANGED
@@ -14,13 +14,14 @@ server {
|
|
14
14
|
|
15
15
|
root <%=app_path%>/public;
|
16
16
|
|
17
|
-
location /
|
17
|
+
location ~ ^/(assets|system)/ {
|
18
18
|
location ~ \.(js|css|otf|ttf|eot|woff|svg)$ {
|
19
19
|
gzip_static on; # to serve pre-gzipped version
|
20
20
|
}
|
21
21
|
|
22
22
|
expires max;
|
23
23
|
add_header Cache-Control public;
|
24
|
+
break;
|
24
25
|
}
|
25
26
|
|
26
27
|
try_files $uri/index.html $uri.html $uri @app;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pushapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yury Korolev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -126,8 +126,8 @@ files:
|
|
126
126
|
- templates/hook/git-reset.erb
|
127
127
|
- templates/hook/setup.erb
|
128
128
|
- templates/hook/tasks.erb
|
129
|
+
- templates/knife.rb.erb
|
129
130
|
- templates/node.json.erb
|
130
|
-
- templates/solo.rb.erb
|
131
131
|
- templates/unicorn.rb.erb
|
132
132
|
- templates/unicorn_nginx.conf.erb
|
133
133
|
- templates/unicorn_upstart.erb
|
data/templates/solo.rb.erb
DELETED