dekiru 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +1 -0
- data/lib/dekiru/helper.rb +2 -2
- data/lib/dekiru/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 645b46b3968939b35e0d81f7af7cb370c9a1120b489081df02cac5de31d9eb22
|
4
|
+
data.tar.gz: 87e792def5e10912c14cdd25f002eeb6a4c6db2de08c9d95a0663c2944656a19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acd32ab352485b4be6c5fd8ea0277bf06338cfe6cdaade9930fdd81b344ba9a9177b691c1cc55f7b08b443d84530267b805a20347679ec0cc47d367324f3ce2a
|
7
|
+
data.tar.gz: b342ebd2a82fafdf44b5776407f502412c8fb541cee51d7c889f7dede805bb5ea4c70f90ea6f0c4826a5710c613b432f6fdb7df2f8925e0cfef7a57139580a2d
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.1
|
data/.travis.yml
CHANGED
data/lib/dekiru/helper.rb
CHANGED
@@ -19,8 +19,8 @@ module Dekiru
|
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
22
|
-
def null_check_localization(
|
23
|
-
localize(
|
22
|
+
def null_check_localization(object, **options)
|
23
|
+
localize(object, **options) if object.present?
|
24
24
|
end
|
25
25
|
alias nl null_check_localization
|
26
26
|
|
data/lib/dekiru/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dekiru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akihiro Matsumura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http_accept_language
|
@@ -164,8 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
- !ruby/object:Gem::Version
|
165
165
|
version: '0'
|
166
166
|
requirements: []
|
167
|
-
|
168
|
-
rubygems_version: 2.7.6
|
167
|
+
rubygems_version: 3.1.2
|
169
168
|
signing_key:
|
170
169
|
specification_version: 4
|
171
170
|
summary: Usefull helper methods for Ruby on Rails
|