capistrano 3.0.0.pre6 → 3.0.0.pre7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +4 -4
- data/capistrano.gemspec +2 -2
- data/lib/capistrano/dsl/paths.rb +1 -1
- data/lib/capistrano/tasks/bundler.rake +1 -1
- data/lib/capistrano/templates/deploy.rb.erb +1 -1
- data/lib/capistrano/version.rb +1 -1
- data/spec/integration/deploy_finalize_spec.rb +1 -1
- data/spec/integration/deploy_finished_spec.rb +1 -1
- data/spec/integration/deploy_started_spec.rb +1 -1
- data/spec/integration/deploy_update_spec.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 117f494efdcee24c00ce4880240a374a8a8a82ee
|
4
|
+
data.tar.gz: e2eb9bee0c6d23634ba571f47e367584df04f112
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8abcc2ca0e5dd55d43d0e6e09ca13ec585b71b7fed96a9c1fd87a0d896c123257ddf49be61e7b4ea0c21edf4aa3397fc4b6938d1a10f653b0f5dceb682115ae0
|
7
|
+
data.tar.gz: 3412ab48b2ff5b8aeeec526113a7208955189bb933f5ba5b4cd9026cc47d2a2e6fb0b23c99c5d7d1e21cdc7aab472e2bc354a0ef6e20394565f40f940c30e97c
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
# Capistrano 3.x Changelog
|
2
|
+
|
3
|
+
Reverse Chronological Order:
|
4
|
+
|
5
|
+
## `3.0.0.pre7`
|
6
|
+
|
7
|
+
* Fix Git https authentication. (@leehambley)
|
8
|
+
* Capfile template fixes (repo/repo_url) (@teohm)
|
9
|
+
* Readme Fixes (@ffmike, @kejadlen, @dwickwire)
|
10
|
+
* Fix the positioning of the bundler hook, now immediately after finalize. (@teohm)
|
data/README.md
CHANGED
@@ -19,7 +19,7 @@ $ bundle --binstubs
|
|
19
19
|
```
|
20
20
|
|
21
21
|
Capify:
|
22
|
-
|
22
|
+
*make sure there's no "Capfile" or "capfile" present*
|
23
23
|
``` shell
|
24
24
|
$ cap install
|
25
25
|
```
|
@@ -184,8 +184,8 @@ or at least they are being used incorrectly.
|
|
184
184
|
Whilst, especially in the case of language runtimes (Ruby, Node, Python and friends in
|
185
185
|
particular) there is a temptation to run multiple versions in parallel on a single server
|
186
186
|
and to switch between them using environmental variables, this is an anti-pattern, and
|
187
|
-
|
188
|
-
your company lacks the infrastructure to test this in a staging environment)
|
187
|
+
symptomatic of bad design (i.e. you're testing a second version of Ruby in production because
|
188
|
+
your company lacks the infrastructure to test this in a staging environment).
|
189
189
|
|
190
190
|
## Configuration
|
191
191
|
|
@@ -199,7 +199,7 @@ The following variables are settable:
|
|
199
199
|
|
200
200
|
## SSHKit
|
201
201
|
|
202
|
-
[SSHKit]
|
202
|
+
[SSHKit](https://github.com/capistrano/sshkit) is the driver for SSH
|
203
203
|
connections behind the scenes in Capistrano, depending how deep you dig, you
|
204
204
|
might run into interfaces that come directly from SSHKit (the configuration is
|
205
205
|
a good example).
|
data/capistrano.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Capistrano::VERSION
|
9
9
|
gem.authors = ["Tom Clements", "Lee Hambley"]
|
10
10
|
gem.email = ["seenmyfate@gmail.com", "lee.hambley@gmail.com"]
|
11
|
-
gem.description = %q{
|
12
|
-
gem.summary = %q{
|
11
|
+
gem.description = %q{Capistrano is a utility and framework for executing commands in parallel on multiple remote machines, via SSH.}
|
12
|
+
gem.summary = %q{Capistrano - Welcome to easy deployment with Ruby over SSH}
|
13
13
|
gem.homepage = ""
|
14
14
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
data/lib/capistrano/dsl/paths.rb
CHANGED
@@ -26,7 +26,7 @@ module Capistrano
|
|
26
26
|
def repo_url
|
27
27
|
require 'cgi'
|
28
28
|
require 'uri'
|
29
|
-
if fetch(:git_http_username) and
|
29
|
+
if fetch(:git_http_username) and fetch(:git_http_password)
|
30
30
|
URI.parse(fetch(:repo_url)).tap do |repo_uri|
|
31
31
|
repo_uri.user = fetch(:git_http_username)
|
32
32
|
repo_uri.password = CGI.escape(fetch(:git_http_password))
|
data/lib/capistrano/version.rb
CHANGED
@@ -10,7 +10,7 @@ describe 'cap deploy:finished', slow: true do
|
|
10
10
|
%{
|
11
11
|
set :stage, :#{stage}
|
12
12
|
set :deploy_to, '#{deploy_to}'
|
13
|
-
set :
|
13
|
+
set :repo_url, 'git://github.com/capistrano/capistrano.git'
|
14
14
|
set :branch, 'v3'
|
15
15
|
server 'localhost', roles: %w{web app}, user: '#{current_user}'
|
16
16
|
set :linked_files, %w{config/database.yml}
|
@@ -10,7 +10,7 @@ describe 'cap deploy:finished', slow: true do
|
|
10
10
|
%{
|
11
11
|
set :stage, :#{stage}
|
12
12
|
set :deploy_to, '#{deploy_to}'
|
13
|
-
set :
|
13
|
+
set :repo_url, 'git://github.com/capistrano/capistrano.git'
|
14
14
|
set :branch, 'v3'
|
15
15
|
server 'localhost', roles: %w{web app}, user: '#{current_user}'
|
16
16
|
set :linked_files, %w{config/database.yml}
|
@@ -10,7 +10,7 @@ describe 'cap deploy:started', slow: true do
|
|
10
10
|
%{
|
11
11
|
set :stage, :#{stage}
|
12
12
|
set :deploy_to, '#{deploy_to}'
|
13
|
-
set :
|
13
|
+
set :repo_url, 'git://github.com/capistrano/capistrano.git'
|
14
14
|
set :branch, 'v3'
|
15
15
|
server 'localhost', roles: %w{web app}, user: '#{current_user}'
|
16
16
|
set :linked_files, %w{config/database.yml}
|
@@ -10,7 +10,7 @@ describe 'cap deploy:update', slow: true do
|
|
10
10
|
%{
|
11
11
|
set :stage, :#{stage}
|
12
12
|
set :deploy_to, '#{deploy_to}'
|
13
|
-
set :
|
13
|
+
set :repo_url, 'git://github.com/capistrano/capistrano.git'
|
14
14
|
set :branch, 'v3'
|
15
15
|
server 'localhost', roles: %w{web app}, user: '#{current_user}'
|
16
16
|
set :linked_files, %w{config/database.yml}
|
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: 3.0.0.
|
4
|
+
version: 3.0.0.pre7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Clements
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sshkit
|
@@ -81,7 +81,8 @@ dependencies:
|
|
81
81
|
- - '>='
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
|
-
description:
|
84
|
+
description: Capistrano is a utility and framework for executing commands in parallel
|
85
|
+
on multiple remote machines, via SSH.
|
85
86
|
email:
|
86
87
|
- seenmyfate@gmail.com
|
87
88
|
- lee.hambley@gmail.com
|
@@ -92,6 +93,7 @@ extra_rdoc_files: []
|
|
92
93
|
files:
|
93
94
|
- .gitignore
|
94
95
|
- .travis.yml
|
96
|
+
- CHANGELOG.md
|
95
97
|
- Gemfile
|
96
98
|
- LICENSE.txt
|
97
99
|
- README.md
|
@@ -172,7 +174,7 @@ rubyforge_project:
|
|
172
174
|
rubygems_version: 2.0.3
|
173
175
|
signing_key:
|
174
176
|
specification_version: 4
|
175
|
-
summary:
|
177
|
+
summary: Capistrano - Welcome to easy deployment with Ruby over SSH
|
176
178
|
test_files:
|
177
179
|
- spec/integration/deploy_finalize_spec.rb
|
178
180
|
- spec/integration/deploy_finished_spec.rb
|