engineyard-eycap 0.4.14 → 0.4.15
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/lib/eycap.rb +1 -1
- data/lib/eycap/recipes/bundler.rb +12 -0
- metadata +3 -3
data/History.txt
CHANGED
data/lib/eycap.rb
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
Capistrano::Configuration.instance(:must_exist).load do
|
2
|
+
namespace :bundler do
|
3
|
+
desc "Automatically installed your bundled gems if a Gemfile exists"
|
4
|
+
task :bundle_gems do
|
5
|
+
%w(vendor bin).each do |dirname|
|
6
|
+
run "if [ -f #{release_path}/Gemfile ]; then mkdir -p #{shared_path}/bundling/#{dirname} && cd #{release_path} && ln -s #{shared_path}/bundling/#{dirname} .; fi"
|
7
|
+
end
|
8
|
+
run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && gem bundle; fi"
|
9
|
+
end
|
10
|
+
after "deploy:symlink_configs","bundler:bundle_gems"
|
11
|
+
end
|
12
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-eycap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Engine Yard
|
@@ -69,11 +69,11 @@ files:
|
|
69
69
|
- lib/eycap/recipes/templates/maintenance.rhtml
|
70
70
|
- lib/eycap/recipes/tomcat.rb
|
71
71
|
- lib/eycap/recipes/apache.rb
|
72
|
+
- lib/eycap/recipes/bundler.rb
|
72
73
|
- test/test_eycap.rb
|
73
74
|
- test/test_helper.rb
|
74
75
|
has_rdoc: true
|
75
76
|
homepage: http://github.com/engineyard/eycap/tree/master
|
76
|
-
licenses:
|
77
77
|
post_install_message:
|
78
78
|
rdoc_options:
|
79
79
|
- --main
|
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
95
|
requirements: []
|
96
96
|
|
97
97
|
rubyforge_project: eycap
|
98
|
-
rubygems_version: 1.
|
98
|
+
rubygems_version: 1.2.0
|
99
99
|
signing_key:
|
100
100
|
specification_version: 2
|
101
101
|
summary: Capistrano tasks for Engine Yard slices
|