enum_ish 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/lib/enum_ish/dictionary.rb +1 -1
- data/lib/enum_ish/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 921a0ee2d3e08bb28cf086d507c9ea128486424448dba584f93f59a77493ac01
|
4
|
+
data.tar.gz: 22f9a8a7fe215a9ee064ed7653946984c99c745570af54b0572dd73145e9c1a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db2398aff5a719ed934f38e98c4e749a1842642a944f19ae4b90d0a7bb395f6224ef5e5466c6495697a22dfcd8cfaf76930ea5e94e439be8d087d725557d64d
|
7
|
+
data.tar.gz: '0845c01fed83443d41e0773dc6cfaab96ca9d91a25427a2d90b99e27090a767489dc17fbd23c3e896526a7d7e707e957bff824127bc5f60b1aedeeb2be24b8a4'
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/enum_ish/dictionary.rb
CHANGED
@@ -33,7 +33,7 @@ module EnumIsh
|
|
33
33
|
|
34
34
|
def load_dict(enum, options)
|
35
35
|
key = i18n_key(enum, options)
|
36
|
-
dict = I18n.t("enum_ish.#{@klass.name.underscore}.#{key}", i18n_options(enum, options))
|
36
|
+
dict = I18n.t("enum_ish.#{@klass.name.underscore}.#{key}", **i18n_options(enum, options))
|
37
37
|
dict.map { |k, v| [k.to_s.to_sym, v.to_s] }.to_h
|
38
38
|
end
|
39
39
|
|
data/lib/enum_ish/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: enum_ish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshikazu Kaneta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|