capistrano-generals 0.1.6 → 0.1.7

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: c5e57a16544bbd49b10dad7f8cfb9dd62ab69ed1
4
- data.tar.gz: baa7acb4e3203391187fd1c21f63d4db5c6d5729
3
+ metadata.gz: fd25022b977cbf054bfef2ac71474c8ebd904de6
4
+ data.tar.gz: 882fb888cbbcfb36d34233fc7ffc8331c1fbe1e3
5
5
  SHA512:
6
- metadata.gz: 58780943a33a415f348922db65c40dc18cd2366b675a2b21ddc94763269148b2a9060f905285ea06f1dbdffe523c176d1f1cc7e71ec384edf8112e3d384b75b4
7
- data.tar.gz: 12c53e959ae704971b1a372b45497f100d987827a9cffced84884407c2756e4a9cb4ebce17f7041de86087cbbb736d3129f81fea2a2039795869b73b502c91df
6
+ metadata.gz: 61f155fcdf51bbc1096da0bb4502754e5a587b405f8503b0b39372b5fb2c90720ffa699abb16a4d07a849e4a95cda0d6007b3464e80665d4b63b0d20cbe00431
7
+ data.tar.gz: f4eab882f44f229da1cd94e136fa4e86bbf84b966064150ef9c8f92e2b6d7ee1177493f60931bb91401acf213ebd03c107eadf2c646906a819eef75a15833dbe
data/README.md CHANGED
@@ -1,7 +1,6 @@
1
1
  # Capistrano::Generals
2
2
 
3
- Capistrano tasks that are used quite often.
4
- Push your code to git, upload stage specific config files.
3
+ Let capistrano take care of all your server setup. Upload stage specific config files and automated setup of nxing, puma, unicorn and sidekiq.
5
4
 
6
5
  ## Installation
7
6
 
@@ -18,6 +17,10 @@ And then execute:
18
17
 
19
18
  $ bundle install
20
19
 
20
+ Create the capistrano `Capfile` if neccecary:
21
+
22
+ $ bundle exec cap install
23
+
21
24
  And add this to the `Capfile`:
22
25
 
23
26
  ```ruby
@@ -33,13 +36,6 @@ namespace :deploy do
33
36
  before :deploy, 'git:push'
34
37
  before :deploy, 'deploy:symlink:upload_linked_files'
35
38
  before :deploy, 'setup'
36
-
37
- # after :deploy, 'unicorn:restart'
38
- # after :rollback, 'unicorn:restart'
39
- # after :deploy, 'nginx:restart'
40
- # after :rollback, 'nginx:restart'
41
- # after :deploy, 'sidekiq:restart'
42
- # after :rollback, 'sidekiq:restart'
43
39
  end
44
40
  ```
45
41
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["stef.schenkelaars@gmail.com"]
11
11
  spec.summary = "Some general capistrano tasks which are commonly used"
12
12
  spec.description = "Some general capistrano tasks which are commonly used"
13
- spec.homepage = ""
13
+ spec.homepage = "https://github.com/StefSchenkelaars/capistrano-generals"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0")
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Generals
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
@@ -84,7 +84,9 @@ server {
84
84
  listen 80;
85
85
  <% end %>
86
86
 
87
+ <% if fetch(:nginx_x_frame_options) %>
87
88
  add_header X-Frame-Options <%= fetch(:nginx_x_frame_options) %>;
89
+ <% end %>
88
90
 
89
91
  <% # FILE HANDLING %>
90
92
  <% if fetch(:use_unicorn) %>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-generals
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stef Schenkelaars
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-24 00:00:00.000000000 Z
11
+ date: 2016-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -93,7 +93,7 @@ files:
93
93
  - lib/generators/capistrano/generals/templates/unicorn.rb.erb
94
94
  - lib/generators/capistrano/generals/templates/unicorn_init.sh.erb
95
95
  - lib/generators/capistrano/generals/unicorn_generator.rb
96
- homepage: ''
96
+ homepage: https://github.com/StefSchenkelaars/capistrano-generals
97
97
  licenses:
98
98
  - MIT
99
99
  metadata: {}
@@ -113,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
113
  version: '0'
114
114
  requirements: []
115
115
  rubyforge_project:
116
- rubygems_version: 2.4.6
116
+ rubygems_version: 2.5.0
117
117
  signing_key:
118
118
  specification_version: 4
119
119
  summary: Some general capistrano tasks which are commonly used