ibtoolTranslation 0.0.5 → 0.0.6

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: 2a4fce635ef5a8d653ec8291fc6241de3a82a3ec
4
- data.tar.gz: b0bd0fa247872a30f78211a48db3ac891dc6be61
3
+ metadata.gz: 280a6b111f76ad5cea1ca627378d3f1a3b0c984d
4
+ data.tar.gz: 35ff2fce2d13cc02dd80c39443e0129b668b906d
5
5
  SHA512:
6
- metadata.gz: 7f94a916883da4f02e654b20f67732d07da0a4e57a0a2cd67900155673dd725a203a333b1188e8a52a6afba3eb2aa1a26c8170ede6d23ca3ed88027d4416b293
7
- data.tar.gz: 6cc8c902dd4e17ce5accbed51bec0694e3cfba337812ee1d4cfd178fdd2891512a3390e181a09d4542bc59e50a037d5842606b7ab4e0f5858bcad1fabe88aecc
6
+ metadata.gz: 2270767b127fbe8890038bd3a2c2742e532d536483a083e3169e2d823be0f5712aa81bb01cfd3f888a0aecf1c0478c0a18b4f309e28dfc45d77c7c431d7cd574
7
+ data.tar.gz: f9c3fd17e5fbfb7b5778871d8c0102b162c55e0084754b5cc65d487a6a798797bb8dc22948901f43a3ef495595006aeba37227a0fab00b9ab385d60c058e8f9c
@@ -10,7 +10,7 @@ module IbtoolTranslation
10
10
  default_task :update
11
11
 
12
12
  option :dir, :type => :string, :aliases => '-d',:required => true, :desc => 'directory of the reference'
13
- option :string :type => :boolean :aliases => '-s' :default => false :desc => 'use localizable strings'
13
+ option :string, :type => :boolean, :aliases => '-s', :default => false, :desc => 'use localizable strings'
14
14
  option :from, :type => :string , :aliases => '-f',:required => true, :desc => 'storyboard of the reference'
15
15
  option :to, :type => :array, :aliases => '-t',:required => true, :desc => 'storyboards of the result'
16
16
  desc "update", "update storyboard"
@@ -19,13 +19,17 @@ module IbtoolTranslation
19
19
  end
20
20
 
21
21
  option :dir, :type => :string, :aliases => '-d',:required => true, :desc => 'directory of the reference'
22
- option :string :type => :boolean :aliases => '-s' :default => false :desc => 'use localizable strings'
22
+ option :string, :type => :boolean, :aliases => '-s', :default => false, :desc => 'use localizable strings'
23
23
  option :from, :type => :string , :aliases => '-f',:required => true, :desc => 'storyboard of the reference'
24
24
  option :to, :type => :array, :aliases => '-t',:required => true, :desc => 'storyboards of the result'
25
25
  desc "create", "create Translation.strings"
26
26
  def create
27
27
  IbtoolTranslation::Core.new.create(options[:dir], options[:from], options[:to], option[:string])
28
28
  end
29
+ desc "version", "version"
30
+ def version
31
+ p IbtoolTranslation::VERSION
32
+ end
29
33
  end
30
34
  end
31
35
 
@@ -1,3 +1,3 @@
1
1
  module IbtoolTranslation
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ibtoolTranslation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - akuraru