Skip to content

Commit c5c14da

Browse files
Merge pull request #374 from envato/pv/sorted-set
Use sorted_set gem instead of relying on it existing in ruby's `set` library
2 parents f8b368c + 07b2e2e commit c5c14da

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,16 @@ The format is based on [Keep a Changelog], and this project adheres to
1010

1111
## [Unreleased]
1212

13-
[Unreleased]: https://github.com/envato/stack_master/compare/v2.13.3...HEAD
13+
[Unreleased]: https://github.com/envato/stack_master/compare/v2.13.4...HEAD
14+
15+
## [2.13.4] - 2023-08-02
16+
17+
### Fixed
18+
19+
- Resolve SparkleFormation template error caused by `SortedSet` class being removed from the `set` library in Ruby 3 ([#374]).
20+
21+
[2.13.3]: https://github.com/envato/stack_master/compare/v2.13.3...v2.13.4
22+
[#374]: https://github.com/envato/stack_master/pull/374
1423

1524
## [2.13.3] - 2023-02-01
1625

Gemfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@ source 'https://rubygems.org'
22

33
# Specify your gem's dependencies in stack_master.gemspec
44
gemspec
5-
6-
if RUBY_VERSION >= '3.0.0'
7-
# SparkleFormation has an issue with Ruby 3 and the SortedSet class.
8-
# Remove after merged: https://github.com/sparkleformation/sparkle_formation/pull/271
9-
gem 'faux_sorted_set', require: false
10-
end

lib/stack_master/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module StackMaster
2-
VERSION = "2.13.3"
2+
VERSION = "2.13.4"
33
end

stack_master.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Gem::Specification.new do |spec|
4444
spec.add_dependency "aws-sdk-ssm", "~> 1"
4545
spec.add_dependency "aws-sdk-ecr", "~> 1"
4646
spec.add_dependency "aws-sdk-iam", "~> 1"
47+
spec.add_dependency "sorted_set" # remove once new version of sparkle_formation released (> v3.0.40). See https://github.com/sparkleformation/sparkle_formation/pull/271.
4748
spec.add_dependency "diffy"
4849
spec.add_dependency "erubis"
4950
spec.add_dependency "rainbow"

0 commit comments

Comments
 (0)