matross 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTAzNWJkYmUwZGJjY2Y5N2I3ZjU5NDBhYmJjY2IwOWJiZDRlMmYwYQ==
4
+ MjA3ODRjMThlMzYzOTgxZGE5OTg0NTQ4NDNjZjcyODQxYjNlMmU1Nw==
5
5
  data.tar.gz: !binary |-
6
- NjZiMDIyM2RhZGIzMTZjZDI1MTlkYjI3ZWM4MTcxMjEwZDg2YjdmMQ==
6
+ OWUzYWRkYmFjOGU2ZmE3OGQwMTVmNjUwY2MwZDcyMDU5OGFjZDkzMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmZmMGE5MTUwZWJlYWRlYWMxNTAyNjQwZTlmMTgyMWE0NmM1MWU5YmNmNzEz
10
- ZDZkOWY1ZDE1OWE3MTgzYzM0Y2VmMzMxZjFhNTQzMDAwYTlmM2IwNWYyYjQ2
11
- ZmZiYzBiMGVjZWRhYTZjZWFkMjNhZGU0NjU4Nzc3YjliNTc5NmM=
9
+ ZDJiNjU2M2U1ZTg5ZmQwNDUwODgxZjU1ZDNhY2VjNmQ4YjU2Y2U2MmRiYjgx
10
+ M2ZmMzY0ODNjYTVlOGU5ODY4MWUxNTlkODQ5OTEwNWFlN2JkNWY0ZmQ5N2E3
11
+ ODFmN2I3ZWE3MDcyNzI3ZTg5YzVhYWIxNTU5NmVlYTIwOTJmOTE=
12
12
  data.tar.gz: !binary |-
13
- MzFlZTRjYjk4YWJhZmFlZTUyNTcwMGQ2OTcyZGM3MTI3NjM0YzI0ODc2ZjQw
14
- OWI5MGY4MWZkZDQ4YzRjZTBlOWNlNGYzZWE2MmIyMDMxZjVmYzRkMGQxZTVm
15
- Y2EyOTI2YTc4ZTUzYjYyNmZiZjQ4Njc3MDYxYTIwYWFmNzA5ZWE=
13
+ MzA1MjBkNDdiMDE3ODExNDA5YzY3ZDU0ZWVjNjhhOTVjNDExZjg0ZGVlN2Yx
14
+ MjRkNDM5YjA0M2I5YTVkMGYxNTJkODhhOTM4M2Y1YmU4ZWVlNDM3ZWRkN2Zj
15
+ N2Q4MmM2NDU1YjJhNDQyMGQ1NzQ4OTI0YWRlNjFmYThlNWRlYmM=
data/README.md CHANGED
@@ -114,6 +114,8 @@ Procfile task: `web: bundle exec unicorn -c <%= unicorn_config %> -E <%= rails_e
114
114
 
115
115
  This recipes creates and configures the virtual_host for the application. [This virtual host] has some sane defaults, suitable for most of our deployments (non-SSL). The file is created at `/etc/nginx/sites-available` and symlinked to `/etc/nginx/sites-enabled`. These are the defaults for the Nginx installation in Ubuntu. You can take a look at [our general `nginx.conf`](https://github.com/innvent/parcelles/blob/puppet/puppet/modules/nginx/files/nginx.conf).
116
116
 
117
+ Overwritable template: [`nginx_virtual_host_conf.erb`](lib/matross/templates/nginx/nginx_virtual_host_conf.erb)
118
+
117
119
  > Variables
118
120
 
119
121
  | Variable | Default value | Description |
@@ -121,8 +123,6 @@ This recipes creates and configures the virtual_host for the application. [This
121
123
  | `:htpasswd` | None | `htpasswd` user:password format |
122
124
  | `:nginx_default_server` | `false` | Sets the vhost for the specified stage as the default |
123
125
 
124
-
125
-
126
126
  > Tasks
127
127
 
128
128
  | Task | Description |
data/lib/matross/nginx.rb CHANGED
@@ -5,7 +5,7 @@ namespace :nginx do
5
5
  desc "Setup application in nginx"
6
6
  task :setup, :roles => :web do
7
7
  template "nginx/nginx_virtual_host_conf.erb", "/tmp/nginx_virtual_host_conf"
8
- run "#{sudo} mv /nginx_virtual_host_conf /etc/nginx/sites-available/#{application}"
8
+ run "#{sudo} mv /tmp/nginx_virtual_host_conf /etc/nginx/sites-available/#{application}"
9
9
  run "#{sudo} ln -fs /etc/nginx/sites-available/#{application} /etc/nginx/sites-enabled/#{application}"
10
10
  end
11
11
  after "deploy:setup", "nginx:setup"
@@ -1,3 +1,3 @@
1
1
  module Matross
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: matross
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artur Rodrigues
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-15 00:00:00.000000000 Z
12
+ date: 2014-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler