capistrano 2.15.6 → 2.15.7
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9559e130b1e011df3d72d3e425f36845cc56927a
|
|
4
|
+
data.tar.gz: 734dd623ccbe334f5b8046d81ab927d38214226d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3135facd3855830586e7e0b8ffc76b16ff22fd848bd6ba9ffa14379765e7ffa8143c792945534bae6f02e58deddd2de2e316222118c9be71447e466525a44ea5
|
|
7
|
+
data.tar.gz: f4814055d7d7fac0f7678440f90010ef4c8a0aa86c6cedf526e2f76861ea0457bf096614700244fb67f359504941d82b6f32a618622c66c22f2d4ada1a32ecc2
|
data/CHANGELOG
CHANGED
|
@@ -7,7 +7,7 @@ _cset :assets_prefix, "assets"
|
|
|
7
7
|
_cset :shared_assets_prefix, "assets"
|
|
8
8
|
_cset :assets_role, [:web]
|
|
9
9
|
_cset :expire_assets_after, (3600 * 24 * 7)
|
|
10
|
-
_cset
|
|
10
|
+
_cset(:asset_manifest_prefix) { (`sprockets -v`.chomp < "3.0" ? "manifest" : ".sprockets-manifest") rescue "manifest" }
|
|
11
11
|
|
|
12
12
|
_cset :normalize_asset_timestamps, false
|
|
13
13
|
|
|
@@ -242,6 +242,12 @@ module Capistrano
|
|
|
242
242
|
command = scm('rev-parse --revs-only', origin + '/' + revision)
|
|
243
243
|
newrev = yield(command).to_s.strip
|
|
244
244
|
|
|
245
|
+
# fallback for expected legacy default functionality
|
|
246
|
+
unless newrev =~ /^[0-9a-f]{40}$/
|
|
247
|
+
command = scm('rev-parse --revs-only', revision)
|
|
248
|
+
newrev = yield(command).to_s.strip
|
|
249
|
+
end
|
|
250
|
+
|
|
245
251
|
raise "Unable to resolve revision for '#{revision}' on repository '#{repository}'." unless newrev =~ /^[0-9a-f]{40}$/
|
|
246
252
|
return newrev
|
|
247
253
|
end
|
|
@@ -98,8 +98,8 @@ module Capistrano
|
|
|
98
98
|
username = variable(:scm_username)
|
|
99
99
|
return "" unless username
|
|
100
100
|
result = %(--username "#{variable(:scm_username)}")
|
|
101
|
-
result << %(--password "#{variable(:scm_password)}") unless variable(:scm_auth_cache) || variable(:scm_prefer_prompt)
|
|
102
|
-
result << "--no-auth-cache " unless variable(:scm_auth_cache)
|
|
101
|
+
result << %( --password "#{variable(:scm_password)}") unless variable(:scm_auth_cache) || variable(:scm_prefer_prompt)
|
|
102
|
+
result << " --no-auth-cache " unless variable(:scm_auth_cache)
|
|
103
103
|
result
|
|
104
104
|
end
|
|
105
105
|
|
data/lib/capistrano/version.rb
CHANGED
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.15.
|
|
4
|
+
version: 2.15.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jamis Buck
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-11-15 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: highline
|