ree_lib 1.0.95 → 1.0.96
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ree_lib/packages/ree_errors/package/ree_errors/error.rb +2 -2
- data/lib/ree_lib/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: 223876a9348e9e59a9aa90f96c2f5223fbfcc682f107ff394313c12bd56194f9
|
4
|
+
data.tar.gz: aa990adc4c53576149fa67a112ebc8b566a43f1a4ee5ff4434cd7b33b156c7e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1593f3e015194612c0bc3fc0fb58b3eb345100825611a3537ddeb3f1101426109b747f9b849076df37f561caa0ef15a0569da6a9acb957921e3bf0195e98bcc
|
7
|
+
data.tar.gz: a5cbc22112a3e34c7fe1f389150fe2729da8c4cec1f55489f606c0dca02cf61101e54be26f8c0a815c0beaba05cd4063f1d448f83e38f0309c4c36ae22800e91
|
data/Gemfile.lock
CHANGED
@@ -2,8 +2,8 @@ module ReeErrors
|
|
2
2
|
class Error < StandardError
|
3
3
|
include Ree::LinkDSL
|
4
4
|
|
5
|
-
link :t, from: :ree_i18n
|
6
5
|
link :check_locale_exists, from: :ree_i18n
|
6
|
+
link :t, from: :ree_i18n
|
7
7
|
link :underscore, from: :ree_string
|
8
8
|
|
9
9
|
def initialize(msg = nil)
|
@@ -20,7 +20,7 @@ module ReeErrors
|
|
20
20
|
has_path = path.include?(".")
|
21
21
|
|
22
22
|
if has_path
|
23
|
-
pre_path = [caller_module, caller_class].compact.map { underscore(
|
23
|
+
pre_path = [caller_module, caller_class].compact.map { underscore(_1)}.join(".")
|
24
24
|
|
25
25
|
if check_locale_exists(path)
|
26
26
|
t(path, default_by_locale: :en)
|
data/lib/ree_lib/version.rb
CHANGED