capistrano-wearerequired 2.0.0 → 2.0.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
- SHA1:
3
- metadata.gz: 479ba072588849a876fa397fbced80d38a29f666
4
- data.tar.gz: af37d7f87dbe0af91126f317f9b37908c8a6d33e
2
+ SHA256:
3
+ metadata.gz: d8850e56ca3a348ee82454e4c8f6b6b74f856fff5050e2ab52ceab5e1ad49712
4
+ data.tar.gz: 500a81e6f113dffef245b77bf517cde57de2a63a80dbf65c8b36823ca25b02e9
5
5
  SHA512:
6
- metadata.gz: 33f6f453b6d177433808b829087c1dddfb7d8da0de8ac6a47b3f434ab3502f8e3a674e5932c68dc149569e2c69cd35621b76daa193c24348dd1f405f1118fc65
7
- data.tar.gz: ad4befc9955ce00b2f4f79da3d89ec1eca480016f5c21d1596545b9aed7015e835fcecad6721e99c1a6fdd4c81d7e3753e42481d36c9d2e21a4f586252172672
6
+ metadata.gz: 277436b1262a674a3d750885d47778b89b050f43a4935f05f517d65e075da2ad77f11c3150b16ef2240c467887335588834a7642afef0cb74e7aa6beed0a0b45
7
+ data.tar.gz: 0cf7dd9078e0337f6ad489fa757102ccd0d2b126b6133e3aeb106c5e67e22ae33cd8252ea13a7566b72b5f0db915d98a066ee7e47772f2c8a86c9f30ee5cfffb
@@ -1,7 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.1
4
+ * Update dependencies (slackistrano, bundler & rake)
5
+ * Skip Yoast SEO plugin when installing language packages as it caused issues with translated rewrite rules
6
+ * Correct author icon path
7
+
3
8
  ## 2.0.0
4
- * Requires WP-CLI 2.1.0 and newer
9
+ * Requires WP-CLI 2.1.0 and newer
5
10
  WP-CLI 2.1.0 introduced the `--all` flag for installing translations for all installed plugins/themes.
6
11
  * Changed event from `deploy:finishing` to `deploy:updated` to install and update translations before publishing a new release without translations.
7
12
 
@@ -11,19 +16,19 @@
11
16
 
12
17
  ## 1.3.0
13
18
 
14
- * Improve defaults for Slackistrano
19
+ * Improve defaults for Slackistrano
15
20
  Prevents warnings when not using Slack notifications at all.
16
- * Improve WP-CLI error handling
21
+ * Improve WP-CLI error handling
17
22
  Prevents clutter and early deployment fails when WP-CLI language commands error.
18
23
 
19
24
  ## 1.2.0
20
25
 
21
- * Support WP-CLI 2.0.0 and newer
26
+ * Support WP-CLI 2.0.0 and newer
22
27
  In WP-CLI 2.0.0 the `wp language plugin` and `wp language theme` commands were introduced.
23
28
 
24
29
  ## 1.1.0
25
30
 
26
- * Support WP-CLI 1.2.0 and newer
31
+ * Support WP-CLI 1.2.0 and newer
27
32
  In WP-CLI v1.2.0 the `wp core language` command was changed to `wp language core`.
28
33
  * Get deployer's name from Git config in `SlackistranoMessagingElements`
29
34
 
data/README.md CHANGED
@@ -8,7 +8,7 @@ Capistrano::Wearerequired is a collection of recipes and tasks specialized on Wo
8
8
  1. Add this line to your application's Gemfile to install the latest stable version:
9
9
 
10
10
  ```ruby
11
- gem 'capistrano-wearerequired', '~> 1.0'
11
+ gem 'capistrano-wearerequired', '~> 2.0'
12
12
  ```
13
13
 
14
14
  2. Execute:
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
 
19
19
  spec.required_ruby_version = ">= 2.0"
20
20
  spec.add_dependency "capistrano", "~> 3.6"
21
- spec.add_dependency "slackistrano", "~> 3.1"
21
+ spec.add_dependency "slackistrano", "~> 3.8"
22
22
  spec.add_dependency "capistrano-composer", "~> 0.0.6"
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.13"
25
- spec.add_development_dependency "rake", "~> 11.0"
24
+ spec.add_development_dependency "bundler", "~> 2.0"
25
+ spec.add_development_dependency "rake", "~> 12.3.3"
26
26
  end
