i18n-tasks 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/i18n/tasks/data/file_system_base.rb +2 -2
- data/lib/i18n/tasks/data/locale_tree.rb +1 -2
- data/lib/i18n/tasks/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: aeddb130b04e94eb44c9a80da3746896933e2272
|
4
|
+
data.tar.gz: 17f53cf4fe0015cfd6edf18613d7253ea2d61952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 690d937228ea48e53dbc4bb690b04af94e39b1c9d843e163f00f3a96b2377d86727f4e0e2bb277fb9d49677371fe5f17fb1feeb2a88f569d9a20f1acb3534901
|
7
|
+
data.tar.gz: ce79dd5249253f465be6fd14f7a0af74b5d44fbea2e61027a4b4e290fc90ee2838830cebdfe2106d55e1ce9fb646aaae6c3ba5cc5bcbe69d2c206d914830074d
|
data/CHANGES.md
CHANGED
@@ -38,11 +38,11 @@ module I18n::Tasks
|
|
38
38
|
Dir.glob path % {locale: locale}
|
39
39
|
end.reduce(:+).map do |locale_file|
|
40
40
|
load_file locale_file
|
41
|
-
end.inject({}
|
41
|
+
end.inject({}) do |hash, locale_data|
|
42
42
|
hash.deep_merge! locale_data || {}
|
43
43
|
hash
|
44
44
|
end[locale.to_s] || {}
|
45
|
-
LocaleTree.new locale, hash.
|
45
|
+
LocaleTree.new locale, hash.to_hash
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
data/lib/i18n/tasks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- glebm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: erubis
|