capistrano-magento2 0.5.5 → 0.5.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 +5 -0
- data/lib/capistrano/magento2/version.rb +1 -1
- data/lib/capistrano/tasks/magento.rake +7 -5
- 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: 1c6d561b4e1c051ef45a5eac22efa567f332611e
|
4
|
+
data.tar.gz: 7cdceb46e41430c23912d013db3cc25a91b5397c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d485a334191bc07b1764effc19e4b9b5faef397c978b981adacea69ad629a408b22ce2633022b777bf7d7dcae5f1d5e39d867ad2838871852948777c509f5289
|
7
|
+
data.tar.gz: dfe2f1b2c179df1b3bc88b2655803ab8fd82070b6bd58e00dc5dcd4c9dcbc054e92f934f68c61fbfa1721c6ddc4dc7f6a01712f805c6bdd0b92bd97f0b739766
|
data/CHANGELOG.md
CHANGED
@@ -223,12 +223,14 @@ namespace :magento do
|
|
223
223
|
# present in the develop mainline, so we are testing for multi-tenant presence for long-term portability.
|
224
224
|
if test :magento, 'setup:di:compile-multi-tenant --help >/dev/null 2>&1'
|
225
225
|
output = capture :magento, 'setup:di:compile-multi-tenant', verbosity: Logger::INFO
|
226
|
-
|
227
|
-
if output.to_s.include? 'Errors during compilation'
|
228
|
-
raise Exception, 'setup:di:compile-multi-tenant command execution failed'
|
229
|
-
end
|
230
226
|
else
|
231
|
-
|
227
|
+
output = capture :magento, 'setup:di:compile', verbosity: Logger::INFO
|
228
|
+
end
|
229
|
+
|
230
|
+
# 2.0.x never returns a non-zero exit code for errors, so manually check string
|
231
|
+
# 2.1.x doesn't return a non-zero exit code for certain errors (see davidalger/capistrano-magento2#41)
|
232
|
+
if output.to_s.include? 'Errors during compilation'
|
233
|
+
raise Exception, 'DI compilation command execution failed'
|
232
234
|
end
|
233
235
|
end
|
234
236
|
end
|
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.5.
|
4
|
+
version: 0.5.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: 2016-
|
11
|
+
date: 2016-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|