sigh 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sigh/resign.rb +3 -3
- data/lib/sigh/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: f4ebc0d6e5080d95e6d28dd27efded6a53f80d93
|
4
|
+
data.tar.gz: 520f2056e17d735ad236e852637f85a913b1b49e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00063922510a372d39c283ecf522b209ef3322ffaf6bddba938ba65217777a3193f273f8f2bd665bdc072b29b2aa43f983af52b26be4485f33fbf21ce74236d6
|
7
|
+
data.tar.gz: c36a964c413b30a3a3e28104e64a0917e0f8c3c83b37615f62cde13f0d205f824968cfb5409ad2a9f1597142d94b0d4731ff53d0c2b5f76f3c5b3630a2e68906
|
data/lib/sigh/resign.rb
CHANGED
@@ -7,7 +7,7 @@ module Sigh
|
|
7
7
|
# get the command line inputs and parse those into the vars we need...
|
8
8
|
ipa, signing_identity, provisioning_profiles = get_inputs(options, args)
|
9
9
|
|
10
|
-
# ... then invoke
|
10
|
+
# ... then invoke our programmatic interface with these vars
|
11
11
|
resign(ipa, signing_identity, provisioning_profiles)
|
12
12
|
end
|
13
13
|
|
@@ -26,13 +26,13 @@ module Sigh
|
|
26
26
|
# validate that we have valid values for all these params, we don't need to check signing_identity because `find_signing_identity` will only ever return a valid value
|
27
27
|
validate_params(resign_path, ipa, provisioning_profiles)
|
28
28
|
|
29
|
-
provisioning_options = provisioning_profiles.map { |fst, snd| "-p #{[fst, snd].compact.join('=')}" }.join(' ')
|
29
|
+
provisioning_options = provisioning_profiles.map { |fst, snd| "-p #{[fst, snd].compact.map(&:shellescape).join('=')}" }.join(' ')
|
30
30
|
|
31
31
|
command = [
|
32
32
|
resign_path.shellescape,
|
33
33
|
ipa.shellescape,
|
34
34
|
signing_identity.shellescape,
|
35
|
-
provisioning_options
|
35
|
+
provisioning_options, # we are aleady shellescaping this above, when we create the provisioning_options from the provisioning_profiles
|
36
36
|
ipa.shellescape
|
37
37
|
].join(' ')
|
38
38
|
|
data/lib/sigh/version.rb
CHANGED