capistrano_webfaction_recipes 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module CapistranoWebfactionRecipes
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -4,7 +4,7 @@ require 'capistrano_webfaction_recipes/all'
4
4
  # Webfaction settings
5
5
  set :application, '<%= @rails_app_root_dir_name %>'
6
6
  set :user, '<%= @server_ssh_user %>'
7
- set :branch, :master
7
+ set :branch, 'master'
8
8
  set :ssh_options, { forward_agent: true }
9
9
  set :app_short, '<%= @remote_rails_app_root_dir_name %>'
10
10
  set :external_assets_path, []
@@ -28,12 +28,12 @@ set :default_stage, 'production'
28
28
  require 'capistrano/ext/multistage'
29
29
 
30
30
  set :scm, :git
31
- set :migrate_env, '' # Not using :production because of a capistrano issue
31
+ set :migrate_env, 'RAILS_RAKE_TASK=1' # Useful to avoid threadsafe! in migrate
32
32
  set :bundle_without, [:development, :test]
33
33
  set :use_sudo, false
34
34
  set(:default_environment) do
35
35
  {
36
- 'RAILS_ENV' => fetch(:migrate_env).to_s,
36
+ 'RAILS_ENV' => 'production',
37
37
  'PATH' => "#{fetch(:deploy_to)}/bin:$PATH",
38
38
  'GEM_HOME' => "#{fetch(:deploy_to)}/gems",
39
39
  'RUBYLIB' => "#{fetch(:deploy_to)}/lib"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_webfaction_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
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-07-01 00:00:00.000000000 Z
12
+ date: 2013-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  segments:
135
135
  - 0
136
- hash: 2871315500591468788
136
+ hash: -1237642491853015182
137
137
  requirements: []
138
138
  rubyforge_project:
139
139
  rubygems_version: 1.8.25