lost_in_translation 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lost_in_translation/version.rb +1 -1
- data/lib/lost_in_translation/z_recent.rb +1 -2
- 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: 14ab9acaf204ff25806dc55f738ff52ab4acc88e
|
4
|
+
data.tar.gz: b246185f5f079dfc89f5a0d82d9599784c5fc2d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d73a6045a1b1bcd6050662f64d0df175902475e185f3d152caf1b4be32dd04491281373e56f8c4f4f3c49e7149a3ede6a7233272f6f72e1ac02455db0013992
|
7
|
+
data.tar.gz: 76161b7df4f2996fa169a3748355c625fad34408af754fa1787958e0119e3e7b68f0b183d3cfc62b64a2b176c8355affa92c467e32e743f26b329dc3242b7803
|
@@ -7,7 +7,6 @@ module LostInTranslation
|
|
7
7
|
log 'What I18n-yaml files do you want to compare?'
|
8
8
|
@master = ask_for_file(true) # lang path app_name
|
9
9
|
@slave = ask_for_file(false)
|
10
|
-
@copy = { path: "#{Rails.root}/config/locales/#{@master[:lang]}_copy.yml" }
|
11
10
|
paths = tmp_paths
|
12
11
|
|
13
12
|
raise 'Invalid Filepaths' unless File.exist?(@master[:path]) && File.exist?(@slave[:path])
|
@@ -16,7 +15,7 @@ module LostInTranslation
|
|
16
15
|
`git checkout "#{@master[:path]}"`
|
17
16
|
|
18
17
|
prepare_for_edit(master: @master[:path], slave: @slave[:path])
|
19
|
-
FileUtils.mv(
|
18
|
+
FileUtils.mv(paths[:copy], @master[:path])
|
20
19
|
|
21
20
|
prepare_paths([paths[:master], paths[:slave], paths[:copy]])
|
22
21
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lost_in_translation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Datyv
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|