lost_in_translation 0.2.8 → 0.2.9

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: bc781faefb4e7b99d9c6e757c9561e369ed616b1
4
- data.tar.gz: a12ee41d4ff6dba094d9014fb41484f14766e23d
3
+ metadata.gz: 73c145fb5f7be5e482a29be613f463cab011806f
4
+ data.tar.gz: 429208718f0b933fec0391ae7fed08f7e1232235
5
5
  SHA512:
6
- metadata.gz: '0920aa0d0f64ed39942b8d860b710c840714b1010cd6589b91b6bb581f0bff5bda32ac8689247a0d098e471f72784061a656264f032d9e71ce851d94a2df305b'
7
- data.tar.gz: 3d94866177dfb25652cedc5ccf1ac92fa059a90fcc405eeef04cf5ca72c61ed02dd6ffce54fdf566de84401a04643631005f1da44fbe801ffdd34c02896d021c
6
+ metadata.gz: db810aa214ba439bdcd7da7a9c02c93b93feeac849c8bfbbe010e93b589b5f535c343e35c0019ca4eb9e4f86caaa0fceb8eb798c958795cb9b8c64019000db76
7
+ data.tar.gz: 8ca66d5e0293cf78c6839573564707da5e14b86b736ec4c03bc3cf11dacfabf2a9eb6cfaef8e5cd31ae9911d5ef8bb92701b7c78a0e9d7998a074211275af8d0
@@ -3,7 +3,7 @@
3
3
  #
4
4
  module LostInTranslation
5
5
  def self.prepare_for_edit(options = {})
6
- paths = copy_paths
6
+ paths = tmp_paths
7
7
  FileUtils.cp(options[:master], paths[:master]) if options[:master]
8
8
  FileUtils.cp(options[:slave], paths[:slave]) if options[:slave]
9
9
  FileUtils.cp(options[:copy], paths[:copy]) if options[:copy]
@@ -32,7 +32,7 @@ module LostInTranslation
32
32
  end
33
33
 
34
34
  def reset_tmp_files
35
- paths = copy_paths
35
+ paths = tmp_paths
36
36
  paths.each_value do |path|
37
37
  File.open(path, 'w') { |file| file.write('') }
38
38
  end
@@ -28,8 +28,9 @@ module LostInTranslation
28
28
  a == 'y' || a == 'Y' || a == ''
29
29
  end
30
30
 
31
- def self.ask_for_sorting(lang, _app_name)
31
+ def self.ask_for_sorting(lang, app_name)
32
32
  log
33
+ log "Application: #{app_name}"
33
34
  log "Do you want the #{lang}.yml to be sorted?"
34
35
  log 'Alphabetically & Recursive (ASC)'
35
36
  a = [(print "# [Y/n]: "), Readline.readline()][1]
@@ -2,5 +2,5 @@
2
2
 
3
3
  #
4
4
  module LostInTranslation
5
- VERSION = '0.2.8'
5
+ VERSION = '0.2.9'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lost_in_translation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Datyv