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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9734beaa70a60e3ec804e38312cc950321eae102
4
- data.tar.gz: c5c9f8a4e5493a2b17c4c663ea284152079d249f
3
+ metadata.gz: 4fbd7419a47dfb734ba5b5a550bb519e10d1ba6b
4
+ data.tar.gz: abcaa12f7685033761b17240015801db9c0a2f4f
5
5
  SHA512:
6
- metadata.gz: 16a5cde46f8e77743092a0050676a75f341bfe9d7369319f69c6cbc337902bf53b6ba54ebe492267d05bbebda27eb583be00e66b5bd49f2e13dfb1b23b458425
7
- data.tar.gz: 89d915f6205b22bfb8f5ef7be0607f59120d9fc6bf8a0b74a6776eca15d55d04374b8f3d0af9bc0dc5361da74ed0515c8dbbf9e2b841ad83805e73462e21ac8d
6
+ metadata.gz: b0bf37f855fa2afa6d96c7f75f107b9a000d9b719ee52819dbb3db458bb6cab17c13236472c05afa5d033d8a183d777f966431abc24d2c361afa778b5884bc88
7
+ data.tar.gz: 054f63601690bc9301fdbf9d5f6d247b0bfd738f39228f1018e98be55af1cddb6f6972746092156f2c9dd7851997c5f5b0845dc19d9c8f51a852cb75a8aa85f3
@@ -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)%ad %Cgreen%<(7)%aN%Cred%d %Creset%s"'
64
+ '--pretty="format:%C(yellow)%h %Cblue%>(12)%ai %Cgreen%<(7)%aN%Cred%d %Creset%s"'
65
65
  )
@@ -9,6 +9,6 @@
9
9
 
10
10
  module Capistrano
11
11
  module Magento2
12
- VERSION = '0.6.5'
12
+ VERSION = '0.6.6'
13
13
  end
14
14
  end
@@ -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 = ['javascript', 'css', 'less', 'images', 'fonts', 'html', 'misc', 'html-minify']
313
- .join(' --no-').prepend(' --no-');
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.5
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-06-21 00:00:00.000000000 Z
11
+ date: 2017-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano