produce 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -2
- data/lib/produce/commands_generator.rb +8 -0
- data/lib/produce/options.rb +3 -3
- data/lib/produce/service.rb +42 -2
- data/lib/produce/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2806b39bee42277001cf6fadee2d8afcf7f18c91
|
4
|
+
data.tar.gz: 26008dfcbc5ba123a7b85c75d5a4be0d957b503a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b46e3d4a7c1d3129ae8312ac6d2076bef0bdb297b8cc7143c775f5f74359fd260f350dc7d4dacec2cc2b462182b68e4c05bcca201b96931f62c0fb6bcf709bea
|
7
|
+
data.tar.gz: cdb55cf5d39554387ba0e4dcfb06e427dc633817e0a6f846a903a624b75fe32086ab4c2513af2400a54c32a2f3382f31e41ea20161cba1951dd68e5e6528d046
|
data/README.md
CHANGED
@@ -51,7 +51,7 @@ Get in contact with the developers on Twitter: [@FastlaneTools](https://twitter.
|
|
51
51
|
|
52
52
|
-------
|
53
53
|
|
54
|
-
<h5 align="center"><code>produce</code> is part of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate
|
54
|
+
<h5 align="center"><code>produce</code> is part of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate beta deployments and releases for your iOS and Android apps.</h5>
|
55
55
|
|
56
56
|
# Features
|
57
57
|
|
@@ -128,15 +128,19 @@ Get a list of all available options using
|
|
128
128
|
|
129
129
|
```
|
130
130
|
--app-group Enable App Groups
|
131
|
+
--apple-pay Enable Apple Pay
|
131
132
|
--associated-domains Enable Associated Domains
|
132
133
|
--data-protection STRING Enable Data Protection, suitable values are "complete", "unlessopen" and "untilfirstauth"
|
134
|
+
--game-center Enable Game Center
|
133
135
|
--healthkit Enable HealthKit
|
134
136
|
--homekit Enable HomeKit
|
135
137
|
--wireless-conf Enable Wireless Accessory Configuration
|
136
138
|
--icloud STRING Enable iCloud, suitable values are "legacy" and "cloudkit"
|
139
|
+
--in-app-purchase Enable In-App Purchase
|
137
140
|
--inter-app-audio Enable Inter-App-Audio
|
138
141
|
--passbook Enable Passbook
|
139
142
|
--push-notification Enable Push notification (only enables the service, does not configure certificates)
|
143
|
+
--sirikit Enable SiriKit
|
140
144
|
--vpn-conf Enable VPN Configuration
|
141
145
|
```
|
142
146
|
|
@@ -144,15 +148,19 @@ Get a list of all available options using
|
|
144
148
|
|
145
149
|
```
|
146
150
|
--app-group Disable App Groups
|
151
|
+
--apple-pay Disable Apple Pay
|
147
152
|
--associated-domains Disable Associated Domains
|
148
153
|
--data-protection Disable Data Protection
|
154
|
+
--game-center Disable Game Center
|
149
155
|
--healthkit Disable HealthKit
|
150
156
|
--homekit Disable HomeKit
|
151
157
|
--wireless-conf Disable Wireless Accessory Configuration
|
152
158
|
--icloud Disable iCloud
|
159
|
+
--in-app-purchase Disable In-App Purchase
|
153
160
|
--inter-app-audio Disable Inter-App-Audio
|
154
161
|
--passbook Disable Passbook
|
155
162
|
--push-notification Disable Push notifications
|
163
|
+
--sirikit Disable SiriKit
|
156
164
|
--vpn-conf Disable VPN Configuration
|
157
165
|
```
|
158
166
|
|
@@ -195,7 +203,7 @@ You'll still have to fill out the remaining information (like screenshots, app d
|
|
195
203
|
# Tips
|
196
204
|
## [`fastlane`](https://fastlane.tools) Toolchain
|
197
205
|
|
198
|
-
- [`fastlane`](https://fastlane.tools): The easiest way to automate
|
206
|
+
- [`fastlane`](https://fastlane.tools): The easiest way to automate beta deployments and releases for your iOS and Android apps
|
199
207
|
- [`deliver`](https://github.com/fastlane/fastlane/tree/master/deliver): Upload screenshots, metadata and your app to the App Store
|
200
208
|
- [`snapshot`](https://github.com/fastlane/fastlane/tree/master/snapshot): Automate taking localized screenshots of your iOS app on every device
|
201
209
|
- [`frameit`](https://github.com/fastlane/fastlane/tree/master/frameit): Quickly put your screenshots into the right device frames
|
@@ -42,15 +42,19 @@ module Produce
|
|
42
42
|
c.example 'Enable HealthKit, HomeKit and Passbook', 'produce enable_services -a com.example.app --healthkit --homekit --passbook'
|
43
43
|
|
44
44
|
c.option '--app-group', 'Enable App Groups'
|
45
|
+
c.option '--apple-pay', 'Enable Apple Pay'
|
45
46
|
c.option '--associated-domains', 'Enable Associated Domains'
|
46
47
|
c.option '--data-protection STRING', String, 'Enable Data Protection, suitable values are "complete", "unlessopen" and "untilfirstauth"'
|
48
|
+
c.option '--game-center', 'Enable Game Center'
|
47
49
|
c.option '--healthkit', 'Enable HealthKit'
|
48
50
|
c.option '--homekit', 'Enable HomeKit'
|
49
51
|
c.option '--wireless-conf', 'Enable Wireless Accessory Configuration'
|
50
52
|
c.option '--icloud STRING', String, 'Enable iCloud, suitable values are "legacy" and "cloudkit"'
|
53
|
+
c.option '--in-app-purchase', 'Enable In-App Purchase'
|
51
54
|
c.option '--inter-app-audio', 'Enable Inter-App-Audio'
|
52
55
|
c.option '--passbook', 'Enable Passbook'
|
53
56
|
c.option '--push-notification', 'Enable Push notification (only enables the service, does not configure certificates)'
|
57
|
+
c.option '--sirikit', 'Enable SiriKit'
|
54
58
|
c.option '--vpn-conf', 'Enable VPN Configuration'
|
55
59
|
|
56
60
|
c.action do |args, options|
|
@@ -69,15 +73,19 @@ module Produce
|
|
69
73
|
c.example 'Disable HealthKit', 'produce disable_services -a com.example.app --healthkit'
|
70
74
|
|
71
75
|
c.option '--app-group', 'Disable App Groups'
|
76
|
+
c.option '--apple-pay', 'Disable Apple Pay'
|
72
77
|
c.option '--associated-domains', 'Disable Associated Domains'
|
73
78
|
c.option '--data-protection', 'Disable Data Protection'
|
79
|
+
c.option '--game-center', 'Disable Game Center'
|
74
80
|
c.option '--healthkit', 'Disable HealthKit'
|
75
81
|
c.option '--homekit', 'Disable HomeKit'
|
76
82
|
c.option '--wireless-conf', 'Disable Wireless Accessory Configuration'
|
77
83
|
c.option '--icloud', 'Disable iCloud'
|
84
|
+
c.option '--in-app-purchase', 'Disable In-App Purchase'
|
78
85
|
c.option '--inter-app-audio', 'Disable Inter-App-Audio'
|
79
86
|
c.option '--passbook', 'Disable Passbook'
|
80
87
|
c.option '--push-notification', 'Disable Push notifications'
|
88
|
+
c.option '--sirikit', 'Disable SiriKit'
|
81
89
|
c.option '--vpn-conf', 'Disable VPN Configuration'
|
82
90
|
|
83
91
|
c.action do |args, options|
|
data/lib/produce/options.rb
CHANGED
@@ -69,7 +69,7 @@ module Produce
|
|
69
69
|
optional: true,
|
70
70
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_id),
|
71
71
|
verify_block: proc do |value|
|
72
|
-
ENV["FASTLANE_TEAM_ID"] = value
|
72
|
+
ENV["FASTLANE_TEAM_ID"] = value.to_s
|
73
73
|
end),
|
74
74
|
FastlaneCore::ConfigItem.new(key: :team_name,
|
75
75
|
short_option: "-l",
|
@@ -78,7 +78,7 @@ module Produce
|
|
78
78
|
optional: true,
|
79
79
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:team_name),
|
80
80
|
verify_block: proc do |value|
|
81
|
-
ENV["FASTLANE_TEAM_NAME"] = value
|
81
|
+
ENV["FASTLANE_TEAM_NAME"] = value.to_s
|
82
82
|
end),
|
83
83
|
FastlaneCore::ConfigItem.new(key: :itc_team_id,
|
84
84
|
short_option: "-k",
|
@@ -97,7 +97,7 @@ module Produce
|
|
97
97
|
optional: true,
|
98
98
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_team_name),
|
99
99
|
verify_block: proc do |value|
|
100
|
-
ENV["FASTLANE_ITC_TEAM_NAME"] = value
|
100
|
+
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
101
101
|
end)
|
102
102
|
]
|
103
103
|
end
|
data/lib/produce/service.rb
CHANGED
@@ -33,8 +33,8 @@ module Produce
|
|
33
33
|
end
|
34
34
|
|
35
35
|
def valid_services_for(options)
|
36
|
-
allowed_keys = [:app_group, :associated_domains, :data_protection, :healthkit, :homekit,
|
37
|
-
:wireless_conf, :icloud, :inter_app_audio, :passbook, :push_notification, :vpn_conf]
|
36
|
+
allowed_keys = [:app_group, :apple_pay, :associated_domains, :data_protection, :game_center, :healthkit, :homekit,
|
37
|
+
:wireless_conf, :icloud, :in_app_purchase, :inter_app_audio, :passbook, :push_notification, :sirikit, :vpn_conf]
|
38
38
|
options.__hash__.select { |key, value| allowed_keys.include? key }
|
39
39
|
end
|
40
40
|
|
@@ -52,6 +52,16 @@ module Produce
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
+
if options.apple_pay
|
56
|
+
UI.message("\tApple Pay")
|
57
|
+
|
58
|
+
if on
|
59
|
+
app.update_service(Spaceship.app_service.apple_pay.on)
|
60
|
+
else
|
61
|
+
app.update_service(Spaceship.app_service.apple_pay.off)
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
55
65
|
if options.associated_domains
|
56
66
|
UI.message("\tAssociated Domains")
|
57
67
|
|
@@ -81,6 +91,16 @@ module Produce
|
|
81
91
|
end
|
82
92
|
end
|
83
93
|
|
94
|
+
if options.game_center
|
95
|
+
UI.message("\tGame Center")
|
96
|
+
|
97
|
+
if on
|
98
|
+
app.update_service(Spaceship.app_service.game_center.on)
|
99
|
+
else
|
100
|
+
app.update_service(Spaceship.app_service.game_center.off)
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
84
104
|
if options.healthkit
|
85
105
|
UI.message("\tHealthKit")
|
86
106
|
|
@@ -130,6 +150,16 @@ module Produce
|
|
130
150
|
end
|
131
151
|
end
|
132
152
|
|
153
|
+
if options.in_app_purchase
|
154
|
+
UI.message("\tIn-App Purchase")
|
155
|
+
|
156
|
+
if on
|
157
|
+
app.update_service(Spaceship.app_service.in_app_purchase.on)
|
158
|
+
else
|
159
|
+
app.update_service(Spaceship.app_service.in_app_purchase.off)
|
160
|
+
end
|
161
|
+
end
|
162
|
+
|
133
163
|
if options.inter_app_audio
|
134
164
|
UI.message("\tInter-App Audio")
|
135
165
|
|
@@ -160,6 +190,16 @@ module Produce
|
|
160
190
|
end
|
161
191
|
end
|
162
192
|
|
193
|
+
if options.sirikit
|
194
|
+
UI.message("\tSiriKit")
|
195
|
+
|
196
|
+
if on
|
197
|
+
app.update_service(Spaceship.app_service.siri_kit.on)
|
198
|
+
else
|
199
|
+
app.update_service(Spaceship.app_service.siri_kit.off)
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
163
203
|
if options.vpn_conf
|
164
204
|
UI.message("\tVPN Configuration")
|
165
205
|
|
data/lib/produce/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: produce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.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: 2016-
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.53.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.0.0
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.53.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.37.0
|
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.37.0
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.0.0
|
@@ -182,14 +182,14 @@ dependencies:
|
|
182
182
|
requirements:
|
183
183
|
- - "~>"
|
184
184
|
- !ruby/object:Gem::Version
|
185
|
-
version: 0.
|
185
|
+
version: 0.44.0
|
186
186
|
type: :development
|
187
187
|
prerelease: false
|
188
188
|
version_requirements: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: 0.
|
192
|
+
version: 0.44.0
|
193
193
|
description: Create new iOS apps on iTunes Connect and Dev Portal using the command
|
194
194
|
line
|
195
195
|
email:
|
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
232
|
version: '0'
|
233
233
|
requirements: []
|
234
234
|
rubyforge_project:
|
235
|
-
rubygems_version: 2.
|
235
|
+
rubygems_version: 2.5.1
|
236
236
|
signing_key:
|
237
237
|
specification_version: 4
|
238
238
|
summary: Create new iOS apps on iTunes Connect and Dev Portal using the command line
|