le1t0-capistrano 2.5.18.001

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. data/.gitignore +9 -0
  2. data/CHANGELOG +843 -0
  3. data/README +102 -0
  4. data/Rakefile +36 -0
  5. data/VERSION +1 -0
  6. data/bin/cap +4 -0
  7. data/bin/capify +86 -0
  8. data/lib/capistrano.rb +2 -0
  9. data/lib/capistrano/callback.rb +45 -0
  10. data/lib/capistrano/cli.rb +47 -0
  11. data/lib/capistrano/cli/execute.rb +85 -0
  12. data/lib/capistrano/cli/help.rb +125 -0
  13. data/lib/capistrano/cli/help.txt +78 -0
  14. data/lib/capistrano/cli/options.rb +243 -0
  15. data/lib/capistrano/cli/ui.rb +40 -0
  16. data/lib/capistrano/command.rb +283 -0
  17. data/lib/capistrano/configuration.rb +44 -0
  18. data/lib/capistrano/configuration/actions/file_transfer.rb +52 -0
  19. data/lib/capistrano/configuration/actions/inspect.rb +46 -0
  20. data/lib/capistrano/configuration/actions/invocation.rb +295 -0
  21. data/lib/capistrano/configuration/callbacks.rb +148 -0
  22. data/lib/capistrano/configuration/connections.rb +204 -0
  23. data/lib/capistrano/configuration/execution.rb +143 -0
  24. data/lib/capistrano/configuration/loading.rb +197 -0
  25. data/lib/capistrano/configuration/namespaces.rb +197 -0
  26. data/lib/capistrano/configuration/roles.rb +73 -0
  27. data/lib/capistrano/configuration/servers.rb +98 -0
  28. data/lib/capistrano/configuration/variables.rb +127 -0
  29. data/lib/capistrano/errors.rb +19 -0
  30. data/lib/capistrano/extensions.rb +57 -0
  31. data/lib/capistrano/logger.rb +59 -0
  32. data/lib/capistrano/processable.rb +53 -0
  33. data/lib/capistrano/recipes/compat.rb +32 -0
  34. data/lib/capistrano/recipes/deploy.rb +589 -0
  35. data/lib/capistrano/recipes/deploy/dependencies.rb +44 -0
  36. data/lib/capistrano/recipes/deploy/local_dependency.rb +54 -0
  37. data/lib/capistrano/recipes/deploy/remote_dependency.rb +105 -0
  38. data/lib/capistrano/recipes/deploy/scm.rb +19 -0
  39. data/lib/capistrano/recipes/deploy/scm/accurev.rb +169 -0
  40. data/lib/capistrano/recipes/deploy/scm/base.rb +196 -0
  41. data/lib/capistrano/recipes/deploy/scm/bzr.rb +86 -0
  42. data/lib/capistrano/recipes/deploy/scm/cvs.rb +152 -0
  43. data/lib/capistrano/recipes/deploy/scm/darcs.rb +96 -0
  44. data/lib/capistrano/recipes/deploy/scm/git.rb +278 -0
  45. data/lib/capistrano/recipes/deploy/scm/mercurial.rb +137 -0
  46. data/lib/capistrano/recipes/deploy/scm/none.rb +44 -0
  47. data/lib/capistrano/recipes/deploy/scm/perforce.rb +138 -0
  48. data/lib/capistrano/recipes/deploy/scm/subversion.rb +121 -0
  49. data/lib/capistrano/recipes/deploy/strategy.rb +19 -0
  50. data/lib/capistrano/recipes/deploy/strategy/base.rb +79 -0
  51. data/lib/capistrano/recipes/deploy/strategy/checkout.rb +20 -0
  52. data/lib/capistrano/recipes/deploy/strategy/copy.rb +218 -0
  53. data/lib/capistrano/recipes/deploy/strategy/export.rb +20 -0
  54. data/lib/capistrano/recipes/deploy/strategy/remote.rb +52 -0
  55. data/lib/capistrano/recipes/deploy/strategy/remote_cache.rb +56 -0
  56. data/lib/capistrano/recipes/deploy/templates/maintenance.rhtml +53 -0
  57. data/lib/capistrano/recipes/standard.rb +37 -0
  58. data/lib/capistrano/recipes/templates/maintenance.rhtml +53 -0
  59. data/lib/capistrano/role.rb +102 -0
  60. data/lib/capistrano/server_definition.rb +56 -0
  61. data/lib/capistrano/shell.rb +260 -0
  62. data/lib/capistrano/ssh.rb +99 -0
  63. data/lib/capistrano/task_definition.rb +75 -0
  64. data/lib/capistrano/transfer.rb +216 -0
  65. data/lib/capistrano/version.rb +18 -0
  66. data/test/cli/execute_test.rb +132 -0
  67. data/test/cli/help_test.rb +165 -0
  68. data/test/cli/options_test.rb +329 -0
  69. data/test/cli/ui_test.rb +28 -0
  70. data/test/cli_test.rb +17 -0
  71. data/test/command_test.rb +286 -0
  72. data/test/configuration/actions/file_transfer_test.rb +61 -0
  73. data/test/configuration/actions/inspect_test.rb +65 -0
  74. data/test/configuration/actions/invocation_test.rb +225 -0
  75. data/test/configuration/callbacks_test.rb +220 -0
  76. data/test/configuration/connections_test.rb +349 -0
  77. data/test/configuration/execution_test.rb +175 -0
  78. data/test/configuration/loading_test.rb +132 -0
  79. data/test/configuration/namespace_dsl_test.rb +311 -0
  80. data/test/configuration/roles_test.rb +144 -0
  81. data/test/configuration/servers_test.rb +158 -0
  82. data/test/configuration/variables_test.rb +184 -0
  83. data/test/configuration_test.rb +88 -0
  84. data/test/deploy/local_dependency_test.rb +76 -0
  85. data/test/deploy/remote_dependency_test.rb +114 -0
  86. data/test/deploy/scm/accurev_test.rb +23 -0
  87. data/test/deploy/scm/base_test.rb +55 -0
  88. data/test/deploy/scm/bzr_test.rb +51 -0
  89. data/test/deploy/scm/darcs_test.rb +37 -0
  90. data/test/deploy/scm/git_test.rb +184 -0
  91. data/test/deploy/scm/mercurial_test.rb +134 -0
  92. data/test/deploy/scm/none_test.rb +35 -0
  93. data/test/deploy/scm/subversion_test.rb +32 -0
  94. data/test/deploy/strategy/copy_test.rb +302 -0
  95. data/test/extensions_test.rb +69 -0
  96. data/test/fixtures/cli_integration.rb +5 -0
  97. data/test/fixtures/config.rb +5 -0
  98. data/test/fixtures/custom.rb +3 -0
  99. data/test/logger_test.rb +123 -0
  100. data/test/role_test.rb +11 -0
  101. data/test/server_definition_test.rb +121 -0
  102. data/test/shell_test.rb +90 -0
  103. data/test/ssh_test.rb +104 -0
  104. data/test/task_definition_test.rb +116 -0
  105. data/test/transfer_test.rb +160 -0
  106. data/test/utils.rb +39 -0
  107. metadata +289 -0
