eycap 0.5.21 → 0.5.22
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/eycap.rb +1 -1
- data/lib/eycap/recipes/bundler.rb +2 -2
- metadata +3 -3
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 0.5.22 / 2011-12-02
|
2
|
+
* merged pull request #28 - only perform the bundler.bundle_gems task on app servers that handle releases
|
3
|
+
* merged pull request #30 - fix for race condition where binstubs is on an NFS volume
|
4
|
+
|
1
5
|
== 0.5.21 / 2011-11-29
|
2
6
|
* merged pull request #26 - symlink ey_bundler_binstubs to bin
|
3
7
|
|
data/lib/eycap.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
Capistrano::Configuration.instance(:must_exist).load do
|
2
2
|
namespace :bundler do
|
3
3
|
desc "Automatically installed your bundled gems if a Gemfile exists"
|
4
|
-
task :bundle_gems do
|
4
|
+
task :bundle_gems, :roles => :app, :except => {:no_release => true} do
|
5
5
|
run "mkdir -p #{shared_path}/bundled_gems"
|
6
6
|
run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && bundle install --without=test development --binstubs #{release_path}/bin --path #{shared_path}/bundled_gems; fi"
|
7
|
-
|
7
|
+
run "if [ ! -h #{release_path}/bin ]; then ln -nfs #{release_path}/bin #{release_path}/ey_bundler_binstubs;fi"
|
8
8
|
end
|
9
9
|
after "deploy:symlink_configs","bundler:bundle_gems"
|
10
10
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eycap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 39
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
9
|
+
- 22
|
10
|
+
version: 0.5.22
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Engine Yard
|