deployer 0.1.4 → 0.1.5

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.
@@ -1,6 +1,6 @@
1
1
  namespace :deploy do
2
2
  namespace :gems do
3
-
3
+
4
4
  desc "Installs dependencies for application, or a single gem when the gem= is specified."
5
5
  task :install do
6
6
  if ENV['gem']
@@ -11,10 +11,10 @@ namespace :deploy do
11
11
  if bundle_satisfied? and ENV['force'] != "true"
12
12
  puts "The Gemfile's dependencies are satisfied"
13
13
  else
14
- run "cd #{current_path}; #{bundle_path} install"
14
+ run "cd #{current_path}; #{bundle_path} install #{bundle_options if respond_to?(:bundle_options)}"
15
15
  end
16
16
  end
17
17
  end
18
-
18
+
19
19
  end
20
20
  end
data/setup/deploy.rb CHANGED
@@ -2,20 +2,20 @@
2
2
  # Configure the essential configurations below and do the following:
3
3
  #
4
4
  # For more information:
5
- # http://github.com/meskyanichi/deployer
5
+ # http://github.com/meskyanichi/deployer
6
6
  #
7
7
  # Create Local and Remote Repository:
8
8
  # This will create a git repository on the deployment server
9
9
  # Will not work when using a remote location such as github.com, trunksapp.com
10
10
  # git init
11
11
  # cap deploy:repository:create
12
- #
12
+ #
13
13
  # Initial Deployment:
14
14
  # git add .
15
15
  # git commit -m "Initial commit for deployment"
16
16
  # git push origin [:branch]
17
17
  # cap deploy:initial
18
- #
18
+ #
19
19
  # Then For Every Update Just Do:
20
20
  # git add .
21
21
  # git commit -am "some other commit"
@@ -67,6 +67,21 @@ set :branch, "production" # the branch that should be deployed
67
67
  # set :skip_database, true
68
68
 
69
69
 
70
+ ##
71
+ # Optional
72
+ # Set options for bundle install
73
+ # Can speed up deployment by skipping the bundle install on test and development gems
74
+
75
+ # set :bundle_options, "--without test --without development"
76
+
77
+
78
+ ##
79
+ # Optional
80
+ # Set bundler path (if in a nonstandard place)
81
+
82
+ # set :bundle_path, "/usr/local/bin/bundle"
83
+
84
+
70
85
  ##
71
86
  # Optional
72
87
  # Set up additional shared folders. The example below will create:
@@ -105,12 +120,12 @@ end
105
120
  # Application Specific Deployment Tasks
106
121
  # In here you may specify any application specific and/or other tasks that are not handled by Deployer
107
122
  # These can be invoked by creating a "run_custom_task" method in the "after_deploy" method above
108
- namespace :deploy do
123
+ namespace :deploy do
109
124
  desc "Invoke this task manually by running: 'cap deploy:my_custom_task'"
110
125
  task :my_custom_task do
111
126
  # run "some command"
112
127
  end
113
-
128
+
114
129
  namespace :nested do
115
130
  desc "Invoke this task manually by running: 'cap deploy:nested:my_custom_task'"
116
131
  task :my_custom_task do
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
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-07-12 00:00:00 +02:00
18
+ date: 2010-07-18 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency