cert 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cert/cert_runner.rb +3 -3
- data/lib/cert/options.rb +1 -4
- data/lib/cert/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0c53ff5900b5c3f38d1778617a18b25a23c5309
|
4
|
+
data.tar.gz: 45cc55b27c6e1cff8d888f9f17d86160f71b3cd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe57de74ea3fe3710d68dc530d686b7befc2eca14d4505d8b8546d691c83ae28cae387364f7e60c1725e333e14755f53bc04a5e382ddf4e720c28b12a5b29ab
|
7
|
+
data.tar.gz: b6210917aec21f1cceb71fec77ea37947f509f4a6d75e2d2e145e139b18a9685af329394803a0390745a2e407f74fa2e8427b02ec76266627eb483cceace08b0
|
data/lib/cert/cert_runner.rb
CHANGED
@@ -3,12 +3,12 @@ module Cert
|
|
3
3
|
def launch
|
4
4
|
run
|
5
5
|
|
6
|
-
installed = FastlaneCore::CertChecker.
|
6
|
+
installed = FastlaneCore::CertChecker.installed?ENV["CER_FILE_PATH"]
|
7
7
|
raise "Could not find the newly generated certificate installed" unless installed
|
8
8
|
end
|
9
9
|
|
10
10
|
def run
|
11
|
-
Helper.log.info "Starting login"
|
11
|
+
Helper.log.info "Starting login with user '#{Cert.config[:username]}'"
|
12
12
|
Spaceship.login(Cert.config[:username], nil)
|
13
13
|
Spaceship.select_team
|
14
14
|
Helper.log.info "Successfully logged in"
|
@@ -28,7 +28,7 @@ module Cert
|
|
28
28
|
certificates.each do |certificate|
|
29
29
|
path = store_certificate(certificate)
|
30
30
|
|
31
|
-
if FastlaneCore::CertChecker.
|
31
|
+
if FastlaneCore::CertChecker.installed?path
|
32
32
|
# This certificate is installed on the local machine
|
33
33
|
ENV["CER_CERTIFICATE_ID"] = certificate.id
|
34
34
|
ENV["CER_FILE_PATH"] = path
|
data/lib/cert/options.rb
CHANGED
@@ -13,10 +13,7 @@ module Cert
|
|
13
13
|
short_option: "-u",
|
14
14
|
env_name: "CERT_USERNAME",
|
15
15
|
description: "Your Apple ID Username",
|
16
|
-
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id),
|
17
|
-
verify_block: Proc.new do |value|
|
18
|
-
CredentialsManager::PasswordManager.shared_manager(value)
|
19
|
-
end),
|
16
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)),
|
20
17
|
FastlaneCore::ConfigItem.new(key: :team_id,
|
21
18
|
short_option: "-b",
|
22
19
|
env_name: "CERT_TEAM_ID",
|
data/lib/cert/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cert
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -16,28 +16,34 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.16.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.0
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
29
|
+
version: 0.16.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.0
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: spaceship
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.0
|
39
|
+
version: 0.6.0
|
34
40
|
type: :runtime
|
35
41
|
prerelease: false
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
37
43
|
requirements:
|
38
44
|
- - ">="
|
39
45
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0
|
46
|
+
version: 0.6.0
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: bundler
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|