capistrano-magento2 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/capistrano/magento2/defaults.rb +1 -1
- data/lib/capistrano/magento2/version.rb +1 -1
- data/lib/capistrano/tasks/magento.rake +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fbd7419a47dfb734ba5b5a550bb519e10d1ba6b
|
4
|
+
data.tar.gz: abcaa12f7685033761b17240015801db9c0a2f4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0bf37f855fa2afa6d96c7f75f107b9a000d9b719ee52819dbb3db458bb6cab17c13236472c05afa5d033d8a183d777f966431abc24d2c361afa778b5884bc88
|
7
|
+
data.tar.gz: 054f63601690bc9301fdbf9d5f6d247b0bfd738f39228f1018e98be55af1cddb6f6972746092156f2c9dd7851997c5f5b0845dc19d9c8f51a852cb75a8aa85f3
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Capistrano::Magento2 Change Log
|
2
2
|
|
3
|
+
0.6.6
|
4
|
+
==========
|
5
|
+
|
6
|
+
* Updated date formatting of pending change log output for enhanced readability (PR #73)
|
7
|
+
* Fixed bug in static content deploy resulting from a change in behaviour in Magento 2.1.3 and later (PR #74)
|
8
|
+
|
3
9
|
0.6.5
|
4
10
|
==========
|
5
11
|
|
@@ -61,5 +61,5 @@ set :magento_deploy_pending_role, fetch(:magento_deploy_pending_role, :all)
|
|
61
61
|
set :magento_deploy_pending_warn, fetch(:magento_deploy_pending_warn, true)
|
62
62
|
set :magento_deploy_pending_format, fetch(
|
63
63
|
:magento_deploy_pending_format,
|
64
|
-
'--pretty="format:%C(yellow)%h %Cblue%>(12)%
|
64
|
+
'--pretty="format:%C(yellow)%h %Cblue%>(12)%ai %Cgreen%<(7)%aN%Cred%d %Creset%s"'
|
65
65
|
)
|
@@ -309,8 +309,15 @@ namespace :magento do
|
|
309
309
|
end
|
310
310
|
|
311
311
|
# Run again with HTTPS env var set to 'on' to pre-generate secure versions of RequireJS configs
|
312
|
-
deploy_flags = ['
|
313
|
-
|
312
|
+
deploy_flags = ['css', 'less', 'images', 'fonts', 'html', 'misc', 'html-minify']
|
313
|
+
|
314
|
+
# As of Magento 2.1.3, it became necessary to exclude "--no-javacript" in order for secure versions of
|
315
|
+
# RequireJs configs to be generated
|
316
|
+
if _magento_version < Gem::Version.new('2.1.3')
|
317
|
+
deploy_flags.push('javascript')
|
318
|
+
end
|
319
|
+
|
320
|
+
deploy_flags = deploy_flags.join(' --no-').prepend(' --no-');
|
314
321
|
|
315
322
|
# Magento 2.1.0 and earlier lack support for these flags, so generation of secure files requires full re-run
|
316
323
|
deploy_flags = nil if _magento_version <= Gem::Version.new('2.1.0')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-magento2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Alger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|