fast_gettext 1.1.0 → 1.1.1
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7543c02e0361c80f8c4183cbd26e551034c9f390
|
4
|
+
data.tar.gz: e9cdba2887a861f9b60290c06267404c57f9f1b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08ffcef07de38dc33ecc5269a0df3a27973e9c2b927ea26b53f7139a3a62660a021b95f298f0e3e95ca05ffa5dd8f696ce0f46e1a651a1a1a5cc3dbc5c95c98d'
|
7
|
+
data.tar.gz: 6566bc45ee0075f66d31cbac59ca5b1e8a7416d446f82150bbf0f3d688bd47b120d18d5bd9050c6efadb673b7ad75da549d4abf234d7edf8d8baf93ef263c98e
|
data/lib/fast_gettext/po_file.rb
CHANGED
@@ -29,7 +29,7 @@ module FastGettext
|
|
29
29
|
def find_and_store_files(name,options)
|
30
30
|
# parse all .mo files with the right name, that sit in locale/LC_MESSAGES folders
|
31
31
|
find_files_in_locale_folders(File.join('LC_MESSAGES',"#{name}.mo"), options[:path]) do |locale,file|
|
32
|
-
MoFile.new(file, eager_load
|
32
|
+
MoFile.new(file, :eager_load => @eager_load)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -133,7 +133,7 @@ module GetText
|
|
133
133
|
|
134
134
|
def parse_file(po_file, data)
|
135
135
|
args = [ po_file ]
|
136
|
-
#
|
136
|
+
# We should not try to detect the string encoding in Ruby 1.8
|
137
137
|
if String.instance_methods.include?(:encode)
|
138
138
|
encoding = detect_file_encoding(po_file)
|
139
139
|
args << "r:#{encoding}"
|
data/lib/fast_gettext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fast_gettext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
160
|
version: '0'
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.
|
163
|
+
rubygems_version: 2.6.14
|
164
164
|
signing_key:
|
165
165
|
specification_version: 4
|
166
166
|
summary: A simple, fast, memory-efficient and threadsafe implementation of GetText
|