motion-provisioning 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/bin/export_private_key +0 -0
- data/lib/motion-provisioning/certificate.rb +0 -2
- data/lib/motion-provisioning/provisioning_profile.rb +1 -1
- data/lib/motion-provisioning/utils.rb +2 -0
- data/lib/motion-provisioning/version.rb +1 -1
- data/lib/motion-provisioning.rb +2 -2
- metadata +4 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96b081c162863c05c70e4a5acc9472733de8c122
|
4
|
+
data.tar.gz: 9aa080811acfeac981c74afd19106cf06b96f1e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1de132b7b1ade400552aa23fb0e33eafbd3427e77ce12b6a474d288791b06d656fd2631dbdbc6748a1d99f32e85bb5b04564adcb525ec879e481b877a3f0628a
|
7
|
+
data.tar.gz: 91b6e4f45ecfaf2a869ad97f71f4185f0e7cf82dfa80425079505e4b933c80d42489003f1427aceaf497cf24f5147fd5937b0dcefe73abe669571f2175695ea3
|
data/README.md
CHANGED
@@ -167,12 +167,12 @@ folder with your team members.
|
|
167
167
|
## Recreate certificates and profiles
|
168
168
|
|
169
169
|
Once the certificates and profiles are cached in the `provisioning`
|
170
|
-
folder, if you want to re-create them, set the `
|
171
|
-
`
|
170
|
+
folder, if you want to re-create them, set the `recreate_profile` or
|
171
|
+
`recreate_certificate` env variable.
|
172
172
|
|
173
173
|
For example, to recreate the development profile:
|
174
174
|
|
175
|
-
rake device
|
175
|
+
rake device recreate_profile=1
|
176
176
|
|
177
177
|
## Entitlements and App Services
|
178
178
|
|
data/bin/export_private_key
CHANGED
Binary file
|
@@ -235,7 +235,6 @@ module MotionProvisioning
|
|
235
235
|
result.delete!(':')
|
236
236
|
return result
|
237
237
|
rescue
|
238
|
-
puts result
|
239
238
|
Utils.log("Error", "Error parsing certificate '#{path}'")
|
240
239
|
end
|
241
240
|
end
|
@@ -245,7 +244,6 @@ module MotionProvisioning
|
|
245
244
|
begin
|
246
245
|
return result.match(/\/CN=(.*?)\//)[1]
|
247
246
|
rescue
|
248
|
-
puts result
|
249
247
|
Utils.log("Error", "Error parsing certificate '#{path}'")
|
250
248
|
end
|
251
249
|
end
|
@@ -45,7 +45,7 @@ module MotionProvisioning
|
|
45
45
|
|
46
46
|
# Offer to register devices connected to the current computer
|
47
47
|
force_repair = false
|
48
|
-
if [:development, :adhoc].include?(type) && [:ios, :tvos].include?(platform)
|
48
|
+
if ENV['MOTION_PROVISIONING_NO_REGISTER_DEVICES'].nil? && [:development, :adhoc].include?(type) && [:ios, :tvos].include?(platform)
|
49
49
|
ids = `/Library/RubyMotion/bin/ios/deploy -D`.split("\n")
|
50
50
|
|
51
51
|
# If there is a profile, we check the device is included.
|
data/lib/motion-provisioning.rb
CHANGED
@@ -38,7 +38,7 @@ module MotionProvisioning
|
|
38
38
|
Spaceship::PortalClient.new
|
39
39
|
end
|
40
40
|
|
41
|
-
email = ENV['MOTION_PROVISIONING_EMAIL'] || MotionProvisioning.config['email'] || Utils.ask("Info", "Your Apple ID email:")
|
41
|
+
email = ENV['MOTION_PROVISIONING_EMAIL'] || MotionProvisioning.config['email'] || Utils.ask("Info", "Your Apple ID email:").answer
|
42
42
|
|
43
43
|
config_path = File.expand_path('./provisioning/config.yaml')
|
44
44
|
|
@@ -57,7 +57,7 @@ module MotionProvisioning
|
|
57
57
|
password ||= item.password if item
|
58
58
|
|
59
59
|
if password.nil?
|
60
|
-
|
60
|
+
Utils.log("Info", "The login information you enter will be stored safely in the macOS keychain.")
|
61
61
|
password = Utils.ask_password("Info", "Password for #{email}:")
|
62
62
|
Security::InternetPassword.add(server_name, email, password)
|
63
63
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-provisioning
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Villacampa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: spaceship
|
@@ -16,42 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.34.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: plist
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '3.2'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '3.2'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: security
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0.1'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0.1'
|
26
|
+
version: 0.34.0
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: bundler
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|