@@ -0,0 +1,116 @@
1
+ require "utils"
2
+ require 'capistrano/task_definition'
3
+
4
+ # Silences the wanrnings raised in the two deprecation tests
5
+ $VERBOSE = nil
6
+
7
+ class TaskDefinitionTest < Test::Unit::TestCase
8
+ def setup
9
+ @namespace = namespace
10
+ end
11
+
12
+ def test_fqn_at_top_level_should_be_task_name
13
+ task = new_task(:testing)
14
+ assert_equal "testing", task.fully_qualified_name
15
+ end
16
+
17
+ def test_fqn_in_namespace_should_include_namespace_fqn
18
+ ns = namespace("outer:inner")
19
+ task = new_task(:testing, ns)
20
+ assert_equal "outer:inner:testing", task.fully_qualified_name
21
+ end
22
+
23
+ def test_fqn_at_top_level_when_default_should_be_default
24
+ task = new_task(:default)
25
+ assert_equal "default", task.fully_qualified_name
26
+ end
27
+
28
+ def test_deprecation_warning_on_method_name_beginning_with_before_underscore
29
+ name = "before_test"
30
+ Kernel.expects(:warn).with("[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was #{name})")
31
+ new_task(name)
32
+ end
33
+
34
+ def test_deprecation_warning_on_method_name_beginning_with_after_underscore
35
+ name = "after_test"
36
+ Kernel.expects(:warn).with("[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was #{name})")
37
+ new_task(name)
38
+ end
39
+
40
+ def test_fqn_in_namespace_when_default_should_be_namespace_fqn
41
+ ns = namespace("outer:inner")
42
+ task = new_task(:default, ns)
43
+ ns.stubs(:default_task => task)
44
+ assert_equal "outer:inner", task.fully_qualified_name
45
+ end
46
+
47
+ def test_task_should_require_block
48
+ assert_raises(ArgumentError) do
49
+ Capistrano::TaskDefinition.new(:testing, @namespace)
50
+ end
51
+ end
52
+
53
+ def test_description_should_return_empty_string_if_not_given
54
+ assert_equal "", new_task(:testing).description
55
+ end
56
+
57
+ def test_description_should_return_desc_attribute
58
+ assert_equal "something", new_task(:testing, @namespace, :desc => "something").description
59
+ end
60
+
61
+ def test_description_should_strip_leading_and_trailing_whitespace
62
+ assert_equal "something", new_task(:testing, @namespace, :desc => " something ").description
63
+ end
64
+
65
+ def test_description_should_normalize_newlines
66
+ assert_equal "a\nb\nc", new_task(:testing, @namespace, :desc => "a\nb\r\nc").description
67
+ end
68
+
69
+ def test_description_should_detect_and_remove_indentation
70
+ desc = <<-DESC
71
+ Here is some indented text \
72
+ and I want all of this to \
73
+ run together on a single line, \
74
+ without any extraneous spaces.
75
+
76
+ additional indentation will
77
+ be preserved.
78
+ DESC
79
+
80
+ task = new_task(:testing, @namespace, :desc => desc)
81
+ assert_equal "Here is some indented text and I want all of this to run together on a single line, without any extraneous spaces.\n\n additional indentation will\n be preserved.", task.description
82
+ end
83
+
84
+ def test_description_munging_should_be_sensitive_to_code_blocks
85
+ desc = <<-DESC
86
+ Here is a line \
87
+ wrapped with spacing in it.
88
+
89
+ foo bar
90
+ baz bang
91
+ DESC
92
+
93
+ task = new_task(:testing, @namespace, :desc => desc)
94
+ assert_equal "Here is a line wrapped with spacing in it.\n\n foo bar\n baz bang", task.description
95
+ end
96
+
97
+ def test_brief_description_should_return_first_sentence_in_description
98
+ desc = "This is the task. It does all kinds of things."
99
+ task = new_task(:testing, @namespace, :desc => desc)
100
+ assert_equal "This is the task.", task.brief_description
101
+ end
102
+
103
+ def test_brief_description_should_truncate_if_length_given
104
+ desc = "This is the task that does all kinds of things. And then some."
105
+ task = new_task(:testing, @namespace, :desc => desc)
106
+ assert_equal "This is the task ...", task.brief_description(20)
107
+ end
108
+
109
+ def test_brief_description_should_not_break_at_period_in_middle_of_sentence
110
+ task = new_task(:testing, @namespace, :desc => "Take file.txt and copy it.")
111
+ assert_equal "Take file.txt and copy it.", task.brief_description
112
+
113
+ task = new_task(:testing, @namespace, :desc => "Take file.txt and copy it. Then do something else.")
114
+ assert_equal "Take file.txt and copy it.", task.brief_description
115
+ end
116
+ end
@@ -0,0 +1,160 @@
1
+ require 'utils'
2
+ require 'capistrano/transfer'
3
+
4
+ class TransferTest < Test::Unit::TestCase
5
+ def test_class_process_should_delegate_to_instance_process
6
+ Capistrano::Transfer.expects(:new).with(:up, "from", "to", %w(a b c), {}).returns(mock('transfer', :process! => nil)).yields
7
+ yielded = false
8
+ Capistrano::Transfer.process(:up, "from", "to", %w(a b c), {}) { yielded = true }
9
+ assert yielded
10
+ end
11
+
12
+ def test_default_transport_is_sftp
13
+ transfer = Capistrano::Transfer.new(:up, "from", "to", [])
14
+ assert_equal :sftp, transfer.transport
15
+ end
16
+
17
+ def test_active_is_true_when_any_sftp_transfers_are_active
18
+ returns = [false, false, true]
19
+ sessions = [session('app1', :sftp), session('app2', :sftp), session('app3', :sftp)].each { |s| s.xsftp.expects(:upload).returns(stub('operation', :active? => returns.shift)) }
20
+ transfer = Capistrano::Transfer.new(:up, "from", "to", sessions, :via => :sftp)
21
+ assert_equal true, transfer.active?
22
+ end
23
+
24
+ def test_active_is_false_when_all_sftp_transfers_are_not_active
25
+ sessions = [session('app1', :sftp), session('app2', :sftp)].each { |s| s.xsftp.expects(:upload).returns(stub('operation', :active? => false)) }
26
+ transfer = Capistrano::Transfer.new(:up, "from", "to", sessions, :via => :sftp)
27
+ assert_equal false, transfer.active?
28
+ end
29
+
30
+ def test_active_is_true_when_any_scp_transfers_are_active
31
+ returns = [false, false, true]
32
+ sessions = [session('app1', :scp), session('app2', :scp), session('app3', :scp)].each do |s|
33
+ channel = stub('channel', :[]= => nil, :active? => returns.shift)
34
+ s.scp.expects(:upload).returns(channel)
35
+ end
36
+ transfer = Capistrano::Transfer.new(:up, "from", "to", sessions, :via => :scp)
37
+ assert_equal true, transfer.active?
38
+ end
39
+
40
+ def test_active_is_false_when_all_scp_transfers_are_not_active
41
+ sessions = [session('app1', :scp), session('app2', :scp), session('app3', :scp)].each do |s|
42
+ channel = stub('channel', :[]= => nil, :active? => false)
43
+ s.scp.expects(:upload).returns(channel)
44
+ end
45
+ transfer = Capistrano::Transfer.new(:up, "from", "to", sessions, :via => :scp)
46
+ assert_equal false, transfer.active?
47
+ end
48
+
49
+ [:up, :down].each do |direction|
50
+ define_method("test_sftp_#{direction}load_from_file_to_file_should_normalize_from_and_to") do
51
+ sessions = [session('app1', :sftp), session('app2', :sftp)]
52
+
53
+ sessions.each do |session|
54
+ session.xsftp.expects("#{direction}load".to_sym).with("from-#{session.xserver.host}", "to-#{session.xserver.host}",
55
+ :properties => { :server => session.xserver, :host => session.xserver.host })
56
+ end
57
+
58
+ transfer = Capistrano::Transfer.new(direction, "from-$CAPISTRANO:HOST$", "to-$CAPISTRANO:HOST$", sessions)
59
+ end
60
+
61
+ define_method("test_scp_#{direction}load_from_file_to_file_should_normalize_from_and_to") do
62
+ sessions = [session('app1', :scp), session('app2', :scp)]
63
+
64
+ sessions.each do |session|
65
+ session.scp.expects("#{direction}load".to_sym).returns({}).with("from-#{session.xserver.host}", "to-#{session.xserver.host}", :via => :scp)
66
+ end
67
+
68
+ transfer = Capistrano::Transfer.new(direction, "from-$CAPISTRANO:HOST$", "to-$CAPISTRANO:HOST$", sessions, :via => :scp)
69
+ end
70
+ end
71
+
72
+ def test_sftp_upload_from_IO_to_file_should_clone_the_IO_for_each_connection
73
+ sessions = [session('app1', :sftp), session('app2', :sftp)]
74
+ io = StringIO.new("from here")
75
+
76
+ sessions.each do |session|
77
+ session.xsftp.expects(:upload).with do |from, to, opts|
78
+ from != io && from.is_a?(StringIO) && from.string == io.string &&
79
+ to == "/to/here-#{session.xserver.host}" &&
80
+ opts[:properties][:server] == session.xserver &&
81
+ opts[:properties][:host] == session.xserver.host
82
+ end
83
+ end
84
+
85
+ transfer = Capistrano::Transfer.new(:up, StringIO.new("from here"), "/to/here-$CAPISTRANO:HOST$", sessions)
86
+ end
87
+
88
+ def test_scp_upload_from_IO_to_file_should_clone_the_IO_for_each_connection
89
+ sessions = [session('app1', :scp), session('app2', :scp)]
90
+ io = StringIO.new("from here")
91
+
92
+ sessions.each do |session|
93
+ channel = mock('channel')
94
+ channel.expects(:[]=).with(:server, session.xserver)
95
+ channel.expects(:[]=).with(:host, session.xserver.host)
96
+ session.scp.expects(:upload).returns(channel).with do |from, to, opts|
97
+ from != io && from.is_a?(StringIO) && from.string == io.string &&
98
+ to == "/to/here-#{session.xserver.host}"
99
+ end
100
+ end
101
+
102
+ transfer = Capistrano::Transfer.new(:up, StringIO.new("from here"), "/to/here-$CAPISTRANO:HOST$", sessions, :via => :scp)
103
+ end
104
+
105
+ def test_process_should_block_until_transfer_is_no_longer_active
106
+ transfer = Capistrano::Transfer.new(:up, "from", "to", [])
107
+ transfer.expects(:process_iteration).times(4).yields.returns(true,true,true,false)
108
+ transfer.expects(:active?).times(4)
109
+ transfer.process!
110
+ end
111
+
112
+ def test_errors_raised_for_a_sftp_session_should_abort_session_and_continue_with_remaining_sessions
113
+ s = session('app1')
114
+ error = ExceptionWithSession.new(s)
115
+ transfer = Capistrano::Transfer.new(:up, "from", "to", [])
116
+ transfer.expects(:process_iteration).raises(error).times(3).returns(true, false)
117
+ txfr = mock('transfer', :abort! => true)
118
+ txfr.expects(:[]=).with(:failed, true)
119
+ txfr.expects(:[]=).with(:error, error)
120
+ transfer.expects(:session_map).returns(s => txfr)
121
+ transfer.process!
122
+ end
123
+
124
+ def test_errors_raised_for_a_scp_session_should_abort_session_and_continue_with_remaining_sessions
125
+ s = session('app1')
126
+ error = ExceptionWithSession.new(s)
127
+ transfer = Capistrano::Transfer.new(:up, "from", "to", [], :via => :scp)
128
+ transfer.expects(:process_iteration).raises(error).times(3).returns(true, false)
129
+ txfr = mock('channel', :close => true)
130
+ txfr.expects(:[]=).with(:failed, true)
131
+ txfr.expects(:[]=).with(:error, error)
132
+ transfer.expects(:session_map).returns(s => txfr)
133
+ transfer.process!
134
+ end
135
+
136
+ private
137
+
138
+ class ExceptionWithSession < ::Exception
139
+ attr_reader :session
140
+
141
+ def initialize(session)
142
+ @session = session
143
+ super()
144
+ end
145
+ end
146
+
147
+ def session(host, mode=nil)
148
+ session = stub('session', :xserver => stub('server', :host => host))
149
+ case mode
150
+ when :sftp
151
+ sftp = stub('sftp')
152
+ session.expects(:sftp).with(false).returns(sftp)
153
+ sftp.expects(:connect).yields(sftp).returns(sftp)
154
+ session.stubs(:xsftp).returns(sftp)
155
+ when :scp
156
+ session.stubs(:scp).returns(stub('scp'))
157
+ end
158
+ session
159
+ end
160
+ end
data/test/utils.rb ADDED
@@ -0,0 +1,39 @@
1
+ begin
2
+ require 'rubygems'
3
+ require 'redgreen' unless ENV['TM_FILENAME']
4
+ gem 'mocha'
5
+ rescue LoadError
6
+ end
7
+
8
+ require 'test/unit'
9
+ require 'mocha'
10
+ require 'capistrano/server_definition'
11
+
12
+ module TestExtensions
13
+ def server(host, options={})
14
+ Capistrano::ServerDefinition.new(host, options)
15
+ end
16
+
17
+ def namespace(fqn=nil)
18
+ space = stub(:roles => {}, :fully_qualified_name => fqn, :default_task => nil)
19
+ yield(space) if block_given?
20
+ space
21
+ end
22
+
23
+ def role(space, name, *args)
24
+ opts = args.last.is_a?(Hash) ? args.pop : {}
25
+ space.roles[name] ||= []
26
+ space.roles[name].concat(args.map { |h| Capistrano::ServerDefinition.new(h, opts) })
27
+ end
28
+
29
+ def new_task(name, namespace=@namespace, options={}, &block)
30
+ block ||= Proc.new {}
31
+ task = Capistrano::TaskDefinition.new(name, namespace, options, &block)
32
+ assert_equal block, task.body
33
+ return task
34
+ end
35
+ end
36
+
37
+ class Test::Unit::TestCase
38
+ include TestExtensions
39
+ end
metadata ADDED
@@ -0,0 +1,289 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: le1t0-capistrano
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 2
7
+ - 5
8
+ - 18
9
+ - 1
10
+ version: 2.5.18.001
11
+ platform: ruby
12
+ authors:
13
+ - Le1t0
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-05-18 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: net-ssh
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 0
31
+ - 14
32
+ version: 2.0.14
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: net-sftp
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 2
44
+ - 0
45
+ - 0
46
+ version: 2.0.0
47
+ type: :runtime
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: net-scp
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 1
58
+ - 0
59
+ - 0
60
+ version: 1.0.0
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ - !ruby/object:Gem::Dependency
64
+ name: net-ssh-gateway
65
+ prerelease: false
66
+ requirement: &id004 !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 1
72
+ - 0
73
+ - 0
74
+ version: 1.0.0
75
+ type: :runtime
76
+ version_requirements: *id004
77
+ - !ruby/object:Gem::Dependency
78
+ name: highline
79
+ prerelease: false
80
+ requirement: &id005 !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ segments:
85
+ - 0
86
+ version: "0"
87
+ type: :runtime
88
+ version_requirements: *id005
89
+ - !ruby/object:Gem::Dependency
90
+ name: mocha
91
+ prerelease: false
92
+ requirement: &id006 !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
98
+ version: "0"
99
+ type: :development
100
+ version_requirements: *id006
101
+ description: Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.
102
+ email:
103
+ - dev@ewout.to
104
+ executables:
105
+ - capify
106
+ - cap
107
+ extensions: []
108
+
109
+ extra_rdoc_files:
110
+ - README
111
+ files:
112
+ - .gitignore
113
+ - CHANGELOG
114
+ - README
115
+ - Rakefile
116
+ - VERSION
117
+ - bin/cap
118
+ - bin/capify
119
+ - lib/capistrano.rb
120
+ - lib/capistrano/callback.rb
121
+ - lib/capistrano/cli.rb
122
+ - lib/capistrano/cli/execute.rb
123
+ - lib/capistrano/cli/help.rb
124
+ - lib/capistrano/cli/help.txt
125
+ - lib/capistrano/cli/options.rb
126
+ - lib/capistrano/cli/ui.rb
127
+ - lib/capistrano/command.rb
128
+ - lib/capistrano/configuration.rb
129
+ - lib/capistrano/configuration/actions/file_transfer.rb
130
+ - lib/capistrano/configuration/actions/inspect.rb
131
+ - lib/capistrano/configuration/actions/invocation.rb
132
+ - lib/capistrano/configuration/callbacks.rb
133
+ - lib/capistrano/configuration/connections.rb
134
+ - lib/capistrano/configuration/execution.rb
135
+ - lib/capistrano/configuration/loading.rb
136
+ - lib/capistrano/configuration/namespaces.rb
137
+ - lib/capistrano/configuration/roles.rb
138
+ - lib/capistrano/configuration/servers.rb
139
+ - lib/capistrano/configuration/variables.rb
140
+ - lib/capistrano/errors.rb
141
+ - lib/capistrano/extensions.rb
142
+ - lib/capistrano/logger.rb
143
+ - lib/capistrano/processable.rb
144
+ - lib/capistrano/recipes/compat.rb
145
+ - lib/capistrano/recipes/deploy.rb
146
+ - lib/capistrano/recipes/deploy/dependencies.rb
147
+ - lib/capistrano/recipes/deploy/local_dependency.rb
148
+ - lib/capistrano/recipes/deploy/remote_dependency.rb
149
+ - lib/capistrano/recipes/deploy/scm.rb
150
+ - lib/capistrano/recipes/deploy/scm/accurev.rb
151
+ - lib/capistrano/recipes/deploy/scm/base.rb
152
+ - lib/capistrano/recipes/deploy/scm/bzr.rb
153
+ - lib/capistrano/recipes/deploy/scm/cvs.rb
154
+ - lib/capistrano/recipes/deploy/scm/darcs.rb
155
+ - lib/capistrano/recipes/deploy/scm/git.rb
156
+ - lib/capistrano/recipes/deploy/scm/mercurial.rb
157
+ - lib/capistrano/recipes/deploy/scm/none.rb
158
+ - lib/capistrano/recipes/deploy/scm/perforce.rb
159
+ - lib/capistrano/recipes/deploy/scm/subversion.rb
160
+ - lib/capistrano/recipes/deploy/strategy.rb
161
+ - lib/capistrano/recipes/deploy/strategy/base.rb
162
+ - lib/capistrano/recipes/deploy/strategy/checkout.rb
163
+ - lib/capistrano/recipes/deploy/strategy/copy.rb
164
+ - lib/capistrano/recipes/deploy/strategy/export.rb
165
+ - lib/capistrano/recipes/deploy/strategy/remote.rb
166
+ - lib/capistrano/recipes/deploy/strategy/remote_cache.rb
167
+ - lib/capistrano/recipes/deploy/templates/maintenance.rhtml
168
+ - lib/capistrano/recipes/standard.rb
169
+ - lib/capistrano/recipes/templates/maintenance.rhtml
170
+ - lib/capistrano/role.rb
171
+ - lib/capistrano/server_definition.rb
172
+ - lib/capistrano/shell.rb
173
+ - lib/capistrano/ssh.rb
174
+ - lib/capistrano/task_definition.rb
175
+ - lib/capistrano/transfer.rb
176
+ - lib/capistrano/version.rb
177
+ - test/cli/execute_test.rb
178
+ - test/cli/help_test.rb
179
+ - test/cli/options_test.rb
180
+ - test/cli/ui_test.rb
181
+ - test/cli_test.rb
182
+ - test/command_test.rb
183
+ - test/configuration/actions/file_transfer_test.rb
184
+ - test/configuration/actions/inspect_test.rb
185
+ - test/configuration/actions/invocation_test.rb
186
+ - test/configuration/callbacks_test.rb
187
+ - test/configuration/connections_test.rb
188
+ - test/configuration/execution_test.rb
189
+ - test/configuration/loading_test.rb
190
+ - test/configuration/namespace_dsl_test.rb
191
+ - test/configuration/roles_test.rb
192
+ - test/configuration/servers_test.rb
193
+ - test/configuration/variables_test.rb
194
+ - test/configuration_test.rb
195
+ - test/deploy/local_dependency_test.rb
196
+ - test/deploy/remote_dependency_test.rb
197
+ - test/deploy/scm/accurev_test.rb
198
+ - test/deploy/scm/base_test.rb
199
+ - test/deploy/scm/bzr_test.rb
200
+ - test/deploy/scm/darcs_test.rb
201
+ - test/deploy/scm/git_test.rb
202
+ - test/deploy/scm/mercurial_test.rb
203
+ - test/deploy/scm/none_test.rb
204
+ - test/deploy/scm/subversion_test.rb
205
+ - test/deploy/strategy/copy_test.rb
206
+ - test/extensions_test.rb
207
+ - test/fixtures/cli_integration.rb
208
+ - test/fixtures/config.rb
209
+ - test/fixtures/custom.rb
210
+ - test/logger_test.rb
211
+ - test/role_test.rb
212
+ - test/server_definition_test.rb
213
+ - test/shell_test.rb
214
+ - test/ssh_test.rb
215
+ - test/task_definition_test.rb
216
+ - test/transfer_test.rb
217
+ - test/utils.rb
218
+ has_rdoc: true
219
+ homepage: http://github.com/le1t0/capistrano
220
+ licenses: []
221
+
222
+ post_install_message:
223
+ rdoc_options:
224
+ - --charset=UTF-8
225
+ require_paths:
226
+ - lib
227
+ required_ruby_version: !ruby/object:Gem::Requirement
228
+ requirements:
229
+ - - ">="
230
+ - !ruby/object:Gem::Version
231
+ segments:
232
+ - 0
233
+ version: "0"
234
+ required_rubygems_version: !ruby/object:Gem::Requirement
235
+ requirements:
236
+ - - ">="
237
+ - !ruby/object:Gem::Version
238
+ segments:
239
+ - 0
240
+ version: "0"
241
+ requirements: []
242
+
243
+ rubyforge_project:
244
+ rubygems_version: 1.3.6
245
+ signing_key:
246
+ specification_version: 3
247
+ summary: "Capistrano \xE2\x80\x93 Welcome to easy deployment with Ruby over SSH"
248
+ test_files:
249
+ - test/cli/execute_test.rb
250
+ - test/cli/help_test.rb
251
+ - test/cli/options_test.rb
252
+ - test/cli/ui_test.rb
253
+ - test/cli_test.rb
254
+ - test/command_test.rb
255
+ - test/configuration/actions/file_transfer_test.rb
256
+ - test/configuration/actions/inspect_test.rb
257
+ - test/configuration/actions/invocation_test.rb
258
+ - test/configuration/callbacks_test.rb
259
+ - test/configuration/connections_test.rb
260
+ - test/configuration/execution_test.rb
261
+ - test/configuration/loading_test.rb
262
+ - test/configuration/namespace_dsl_test.rb
263
+ - test/configuration/roles_test.rb
264
+ - test/configuration/servers_test.rb
265
+ - test/configuration/variables_test.rb
266
+ - test/configuration_test.rb
267
+ - test/deploy/local_dependency_test.rb
268
+ - test/deploy/remote_dependency_test.rb
269
+ - test/deploy/scm/accurev_test.rb
270
+ - test/deploy/scm/base_test.rb
271
+ - test/deploy/scm/bzr_test.rb
272
+ - test/deploy/scm/darcs_test.rb
273
+ - test/deploy/scm/git_test.rb
274
+ - test/deploy/scm/mercurial_test.rb
275
+ - test/deploy/scm/none_test.rb
276
+ - test/deploy/scm/subversion_test.rb
277
+ - test/deploy/strategy/copy_test.rb
278
+ - test/extensions_test.rb
279
+ - test/fixtures/cli_integration.rb
280
+ - test/fixtures/config.rb
281
+ - test/fixtures/custom.rb
282
+ - test/logger_test.rb
283
+ - test/role_test.rb
284
+ - test/server_definition_test.rb
285
+ - test/shell_test.rb
286
+ - test/ssh_test.rb
287
+ - test/task_definition_test.rb
288
+ - test/transfer_test.rb
289
+ - test/utils.rb