ibtoolTranslation 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/ibtoolTranslation +6 -2
- data/lib/ibtoolTranslation/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 280a6b111f76ad5cea1ca627378d3f1a3b0c984d
|
4
|
+
data.tar.gz: 35ff2fce2d13cc02dd80c39443e0129b668b906d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2270767b127fbe8890038bd3a2c2742e532d536483a083e3169e2d823be0f5712aa81bb01cfd3f888a0aecf1c0478c0a18b4f309e28dfc45d77c7c431d7cd574
|
7
|
+
data.tar.gz: f9c3fd17e5fbfb7b5778871d8c0102b162c55e0084754b5cc65d487a6a798797bb8dc22948901f43a3ef495595006aeba37227a0fab00b9ab385d60c058e8f9c
|
data/bin/ibtoolTranslation
CHANGED
@@ -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
|
|