capistrano 2.5.1 → 2.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,8 @@
1
+ == 2.5.2 / November 13, 2008
2
+
3
+ * Fix issue with git SCM that caused "Unable to resolve revision for 'HEAD'" errors on deploy [Jamis Buck]
4
+
5
+
1
6
  == 2.5.1 / November 7, 2008
2
7
 
3
8
  * Add -t (--tools) switch for better task lists for external tools [Jamis Buck]
@@ -1,14 +1,10 @@
1
-
2
- # Gem::Specification for Capistrano-2.5.1
3
- # Originally generated by Echoe
4
-
5
1
  Gem::Specification.new do |s|
6
2
  s.name = %q{capistrano}
7
- s.version = "2.5.1"
3
+ s.version = "2.5.2"
8
4
 
9
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
5
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
10
6
  s.authors = ["Jamis Buck"]
11
- s.date = %q{2008-11-07}
7
+ s.date = %q{2008-11-13}
12
8
  s.description = %q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
13
9
  s.email = %q{jamis@jamisbuck.org}
14
10
  s.executables = ["cap", "capify"]
@@ -33,12 +29,14 @@ Gem::Specification.new do |s|
33
29
  s.add_runtime_dependency(%q<net-scp>, [">= 1.0.0"])
34
30
  s.add_runtime_dependency(%q<net-ssh-gateway>, [">= 1.0.0"])
35
31
  s.add_runtime_dependency(%q<highline>, [">= 0"])
32
+ s.add_development_dependency(%q<echoe>, [">= 0"])
36
33
  else
37
34
  s.add_dependency(%q<net-ssh>, [">= 2.0.0"])
38
35
  s.add_dependency(%q<net-sftp>, [">= 2.0.0"])
39
36
  s.add_dependency(%q<net-scp>, [">= 1.0.0"])
40
37
  s.add_dependency(%q<net-ssh-gateway>, [">= 1.0.0"])
41
38
  s.add_dependency(%q<highline>, [">= 0"])
39
+ s.add_dependency(%q<echoe>, [">= 0"])
42
40
  end
43
41
  else
44
42
  s.add_dependency(%q<net-ssh>, [">= 2.0.0"])
@@ -46,43 +44,6 @@ Gem::Specification.new do |s|
46
44
  s.add_dependency(%q<net-scp>, [">= 1.0.0"])
47
45
  s.add_dependency(%q<net-ssh-gateway>, [">= 1.0.0"])
48
46
  s.add_dependency(%q<highline>, [">= 0"])
47
+ s.add_dependency(%q<echoe>, [">= 0"])
49
48
  end
50
49
  end
51
-
52
-
53
- # # Original Rakefile source (requires the Echoe gem):
54
- #
55
- # require "./lib/capistrano/version"
56
- #
57
- # begin
58
- # require 'echoe'
59
- # rescue LoadError
60
- # abort "You'll need to have `echoe' installed to use Capistrano's Rakefile"
61
- # end
62
- #
63
- # version = Capistrano::Version::STRING.dup
64
- # if ENV['SNAPSHOT'].to_i == 1
65
- # version << "." << Time.now.utc.strftime("%Y%m%d%H%M%S")
66
- # end
67
- #
68
- # Echoe.new('capistrano', version) do |p|
69
- # p.changelog = "CHANGELOG.rdoc"
70
- #
71
- # p.author = "Jamis Buck"
72
- # p.email = "jamis@jamisbuck.org"
73
- #
74
- # p.summary = <<-DESC.strip.gsub(/\n\s+/, " ")
75
- # Capistrano is a utility and framework for executing commands in parallel
76
- # on multiple remote machines, via SSH.
77
- # DESC
78
- #
79
- # p.url = "http://www.capify.org"
80
- # p.need_zip = true
81
- # p.rdoc_pattern = /^(lib|README.rdoc|CHANGELOG.rdoc)/
82
- #
83
- # p.dependencies = ["net-ssh >=2.0.0",
84
- # "net-sftp >=2.0.0",
85
- # "net-scp >=1.0.0",
86
- # "net-ssh-gateway >=1.0.0",
87
- # "highline"]
88
- # end
@@ -210,7 +210,7 @@ module Capistrano
210
210
  def query_revision(revision)
211
211
  raise ArgumentError, "Deploying remote branches has been deprecated. Specify the remote branch as a local branch for the git repository you're deploying from (ie: '#{revision.gsub('origin/', '')}' rather than '#{revision}')." if revision =~ /^origin\//
212
212
  return revision if revision =~ /^[0-9a-f]{40}$/
213
- command = scm('ls-remote -h -t', repository, revision)
213
+ command = scm('ls-remote', repository, revision)
214
214
  result = yield(command)
215
215
  revdata = result.split(/[\t\n]/)
216
216
  newrev = nil
@@ -6,7 +6,7 @@ module Capistrano
6
6
  class Version < Net::SSH::Version
7
7
  MAJOR = 2
8
8
  MINOR = 5
9
- TINY = 1
9
+ TINY = 2
10
10
 
11
11
  # The current version, as a Version instance
12
12
  CURRENT = new(MAJOR, MINOR, TINY)
@@ -59,7 +59,7 @@ class DeploySCMGitTest < Test::Unit::TestCase
59
59
 
60
60
  def test_query_revision
61
61
  revision = @source.query_revision('HEAD') do |o|
62
- assert_equal "git ls-remote -h -t . HEAD", o
62
+ assert_equal "git ls-remote . HEAD", o
63
63
  "d11006102c07c94e5d54dd0ee63dca825c93ed61\tHEAD"
64
64
  end
65
65
  assert_equal "d11006102c07c94e5d54dd0ee63dca825c93ed61", revision
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.5.1
4
+ version: 2.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-07 00:00:00 -07:00
12
+ date: 2008-11-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -62,6 +62,16 @@ dependencies:
62
62
  - !ruby/object:Gem::Version
63
63
  version: "0"
64
64
  version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: echoe
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: "0"
74
+ version:
65
75
  description: Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.
66
76
  email: jamis@jamisbuck.org
67
77
  executables:
@@ -259,7 +269,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
259
269
  requirements:
260
270
  - - ">="
261
271
  - !ruby/object:Gem::Version
262
- version: "0"
272
+ version: "1.2"
263
273
  version:
264
274
  requirements: []
265
275