@@ -63,7 +63,7 @@ module Capistrano
63
63
  end
64
64
 
65
65
  def author_icon
66
- "https://required.com/content/themes/required-valencia/img/character-%{name}-300x300.png" % { name: deployer.downcase }
66
+ "https://required.com/content/themes/required-valencia/assets/img/character-%{name}-300x300.png" % { name: deployer.downcase }
67
67
  end
68
68
 
69
69
  def author_link
@@ -4,31 +4,8 @@ module Capistrano
4
4
  module Wearerequired
5
5
  class SlackistranoMessagingElements < Slackistrano::Messaging::Base
6
6
 
7
- def initialize(env: nil, team: nil, channel: nil, token: nil, webhook: nil, icon_url: nil, icon_emoji: nil, username: nil)
8
- super(env: env, team: team, channel: channel, token: token, webhook: webhook)
9
- @icon_url = icon_url
10
- @icon_emoji = icon_emoji
11
- @username = username
12
- end
13
-
14
- def icon_url
15
- if @icon_url.nil?
16
- super
17
- else
18
- @icon_url
19
- end
20
- end
21
-
22
- def icon_emoji
23
- @icon_emoji
24
- end
25
-
26
- def username
27
- if @username.nil?
28
- super
29
- else
30
- @username
31
- end
7
+ def initialize(options = {})
8
+ super(options)
32
9
  end
33
10
 
34
11
  # Override the deployer helper to pull the best name available (git, password file, env vars).
@@ -11,9 +11,9 @@ namespace :wordpress do
11
11
 
12
12
  on roles(:app) do
13
13
  within release_path do
14
- execute :wp, "language core install #{languages}"
15
- execute :wp, "language plugin install --all #{languages} --format=csv"
16
- execute :wp, "language theme install --all #{languages} --format=csv"
14
+ execute :wp, "language core install #{languages} --skip-plugins=wordpress-seo"
15
+ execute :wp, "language plugin install --all #{languages} --format=csv --skip-plugins=wordpress-seo"
16
+ execute :wp, "language theme install --all #{languages} --format=csv --skip-plugins=wordpress-seo"
17
17
  end
18
18
  end
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Wearerequired
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-wearerequired
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - wearerequired
8
8
  - Pascal Birchler
9
9
  - Ulrich Pogson
10
10
  - Dominik Schilling
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-01-02 00:00:00.000000000 Z
14
+ date: 2020-08-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: capistrano
@@ -33,14 +33,14 @@ dependencies:
33
33
  requirements:
34
34
  - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: '3.1'
36
+ version: '3.8'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: '3.1'
43
+ version: '3.8'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: capistrano-composer
46
46
  requirement: !ruby/object:Gem::Requirement
@@ -61,28 +61,28 @@ dependencies:
61
61
  requirements:
62
62
  - - "~>"
63
63
  - !ruby/object:Gem::Version
64
- version: '1.13'
64
+ version: '2.0'
65
65
  type: :development
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - "~>"
70
70
  - !ruby/object:Gem::Version
71
- version: '1.13'
71
+ version: '2.0'
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: rake
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - - "~>"
77
77
  - !ruby/object:Gem::Version
78
- version: '11.0'
78
+ version: 12.3.3
79
79
  type: :development
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - "~>"
84
84
  - !ruby/object:Gem::Version
85
- version: '11.0'
85
+ version: 12.3.3
86
86
  description: Capistrano::Wearerequired is a collection of recipes and tasks specialized
87
87
  on WordPress deployment.
88
88
  email: info@required.ch
@@ -116,7 +116,7 @@ homepage: https://github.com/wearerequired/capistrano-wearerequired
116
116
  licenses:
117
117
  - GPL-2.0+
118
118
  metadata: {}
119
- post_install_message:
119
+ post_install_message:
120
120
  rdoc_options: []
121
121
  require_paths:
122
122
  - lib
@@ -131,9 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubyforge_project:
135
- rubygems_version: 2.6.14
136
- signing_key:
134
+ rubygems_version: 3.1.2
135
+ signing_key:
137
136
  specification_version: 4
138
137
  summary: Recipes for Capistrano used by required gmbh
139
138
  test_files: []