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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12d0ba6a02e431ba6b2dba0718ad03f6349e0e7e
4
- data.tar.gz: 457723c1642e036917e8069c57916e8b43e54bdf
3
+ metadata.gz: 14ab9acaf204ff25806dc55f738ff52ab4acc88e
4
+ data.tar.gz: b246185f5f079dfc89f5a0d82d9599784c5fc2d7
5
5
  SHA512:
6
- metadata.gz: b88a8905928ad547b0e932113da966c988e30183c497da42ae6c56fc464086fa2308479582e8b9c7c4c5d33b52a1ec79f5a62fc6279f73d67c741055a562b3c5
7
- data.tar.gz: b460825c42d3853fce4dbd4821028a3bc3adfe7e76ac57569619eddfb69a3f6abf3929e027ebc42e74605aeb0ffc5d24a1df4f50c2c4a6a849480e8d9b91f354
6
+ metadata.gz: 7d73a6045a1b1bcd6050662f64d0df175902475e185f3d152caf1b4be32dd04491281373e56f8c4f4f3c49e7149a3ede6a7233272f6f72e1ac02455db0013992
7
+ data.tar.gz: 76161b7df4f2996fa169a3748355c625fad34408af754fa1787958e0119e3e7b68f0b183d3cfc62b64a2b176c8355affa92c467e32e743f26b329dc3242b7803
@@ -2,5 +2,5 @@
2
2
 
3
3
  #
4
4
  module LostInTranslation
5
- VERSION = '0.2.12'
5
+ VERSION = '0.2.13'
6
6
  end
@@ -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(@copy[:path], @master[:path])
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.12
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-20 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler