motion-provisioning 1.0.4 → 1.1.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 +4 -4
- data/README.md +4 -0
- data/lib/motion-provisioning/certificate.rb +5 -5
- data/lib/motion-provisioning/version.rb +1 -1
- data/lib/motion-provisioning.rb +0 -1
- metadata +9 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48e42fb68d7a25eb15c82c1aa8a5b3a1c6e228ced5d59682f75a4c115a30fcae
|
4
|
+
data.tar.gz: 88e05257a72160fb218b36780c16ce6c9a93094a2121820f3294a80f7a7c79e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd5e4c1d65e25e5d9ec9defb1b93a33296e09a7ee94aa1545430f387558089dc7e95da007ff87a9522ca5bca1534355cae5d3aa51c4b96b10b3767396895e58a
|
7
|
+
data.tar.gz: '0238f533575b8bb4f52d8ef38cfd6ce1480b3b11cd10018d5839d9bc04b5a0d0b5f75e3017051d2dfb6d9f747190e919dca3d51d788b65b48722c22fbdb86a5e'
|
data/README.md
CHANGED
@@ -170,6 +170,10 @@ After you create a new distribution certificate, share the
|
|
170
170
|
corresponding `.cer` and `.p12` files located in the `provisioning`
|
171
171
|
folder with your team members.
|
172
172
|
|
173
|
+
After copying the files to the team member's `provisioning` directory,
|
174
|
+
drag and drop the certificate file into the Keychain Access app's login
|
175
|
+
keychain in order to install the certificate.
|
176
|
+
|
173
177
|
## Recreate certificates and profiles
|
174
178
|
|
175
179
|
Once the certificates and profiles are cached in the `provisioning`
|
@@ -49,7 +49,7 @@ module MotionProvisioning
|
|
49
49
|
|
50
50
|
if certificates.empty?
|
51
51
|
# There are no certificates in the server so we create a new one
|
52
|
-
Utils.log("Warning", "Couldn't find any existing certificates
|
52
|
+
Utils.log("Warning", "Couldn't find any existing certificates. Creating a new certificate...")
|
53
53
|
if certificate = create_certificate
|
54
54
|
return sha1_fingerprint(certificate)
|
55
55
|
else
|
@@ -58,12 +58,12 @@ module MotionProvisioning
|
|
58
58
|
end
|
59
59
|
elsif installed_certificate.nil?
|
60
60
|
# There are certificates in the server, but none are installed locally. Revoke all and create a new one.
|
61
|
-
Utils.log("Error", "None of the available certificates (#{certificates.count})
|
61
|
+
Utils.log("Error", "None of the available certificates (#{certificates.count}) are installed locally. Revoking...")
|
62
62
|
|
63
63
|
# For distribution, ask before revoking
|
64
64
|
if self.type == :distribution
|
65
|
-
answer = Utils.ask("Info", "There are #{certificates.count} distribution
|
66
|
-
"Before revoking and creating a new
|
65
|
+
answer = Utils.ask("Info", "There #{certificates.count == 1 ? 'is 1' : "are #{certificates.count}"} distribution certificate(s) in your account, but none installed locally.\n" \
|
66
|
+
"Before revoking and creating a new certificate, ask other team members who might have them installed to share them with you.\n" \
|
67
67
|
"Do you want to continue revoking the certificates? (Y/n):")
|
68
68
|
abort if answer.no?
|
69
69
|
end
|
@@ -163,7 +163,7 @@ module MotionProvisioning
|
|
163
163
|
when :mac
|
164
164
|
cert_type = Spaceship.certificate.mac_development
|
165
165
|
cert_type = Spaceship.certificate.mac_app_distribution if self.type == :distribution
|
166
|
-
cert_type = Spaceship.certificate.
|
166
|
+
cert_type = Spaceship.certificate.developer_id_application if self.type == :developer_id
|
167
167
|
end
|
168
168
|
cert_type
|
169
169
|
end
|
data/lib/motion-provisioning.rb
CHANGED
metadata
CHANGED
@@ -1,50 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-provisioning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Villacampa
|
8
8
|
- Andrew Havens
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: highline
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ">="
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 1.7.2
|
21
|
-
- - "<"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 2.0.0
|
24
|
-
type: :runtime
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
requirements:
|
28
|
-
- - ">="
|
29
|
-
- !ruby/object:Gem::Version
|
30
|
-
version: 1.7.2
|
31
|
-
- - "<"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 2.0.0
|
34
14
|
- !ruby/object:Gem::Dependency
|
35
15
|
name: fastlane
|
36
16
|
requirement: !ruby/object:Gem::Requirement
|
37
17
|
requirements:
|
38
18
|
- - "~>"
|
39
19
|
- !ruby/object:Gem::Version
|
40
|
-
version: '2.
|
20
|
+
version: '2.182'
|
41
21
|
type: :runtime
|
42
22
|
prerelease: false
|
43
23
|
version_requirements: !ruby/object:Gem::Requirement
|
44
24
|
requirements:
|
45
25
|
- - "~>"
|
46
26
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
27
|
+
version: '2.182'
|
48
28
|
- !ruby/object:Gem::Dependency
|
49
29
|
name: rake
|
50
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -141,11 +121,11 @@ files:
|
|
141
121
|
- lib/motion-provisioning/tasks.rb
|
142
122
|
- lib/motion-provisioning/utils.rb
|
143
123
|
- lib/motion-provisioning/version.rb
|
144
|
-
homepage: https://github.com/
|
124
|
+
homepage: https://github.com/rubymotion-community/motion-provisioning
|
145
125
|
licenses:
|
146
126
|
- BSD
|
147
127
|
metadata: {}
|
148
|
-
post_install_message:
|
128
|
+
post_install_message:
|
149
129
|
rdoc_options: []
|
150
130
|
require_paths:
|
151
131
|
- lib
|
@@ -160,8 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
140
|
- !ruby/object:Gem::Version
|
161
141
|
version: '0'
|
162
142
|
requirements: []
|
163
|
-
rubygems_version: 3.
|
164
|
-
signing_key:
|
143
|
+
rubygems_version: 3.2.15
|
144
|
+
signing_key:
|
165
145
|
specification_version: 4
|
166
146
|
summary: Simplified provisioning for RubyMotion iOS, tvOS and macOS apps.
|
167
147
|
test_files: []
|