Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
gemfile:
- Gemfile
ruby: ["3.2", "3.3", "3.4"]
ruby: ["3.2", "3.3", "3.4", "4.0"]
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.8
4.0.1
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

- Add support for Ruby 4.0 [#434](https://github.com/Shopify/worldwide/pull/434)

---
## [1.22.0] - 2026-03-09
- Add CLDR unit formatting support for 12 new measurement categories: area, duration, electric, energy, frequency, light, power, pressure, speed, temperature, digital, and graphics (~50 new unit keys with locale-aware formatting) [#436](https://github.com/Shopify/worldwide/pull/436)
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ group :development do
gem "rubocop", require: false
gem "ruby-lsp", require: false
gem "pry-byebug", require: false
gem "irb", require: false
gem "benchmark", require: false
end

group :test do
Expand Down
45 changes: 33 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ PATH
worldwide (1.22.0)
activesupport (>= 7.0)
i18n
logger
ostruct
phonelib (~> 0.8)

GEM
Expand All @@ -34,54 +36,71 @@ GEM
ansi (1.5.0)
ast (2.4.2)
base64 (0.1.1)
benchmark (0.5.0)
bigdecimal (3.1.4)
builder (3.2.4)
byebug (11.1.3)
byebug (13.0.0)
reline (>= 0.6.0)
coderay (1.1.3)
concurrent-ruby (1.2.2)
concurrent-ruby (1.3.6)
connection_pool (2.4.1)
drb (2.1.1)
ruby2_keywords
i18n (1.14.1)
i18n (1.14.8)
concurrent-ruby (~> 1.0)
io-console (0.8.0)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.7.1)
language_server-protocol (3.17.0.3)
logger (1.7.0)
method_source (1.1.0)
minitest (5.17.0)
minitest (5.27.0)
minitest-focus (1.3.1)
minitest (>= 4, < 6)
minitest-reporters (1.5.0)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
mocha (2.0.2)
mocha (3.0.2)
ruby2_keywords (>= 0.0.5)
mutex_m (0.1.2)
nokogiri (1.18.9-arm64-darwin)
nokogiri (1.19.1-arm64-darwin)
racc (~> 1.4)
nokogiri (1.18.9-x86_64-linux-gnu)
nokogiri (1.19.1-x86_64-linux-gnu)
racc (~> 1.4)
ostruct (0.6.3)
parallel (1.24.0)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
phonelib (0.8.7)
pp (0.6.2)
prettyprint
prettier_print (1.2.0)
pry (0.14.2)
prettyprint (0.2.0)
pry (0.16.0)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
reline (>= 0.6.0)
pry-byebug (3.12.0)
byebug (~> 13.0)
pry (>= 0.13, < 0.17)
psych (5.1.0)
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.0.6)
rake-compiler (1.2.1)
rake
rdoc (6.13.1)
psych (>= 4.0.0)
regexp_parser (2.9.0)
reline (0.6.1)
io-console (~> 0.5)
rexml (3.2.8)
strscan (>= 3.0.9)
rubocop (1.62.1)
Expand Down Expand Up @@ -114,7 +133,7 @@ GEM
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
sorbet-runtime (0.5.10648)
stringio (3.1.0)
stringio (3.2.0)
strscan (3.1.0)
syntax_tree (5.3.0)
prettier_print (>= 1.2.0)
Expand All @@ -130,6 +149,8 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
benchmark
irb
minitest (~> 5.0)
minitest-focus
minitest-reporters
Expand Down
2 changes: 2 additions & 0 deletions worldwide.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@ Gem::Specification.new do |spec|

spec.add_dependency("activesupport", ">= 7.0")
spec.add_dependency("i18n")
spec.add_dependency("logger")
spec.add_dependency("ostruct")
spec.add_dependency("phonelib", "~> 0.8")
end
Loading