pilot 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pilot/manager.rb +1 -0
- data/lib/pilot/options.rb +24 -2
- data/lib/pilot/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd292a0ec1a032955f9a7974999e759a4835c8cb
|
4
|
+
data.tar.gz: 1066d6276afc3baa466cc587e106775f7658afbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 157e27232aa67f9f74b7f99af171cf3da086df4db87089edb48435ac05ba5eeb04ae1e6abefc45290f25eff92ada01173602860555237ad5c7ab7d2522c46922
|
7
|
+
data.tar.gz: c40148522ddeafaf94ae6d6e60bb639703fa5913c55a6968a5e1e9242432293ba5aa712e2c1796c083eda454c9b452314f8ad6b64fa9f49ae92c52d154c09b84
|
data/lib/pilot/manager.rb
CHANGED
data/lib/pilot/options.rb
CHANGED
@@ -4,12 +4,15 @@ require "credentials_manager"
|
|
4
4
|
module Pilot
|
5
5
|
class Options
|
6
6
|
def self.available_options
|
7
|
-
|
7
|
+
user = CredentialsManager::AppfileConfig.try_fetch_value(:itunes_connect_id)
|
8
|
+
user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
9
|
+
|
10
|
+
[
|
8
11
|
FastlaneCore::ConfigItem.new(key: :username,
|
9
12
|
short_option: "-u",
|
10
13
|
env_name: "PILOT_USERNAME",
|
11
14
|
description: "Your Apple ID Username",
|
12
|
-
default_value:
|
15
|
+
default_value: user),
|
13
16
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
14
17
|
short_option: "-a",
|
15
18
|
env_name: "PILOT_APP_IDENTIFIER",
|
@@ -75,6 +78,25 @@ module Pilot
|
|
75
78
|
is_string: false,
|
76
79
|
verify_block: proc do |value|
|
77
80
|
raise "Please enter a valid positive number of seconds" unless value.to_i > 0
|
81
|
+
end),
|
82
|
+
FastlaneCore::ConfigItem.new(key: :team_id,
|
83
|
+
short_option: "-q",
|
84
|
+
env_name: "PILOT_TEAM_ID",
|
85
|
+
description: "The ID of your team if you're in multiple teams",
|
86
|
+
optional: true,
|
87
|
+
is_string: false, # as we also allow integers, which we convert to strings anyway
|
88
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_id),
|
89
|
+
verify_block: proc do |value|
|
90
|
+
ENV["FASTLANE_ITC_TEAM_ID"] = value.to_s
|
91
|
+
end),
|
92
|
+
FastlaneCore::ConfigItem.new(key: :team_name,
|
93
|
+
short_option: "-r",
|
94
|
+
env_name: "PILOT_TEAM_NAME",
|
95
|
+
description: "The name of your team if you're in multiple teams",
|
96
|
+
optional: true,
|
97
|
+
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
98
|
+
verify_block: proc do |value|
|
99
|
+
ENV["FASTLANE_ITC_TEAM_NAME"] = value
|
78
100
|
end)
|
79
101
|
|
80
102
|
]
|
data/lib/pilot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pilot
|
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
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.15.1
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.0.0
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.15.1
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.0.0
|