g_translator 0.1.0 → 0.1.1

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: 531907bd3a89005ffd7f893d98130203cdd62f2f
4
- data.tar.gz: b0f0c3f498a8c9bb271d3d032ae19393e001849e
3
+ metadata.gz: 2a515baca9d1d3bf69c32356c46e6505bd335fc5
4
+ data.tar.gz: fb1e232018add5b46adadb4a395c2996106df76e
5
5
  SHA512:
6
- metadata.gz: 1b703c318ae45a7364471fb47511e4290d4a27a16e6a7d883fef077467a3c7557dd8dfcc95a79d7c03632ffdb0ae445dfa7e3004fc3f7a4192d4b67a355d823b
7
- data.tar.gz: a4531d6420ae77add8dda5f4b96b7076350e8de04c36cfccff545e363867a4bb7ee2ce190c1edf50cb97de70b15b0015fc791cedefebc962080b75c75f8ebc80
6
+ metadata.gz: 93de0be8655111321bab6ac257861a9676304c16fedbe8c5437467493768fdd53c8ab122480e5646ad375e6f1fb73febca6d4ba69fad4a47d894bd4cf0448fa0
7
+ data.tar.gz: 4158d73f892f0485fb7ad99f436b3f8ec067ea831852d971743e96d8c9522425004b552bdeec8176d2e59e0b2319049ff00118a0f7138d0846b9e161c345a1fd
data/bin/translate CHANGED
@@ -7,7 +7,7 @@ if Translator::ConfigFile.exist?
7
7
  puts "Espere enquanto traduzimos...\n".colorize(:light_blue)
8
8
  t = Translator::Translate.new(ARGV.join(' '))
9
9
  puts t.translate!
10
- elsif ARGV[0].downcase == 'g'
10
+ elsif ARGV[0] && ARGV[0].downcase == 'g'
11
11
  c = Translator::ConfigFile.new(ARGV[1], ARGV[2])
12
12
  c.save_config
13
13
  puts 'Configuração salva'
@@ -1,3 +1,3 @@
1
1
  module Translator
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g_translator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Barreto