deployer 0.1.6 → 0.1.7

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.
@@ -4,8 +4,8 @@ namespace :deploy do
4
4
  task :restart do
5
5
  system "cap deploy:setup_shared_path"
6
6
  system "cap deploy:setup_symlinks"
7
- system "cap deploy:gems:install"
8
- unless respond_to?(:skip_database) and skip_database
7
+ system "cap deploy:gems:install" if respond_to?(:enable_custom_bundler) && enable_custom_bundler
8
+ unless respond_to?(:skip_database) && skip_database
9
9
  system "cap deploy:db:create"
10
10
  system "cap deploy:db:migrate"
11
11
  end
data/setup/deploy.rb CHANGED
@@ -67,6 +67,16 @@ set :branch, "production" # the branch that should be deployed
67
67
  # set :skip_database, true
68
68
 
69
69
 
70
+ ##
71
+ # Optional
72
+ # It is recommended to use `require "bundler/capistrano"` for installing gems
73
+ # However you can comment out the line and enable `:enable_custom_bundler` to run your own `bundle install`
74
+
75
+ # Caution: please only enable one of the options below!
76
+ # set :enable_custom_bundler, true
77
+ require "bundler/capistrano"
78
+
79
+
70
80
  ##
71
81
  # Optional
72
82
  # Set options for bundle install
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deployer
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael van Rooijen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-27 00:00:00 +02:00
18
+ date: 2010-09-30 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency