international 0.2.1 → 0.2.2

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: 92a3de542246b4ca4d95886749d6cb8cddd565cf
4
- data.tar.gz: c5467a8d283df45d8b264769c2d94ab1c543b148
3
+ metadata.gz: 9a0eaff45a90e8fea50b473abfbe7fb2aa2d0b59
4
+ data.tar.gz: ebf01a993cbebc5c4efebd7b1e3b14b7639de7c2
5
5
  SHA512:
6
- metadata.gz: 3fd9abc59711d7f841a1b3c85cd39b7e3aeab3c5c898f3a759154ec9a6c343b4f416c23797229ed94fa11728714af7be23d887d2370d512b93772a0b0e6e8c4d
7
- data.tar.gz: 320cee7573d83d49ca014de2d2ee6e70c4a1960a9beb1624596a76907bef148576412ef33fd260236257d68c6c6a29937139863415b2f3626720580eeaa0f9df
6
+ metadata.gz: c12de318a9269320de25d63562dbaccafa38eb23a5d4ca44e64d0be5e08aef293a75697cfe86155eb79706e5ae6ed4ff5135e27d3090d38c25b421145f8d291c
7
+ data.tar.gz: 80f9c7915d35cf5de5f37c24f80ae3387ee081be4989424829115f1aa16a8426392237076f37a83e15d228a50d48bacc1f8af623b3401dea51b32cc02e05d2e6
data/bin/international CHANGED
@@ -2,4 +2,4 @@
2
2
  require 'bundler/setup'
3
3
  require 'international'
4
4
 
5
- International::MainApp.new(ARGV).call
5
+ International::MainApp.new(ARGV)
@@ -2,7 +2,6 @@ require 'erb'
2
2
  require 'erubis'
3
3
  require 'fileutils'
4
4
  require 'colorize'
5
- require 'pry'
6
5
 
7
6
  class AndroidManager
8
7
  def initialize language, items, output_folder, dryrun=false
@@ -14,7 +13,7 @@ class AndroidManager
14
13
  end
15
14
 
16
15
  def get_template_path
17
- File.join(File.dirname(__FILE__), 'templates/android.erb') # add proper number of ..
16
+ File.join(File.dirname(__FILE__), 'templates/android.erb')
18
17
  end
19
18
 
20
19
  def get_file_name
data/lib/international.rb CHANGED
@@ -22,9 +22,6 @@ module International
22
22
 
23
23
  end
24
24
 
25
- def call
26
- end
27
-
28
25
  ### Options parser
29
26
  def create_options_parser(args)
30
27
 
@@ -38,7 +35,7 @@ module International
38
35
  end
39
36
 
40
37
  opts.on('-o PATH_TO_OUTPUT', '--output PATH_TO_OUTPUT', 'Path to the desired output folder') do |path_to_output|
41
- unless path_to_output[0,1] == '/'
38
+ unless path_to_output[-1,1] == '/'
42
39
  path_to_output = "#{path_to_output}/"
43
40
  end
44
41
 
@@ -1,3 +1,3 @@
1
1
  module International
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: international
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - cesarferreira