capistrano-sozo_magento2 1.8.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 30ddb4232948b060b40cd21385c277fa47f3f047838b461320638b8a46a7fa72
4
- data.tar.gz: 483615f92d6c6f94088702fad14bed24ed4048cd583a0bde96b2182dea144954
3
+ metadata.gz: 88891e08582237d23b4fbcc1403100e561235f3d35f34088da9c68d461bc75ae
4
+ data.tar.gz: dfb01cf8dbfc5c58183cdb86530a341cbf8cc35e04a9a8267116aacfa34a959c
5
5
  SHA512:
6
- metadata.gz: 1c9408af646a0cebe70f06de570403d5ffb40be9fb292c957d638abdc26619454c7c1192c2ec01f44fcde9c563b1e3f682bb6c4fedf5668286aebb40b6cca159
7
- data.tar.gz: 28af1de39d23d75249378353572187456f9f5902a073ee1252fa947684da126a050080a5ffae30458f7edf44b421e67b330b3d09de775d37cd766f3a595bb0f8
6
+ metadata.gz: 822be6788b209ad1726a9af35c2e45571a91a0b6998fb49af3d30926212b40c8b563c778f00611b96ecea4252d1788c5413c63ef8faf0af57676ae23338b33da
7
+ data.tar.gz: 6b250102736c0c16a2f81feae7fb15c10d0920b4956091eee767b4f43b2d9474bb3b751dddfa1b672c25194b41c7f73e2dfcc47c36e0d2fdb8d3471bba82638e
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.7.3
data/CHANGELOG.md CHANGED
@@ -21,6 +21,18 @@ Given a version number MAJOR.MINOR.PATCH, increment the:
21
21
 
22
22
  ## [Unreleased]
23
23
 
24
+ ## [v1.9.1] - 2024-07-30
25
+ ### Fixed
26
+ - Slack Webhook URL
27
+ - Added Additional WordPress themes for removal
28
+ - Increase Ruby minimum version to 2.7.3 (for latest Mac ARM chip support)
29
+
30
+
31
+ ## [v1.9.0] - 2022-11-18
32
+ ### Added
33
+ - WP binary override
34
+
35
+
24
36
  ## [v1.8.0] - 2022-10-14
25
37
  ### Added
26
38
  - varnish role added to restart varnish service
data/README.md CHANGED
@@ -7,7 +7,7 @@ It is advised to use bundler.
7
7
 
8
8
  1. Add the following to your projects `Gemfile`
9
9
  ```
10
- gem "capistrano-sozo_magento2", "~> 1.8"
10
+ gem "capistrano-sozo_magento2", "~> 1.9"
11
11
  ```
12
12
  2. Install
13
13
  ```
@@ -76,6 +76,7 @@ Composer and n98-magerun command are both prefixed with the PHP path (for multi-
76
76
  SSHKit.config.command_map[:php] = '/usr/bin/env php74 -dmemory_limit=-1'
77
77
  SSHKit.config.command_map[:composer] = SSHKit.config.command_map[:php], '-f /usr/local/bin/composer'
78
78
  SSHKit.config.command_map[:n98magerun] = SSHKit.config.command_map[:php], '-f /usr/local/bin/n98-magerun'
79
+ SSHKit.config.command_map[:wp] = SSHKit.config.command_map[:php], '-f /usr/local/bin/wp'
79
80
  SSHKit.config.command_map[:magento] = SSHKit.config.command_map[:php], '-f bin/magento --'
80
81
  SSHKit.config.command_map[:app_controller] = 'sudo /usr/bin/systemctl'
81
82
  ```
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.required_ruby_version = '>= 2.5.3'
21
+ spec.required_ruby_version = '>= 2.7.3'
22
22
 
23
23
  spec.add_dependency "capistrano", "~> 3.9"
24
24
  end
@@ -31,14 +31,14 @@ set :keep_backups, fetch(:keep_backups, 10)
31
31
 
32
32
  # WordPress integration defaults
33
33
  set :wp_backup, fetch(:wp_backup, true)
