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: 268ff5997cf5171e1ccef2d62caa8924ca9c43b7
4
- data.tar.gz: 85760a9a734e566285707337af792f6b07a8ca56
3
+ metadata.gz: 0a689222c4386b4d95277b5ddd7dd19a37b2365c
4
+ data.tar.gz: 06fc11cf6c894976c29f81331182e50ce6dae74b
5
5
  SHA512:
6
- metadata.gz: 58364e7056ab54925e08828589f0279d86551f3417c61804856d7aad49fa77966e3ec30b76f1955eb8dbeeb53fb27ae2001a2c03735d1bd1ffe0028e5c20ff49
7
- data.tar.gz: fc27e0f6d85184717338b5fc7b60c864d91e53da97ddf4c0886fdcfc538ac39fd5ce01ea509f5123463fd768ebc01ea85bc19f335039840ed376c64c08b555d2
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.4'
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+/, '')
@@ -1,5 +1,5 @@
1
- require 'capistrano/unicorn_nginx/helpers'
2
- include Capistrano::UnicornNginx::Helpers
1
+ require 'capistrano3/unicorn_nginx/helpers'
2
+ include Capistrano3::UnicornNginx::Helpers
3
3
 
4
4
  namespace :load do
5
5
  task :defaults do
@@ -1 +1,2 @@
1
1
  load File.expand_path("../tasks/unicorn.rake", __FILE__)
2
+ load File.expand_path("../tasks/nginx.rake", __FILE__)
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
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