app-tools 1.17.7 → 1.18.0

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: 7e16651c55cc559c0ce56045dce14131848ed09f
4
- data.tar.gz: 73f9d8454596f26879f9e0091be26c5ec985a315
3
+ metadata.gz: 3d55539b980019ee5270a14cf20f4cd8bb8b5cb0
4
+ data.tar.gz: 2150d53d337ff047a1e822f06b3a0d2105b33e72
5
5
  SHA512:
6
- metadata.gz: c138c214f94a111eb51b175946815e688945aa470481ad45a294ecb0d5cfdae9bb37bd90ecde475ea3329517ff87b6f6fba495aa9d2159e51ed8e3ff5c434765
7
- data.tar.gz: bcdfcd8e474d046a8865cf31c302cc646e9e7348f438c3cfc1c388788f997a9c1671167f83f755d0f6d4b35768ba3450d763a129046e73e8e4c0af4b1cd73f49
6
+ metadata.gz: 7c6ce91379db77fff99fe1d039fc589168813fcfaf027d8f99bf6c3326d5d222a63bb3b348dd976c9522682dfca7eebc82b7abd432d89da32f823abbc1d62f4c
7
+ data.tar.gz: 70a38769ed97cf282942b5fa517d4d8d1691ad3a9002642103e86fd6ba450d39f8dedd5307d2be44fbe67b6a12e2154eec15a606c421b49244d2acc7ec0a48e3
@@ -27,7 +27,7 @@ module AppTools
27
27
 
28
28
  ipa_basename = File.basename(ipa_path)
29
29
  profile_path = options[:p]
30
- certificate_name = "iPhone Distribution: " + options[:c]
30
+ certificate_name = options[:c]
31
31
 
32
32
  unless File.exist?(profile_path)
33
33
  exit_now! "Must supply a valid provisioning profile"
data/bin/syncpp CHANGED
@@ -74,8 +74,12 @@ module AppTools
74
74
  cert.id == profile_cert.id
75
75
  end
76
76
 
77
+ #info(cert.inspect)
78
+
79
+ cert_prefix = cert.is_a?(Spaceship::Portal::Certificate::Production) ? "iPhone Distribution" : "iPhone Developer"
80
+
77
81
  File.write("#{profile_name}.mobileprovision", profile.download)
78
- puts "SYNCPP_CERTIFICATE_NAME=\"#{cert.name}\"; SYNCPP_PROFILE_UUID=\"#{profile.uuid}\""
82
+ puts "SYNCPP_CERTIFICATE_NAME=\"#{cert_prefix}: #{cert.owner_name} (#{cert.owner_id})\"; SYNCPP_PROFILE_UUID=\"#{profile.uuid}\""
79
83
  end
80
84
 
81
85
  description 'syncpp - Synchronize a certificate and provisioning profile'
@@ -1,3 +1,3 @@
1
1
  module AppTools
2
- VERSION = "1.17.7"
2
+ VERSION = "1.18.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.7
4
+ version: 1.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Lyon-Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler