engineyard-eycap 0.3.4 → 0.3.5

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.3.5 / 2008-07-17
2
+ * filtered_remote_cache uses cached checkout's repository root for comparison for speedier tagged/branched deploys
3
+
1
4
  == 0.3.4 / 2008-06-17
2
5
  * rake install_gem_no_doc for faster install
3
6
  * set role to db for backup_name task
@@ -29,8 +29,8 @@ module Capistrano
29
29
  end
30
30
 
31
31
  def update_repository_cache
32
- logger.trace "checking if the cached copy URL matches this deploy, then updating it"
33
- command = "if [ -d #{repository_cache} ] && ! [ `svn info #{repository_cache} | grep URL | awk '{print $2}'` = '#{configuration[:repository]}' ]; then " +
32
+ logger.trace "checking if the cached copy repository root matches this deploy, then updating it"
33
+ command = "if [ -d #{repository_cache} ] && ! echo '#{configuration[:repository]}' | egrep -q \"^`svn info #{repository_cache} | grep 'Repository Root' | awk '{print $3}'`\"; then " +
34
34
  "rm -rf #{repository_cache} && #{source.checkout(revision, repository_cache)}; " +
35
35
  "elif [ -d #{repository_cache} ]; then #{source.sync(revision, repository_cache)}; " +
36
36
  "else #{source.checkout(revision, repository_cache)}; fi"
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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Engine Yard
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements: []
90
90
 
91
91
  rubyforge_project: eycap
92
- rubygems_version: 1.0.1
92
+ rubygems_version: 1.2.0
93
93
  signing_key:
94
94
  specification_version: 2
95
95
  summary: Capistrano tasks for Engine Yard slices