fast_gettext 0.5.12 → 0.5.13
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.
- data/Gemfile.lock +10 -10
- data/Readme.md +2 -1
- data/VERSION +1 -1
- data/fast_gettext.gemspec +2 -2
- data/lib/fast_gettext/translation_repository/base.rb +1 -1
- data/lib/fast_gettext/translation_repository/mo.rb +2 -2
- data/lib/fast_gettext/translation_repository/po.rb +2 -2
- metadata +4 -4
data/Gemfile.lock
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
activemodel (3.0.
|
|
5
|
-
activesupport (= 3.0.
|
|
4
|
+
activemodel (3.0.9)
|
|
5
|
+
activesupport (= 3.0.9)
|
|
6
6
|
builder (~> 2.1.2)
|
|
7
|
-
i18n (~> 0.
|
|
8
|
-
activerecord (3.0.
|
|
9
|
-
activemodel (= 3.0.
|
|
10
|
-
activesupport (= 3.0.
|
|
11
|
-
arel (~> 2.0.
|
|
7
|
+
i18n (~> 0.5.0)
|
|
8
|
+
activerecord (3.0.9)
|
|
9
|
+
activemodel (= 3.0.9)
|
|
10
|
+
activesupport (= 3.0.9)
|
|
11
|
+
arel (~> 2.0.10)
|
|
12
12
|
tzinfo (~> 0.3.23)
|
|
13
|
-
activesupport (3.0.
|
|
14
|
-
arel (2.0.
|
|
13
|
+
activesupport (3.0.9)
|
|
14
|
+
arel (2.0.10)
|
|
15
15
|
builder (2.1.2)
|
|
16
16
|
diff-lcs (1.1.2)
|
|
17
17
|
git (1.2.5)
|
|
@@ -30,7 +30,7 @@ GEM
|
|
|
30
30
|
diff-lcs (~> 1.1.2)
|
|
31
31
|
rspec-mocks (2.5.0)
|
|
32
32
|
sqlite3 (1.3.3)
|
|
33
|
-
tzinfo (0.3.
|
|
33
|
+
tzinfo (0.3.29)
|
|
34
34
|
|
|
35
35
|
PLATFORMS
|
|
36
36
|
ruby
|
data/Readme.md
CHANGED
|
@@ -189,13 +189,14 @@ Author
|
|
|
189
189
|
======
|
|
190
190
|
Mo/Po-file parsing from Masao Mutoh, see vendor/README
|
|
191
191
|
|
|
192
|
-
###Contributors
|
|
192
|
+
### [Contributors](http://github.com/grosser/fast_gettext/contributors)
|
|
193
193
|
- [geekq](http://www.innoq.com/blog/vd)
|
|
194
194
|
- [Matt Sanford](http://blog.mzsanford.com)
|
|
195
195
|
- [Antonio Terceiro](http://softwarelivre.org/terceiro)
|
|
196
196
|
- [J. Pablo Fernández](http://pupeno.com)
|
|
197
197
|
- Rudolf Gavlas
|
|
198
198
|
- [Ramón Cahenzli](http://www.psy-q.ch)
|
|
199
|
+
- [Rainux Luo](http://rainux.org)
|
|
199
200
|
|
|
200
201
|
[Michael Grosser](http://grosser.it)<br/>
|
|
201
202
|
michael@grosser.it<br/>
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.13
|
data/fast_gettext.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{fast_gettext}
|
|
8
|
-
s.version = "0.5.
|
|
8
|
+
s.version = "0.5.13"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Michael Grosser"]
|
|
12
|
-
s.date = %q{2011-06-
|
|
12
|
+
s.date = %q{2011-06-30}
|
|
13
13
|
s.email = %q{michael@grosser.it}
|
|
14
14
|
s.files = [
|
|
15
15
|
"CHANGELOG",
|
|
@@ -23,7 +23,7 @@ module FastGettext
|
|
|
23
23
|
def find_and_store_files(name,options)
|
|
24
24
|
# parse all .mo files with the right name, that sit in locale/LC_MESSAGES folders
|
|
25
25
|
find_files_in_locale_folders(File.join('LC_MESSAGES',"#{name}.mo"), options[:path]) do |locale,file|
|
|
26
|
-
|
|
26
|
+
MoFile.new(file)
|
|
27
27
|
end
|
|
28
28
|
end
|
|
29
29
|
|
|
@@ -32,4 +32,4 @@ module FastGettext
|
|
|
32
32
|
end
|
|
33
33
|
end
|
|
34
34
|
end
|
|
35
|
-
end
|
|
35
|
+
end
|
|
@@ -10,9 +10,9 @@ module FastGettext
|
|
|
10
10
|
def find_and_store_files(name, options)
|
|
11
11
|
require 'fast_gettext/po_file'
|
|
12
12
|
find_files_in_locale_folders("#{name}.po", options[:path]) do |locale,file|
|
|
13
|
-
|
|
13
|
+
PoFile.to_mo_file(file, options)
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
|
18
|
-
end
|
|
18
|
+
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fast_gettext
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 5
|
|
9
|
-
-
|
|
10
|
-
version: 0.5.
|
|
9
|
+
- 13
|
|
10
|
+
version: 0.5.13
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Michael Grosser
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-06-
|
|
18
|
+
date: 2011-06-30 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies: []
|
|
21
21
|
|