sigh 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sigh +1 -0
- data/lib/sigh/resign.rb +9 -6
- data/lib/sigh/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebc0302105da904916efbb5db170dfeb8acfc139
|
4
|
+
data.tar.gz: 88f8f02e84146c03b01161977362268c0a4c3110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 665dc96492f083cd1b7961b77cfd26b87c4d41651d8b573ba82bc5c10e135c672698479cbf914c7f10c8d82e77ea3df03d196b9356d6f88f34e42397f70ab276
|
7
|
+
data.tar.gz: ba5436929c1f7dcefd2ad4aa162334ccc2cf0e8865ca7de04b3ad3ce1b891757896bd8dd4c64794b75c1bc6ea16398eab6f1300ea3d09d35b79507b308f78e22
|
data/bin/sigh
CHANGED
@@ -66,6 +66,7 @@ class SighApplication
|
|
66
66
|
'Can be provided multiple times if the application contains nested applications and app extensions, which need their own provisioning profile.'\
|
67
67
|
'The path may be prefixed with a identifier in order to determine which provisioning profile should be used on which app.',
|
68
68
|
&multiple_values_option_proc(c, "provisioning_profile", &proc { |value| value.split('=', 2) })
|
69
|
+
c.option '-d', '--display_name STRING', String, 'Display name to use'
|
69
70
|
|
70
71
|
c.action do |args, options|
|
71
72
|
Sigh::Resign.new.run(options, args)
|
data/lib/sigh/resign.rb
CHANGED
@@ -6,16 +6,16 @@ module Sigh
|
|
6
6
|
def run(options, args)
|
7
7
|
# get the command line inputs and parse those into the vars we need...
|
8
8
|
|
9
|
-
ipa, signing_identity, provisioning_profiles, entitlements, version = get_inputs(options, args)
|
9
|
+
ipa, signing_identity, provisioning_profiles, entitlements, version, display_name = get_inputs(options, args)
|
10
10
|
# ... then invoke our programmatic interface with these vars
|
11
|
-
resign(ipa, signing_identity, provisioning_profiles, entitlements, version)
|
11
|
+
resign(ipa, signing_identity, provisioning_profiles, entitlements, version, display_name)
|
12
12
|
end
|
13
13
|
|
14
|
-
def self.resign(ipa, signing_identity, provisioning_profiles, entitlements, version)
|
15
|
-
self.new.resign(ipa, signing_identity, provisioning_profiles, entitlements, version)
|
14
|
+
def self.resign(ipa, signing_identity, provisioning_profiles, entitlements, version, display_name)
|
15
|
+
self.new.resign(ipa, signing_identity, provisioning_profiles, entitlements, version, display_name)
|
16
16
|
end
|
17
17
|
|
18
|
-
def resign(ipa, signing_identity, provisioning_profiles, entitlements, version)
|
18
|
+
def resign(ipa, signing_identity, provisioning_profiles, entitlements, version, display_name)
|
19
19
|
resign_path = find_resign_path
|
20
20
|
signing_identity = find_signing_identity(signing_identity)
|
21
21
|
|
@@ -28,6 +28,7 @@ module Sigh
|
|
28
28
|
entitlements = "-e #{entitlements}" if entitlements
|
29
29
|
provisioning_options = provisioning_profiles.map { |fst, snd| "-p #{[fst, snd].compact.map(&:shellescape).join('=')}" }.join(' ')
|
30
30
|
version = "-n #{version}" if version
|
31
|
+
display_name = "-d #{display_name.shellescape}" if display_name
|
31
32
|
|
32
33
|
command = [
|
33
34
|
resign_path.shellescape,
|
@@ -36,6 +37,7 @@ module Sigh
|
|
36
37
|
provisioning_options, # we are aleady shellescaping this above, when we create the provisioning_options from the provisioning_profiles
|
37
38
|
entitlements,
|
38
39
|
version,
|
40
|
+
display_name,
|
39
41
|
ipa.shellescape
|
40
42
|
].join(' ')
|
41
43
|
|
@@ -57,8 +59,9 @@ module Sigh
|
|
57
59
|
provisioning_profiles = options.provisioning_profile || find_provisioning_profile || ask('Path to provisioning file: ')
|
58
60
|
entitlements = options.entitlements || find_entitlements
|
59
61
|
version = options.version_number || nil
|
62
|
+
display_name = options.display_name || nil
|
60
63
|
|
61
|
-
return ipa, signing_identity, provisioning_profiles, entitlements, version
|
64
|
+
return ipa, signing_identity, provisioning_profiles, entitlements, version, display_name
|
62
65
|
end
|
63
66
|
|
64
67
|
def find_resign_path
|
data/lib/sigh/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sigh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
version: '0'
|
233
233
|
requirements: []
|
234
234
|
rubyforge_project:
|
235
|
-
rubygems_version: 2.
|
235
|
+
rubygems_version: 2.2.2
|
236
236
|
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: Because you would rather spend your time building stuff than fighting provisioning
|