ios_dev_tools 0.1.2 → 0.1.3
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.
- data/bin/ios_sign +6 -1
- data/lib/ios_dev_tools.rb +2 -1
- data/lib/ios_dev_tools/version.rb +1 -1
- metadata +2 -2
data/bin/ios_sign
CHANGED
@@ -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
|
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
|
data/lib/ios_dev_tools.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
module IOSDevTools
|
3
3
|
|
4
4
|
autoload :ApplicationBundle, 'ios_dev_tools/application_bundle'
|
5
|
-
autoload :ProvisioningProfile,
|
5
|
+
autoload :ProvisioningProfile, 'ios_dev_tools/provisioning_profile'
|
6
|
+
autoload :VERSION, 'ios_dev_tools/version'
|
6
7
|
|
7
8
|
end
|