lost_in_translation 0.2.7 → 0.2.8
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc781faefb4e7b99d9c6e757c9561e369ed616b1
|
|
4
|
+
data.tar.gz: a12ee41d4ff6dba094d9014fb41484f14766e23d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0920aa0d0f64ed39942b8d860b710c840714b1010cd6589b91b6bb581f0bff5bda32ac8689247a0d098e471f72784061a656264f032d9e71ce851d94a2df305b'
|
|
7
|
+
data.tar.gz: 3d94866177dfb25652cedc5ccf1ac92fa059a90fcc405eeef04cf5ca72c61ed02dd6ffce54fdf566de84401a04643631005f1da44fbe801ffdd34c02896d021c
|
|
@@ -9,7 +9,7 @@ module LostInTranslation
|
|
|
9
9
|
log '!!! WARNING!!! This deletes the differences!!! Make a BACKUP!!! !!!'
|
|
10
10
|
@master = ask_for_file(true) # lang path app_name
|
|
11
11
|
@slave = ask_for_file(false)
|
|
12
|
-
paths =
|
|
12
|
+
paths = tmp_paths
|
|
13
13
|
|
|
14
14
|
raise 'Invalid Filepaths' unless File.exist?(@master[:path]) && File.exist?(@slave[:path])
|
|
15
15
|
|
|
@@ -10,7 +10,7 @@ module LostInTranslation
|
|
|
10
10
|
@slave = ask_for_file(false)
|
|
11
11
|
raise 'Invalid Filepaths' unless File.exist?(@master[:path]) && File.exist?(@slave[:path])
|
|
12
12
|
|
|
13
|
-
paths =
|
|
13
|
+
paths = tmp_paths
|
|
14
14
|
|
|
15
15
|
prepare_for_edit(master: @master[:path], slave: @slave[:path])
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ module LostInTranslation
|
|
|
8
8
|
@master = ask_for_file(true) # lang path app_name
|
|
9
9
|
@slave = ask_for_file(false)
|
|
10
10
|
@copy = { path: "#{Rails.root}/config/locales/#{@master[:lang]}_copy.yml" }
|
|
11
|
-
paths =
|
|
11
|
+
paths = tmp_paths
|
|
12
12
|
|
|
13
13
|
raise 'Invalid Filepaths' unless File.exist?(@master[:path]) && File.exist?(@slave[:path])
|
|
14
14
|
|