activerecord-enum_translation 0.2.0 → 0.2.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 +9 -6
- data/Gemfile.lock +14 -17
- data/lib/activerecord/enum_translation/version.rb +1 -1
- data/lib/activerecord/enum_translation.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e6a997225299f1ec8b731382cdd78029435d81cbf625ecead028de682429fab5
|
|
4
|
+
data.tar.gz: cf38e89127f1ed031bcb3c81c16f1afd8c7fbb9b3b61961b4aa065da5ec2e3d6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 636f494620f48ae398d347bb5153c8c6fabc8e234d66bd53bfb45005d18224ad40bbeb3f62439e795ab5e32683387e7a491cf59813c69dcd6d7dbec653747820
|
|
7
|
+
data.tar.gz: 86a679905ff62e6c153956b7078719af5595ea9eddd377a40bda7806ca8dcad6f163de6cca3ef84e2c84af09dc20d017ae74a9328ecc188faaeb47368ec83766
|
data/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
## Unreleased
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
5
|
+
## 0.2.1 - 2022-03-13
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Fix keyword arguments handling for Ruby 3.0.
|
|
10
|
+
|
|
11
|
+
## 0.2.0 - 2020-09-12
|
|
9
12
|
|
|
10
13
|
### Added
|
|
11
14
|
|
|
12
15
|
- Add `:count` option.
|
|
13
|
-
- Add `"attributes.#{enum_name}.#{enum_value}" key.
|
|
16
|
+
- Add `"attributes.#{enum_name}.#{enum_value}"` key.
|
|
14
17
|
- Add humanized enum value as default value.
|
|
15
18
|
- Support `i18n_scope` override.
|
|
16
19
|
|
|
@@ -18,7 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
18
21
|
|
|
19
22
|
- Fix broken `:default` option on `#human_enum_name_reader_for`.
|
|
20
23
|
|
|
21
|
-
##
|
|
24
|
+
## 0.1.0 - 2020-09-12
|
|
22
25
|
|
|
23
26
|
### Added
|
|
24
27
|
|
data/Gemfile.lock
CHANGED
|
@@ -1,34 +1,31 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
activerecord-enum_translation (0.2.
|
|
4
|
+
activerecord-enum_translation (0.2.1)
|
|
5
5
|
activerecord
|
|
6
6
|
activesupport
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
activemodel (
|
|
12
|
-
activesupport (=
|
|
13
|
-
activerecord (
|
|
14
|
-
activemodel (=
|
|
15
|
-
activesupport (=
|
|
16
|
-
activesupport (
|
|
11
|
+
activemodel (7.0.2.3)
|
|
12
|
+
activesupport (= 7.0.2.3)
|
|
13
|
+
activerecord (7.0.2.3)
|
|
14
|
+
activemodel (= 7.0.2.3)
|
|
15
|
+
activesupport (= 7.0.2.3)
|
|
16
|
+
activesupport (7.0.2.3)
|
|
17
17
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
18
|
-
i18n (>=
|
|
19
|
-
minitest (
|
|
20
|
-
tzinfo (~>
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
i18n (1.8.5)
|
|
18
|
+
i18n (>= 1.6, < 2)
|
|
19
|
+
minitest (>= 5.1)
|
|
20
|
+
tzinfo (~> 2.0)
|
|
21
|
+
concurrent-ruby (1.1.9)
|
|
22
|
+
i18n (1.10.0)
|
|
24
23
|
concurrent-ruby (~> 1.0)
|
|
25
24
|
minitest (5.14.2)
|
|
26
25
|
rake (12.3.3)
|
|
27
26
|
sqlite3 (1.4.2)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
thread_safe (~> 0.1)
|
|
31
|
-
zeitwerk (2.4.0)
|
|
27
|
+
tzinfo (2.0.4)
|
|
28
|
+
concurrent-ruby (~> 1.0)
|
|
32
29
|
|
|
33
30
|
PLATFORMS
|
|
34
31
|
ruby
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-enum_translation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ryo Nakamura
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-03-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
80
80
|
- !ruby/object:Gem::Version
|
|
81
81
|
version: '0'
|
|
82
82
|
requirements: []
|
|
83
|
-
rubygems_version: 3.
|
|
83
|
+
rubygems_version: 3.1.4
|
|
84
84
|
signing_key:
|
|
85
85
|
specification_version: 4
|
|
86
86
|
summary: Provides integration between ActiveRecord::Enum and I18n.
|