yamlt 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tasks/yamlt.rake +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b4eceb6d024806598c6ad1bd673388ef7d1b0a3
|
4
|
+
data.tar.gz: 3af24bd5313bde1c894f10b4f946ff3089d6d92c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b764894a2b9b9a602e08ec4814c6c4fd2844033057bd0068d976f2a9ca67ce94b27d3f2a389d58c45b91d6af1d57af9e25c670a657dd4f778a124527dc35cc77
|
7
|
+
data.tar.gz: cf51c32042b1410d6589b190ad4c96d6b89844fa6e03d2022cad1202b658c4edd2764ffed5c9b66e97d037df4f66fabb7287789a12919eba14a4208a2f539057
|
data/lib/tasks/yamlt.rake
CHANGED
@@ -10,8 +10,8 @@ namespace :i18n do
|
|
10
10
|
|
11
11
|
# Calculate paths
|
12
12
|
base_path = File.expand_path(File.join(Dir.pwd, "config"))
|
13
|
-
target_path = File.join(base_path, target)
|
14
|
-
source_path = File.join(base_path, source)
|
13
|
+
target_path = File.join(base_path, target + ".yml")
|
14
|
+
source_path = File.join(base_path, source + ".yml")
|
15
15
|
|
16
16
|
# Take an action
|
17
17
|
updater = Yamlt::Updater.new(source_path, target_path)
|
@@ -27,8 +27,8 @@ namespace :i18n do
|
|
27
27
|
|
28
28
|
# Calculate paths
|
29
29
|
base_path = File.expand_path(File.join(Dir.pwd, "config"))
|
30
|
-
target_path = File.join(base_path, target)
|
31
|
-
source_path = File.join(base_path, source)
|
30
|
+
target_path = File.join(base_path, target + ".yml")
|
31
|
+
source_path = File.join(base_path, source + ".yml")
|
32
32
|
|
33
33
|
# Take an action
|
34
34
|
Yamlt::Checker.(source_path, target_path)
|