kapify 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,8 +6,8 @@ Capistrano::Configuration.instance.load do
6
6
  set_default(:nginx_use_ssl, false)
7
7
  set_default(:nginx_ssl_certificate) { "#{nginx_server_name}.crt" }
8
8
  set_default(:nginx_ssl_certificate_key) { "#{nginx_server_name}.key" }
9
- set_default(:nginx_ssl_certificate_local_path) {Capistrano::CLI.ui.ask "Local path to ssl certificate (leave blank to skip): "}
10
- set_default(:nginx_ssl_certificate_key_local_path) {Capistrano::CLI.ui.ask "Local path to ssl certificate key: "}
9
+ set_default(:nginx_ssl_certificate_local_path) { Capistrano::CLI.ui.ask "Local path to ssl certificate (leave blank to skip): " }
10
+ set_default(:nginx_ssl_certificate_key_local_path) { Capistrano::CLI.ui.ask "Local path to ssl certificate key: " }
11
11
 
12
12
  namespace :kapify do
13
13
  namespace :nginx do
@@ -4,9 +4,9 @@ require 'kapify/base'
4
4
  Capistrano::Configuration.instance.load do
5
5
  set_default(:pg_host) { find_servers(roles: :pg)[0] || "localhost" }
6
6
  set_default(:pg_port, "5432")
7
- set_default(:pg_database, application)
7
+ set_default(:pg_database) { application }
8
8
  set_default(:pg_pool, 5)
9
- set_default(:pg_user, application)
9
+ set_default(:pg_user) { application }
10
10
  set_default(:pg_password) { Capistrano::CLI.password_prompt "PG password: " }
11
11
  set_default(:pg_create_db, true)
12
12
 
@@ -2,11 +2,11 @@ require 'capistrano'
2
2
  require 'kapify/base'
3
3
 
4
4
  Capistrano::Configuration.instance.load do
5
- set_default(:resque_user, user)
6
- set_default(:resque_workers, 2)
7
- set_default(:resque_queue, "*")
8
- set_default(:resque_task, "environment resque:work")
9
- set_default(:rbenv_install_path, "/usr/local/rbenv")
5
+ set_default(:resque_user) { user }
6
+ set_default(:resque_workers) { 2 }
7
+ set_default(:resque_queue) { "*" }
8
+ set_default(:resque_task) { "environment resque:work" }
9
+ set_default(:rbenv_install_path) { "/usr/local/rbenv" }
10
10
 
11
11
  namespace :kapify do
12
12
  namespace :resque do
@@ -2,10 +2,10 @@ require 'capistrano'
2
2
  require 'kapify/base'
3
3
 
4
4
  Capistrano::Configuration.instance.load do
5
- set_default(:unicorn_pid, "#{current_path}/tmp/pids/unicorn.pid")
6
- set_default(:unicorn_config, "#{shared_path}/config/unicorn.rb")
7
- set_default(:unicorn_log, "#{shared_path}/log/unicorn.log")
8
- set_default(:unicorn_user, user)
5
+ set_default(:unicorn_pid) { "#{current_path}/tmp/pids/unicorn.pid" }
6
+ set_default(:unicorn_config) { "#{shared_path}/config/unicorn.rb" }
7
+ set_default(:unicorn_log) { "#{shared_path}/log/unicorn.log" }
8
+ set_default(:unicorn_user) { user }
9
9
  set_default(:unicorn_workers) { Capistrano::CLI.ui.ask "Number of unicorn workers: " }
10
10
 
11
11
  namespace :kapify do
@@ -1,3 +1,3 @@
1
1
  module Kapify
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
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: 2013-05-19 00:00:00.000000000 Z
12
+ date: 2013-05-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
@@ -106,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  version: '0'
107
107
  segments:
108
108
  - 0
109
- hash: -3933523833815941141
109
+ hash: -1444815236482293188
110
110
  required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  none: false
112
112
  requirements:
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: '0'
116
116
  segments:
117
117
  - 0
118
- hash: -3933523833815941141
118
+ hash: -1444815236482293188
119
119
  requirements: []
120
120
  rubyforge_project:
121
121
  rubygems_version: 1.8.23