produce 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d9f8a09d876d2fb75d994382d402f422244f3e9
4
- data.tar.gz: d8d8c71fdd8e1137671a90fb15c7827508e0da9b
3
+ metadata.gz: 0d54d6bb6422bad233dd34b1647ee2436a3d5ff7
4
+ data.tar.gz: ceeb86928d4febbf7f29d5f76ef2a1ca4918dd02
5
5
  SHA512:
6
- metadata.gz: 889cec48380d6fe8df7536d3514d089e6b047eb9a498ec5c05dd31a7258f3eb5f51f4bb1594a021a23f547114ca26ffb52eccb7f40ba7a251baee663dc4822f7
7
- data.tar.gz: c1934c32075328661ef88275ab46dcb4b59ba2b76f16a69d414e97600c97ba8dcbd4ff164a58fb33e988c4b88692872efac0838523a8115d0c14690c3979c939
6
+ metadata.gz: e0323fdc6024e8a83a5b5253799bba4b487514af7406f8dca581a25da9c1c5725f215ad396baad904c945242d4e0573e701c48f2e771dab5409c491d2678e40a
7
+ data.tar.gz: f7e70f31877bd8e786c51f160bbb7e72b98e47bb385be98d0d9f1475e252c0e5b48cace993830bb48f32e40fa9954977da5fe767531eb72ffc07fdaf12238ab6
data/README.md CHANGED
@@ -1,35 +1,35 @@
1
1
  <h3 align="center">
2
- <a href="https://github.com/KrauseFx/fastlane">
2
+ <a href="https://github.com/fastlane/fastlane">
3
3
  <img src="assets/fastlane.png" width="150" />
4
4
  <br />
5
5
  fastlane
6
6
  </a>
7
7
  </h3>
8
8
  <p align="center">
9
- <a href="https://github.com/KrauseFx/deliver">deliver</a> &bull;
10
- <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
12
- <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
13
- <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
9
+ <a href="https://github.com/fastlane/deliver">deliver</a> &bull;
10
+ <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
+ <a href="https://github.com/fastlane/PEM">PEM</a> &bull;
13
+ <a href="https://github.com/fastlane/sigh">sigh</a> &bull;
14
14
  <b>produce</b> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
16
- <a href="https://github.com/KrauseFx/codes">codes</a> &bull;
15
+ <a href="https://github.com/fastlane/cert">cert</a> &bull;
17
16
  <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
18
17
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
19
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
20
- <a href="https://github.com/fastlane/gym">gym</a>
19
+ <a href="https://github.com/fastlane/gym">gym</a> &bull;
20
+ <a href="https://github.com/fastlane/scan">scan</a>
21
21
  </p>
22
22
  -------
23
23
 
24
24
  <p align="center">
25
- <img src="assets/produce.png">
25
+ <img src="assets/produce.png" height="110">
26
26
  </p>
27
27
 
28
28
  produce
29
29
  ============
30
30
 
31
31
  [![Twitter: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
32
- [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/produce/blob/master/LICENSE)
32
+ [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/produce/blob/master/LICENSE)
33
33
  [![Gem](https://img.shields.io/gem/v/produce.svg?style=flat)](http://rubygems.org/gems/produce)
34
34
 
35
35
  ###### Create new iOS apps on iTunes Connect and Dev Portal using your command line
@@ -91,7 +91,7 @@ To get a list of all available parameters:
91
91
  -z, --app_version STRING Initial version number (e.g. '1.0') (PRODUCE_VERSION)
92
92
  -y, --sku STRING SKU Number (e.g. '1234') (PRODUCE_SKU)
93
93
  -m, --language STRING Primary Language (e.g. 'English', 'German') (PRODUCE_LANGUAGE)
94
- -c, --company_name STRING The name of your comapny. Only required if it's the first app you create (PRODUCE_COMPANY_NAME)
94
+ -c, --company_name STRING The name of your company. Only required if it's the first app you create (PRODUCE_COMPANY_NAME)
95
95
  -i, --skip_itc Skip the creation of the app on iTunes Connect (PRODUCE_SKIP_ITC)
96
96
  -d, --skip_devcenter Skip the creation of the app on the Apple Developer Portal (PRODUCE_SKIP_DEVCENTER)
97
97
  -b, --team_id STRING The ID of your team if you're in multiple teams (PRODUCE_TEAM_ID)
@@ -158,7 +158,7 @@ Get a list of all available options using
158
158
 
159
159
  All available values can also be passed using environment variables, run `produce --help` to get a list of all available parameters.
160
160
 
161
- ## [`fastlane`](https://github.com/KrauseFx/fastlane) Integration
161
+ ## [`fastlane`](https://github.com/fastlane/fastlane) Integration
162
162
 
163
163
  Your `Fastfile` should look like this
164
164
  ```ruby
@@ -168,7 +168,7 @@ lane :appstore do
168
168
  app_identifier: 'com.krausefx.app',
169
169
  app_name: 'MyApp',
170
170
  language: 'English',
171
- version: '1.0',
171
+ app_version: '1.0',
172
172
  sku: 123,
173
173
  team_name: 'SunApps GmbH' # only necessary when in multiple teams
174
174
  )
@@ -185,27 +185,26 @@ apple_id ENV['PRODUCE_APPLE_ID']
185
185
 
186
186
  This will tell `deliver`, which `App ID` to use, since the app is not yet available in the App Store.
187
187
 
188
- You'll still have to fill out the remaining information (like screenshots, app description and pricing). You can use [deliver](https://github.com/KrauseFx/deliver) to upload your app metadata using a CLI
188
+ You'll still have to fill out the remaining information (like screenshots, app description and pricing). You can use [deliver](https://github.com/fastlane/deliver) to upload your app metadata using a CLI
189
189
 
190
190
  ## How is my password stored?
191
- `produce` uses the [password manager](https://github.com/fastlane/CredentialsManager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/fastlane/CredentialsManager) for more information.
191
+ `produce` uses the [password manager](https://github.com/fastlane/credentials_manager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/fastlane/credentials_manager) for more information.
192
192
 
193
193
  # Tips
194
194
  ## [`fastlane`](https://fastlane.tools) Toolchain
195
195
 
196
196
  - [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
197
- - [`deliver`](https://github.com/KrauseFx/deliver): Upload screenshots, metadata and your app to the App Store
198
- - [`snapshot`](https://github.com/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
199
- - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
200
- - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles
201
- - [`sigh`](https://github.com/KrauseFx/sigh): Because you would rather spend your time building stuff than fighting provisioning
202
- - [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
203
- - [`codes`](https://github.com/KrauseFx/codes): Create promo codes for iOS Apps using the command line
197
+ - [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
198
+ - [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
199
+ - [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
200
+ - [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
201
+ - [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
202
+ - [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
204
203
  - [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
205
204
  - [`pilot`](https://github.com/fastlane/pilot): The best way to manage your TestFlight testers and builds from your terminal
206
205
  - [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
207
206
  - [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
208
-
207
+ - [`scan`](https://github.com/fastlane/scan): The easiest way to run tests of your iOS and Mac app
209
208
 
210
209
  ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
211
210
 
@@ -2,6 +2,8 @@ module Produce
2
2
  class Manager
3
3
  # Produces app at DeveloperCenter and ItunesConnect
4
4
  def self.start_producing
5
+ FastlaneCore::PrintTable.print_values(config: Produce.config, hide_keys: [], title: "Summary for produce #{Produce::VERSION}")
6
+
5
7
  Produce::DeveloperCenter.new.run unless Produce.config[:skip_devcenter]
6
8
  return Produce::ItunesConnect.new.run unless Produce.config[:skip_itc]
7
9
  end
@@ -4,12 +4,15 @@ require 'credentials_manager'
4
4
  module Produce
5
5
  class Options
6
6
  def self.available_options
7
- @@options ||= [
7
+ user = CredentialsManager::AppfileConfig.try_fetch_value(:apple_dev_portal_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: "PRODUCE_USERNAME",
11
14
  description: "Your Apple ID Username",
12
- default_value: CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)),
15
+ default_value: user),
13
16
  FastlaneCore::ConfigItem.new(key: :app_identifier,
14
17
  env_name: "PRODUCE_APP_IDENTIFIER",
15
18
  short_option: "-a",
@@ -43,10 +46,8 @@ module Produce
43
46
  FastlaneCore::ConfigItem.new(key: :company_name,
44
47
  short_option: "-c",
45
48
  env_name: "PRODUCE_COMPANY_NAME",
46
- description: "The name of your comapny. Only required if it's the first app you create",
47
- optional: true,
48
- verify_block: proc do |language|
49
- end),
49
+ description: "The name of your company. Only required if it's the first app you create",
50
+ optional: true),
50
51
  FastlaneCore::ConfigItem.new(key: :skip_itc,
51
52
  short_option: "-i",
52
53
  env_name: "PRODUCE_SKIP_ITC",
@@ -1,3 +1,3 @@
1
1
  module Produce
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.0.0
4
+ version: 1.0.1
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-10-15 00:00:00.000000000 Z
11
+ date: 2015-11-28 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.22.3
19
+ version: 0.26.6
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.22.3
29
+ version: 0.26.6
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
211
  version: '0'
212
212
  requirements: []
213
213
  rubyforge_project:
214
- rubygems_version: 2.4.8
214
+ rubygems_version: 2.4.6
215
215
  signing_key:
216
216
  specification_version: 4
217
217
  summary: Create new iOS apps on iTunes Connect and Dev Portal using the command line