ios_dev_tools 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ def parse_options(args)
28
28
  options = Hash.new
29
29
  OptionParser.new do |opts|
30
30
 
31
- opts.banner = "Usage: ios_sign.rb -i \"iPhone Distribution: Name\" -p path/to/profile -o output/ipa/file [options] inputIpa"
31
+ opts.banner = "Usage: ios_sign -i \"iPhone Distribution: Name\" -p path/to/profile -o output/ipa/file [options] inputIpa"
32
32
 
33
33
  opts.separator ""
34
34
  opts.separator "Options:"
@@ -60,6 +60,11 @@ def parse_options(args)
60
60
  options[:verbose] = v
61
61
  end
62
62
 
63
+ opts.on("--version", "Show version and exit") do |v|
64
+ puts "Version: #{IOSDevTools::VERSION}"
65
+ exit
66
+ end
67
+
63
68
  # No argument, shows at tail. This will print an options summary.
64
69
  # Try it and see!
65
70
  opts.on_tail("-h", "--help", "Show this message") do
@@ -2,6 +2,7 @@
2
2
  module IOSDevTools
3
3
 
4
4
  autoload :ApplicationBundle, 'ios_dev_tools/application_bundle'
5
- autoload :ProvisioningProfile, 'ios_dev_tools/provisioning_profile'
5
+ autoload :ProvisioningProfile, 'ios_dev_tools/provisioning_profile'
6
+ autoload :VERSION, 'ios_dev_tools/version'
6
7
 
7
8
  end
@@ -1,5 +1,5 @@
1
1
  module IOSDevTools
2
2
 
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
 
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Marcin Maciukiewicz