gettext_i18n_rails 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d44778c539339645b710e5f1862af49d68ec63e5
4
- data.tar.gz: 0cf533fee50c03536596e96bed36e78a751b51c8
3
+ metadata.gz: 3540932e2e20499c5431297825244e48bd1787d9
4
+ data.tar.gz: d31432a4c8ee36bbade2b9616607942b024be4d1
5
5
  SHA512:
6
- metadata.gz: 33f63cda078d072ee8bd52232327e970003261bb20e74b00c2b579633f1504ace83e0f740cb06169e546574bc669a90cac9141f5fc2a209643035e350e5cf1c1
7
- data.tar.gz: 0f1466b79c2bbc16833914fdbc46c4f271da918cc6153c6f29606cfaf83b365d16f11bcad017c55e92ad0a9a98e0e7eba6a89f63d9505e32cccbb69e3ef11560
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
- require library if Gem::Specification.find_all_by_name(library).any?
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
@@ -1,3 +1,3 @@
1
1
  module GettextI18nRails
2
- Version = VERSION = '1.7.1'
2
+ Version = VERSION = '1.7.2'
3
3
  end
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.1
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-16 00:00:00.000000000 Z
11
+ date: 2016-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fast_gettext