globalize 7.1.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +17 -20
- data/lib/globalize/active_record/attributes.rb +1 -1
- data/lib/globalize/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bac7118054ca9e095efdac8769ba6fefc7e23c30ed8bc0c38c180535405a2727
|
|
4
|
+
data.tar.gz: adf233097d8c63070127f866237d480a4279500308bd7a2d6cc20874897bda47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d4f9f8157cd2ff6659006bfdc1f8744b40dce6087f18191cc0a3a8952c92c51fecc6253dec0ceea032139fb6477e673be860007dc78bf80642b631c42fc1863
|
|
7
|
+
data.tar.gz: bc24395950b2d4812bae2ed3c15d8259fa6a6146a47e15f1b123381e93a47b771b6977035a3b443750cf5ad2ccf5bc71fb2d457c835e58276d8138613fcab792
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Globalize Changelog
|
|
2
2
|
|
|
3
|
+
## 7.1.1 (2025-12-24)
|
|
4
|
+
|
|
5
|
+
* Fix automatic creation of empty stash entries for unassigned locales [#833](https://github.com/globalize/globalize/pull/833) by [Jules](https://github.com/jules-w2)
|
|
6
|
+
|
|
3
7
|
## 7.1.0 (2025-12-23)
|
|
4
8
|
|
|
5
9
|
* Add support for Rails 8.1.x [#838](https://github.com/globalize/globalize/pull/838) by [Jules](https://github.com/jules-w2)
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -1,21 +1,30 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
-
[](https://github.com/globalize/globalize/actions)
|
|
3
|
+
[](https://github.com/globalize/globalize/actions)
|
|
4
4
|
[](https://www.codetriage.com/globalize/globalize)
|
|
5
5
|
|
|
6
|
-
You can chat with us using Gitter:
|
|
7
|
-
|
|
8
|
-
[](https://gitter.im/globalize/globalize)
|
|
9
|
-
|
|
10
6
|
Globalize builds on the [I18n API in Ruby on Rails](http://guides.rubyonrails.org/i18n.html)
|
|
11
7
|
to add model translations to ActiveRecord models.
|
|
12
8
|
|
|
13
|
-
In other words
|
|
9
|
+
In other words: a way to translate actual user-generated content, for example; a single blog post with multiple translations.
|
|
14
10
|
|
|
15
11
|
## Current state of the gem
|
|
16
12
|
|
|
17
|
-
Globalize is
|
|
13
|
+
Globalize is seen as relatively feature complete and is not very actively maintained, as none of the current maintainers actively use it. It should still work just fine, and we try to keep it up to date with new Ruby and Rails releases.
|
|
14
|
+
|
|
15
|
+
Pull Requests are very welcome, even if you get a delayed response, especially for compatibility with new versions of Rails.
|
|
16
|
+
|
|
17
|
+
## Alternative solutions
|
|
18
|
+
|
|
19
|
+
* [Mobility](https://github.com/shioyama/mobility) - pluggable translation framework supporting many strategies, including translatable columns, translation tables and hstore/jsonb (Chris Salzberg). Mobility is seen by many (including Globalize maintainers) as a natural successor to Globalize.
|
|
20
|
+
* [Traco](https://github.com/barsoom/traco) - use multiple columns in the same model (Barsoom)
|
|
21
|
+
* [hstore_translate](https://github.com/cfabianski/hstore_translate) - use PostgreSQL's hstore datatype to store translations, instead of separate translation tables (Cédric Fabianski)
|
|
22
|
+
* [json_translate](https://github.com/cfabianski/json_translate) - use PostgreSQL's json/jsonb datatype to store translations, instead of separate translation tables (Cédric Fabianski)
|
|
23
|
+
* [Trasto](https://github.com/yabawock/trasto) - store translations directly in the model in a Postgres Hstore column
|
|
24
|
+
|
|
25
|
+
## Related solutions
|
|
18
26
|
|
|
27
|
+
* [friendly_id-globalize](https://github.com/norman/friendly_id-globalize) - lets you use Globalize to translate slugs (Norman Clarke)
|
|
19
28
|
|
|
20
29
|
## Requirements
|
|
21
30
|
|
|
@@ -24,7 +33,7 @@ Globalize is not very actively maintained. Pull Requests are welcome, especially
|
|
|
24
33
|
|
|
25
34
|
## Installation
|
|
26
35
|
|
|
27
|
-
To install the ActiveRecord 7.x compatible version of Globalize with its default setup, just use:
|
|
36
|
+
To install the ActiveRecord 7.x and 8.x compatible version of Globalize with its default setup, just use:
|
|
28
37
|
|
|
29
38
|
```ruby
|
|
30
39
|
gem install globalize
|
|
@@ -421,15 +430,3 @@ If you're not using Rails, you may need to consult RequestStore's [README](https
|
|
|
421
430
|
|
|
422
431
|
* [globalize-accessors](https://github.com/globalize/globalize-accessors) - generator of accessor methods for models. *(e.g. title_en, title_cz)*
|
|
423
432
|
* [globalize-versioning](https://github.com/globalize/globalize-versioning) - versioning support for using Globalize with [`paper_trail`](https://github.com/airblade/paper_trail).
|
|
424
|
-
|
|
425
|
-
## Alternative solutions
|
|
426
|
-
|
|
427
|
-
* [Traco](https://github.com/barsoom/traco) - use multiple columns in the same model (Barsoom)
|
|
428
|
-
* [Mobility](https://github.com/shioyama/mobility) - pluggable translation framework supporting many strategies, including translatable columns, translation tables and hstore/jsonb (Chris Salzberg)
|
|
429
|
-
* [hstore_translate](https://github.com/cfabianski/hstore_translate) - use PostgreSQL's hstore datatype to store translations, instead of separate translation tables (Cédric Fabianski)
|
|
430
|
-
* [json_translate](https://github.com/cfabianski/json_translate) - use PostgreSQL's json/jsonb datatype to store translations, instead of separate translation tables (Cédric Fabianski)
|
|
431
|
-
* [Trasto](https://github.com/yabawock/trasto) - store translations directly in the model in a Postgres Hstore column
|
|
432
|
-
|
|
433
|
-
## Related solutions
|
|
434
|
-
|
|
435
|
-
* [friendly_id-globalize](https://github.com/norman/friendly_id-globalize) - lets you use Globalize to translate slugs (Norman Clarke)
|
data/lib/globalize/version.rb
CHANGED