capistrano-magento2 0.8.4 → 0.8.5

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
  SHA256:
3
- metadata.gz: ceedfed216ec83b563f241bd230c9d7a990875f1cc553211116b8808c9b73604
4
- data.tar.gz: 45c3812c5eb54c44e8855832f48db8d082c315c829b0546fb41f2285c7656463
3
+ metadata.gz: f7d4369210d8db99ce4f85161fe74b93f137dc81718189c5a8c140bd9f4d6a62
4
+ data.tar.gz: 38ef5ba10d7682f664dd250aecfefefff645f0fc45a980dff1da29253df5394f
5
5
  SHA512:
6
- metadata.gz: cd5774cd3385e73c0c048b3143266008edc7055d6b7c6983ae7521bbfea5006532a457fca02271b0206313a7be9acb8359bffbf5c944d463abfcd38e221876bc
7
- data.tar.gz: ae08f7d15fb85d385df3682e606a751c3cbbad535e39d52c82db4a6238642557f085ad56dfc1a96fd132d1fd4f38974d1b00845f639c788da0239776f0d235a4
6
+ metadata.gz: 4b75ec700efc122e0582abb86b9ddf96a3e5c5893e2fb9a668e06b67ae3a7c4ac65868b59e6be048e3d68023c2a7a7bd09400bbfcd833151e268e6f05694ff0b
7
+ data.tar.gz: 79cd63c362f468e47f5385c4c086bf0170aa61281bfe6b886e5d8c0f336745a966b0bc59e1d662c90d0ac5eb69c380222ec231482294c11a615e4de4715d555b
@@ -1,5 +1,10 @@
1
1
  # Capistrano::Magento2 Change Log
2
2
 
3
+ 0.8.5
4
+ ==========
5
+
6
+ * Added ability to override flags sent to `composer install` to workaround issue in Magento 2.3 beta preventing deploy
7
+
3
8
  0.8.4
4
9
  ==========
5
10
 
data/README.md CHANGED
@@ -127,6 +127,7 @@ Before you can use Capistrano to deploy, you must configure the `config/deploy.r
127
127
  | `:magento_deploy_jobs` | `4` | Number of threads to use for static content deploy
128
128
  | `:magento_deploy_composer` | `true` | Enables composer install behaviour in the built-in deploy routine
129
129
  | `:magento_deploy_production` | `true` | Enables production specific DI compilation and static content generation
130
+ | `:magento_deploy_no_dev` | `true` | Enables use of --no-dev flag on composer install
130
131
  | `:magento_deploy_maintenance` | `true` | Enables use of maintenance mode while magento:setup:upgrade runs
131
132
  | `:magento_deploy_confirm` | `[]` | Used to require confirmation of deployment to a set of capistrano stages
132
133
  | `:magento_deploy_chmod_d` | `2770` | Default permissions applied to all directories in the release path
@@ -50,6 +50,7 @@ set :magento_deploy_confirm, fetch(:magento_deploy_confirm, [])
50
50
  set :magento_deploy_languages, fetch(:magento_deploy_languages, ['en_US'])
51
51
  set :magento_deploy_maintenance, fetch(:magento_deploy_maintenance, true)
52
52
  set :magento_deploy_production, fetch(:magento_deploy_production, true)
53
+ set :magento_deploy_no_dev, fetch(:magento_deploy_no_dev, true)
53
54
  set :magento_deploy_themes, fetch(:magento_deploy_themes, [])
54
55
  set :magento_deploy_jobs, fetch(:magento_deploy_jobs, nil) # this defaults to 4 when supported by bin/magento
55
56
  set :magento_deploy_strategy, fetch(:magento_deploy_strategy, nil) # Magento 2.2 or later only: http://bit.ly/2yhMvVv
@@ -9,6 +9,6 @@
9
9
 
10
10
  module Capistrano
11
11
  module Magento2
12
- VERSION = '0.8.4'
12
+ VERSION = '0.8.5'
13
13
  end
14
14
  end
@@ -107,7 +107,11 @@ namespace :magento do
107
107
 
108
108
  on release_roles :all do
109
109
  within release_path do
110
- composer_flags = '--no-dev --prefer-dist --no-interaction'
110
+ composer_flags = '--prefer-dist --no-interaction'
111
+
112
+ if fetch(:magento_deploy_no_dev)
113
+ composer_flags += ' --no-dev'
114
+ end
111
115
 
112
116
  if fetch(:magento_deploy_production)
113
117
  composer_flags += ' --optimize-autoloader'
@@ -129,7 +133,11 @@ namespace :magento do
129
133
 
130
134
  on release_roles :all do
131
135
  within release_path do
132
- composer_flags = '--no-dev --no-interaction'
136
+ composer_flags = '--no-interaction'
137
+
138
+ if fetch(:magento_deploy_no_dev)
139
+ composer_flags += ' --no-dev'
140
+ end
133
141
 
134
142
  if fetch(:magento_deploy_production)
135
143
  composer_flags += ' --optimize'
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.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Alger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-28 00:00:00.000000000 Z
11
+ date: 2018-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  requirements: []
103
103
  rubyforge_project:
104
- rubygems_version: 2.7.4
104
+ rubygems_version: 2.7.6
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: A Capistrano extension for Magento 2 deployments.