Skip to content

Commit 38c189d

Browse files
committed
8.0.0 release
1 parent 000fde4 commit 38c189d

File tree

5 files changed

+83
-43
lines changed

5 files changed

+83
-43
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
ruby-version:
14-
- '3.0'
15-
- '3.1'
1614
- '3.2'
1715
- '3.3'
1816
rubyopt: [""]

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
## unreleased
22

3-
- Update dependencies to allow Rails 8+.
3+
4+
## 8.0.0 (2024-11-09)
5+
6+
- Update to Rails 8.0.x
47

58
## 7.0.10 (2024-10-28)
69

Gemfile.lock

Lines changed: 62 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,52 @@
11
PATH
22
remote: .
33
specs:
4-
rails-i18n (7.0.10)
4+
rails-i18n (8.0.0)
55
i18n (>= 0.7, < 2)
6-
railties (>= 6.0.0)
6+
railties (>= 8.0.0, < 9)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
11-
actionpack (7.0.7)
12-
actionview (= 7.0.7)
13-
activesupport (= 7.0.7)
14-
rack (~> 2.0, >= 2.2.4)
11+
actionpack (8.0.0)
12+
actionview (= 8.0.0)
13+
activesupport (= 8.0.0)
14+
nokogiri (>= 1.8.5)
15+
rack (>= 2.2.4)
16+
rack-session (>= 1.0.1)
1517
rack-test (>= 0.6.3)
16-
rails-dom-testing (~> 2.0)
17-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
18-
actionview (7.0.7)
19-
activesupport (= 7.0.7)
18+
rails-dom-testing (~> 2.2)
19+
rails-html-sanitizer (~> 1.6)
20+
useragent (~> 0.16)
21+
actionview (8.0.0)
22+
activesupport (= 8.0.0)
2023
builder (~> 3.1)
21-
erubi (~> 1.4)
22-
rails-dom-testing (~> 2.0)
23-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
24-
activesupport (7.0.7)
25-
concurrent-ruby (~> 1.0, >= 1.0.2)
24+
erubi (~> 1.11)
25+
rails-dom-testing (~> 2.2)
26+
rails-html-sanitizer (~> 1.6)
27+
activesupport (8.0.0)
28+
base64
29+
benchmark (>= 0.3)
30+
bigdecimal
31+
concurrent-ruby (~> 1.0, >= 1.3.1)
32+
connection_pool (>= 2.2.5)
33+
drb
2634
i18n (>= 1.6, < 2)
35+
logger (>= 1.4.2)
2736
minitest (>= 5.1)
28-
tzinfo (~> 2.0)
37+
securerandom (>= 0.3)
38+
tzinfo (~> 2.0, >= 2.0.5)
39+
uri (>= 0.13.1)
2940
ast (2.4.2)
41+
base64 (0.2.0)
42+
benchmark (0.4.0)
43+
bigdecimal (3.1.8)
3044
builder (3.2.4)
31-
concurrent-ruby (1.2.2)
45+
concurrent-ruby (1.3.4)
46+
connection_pool (2.4.1)
3247
crass (1.0.6)
3348
diff-lcs (1.5.0)
49+
drb (2.2.1)
3450
erubi (1.12.0)
3551
highline (2.1.0)
3652
i18n (1.14.1)
@@ -47,12 +63,16 @@ GEM
4763
rails-i18n
4864
rainbow (>= 2.2.2, < 4.0)
4965
terminal-table (>= 1.5.1)
66+
io-console (0.7.2)
67+
irb (1.14.1)
68+
rdoc (>= 4.0.0)
69+
reline (>= 0.4.2)
5070
iso (0.4.0)
5171
i18n
72+
logger (1.6.1)
5273
loofah (2.21.3)
5374
crass (~> 1.0.2)
5475
nokogiri (>= 1.12.0)
55-
method_source (1.0.0)
5676
mini_portile2 (2.8.4)
5777
minitest (5.19.0)
5878
nokogiri (1.15.4)
@@ -61,26 +81,38 @@ GEM
6181
parser (3.2.2.3)
6282
ast (~> 2.4.1)
6383
racc
84+
psych (5.2.0)
85+
stringio
6486
racc (1.7.1)
6587
rack (2.2.8)
88+
rack-session (1.0.2)
89+
rack (< 3)
6690
rack-test (2.1.0)
6791
rack (>= 1.3)
92+
rackup (1.0.1)
93+
rack (< 3)
94+
webrick
6895
rails-dom-testing (2.2.0)
6996
activesupport (>= 5.0.0)
7097
minitest
7198
nokogiri (>= 1.6)
7299
rails-html-sanitizer (1.6.0)
73100
loofah (~> 2.21)
74101
nokogiri (~> 1.14)
75-
railties (7.0.7)
76-
actionpack (= 7.0.7)
77-
activesupport (= 7.0.7)
78-
method_source
102+
railties (8.0.0)
103+
actionpack (= 8.0.0)
104+
activesupport (= 8.0.0)
105+
irb (~> 1.13)
106+
rackup (>= 1.0.0)
79107
rake (>= 12.2)
80-
thor (~> 1.0)
81-
zeitwerk (~> 2.5)
108+
thor (~> 1.0, >= 1.2.2)
109+
zeitwerk (~> 2.6)
82110
rainbow (3.1.1)
83111
rake (13.0.6)
112+
rdoc (6.7.0)
113+
psych (>= 4.0.0)
114+
reline (0.5.11)
115+
io-console (~> 0.5)
84116
rspec-core (3.9.3)
85117
rspec-support (~> 3.9.3)
86118
rspec-expectations (3.9.4)
@@ -98,12 +130,17 @@ GEM
98130
rspec-mocks (~> 3.9.0)
99131
rspec-support (~> 3.9.0)
100132
rspec-support (3.9.4)
133+
securerandom (0.3.1)
134+
stringio (3.1.2)
101135
terminal-table (3.0.2)
102136
unicode-display_width (>= 1.1.1, < 3)
103137
thor (1.2.2)
104138
tzinfo (2.0.6)
105139
concurrent-ruby (~> 1.0)
106140
unicode-display_width (2.4.2)
141+
uri (1.0.1)
142+
useragent (0.16.10)
143+
webrick (1.9.0)
107144
zeitwerk (2.6.11)
108145

