capistrano-magento2 0.5.0 → 0.5.1

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: a091e5f5eae6baf2c936cefe403e8383444c6f6e
4
- data.tar.gz: 5f951908a10ec8018a5c3b806dc7dac13f334860
3
+ metadata.gz: c70875523d467d28282759e10da425d311ef296a
4
+ data.tar.gz: a78aa7e50f18a2887b809c9690d60e144afa9bb8
5
5
  SHA512:
6
- metadata.gz: f8c63e7428739a9b571c898db91f76d0817e124284764fa9db4e18ccbed7eed2d6628382509ae17fc46889c2836835f5b595e3d4d32f89d32110d509163bca68
7
- data.tar.gz: bfdef14c680d81fb9e32d66cb7a8842a26087f920ee7fb15eb140e3a2bad231b8f3fe361cfcd348631b62384031a169e495874b369a0ea881071ff49c1bfe2e3
6
+ metadata.gz: 57f001fb10116d18324e63123f2cef319cc021bab5db665236cdad2f22d913ea421b6dfc4d4766646069add89855a6128fb7fcf531365076dba74916edd32732
7
+ data.tar.gz: 3f00d2b698c2b1ebd3e46522a08fcc10fe9d3200d96fcf73b50c3494aeb10f137ca6640230a975899b98a396980bcd4f2c544314babb6be38ce0fa53a368252d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Capistrano::Magento2 Change Log
2
2
 
3
+ 0.5.1
4
+ ==========
5
+
6
+ * Fixed usability regression causing deploy confirmation to occur prior to display of `capistrano/magento2/pending` output when in use (issue #28)
7
+ * Fixed "REVISION file doesn't exist" error when deploying for the first time when `capistrano/magento2/pending` is loaded
8
+ * Fixed issue breaking initial deploy when `:magento_deploy_maintenance` is set to true
9
+
3
10
  0.5.0
4
11
  ==========
5
12
 
@@ -9,6 +9,6 @@
9
9
 
10
10
  module Capistrano
11
11
  module Magento2
12
- VERSION = '0.5.0'
12
+ VERSION = '0.5.1'
13
13
  end
14
14
  end
@@ -29,7 +29,7 @@ namespace :deploy do
29
29
  end
30
30
  invoke 'magento:setup:permissions'
31
31
  invoke 'magento:maintenance:enable' if fetch(:magento_deploy_maintenance)
32
- if test "[ -d #{current_path} ]"
32
+ if test "[ -f #{current_path}/bin/magento ]"
33
33
  within current_path do
34
34
  execute :magento, 'maintenance:enable' if fetch(:magento_deploy_maintenance)
35
35
  end
@@ -9,15 +9,16 @@
9
9
 
10
10
  require 'capistrano-pending'
11
11
 
12
+ before :deploy, 'deploy:pending:check_changes'
12
13
  namespace :deploy do
13
- before :starting, 'deploy:pending:check_changes'
14
-
14
+
15
15
  namespace :pending do
16
16
  # Check for pending changes and notify user of incoming changes or warn them that there are no changes
17
- task :check_changes => :setup do
17
+ task :check_changes do
18
18
  on roles fetch(:capistrano_pending_role, :app) do |host|
19
19
  # check for pending changes only if REVISION file exists to prevent error
20
20
  if test "[ -f #{current_path}/REVISION ]"
21
+ invoke 'deploy:pending:setup'
21
22
  from = fetch(:revision)
22
23
  to = fetch(:branch)
23
24
 
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.0
4
+ version: 0.5.1
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-09-08 00:00:00.000000000 Z
11
+ date: 2016-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano