aigu 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aigu/ember_pod_exporter.rb +2 -2
- data/lib/aigu/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: 3358a66e5995d3ce9e7a14d145d244b34f0a64a5
|
4
|
+
data.tar.gz: 1f343aa8b7122a03690a613d1bb9f2d40f8f5087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3553f93ffb7e1f9873563ce6b9cf75daf67bcd63d04da78517730e7b9634fb82a4bc88b6e50ee9984ad7d92759f25286b9fc059d31b85d691779c2fdb0e639d
|
7
|
+
data.tar.gz: 6eb458257db71b5d04a1dfcca7ae7220d76ed34eab818bf55e214a17229a8463c09d390e35abe80d05a67cc6ab33e6683d2ea506345c750e25404e26b2fe5a2f
|
@@ -17,8 +17,8 @@ module Aigu
|
|
17
17
|
|
18
18
|
return nil unless content
|
19
19
|
|
20
|
-
root_key = file.match(/translations\.([a-
|
21
|
-
base_key = file.gsub(/^#{input_directory}/, '').gsub(/^\//, '').gsub(/[a-z]+\/translations\.[a-
|
20
|
+
root_key = file.match(/translations\.([a-z0-9_]+)\.json/)[1]
|
21
|
+
base_key = file.gsub(/^#{input_directory}/, '').gsub(/^\//, '').gsub(/[a-z]+\/translations\.[a-z0-9_]+\.json$/, "__LOCALE__/translations.#{root_key}.json|")
|
22
22
|
|
23
23
|
content = flattenize_hash(content, base_key)
|
24
24
|
|
data/lib/aigu/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aigu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rémi Prévost
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-07-
|
12
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|