capistrano3-unicorn-nginx 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a689222c4386b4d95277b5ddd7dd19a37b2365c
|
4
|
+
data.tar.gz: 06fc11cf6c894976c29f81331182e50ce6dae74b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4a869ea25b864982db869f568b1f114d038afc8cd1d03a914adf6c135d3fd92f70cd9593433a693e0f6fc1950769d0103cabb3522adcc8a285563400012736
|
7
|
+
data.tar.gz: 5354a1a16e2c76a454ee4c47de2c787a0e5962d40ecd73e4b7c1245591b36e4a583a59beb525272076fcf8bf1b981ce87f071ca530a67c575e4f732cda0b92ea
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = 'capistrano3-unicorn-nginx'
|
7
|
-
s.version = '0.0
|
7
|
+
s.version = '0.1.0'
|
8
8
|
s.date = '2019-02-01'
|
9
9
|
s.summary = "Capistrano tasks for automatic and sensible unicorn configuration"
|
10
10
|
s.description = <<-EOF.gsub(/^\s+/, '')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano3-unicorn-nginx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- truongkma
|
@@ -71,7 +71,6 @@ files:
|
|
71
71
|
- lib/capistrano3/tasks/unicorn.rake
|
72
72
|
- lib/capistrano3/unicorn_nginx.rb
|
73
73
|
- lib/capistrano3/unicorn_nginx/helpers.rb
|
74
|
-
- lib/generators/capistrano3/unicorn_nginx/generators/config_generator.rb
|
75
74
|
- lib/generators/capistrano3/unicorn_nginx/templates/nginx_conf.erb
|
76
75
|
- lib/generators/capistrano3/unicorn_nginx/templates/unicorn.rb.erb
|
77
76
|
homepage: https://github.com/truongkma/capistrano3-unicorn-nginx
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Capistrano3
|
2
|
-
module UnicornNginx
|
3
|
-
module Generators
|
4
|
-
class ConfigGenerator < Rails::Generators::Base
|
5
|
-
desc "Create local nginx and unicorn configuration files for customization"
|
6
|
-
source_root File.expand_path('../templates', __FILE__)
|
7
|
-
argument :templates_path, type: :string,
|
8
|
-
default: "config/deploy/templates",
|
9
|
-
banner: "path to templates"
|
10
|
-
|
11
|
-
def copy_template
|
12
|
-
copy_file "nginx_conf.erb", "#{templates_path}/nginx_conf.erb"
|
13
|
-
copy_file "unicorn.rb.erb", "#{templates_path}/unicorn.rb.erb"
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|