aigu 1.0.1 → 1.0.2
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: 58cc49aa3ff385c28e9698ae7e79e4831afab458
|
4
|
+
data.tar.gz: 46b24c7e9f86c0d3a667e7ed3a5caf54abd29170
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0281857dcb03b1883054854623b1a15fc77e3cf602856b93b0ccab0ecad9a85f5feaa3e7cfedef994b8d4923fa0a7e4ca90ac6e3ffdd3083ce66feddecfe3cc1'
|
7
|
+
data.tar.gz: c7ed1ebf78950bf4864d98e4d6f56efbdd3c1e6ddaf2cee00e1107249b7a17dc4aa825f28a5765f27019ffc910dfa5c348fa7c2ddfca9a8568d858acaa2a29ee
|
@@ -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-z_]+)\.json/)[1]
|
21
|
+
base_key = file.gsub(/^#{input_directory}/, '').gsub(/^\//, '').gsub(/[a-z]+\/translations\.[a-z_]+\.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.2
|
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-
|
12
|
+
date: 2017-07-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|