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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 203e694479ee12c39d1a51a83db5d9831c6cdd21
4
- data.tar.gz: 8f58f6ba7c15b8026177a347b7499a878374d444
3
+ metadata.gz: 0ceb12f105b5f35f3c93cfac0400bee6570ab3ce
4
+ data.tar.gz: 4e0d8522b8a966612d0a25a86a46dceebc4041ab
5
5
  SHA512:
6
- metadata.gz: 16b497525286740960f09df567336824e94475e8e5498dc3daf5194701cb8fa7d4e08e0cdd692264896c869bf2d46abfa0b1bdc5ac3bd04c12f13a76f62fa013
7
- data.tar.gz: 44f137ed65ecd6862941d7dbd07f2ca6e3ed46bbe09f770e7a89126bd23392e63ec1189042f7a5cd9e97cc78fa695196a33732d7fafa3b6e23393fa5d411d0b5
6
+ metadata.gz: 8bf8998aa7232c3ea88f999d9b87b86b69fb6d1556605f9b67e4bfa7dd38b04648200583e8a866dbb51cd5d6e44a1a729d3944eae38317564b735fe5fc07830e
7
+ data.tar.gz: 8e5cc376a09e32dcc875cd79017fb59f99d9ef5b5701e4662a8c58952de8daccc962f2184c986ccc0026a7a4daf69582ceed0a53e084a21e10bebc78c7eceaae
@@ -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 'solo.rb.erb', 'config/deploys/chef/solo.rb'
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
 
@@ -1,3 +1,3 @@
1
1
  module Pushapp
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
@@ -0,0 +1,8 @@
1
+ cookbook_path ["cookbooks", "site-cookbooks"]
2
+ node_path "nodes"
3
+ role_path "roles"
4
+ environment_path "environments"
5
+ data_bag_path "data_bags"
6
+ #encrypted_data_bag_secret "data_bag_key"
7
+
8
+ knife[:berkshelf_path] = "cookbooks"
@@ -14,13 +14,14 @@ server {
14
14
 
15
15
  root <%=app_path%>/public;
16
16
 
17
- location /assets {
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
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-06-27 00:00:00.000000000 Z
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
@@ -1,6 +0,0 @@
1
- file_cache_path '/tmp/chef-solo'
2
- data_bag_path '/tmp/chef-solo/data_bags'
3
- encrypted_data_bag_secret '/tmp/chef-solo/data_bag_key'
4
- cookbook_path [ '/tmp/chef-solo/site-cookbooks',
5
- '/tmp/chef-solo/cookbooks' ]
6
- role_path '/tmp/chef-solo/roles'