34
- set :wp_delete_themes, fetch(:wp_delete_themes, 'twentyseventeen twentynineteen twentytwenty twentytwentyone twentytwentytwo')
34
+ set :wp_delete_themes, fetch(:wp_delete_themes, 'twentyseventeen twentynineteen twentytwenty twentytwentyone twentytwentytwo twentytwentythree twentytwentyfour')
35
35
  set :wp_delete_plugins, fetch(:wp_delete_plugins, 'hello')
36
36
  set :wp_disable_plugins, fetch(:wp_disable_plugins, '')
37
37
  set :wp_copy_themes, fetch(:wp_copy_themes, 'fishpig')
38
38
 
39
39
  # Slack defaults
40
40
  set :slack_channel, fetch(:slack_channel, '#deployments')
41
- set :slack_webhook, 'https://hooks.slack.com/services/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'
41
+ set :slack_webhook, 'https://hooks.slack.com/services/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'
42
42
 
43
43
  # Deployment defaults
44
44
  set :magento_deploy_confirm_roles, fetch(:magento_deploy_confirm_roles, [])
@@ -4,6 +4,6 @@ module Capistrano
4
4
  module SozoMagento2
5
5
  # The plugin version number
6
6
  # @return [String] The gem version number
7
- VERSION = "1.8.0"
7
+ VERSION = "1.9.1"
8
8
  end
9
9
  end
@@ -3,6 +3,7 @@ require 'date'
3
3
  SSHKit.config.command_map[:php] = '/usr/bin/env php -dmemory_limit=-1'
4
4
  SSHKit.config.command_map[:composer] = SSHKit.config.command_map[:php], '-f /usr/local/bin/composer'
5
5
  SSHKit.config.command_map[:n98magerun] = SSHKit.config.command_map[:php], '-f /usr/local/bin/n98-magerun'
6
+ SSHKit.config.command_map[:wp] = SSHKit.config.command_map[:php], '-f /usr/local/bin/wp'
6
7
  SSHKit.config.command_map[:magento] = SSHKit.config.command_map[:php], '-f bin/magento --'
7
8
  SSHKit.config.command_map[:app_controller] = 'sudo /usr/bin/systemctl'
8
9
 
@@ -158,7 +158,16 @@ namespace :magento do
158
158
  task :upgrade do
159
159
  on release_roles :all do
160
160
  within release_path do
161
- execute :php, '-f', 'magento/bin/magento', 'setup:upgrade', '-n'
161
+ # Check if an upgrade is required capture the setup:db:status output
162
+ #check = capture(:php, '-f', 'magento/bin/magento', 'setup:db:status', '--no-ansi')
163
+ #debug "#{check}"
164
+
165
+ #if !check.start_with?("All")
166
+ # info "Setup upgrade required"
167
+ execute :php, '-f', 'magento/bin/magento', 'setup:upgrade', '-n'
168
+ #else
169
+ # info "Modules are all up to date, no database upgrade required!"
170
+ #end
162
171
  end
163
172
  end
164
173
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-sozo_magento2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clive Walkden
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-14 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -32,6 +32,7 @@ extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
+ - ".ruby-version"
35
36
  - ".yardopts"
36
37
  - BUILD.md
37
38
  - CHANGELOG.md
@@ -59,7 +60,7 @@ homepage: https://github.com/sozo-design/capistrano-sozo-magento2
59
60
  licenses:
60
61
  - Proprietary
61
62
  metadata: {}
62
- post_install_message:
63
+ post_install_message:
63
64
  rdoc_options: []
64
65
  require_paths:
65
66
  - lib
@@ -67,16 +68,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
68
  requirements:
68
69
  - - ">="
69
70
  - !ruby/object:Gem::Version
70
- version: 2.5.3
71
+ version: 2.7.3
71
72
  required_rubygems_version: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - - ">="
74
75
  - !ruby/object:Gem::Version
75
76
  version: '0'
76
77
  requirements: []
77
- rubyforge_project:
78
- rubygems_version: 2.7.6
79
- signing_key:
78
+ rubygems_version: 3.1.6
79
+ signing_key:
80
80
  specification_version: 4
81
81
  summary: Magento 2 support for Capistrano 3.x in SOZO hosted environments
82
82
  test_files: []