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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17516af44e8b97d4f175f6ed2059aab9ca70642a4df8ddf105c6986cbe8da43f
4
- data.tar.gz: 91de1ab4345f33e60812fa52aca7441e41f7aa8015024db7d28a1cbd3120e79e
3
+ metadata.gz: 921a0ee2d3e08bb28cf086d507c9ea128486424448dba584f93f59a77493ac01
4
+ data.tar.gz: 22f9a8a7fe215a9ee064ed7653946984c99c745570af54b0572dd73145e9c1a7
5
5
  SHA512:
6
- metadata.gz: 85d4dcfbcc2fcdb7da3df9c763d772de245949743a1826850fa24d90457b1e480061cd95ad6c42336a4edba5246e02fd6f29d5821415de936c507cb9aedda4cd
7
- data.tar.gz: fe398188119a564f482badffb665fbcabe0607975b9936f9c363aa7fbb11c2d765d8758ee70dcce5446f53bfa07f910d08662901f7a6485765fd6129c6a129f3
6
+ metadata.gz: 8db2398aff5a719ed934f38e98c4e749a1842642a944f19ae4b90d0a7bb395f6224ef5e5466c6495697a22dfcd8cfaf76930ea5e94e439be8d087d725557d64d
7
+ data.tar.gz: '0845c01fed83443d41e0773dc6cfaab96ca9d91a25427a2d90b99e27090a767489dc17fbd23c3e896526a7d7e707e957bff824127bc5f60b1aedeeb2be24b8a4'
data/.travis.yml CHANGED
@@ -4,6 +4,7 @@ rvm:
4
4
  - 2.4
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  gemfile:
8
9
  - gemfiles/rails50.gemfile
9
10
  - gemfiles/rails51.gemfile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.3.2
4
+
5
+ * Fix deprecation warning for ruby 2.7.
6
+
3
7
  ## 1.3.1
4
8
 
5
9
  * Fix default value for model included ActiveModel.
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module EnumIsh
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
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.1
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-23 00:00:00.000000000 Z
11
+ date: 2020-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport