deployer_files 0.0.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # DeployerGenerators
1
+ # Deployer Files
2
2
 
3
- Useful generators for creating files needed to deployment in way Ryan Bytes shows in his Railscasts.
4
- Created for my enviroment, but maybe useful if you planning to write something similar :-)
3
+ Useful generator for creating files needed to application deployment in way Ryan Bytes shows in his Railscasts.
4
+ Created for my enviroment, but may be useful if you goint to write something similar :-)
5
5
 
6
6
  ## Installation
7
7
 
8
8
  Add this line to your application's Gemfile:
9
9
 
10
- gem 'deployer_generators'
10
+ gem 'deployer_files'
11
11
 
12
12
  And then execute:
13
13
 
@@ -15,7 +15,7 @@ And then execute:
15
15
 
16
16
  Or install it yourself as:
17
17
 
18
- $ gem install deployer_generators
18
+ $ gem install deployer_files
19
19
 
20
20
  ## Usage
21
21
 
Binary file
@@ -1,3 +1,3 @@
1
1
  module DeployerFiles
2
- VERSION = "0.0.2"
2
+ VERSION = "1.0.0"
3
3
  end
@@ -6,18 +6,16 @@ server {
6
6
  listen 80;
7
7
  server_name <%= application_host %>;
8
8
 
9
- root <%= app_path %>/public;
9
+ root <%= app_path %>/current/public;
10
10
 
11
- try_files $uri/index.html $uri @<%= app_name %>;
12
-
13
- location ~ ^/(assets)/ {
11
+ location ^~ /assets/ {
14
12
  gzip_static on;
15
13
  expires max;
16
- add_header Cache-Controll public;
17
- add_header ETag "";
18
- break;
14
+ add_header Cache-Control public;
19
15
  }
20
16
 
17
+ try_files $uri/index.html $uri @<%= app_name %>;
18
+
21
19
  location @<%= app_name %> {
22
20
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
23
21
  proxy_set_header Host $http_host;
@@ -0,0 +1,2 @@
1
+ require 'bundler/setup'
2
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployer_files
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-25 00:00:00.000000000 Z
12
+ date: 2012-04-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Useful generators for creating files needed to deployment in way Ryan
15
15
  Bytes shows in his Railscasts.
@@ -25,6 +25,7 @@ files:
25
25
  - LICENSE
26
26
  - README.md
27
27
  - Rakefile
28
+ - deployer_files-0.0.1.gem
28
29
  - deployer_files.gemspec
29
30
  - lib/deployer_files/version.rb
30
31
  - lib/generators/deployer/files/USAGE
@@ -34,6 +35,7 @@ files:
34
35
  - lib/generators/deployer/files/templates/nginx.conf
35
36
  - lib/generators/deployer/files/templates/unicorn.rb
36
37
  - lib/generators/deployer/files/templates/unicorn_init.sh
38
+ - test/test_helper.rb
37
39
  homepage: ''
38
40
  licenses: []
39
41
  post_install_message:
@@ -59,4 +61,5 @@ signing_key:
59
61
  specification_version: 3
60
62
  summary: Useful generators for creating files needed to deployment in way Ryan Bytes
61
63
  shows in his Railscasts.
62
- test_files: []
64
+ test_files:
65
+ - test/test_helper.rb