sigh 1.1.2 → 1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc199ef3c6b60808131184a8e6d25121d86900b2
4
- data.tar.gz: 0cba8ac05f23425ca09ac448e5dd95f013abac8b
3
+ metadata.gz: f4ebc0d6e5080d95e6d28dd27efded6a53f80d93
4
+ data.tar.gz: 520f2056e17d735ad236e852637f85a913b1b49e
5
5
  SHA512:
6
- metadata.gz: a13e2c5470515331c1c505404d6a9b2fa7998db52e075248910cb5067b8270c7ecd87424fe485ad7cb61be280f597ac08c11899d9dd6fd7b9b20cb2dc029cc93
7
- data.tar.gz: 172cc0b36932f1b0251166805371e9a5a834166d42cf0363cb6e9844ffdb187c493052c64a9eb813ede71342c296409b94108e6b444604df9eb8a70a01b6b82e
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 out programmatic interface with these vars
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.shellescape,
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
@@ -1,3 +1,3 @@
1
1
  module Sigh
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sigh
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause