Skip to content

Commit 483679e

Browse files
committed
Merge branch 'develop' into fix/hotfix-actions
Conflicts: CHANGELOG.md
2 parents 921651b + 4045134 commit 483679e

File tree

4 files changed

+19
-20
lines changed

4 files changed

+19
-20
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ _None_
1414

1515
### Bug Fixes
1616

17+
* Fixes a bug that was breaking the `promo_screenshots` helper [#276]
1718
* Fix crashes in actions dealing with hotfixes. [#288]
1819

1920
### Internal Changes
2021

21-
_None_
22+
* Update the `BigDecimal` and `ActiveSupport` gems to clean up our `Gemfile` and improve future compatibility.
2223

2324
## 1.3.1
2425

Gemfile.lock

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PATH
22
remote: .
33
specs:
44
fastlane-plugin-wpmreleasetoolkit (1.3.1)
5-
activesupport (~> 5)
6-
bigdecimal (~> 1.4)
5+
activesupport (~> 6.0)
6+
bigdecimal (~> 2.0)
77
chroma (= 0.2.0)
88
diffy (~> 3.3)
99
git (~> 1.3)
@@ -19,11 +19,12 @@ GEM
1919
remote: https://rubygems.org/
2020
specs:
2121
CFPropertyList (3.0.3)
22-
activesupport (5.2.6)
22+
activesupport (6.1.4)
2323
concurrent-ruby (~> 1.0, >= 1.0.2)
24-
i18n (>= 0.7, < 2)
25-
minitest (~> 5.1)
26-
tzinfo (~> 1.1)
24+
i18n (>= 1.6, < 2)
25+
minitest (>= 5.1)
26+
tzinfo (~> 2.0)
27+
zeitwerk (~> 2.3)
2728
addressable (2.7.0)
2829
public_suffix (>= 2.0.2, < 5.0)
2930
artifactory (3.0.15)
@@ -46,7 +47,7 @@ GEM
4647
aws-sigv4 (1.2.3)
4748
aws-eventstream (~> 1, >= 1.0.2)
4849
babosa (1.0.4)
49-
bigdecimal (1.4.4)
50+
bigdecimal (2.0.3)
5051
chroma (0.2.0)
5152
claide (1.0.3)
5253
claide-plugins (0.9.2)
@@ -312,14 +313,13 @@ GEM
312313
simplecov-html (0.10.2)
313314
terminal-notifier (2.0.0)
314315
terminal-table (1.6.0)
315-
thread_safe (0.3.6)
316316
trailblazer-option (0.1.1)
317317
tty-cursor (0.7.1)
318318
tty-screen (0.8.1)
319319
tty-spinner (0.9.3)
320320
tty-cursor (~> 0.7)
321-
tzinfo (1.2.9)
322-
thread_safe (~> 0.1)
321+
tzinfo (2.0.4)
322+
concurrent-ruby (~> 1.0)
323323
uber (0.1.0)
324324
unf (0.1.4)
325325
unf_ext
@@ -342,6 +342,7 @@ GEM
342342
xcpretty-travis-formatter (1.0.1)
343343
xcpretty (~> 0.2, >= 0.0.7)
344344
yard (0.9.26)
345+
zeitwerk (2.4.2)
345346

346347
PLATFORMS
347348
ruby
@@ -365,4 +366,4 @@ DEPENDENCIES
365366
yard
366367

367368
BUNDLED WITH
368-
2.2.16
369+
2.2.22

fastlane-plugin-wpmreleasetoolkit.gemspec

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,8 @@ Gem::Specification.new do |spec|
4343
spec.add_dependency 'progress_bar', '~> 1.3'
4444
spec.add_dependency 'parallel', '~> 1.14'
4545
spec.add_dependency 'chroma', '0.2.0'
46-
spec.add_dependency 'activesupport', '~> 5'
47-
# Some of the upstream code uses `BigDecimal.new` which version 2.0 of the
48-
# `bigdecimal` gem removed. Until we'll find the time to identify the
49-
# dependencies and see if we can move them to something compatible with
50-
# modern `bigdecimal`, let's constrain the gem to a version still supporting
51-
# `.new` but which warns about it deprecation.
52-
spec.add_dependency 'bigdecimal', '~> 1.4'
46+
spec.add_dependency 'activesupport', '~> 6.0'
47+
spec.add_dependency 'bigdecimal', '~> 2.0'
5348

5449
spec.add_development_dependency 'pry', '~> 0.12.2'
5550
spec.add_development_dependency 'bundler', '~> 2.0'

lib/fastlane/plugin/wpmreleasetoolkit/helper/filesystem_helper.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ def self.plugin_root
3636
while continue
3737
child_filenames = dir.children.map! { |x| File.basename(x) }
3838

39-
if child_filenames.include? 'fastlane-plugin-wpmreleasetoolkit.gemspec'
39+
# The first case is for development – where the `.gemspec` is present in the project root
40+
# The second case is for production – where there's no `.gemspec`, but the root dir of the plugin is named `fastlane-plugin-wpmreleasetoolkit-{version}`.
41+
if child_filenames.include?('fastlane-plugin-wpmreleasetoolkit.gemspec') || File.basename(dir).start_with?('fastlane-plugin-wpmreleasetoolkit-')
4042
continue = false
4143
else
4244
dir = dir.parent

0 commit comments

Comments
 (0)