gettext_i18n_rails 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gettext_i18n_rails/base_parser.rb +6 -1
- data/lib/gettext_i18n_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3540932e2e20499c5431297825244e48bd1787d9
|
4
|
+
data.tar.gz: d31432a4c8ee36bbade2b9616607942b024be4d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27bddfb5186a8521ed594c9ad980c6f9b1f000bf1543c8e75a4c3c97f250ede6cca2a970af40156c999ac26aa20408cfe7a3c93a81e1ae9c340e9ff4b6f8a4ec
|
7
|
+
data.tar.gz: bc646ca58b17712df84859a37cbf58726433b9dbc067a030cded77dd2999ad036455865fc266236fa68312931ac7e6dba1c4d51c0b030e5858ea168651c4569c
|
@@ -23,7 +23,12 @@ module GettextI18nRails
|
|
23
23
|
return true if @library_loaded
|
24
24
|
|
25
25
|
loaded = libraries.detect do |library|
|
26
|
-
|
26
|
+
if Gem::Specification.find_all_by_name(library).any?
|
27
|
+
require library
|
28
|
+
true
|
29
|
+
else
|
30
|
+
false
|
31
|
+
end
|
27
32
|
end
|
28
33
|
|
29
34
|
unless loaded
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext_i18n_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fast_gettext
|