109146
PLATFORMS
@@ -116,4 +153,4 @@ DEPENDENCIES
116153
rspec-rails (~> 3.7)
117154

118155
BUNDLED WITH
119-
2.4.18
156+
2.5.23

rails-i18n.gemspec

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
Gem::Specification.new do |s|
2+
s.platform = Gem::Platform::RUBY
23
s.name = "rails-i18n"
3-
s.version = '7.0.10'
4+
s.version = "8.0.0"
45
s.authors = ["Rails I18n Group"]
56
s.email = "rails-i18n@googlegroups.com"
67
s.homepage = "https://github.com/svenfuchs/rails-i18n"
78
s.summary = "Common locale data and translations for Rails i18n."
89
s.description = "A set of common locale data and translations to internationalize and/or localize your Rails applications."
9-
s.license = 'MIT'
10+
s.license = "MIT"
1011

1112
s.files = Dir.glob("lib/**/*") + Dir.glob("rails/locale/*") + Dir.glob("rails/ordinals/*") +
1213
Dir.glob("rails/pluralization/*") + Dir.glob("rails/transliteration/*") +
1314
%w(README.md CHANGELOG.md MIT-LICENSE.txt)
14-
s.platform = Gem::Platform::RUBY
15-
s.require_path = 'lib'
16-
s.required_rubygems_version = '>= 1.8.11'
17-
18-
s.add_dependency('i18n', '>= 0.7', '< 2')
19-
s.add_dependency('railties', '>= 6.0.0')
15+
s.require_path = "lib"
16+
s.required_rubygems_version = ">= 1.8.11"
17+
s.required_ruby_version = ">= 3.2.0"
2018

19+
s.add_dependency("i18n", ">= 0.7", "< 2")
20+
s.add_dependency("railties", ">= 8.0.0", "< 9")
2121
s.add_development_dependency "rspec-rails", "~> 3.7"
2222
s.add_development_dependency "i18n-spec", "~> 0.6.0"
23-
s.add_development_dependency 'i18n-tasks', '~> 0.9.37'
23+
s.add_development_dependency "i18n-tasks", "~> 0.9.37"
2424
end

rails/locale/en.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ en:
1717
- Fri
1818
- Sat
1919
abbr_month_names:
20-
-
20+
-
2121
- Jan
2222
- Feb
2323
- Mar
@@ -43,7 +43,7 @@ en:
4343
long: "%B %d, %Y"
4444
short: "%b %d"
4545
month_names:
46-
-
46+
-
4747
- January
4848
- February
4949
- March
@@ -57,9 +57,9 @@ en:
5757
- November
5858
- December
5959
order:
60-
- :year
61-
- :month
62-
- :day
60+
- year
61+
- month
62+
- day
6363
datetime:
6464
distance_in_words:
6565
about_x_hours:
@@ -100,7 +100,7 @@ en:
100100
one: "%{count} year"
101101
other: "%{count} years"
102102
prompts:
103-
second: Second
103+
second: Seconds
104104
minute: Minute
105105
hour: Hour
106106
day: Day
@@ -157,6 +157,7 @@ en:
157157
format:
158158
delimiter: ","
159159
format: "%u%n"
160+
negative_format: "-%u%n"
160161
precision: 2
161162
separator: "."
162163
significant: false
@@ -196,6 +197,7 @@ en:
196197
mb: MB
197198
pb: PB
198199
tb: TB
200+
zb: ZB
199201
percentage:
200202
format:
201203
delimiter: ''

0 commit comments

Comments
 (0)