eycap 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.5.1 / 2009-11-12
2
+ * using bundler's cache instead of symlinking on each deploy.
3
+
1
4
  == 0.5.0 / 2009-10-07
2
5
  * moved from github to gemcutter for hosting.
3
6
 
data/lib/eycap.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eycap
2
- VERSION = '0.5.0'
2
+ VERSION = '0.5.1'
3
3
  end
@@ -2,10 +2,7 @@ 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
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"
5
+ run "if [ -f #{release_path}/Gemfile ]; then cd #{release_path} && gem bundle --cached; fi"
9
6
  end
10
7
  after "deploy:symlink_configs","bundler:bundle_gems"
11
8
  end
@@ -127,17 +127,17 @@ Capistrano::Configuration.instance(:must_exist).load do
127
127
  namespace :notify do
128
128
  task :start, :roles => :app do
129
129
  begin
130
- run %(curl -X POST -d "application=#{application rescue 'unknown'}" http://weather.engineyard.com/`hostname`/deploy_start)
130
+ run %(curl -X POST -d "application=#{application rescue 'unknown'}" http://weather.engineyard.com/`hostname`/deploy_start -fs)
131
131
  rescue
132
- puts "Deploy notification failed"
132
+ puts "Warning: We couldn't notify EY of your deploy, but don't worry, everything is fine"
133
133
  end
134
134
  end
135
135
 
136
136
  task :stop, :roles => :app do
137
137
  begin
138
- run %(curl -X POST -d "application=#{application rescue 'unknown'}" http://weather.engineyard.com/`hostname`/deploy_stop)
138
+ run %(curl -X POST -d "application=#{application rescue 'unknown'}" http://weather.engineyard.com/`hostname`/deploy_stop -fs)
139
139
  rescue
140
- puts "Deploy notification failed"
140
+ puts "Warning: We couldn't notify EY of your deploy finishing, but don't worry, everything is fine"
141
141
  end
142
142
  end
143
143
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eycap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard
@@ -24,15 +24,15 @@ dependencies:
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- type: :development
27
+ type: :runtime
28
28
  version_requirement:
29
29
  version_requirements: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 2.3.3
33
+ version: 1.5.1
34
34
  version:
35
- description: A bunch of useful recipes to help deployment to Engine Yard private cloud slices
35
+ description: A bunch of useful recipes to help deployment to the Engine Yard private cloud.
36
36
  email: appsupport@engineyard.com
37
37
  executables: []
38
38
 
@@ -55,7 +55,6 @@ files:
55
55
  - lib/eycap/recipes.rb
56
56
  - lib/eycap/recipes/backgroundrb.rb
57
57
  - lib/eycap/recipes/database.rb
58
- - lib/eycap/recipes/bundler.rb
59
58
  - lib/eycap/recipes/deploy.rb
60
59
  - lib/eycap/recipes/ferret.rb
61
60
  - lib/eycap/recipes/juggernaut.rb
@@ -63,13 +62,14 @@ files:
63
62
  - lib/eycap/recipes/mongrel.rb
64
63
  - lib/eycap/recipes/monit.rb
65
64
  - lib/eycap/recipes/nginx.rb
65
+ - lib/eycap/recipes/passenger.rb
66
66
  - lib/eycap/recipes/slice.rb
67
67
  - lib/eycap/recipes/solr.rb
68
68
  - lib/eycap/recipes/sphinx.rb
69
69
  - lib/eycap/recipes/templates/maintenance.rhtml
70
70
  - lib/eycap/recipes/tomcat.rb
71
- - lib/eycap/recipes/passenger.rb
72
71
  - lib/eycap/recipes/apache.rb
72
+ - lib/eycap/recipes/bundler.rb
73
73
  - test/test_eycap.rb
74
74
  - test/test_helper.rb
75
75
  has_rdoc: true
@@ -99,8 +99,8 @@ requirements: []
99
99
  rubyforge_project: eycap
100
100
  rubygems_version: 1.3.5
101
101
  signing_key:
102
- specification_version: 3
103
- summary: Capistrano tasks for Engine Yard private cloud slices
102
+ specification_version: 2
103
+ summary: Capistrano tasks for Engine Yard private cloud.
104
104
  test_files:
105
105
  - test/test_eycap.rb
106
106
  - test/test_helper.rb