ios_dev_tools 0.1.5 → 0.1.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.
- data/lib/ios_dev_tools/commands/sign.rb +4 -4
- data/lib/ios_dev_tools/model/info_plist.rb +1 -1
- data/lib/ios_dev_tools/version.rb +1 -1
- metadata +37 -26
- checksums.yaml +0 -7
@@ -44,7 +44,7 @@ module IOSDevTools
|
|
44
44
|
begin
|
45
45
|
provisioning_profile=IOSDevTools::ProvisioningProfile.new @options[:profile_location]
|
46
46
|
application_bundle=IOSDevTools::ApplicationBundle.new @options[:input_file] do |ab|
|
47
|
-
ab.temp_folder
|
47
|
+
ab.temp_folder=@options[:temp_folder]
|
48
48
|
end
|
49
49
|
rescue => error
|
50
50
|
error_msg error
|
@@ -52,7 +52,7 @@ module IOSDevTools
|
|
52
52
|
end
|
53
53
|
|
54
54
|
new_bundle_id = @options[:bundle_id]
|
55
|
-
new_bundle_id ||= application_bundle.bundle_id
|
55
|
+
new_bundle_id ||= application_bundle.info_plist.bundle_id
|
56
56
|
|
57
57
|
if not provisioning_profile.is_compatible_with_bundle_id new_bundle_id
|
58
58
|
error_msg "Provisioning profile identifier [#{provisioning_profile.application_identifier}] is not compatible with bundle identifier [#{new_bundle_id}]\n \
|
@@ -60,12 +60,12 @@ module IOSDevTools
|
|
60
60
|
exit 1
|
61
61
|
end
|
62
62
|
|
63
|
-
application_bundle.bundle_id = new_bundle_id
|
63
|
+
application_bundle.info_plist.bundle_id = new_bundle_id
|
64
64
|
application_bundle.set_provisioning_profile provisioning_profile.profile_location
|
65
65
|
application_bundle.sign_with_identity @options[:identity]
|
66
66
|
application_bundle.package_to_ipa @options[:output_ipa]
|
67
67
|
|
68
|
-
puts "\nApplication archive created and signed: #{options[:output_ipa]}"
|
68
|
+
puts "\nApplication archive created and signed: #{@options[:output_ipa]}"
|
69
69
|
|
70
70
|
end
|
71
71
|
|
@@ -23,7 +23,7 @@ module IOSDevTools
|
|
23
23
|
|
24
24
|
def set_property property_id, property_value
|
25
25
|
return if not property_id or not property_value
|
26
|
-
`#{@plist_buddy_cmd} -c "Set :#{property_id} #{
|
26
|
+
`#{@plist_buddy_cmd} -c "Set :#{property_id} #{property_value}" "#{@info_plist_file_path}"`
|
27
27
|
end
|
28
28
|
|
29
29
|
def get_property property_id
|
metadata
CHANGED
@@ -1,23 +1,32 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ios_dev_tools
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 6
|
9
|
+
version: 0.1.6
|
5
10
|
platform: ruby
|
6
|
-
authors:
|
11
|
+
authors:
|
7
12
|
- Marcin Maciukiewicz
|
8
13
|
autorequire:
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
|
-
|
16
|
+
|
17
|
+
date: 2013-12-28 00:00:00 +00:00
|
18
|
+
default_executable:
|
12
19
|
dependencies: []
|
20
|
+
|
13
21
|
description: Set of ruby wrappers around iOS dev tasks
|
14
22
|
email: mm@csquirrel.com
|
15
|
-
executables:
|
23
|
+
executables:
|
16
24
|
- ios_tool
|
17
25
|
extensions: []
|
26
|
+
|
18
27
|
extra_rdoc_files: []
|
19
|
-
|
20
|
-
|
28
|
+
|
29
|
+
files:
|
21
30
|
- lib/ios_dev_tools.rb
|
22
31
|
- lib/ios_dev_tools/commands/help.rb
|
23
32
|
- lib/ios_dev_tools/commands/pack.rb
|
@@ -28,35 +37,37 @@ files:
|
|
28
37
|
- lib/ios_dev_tools/model/info_plist.rb
|
29
38
|
- lib/ios_dev_tools/model/provisioning_profile.rb
|
30
39
|
- lib/ios_dev_tools/version.rb
|
31
|
-
|
32
|
-
- test/test_info_plist.rb
|
33
|
-
- test/test_provisioning_profile.rb
|
34
|
-
- test/test_tool.rb
|
40
|
+
has_rdoc: true
|
35
41
|
homepage: https://github.com/cSquirrel/ios-dev-tools
|
36
|
-
licenses:
|
42
|
+
licenses:
|
37
43
|
- MIT
|
38
|
-
metadata: {}
|
39
44
|
post_install_message:
|
40
45
|
rdoc_options: []
|
41
|
-
|
46
|
+
|
47
|
+
require_paths:
|
42
48
|
- lib
|
43
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
45
51
|
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
|
48
|
-
|
49
|
-
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 0
|
55
|
+
version: "0"
|
56
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
50
58
|
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
segments:
|
61
|
+
- 0
|
62
|
+
version: "0"
|
53
63
|
requirements: []
|
64
|
+
|
54
65
|
rubyforge_project: nowarning
|
55
|
-
rubygems_version:
|
66
|
+
rubygems_version: 1.3.6
|
56
67
|
signing_key:
|
57
|
-
specification_version:
|
68
|
+
specification_version: 3
|
58
69
|
summary: iOS Dev Tools
|
59
|
-
test_files:
|
70
|
+
test_files:
|
60
71
|
- test/test_application_bundle.rb
|
61
72
|
- test/test_info_plist.rb
|
62
73
|
- test/test_provisioning_profile.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 0ec708e204a721542a3a07e0ee09d61a04d57ce0
|
4
|
-
data.tar.gz: 06a131b769c876384ef856e4d166075afb14d74e
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 3f80eec350351adab1ac3e65c3b2d78e22d2500415fffa2714be8f8b9c0399d75bbd65121427fb35e2c4bd65c3b8b1ced9aa683500fb4658aac399e4e6b98b06
|
7
|
-
data.tar.gz: 0478ae39e36761749a4ab00bd68e9987a00556ada459c24e1f009fefb7ce69a3f1ee8af95c2b765c0e669f058d02788b2ae37e02e353362a1fdbed1c2a526974
|