produce 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/produce/developer_center.rb +1 -1
- data/lib/produce/itunes_connect.rb +3 -2
- data/lib/produce/options.rb +8 -0
- data/lib/produce/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 09e15e363ff28b03b784fb3cd243a463022ea492
|
|
4
|
+
data.tar.gz: 9b7198eba6f20ae61cd08d64e09bae8a190f939e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8c45ecbe6c6513cdd3fa63860dea91d6c0ebb8696ceddf5b453d8f8311f6a94b3f31a624232c9dadce0e5b43fe51ffca23334557b6c84f745b855da74d91f16b
|
|
7
|
+
data.tar.gz: c54c4ce496d1b885c1776e3816e9a63b1d511b393d0592d08bf4e03330e956e329244d3da143cebd214fb39212fcfceb0e77910f006af7d2a033f637188f86d7
|
|
@@ -13,7 +13,7 @@ module Produce
|
|
|
13
13
|
ENV["CREATED_NEW_APP_ID"] = Time.now.to_i.to_s
|
|
14
14
|
|
|
15
15
|
if app_exists?
|
|
16
|
-
Helper.log.info "App '#{Produce.config[:app_name]}' already exists, nothing to do on the Dev Center".green
|
|
16
|
+
Helper.log.info "[DevCenter] App '#{Produce.config[:app_name]}' already exists, nothing to do on the Dev Center".green
|
|
17
17
|
ENV["CREATED_NEW_APP_ID"] = nil
|
|
18
18
|
# Nothing to do here
|
|
19
19
|
else
|
|
@@ -15,7 +15,7 @@ module Produce
|
|
|
15
15
|
def create_new_app
|
|
16
16
|
application = fetch_application
|
|
17
17
|
if application
|
|
18
|
-
Helper.log.info "App '#{Produce.config[:app_name]}' already exists (#{application.apple_id}), nothing to do on iTunes Connect".green
|
|
18
|
+
Helper.log.info "[iTC] App '#{Produce.config[:app_name]}' already exists (#{application.apple_id}), nothing to do on iTunes Connect".green
|
|
19
19
|
# Nothing to do here
|
|
20
20
|
else
|
|
21
21
|
Helper.log.info "Creating new app '#{Produce.config[:app_name]}' on iTunes Connect".green
|
|
@@ -27,7 +27,8 @@ module Produce
|
|
|
27
27
|
version: Produce.config[:app_version],
|
|
28
28
|
sku: Produce.config[:sku].to_s, # might be an int
|
|
29
29
|
bundle_id: app_identifier,
|
|
30
|
-
bundle_id_suffix: Produce.config[:bundle_identifier_suffix]
|
|
30
|
+
bundle_id_suffix: Produce.config[:bundle_identifier_suffix],
|
|
31
|
+
company_name: Produce.config[:company_name])
|
|
31
32
|
application = fetch_application
|
|
32
33
|
raise "Something went wrong when creating the new app - it's not listed in the App's list" unless application
|
|
33
34
|
|
data/lib/produce/options.rb
CHANGED
|
@@ -40,6 +40,14 @@ module Produce
|
|
|
40
40
|
default_value: "English",
|
|
41
41
|
verify_block: Proc.new do |language|
|
|
42
42
|
|
|
43
|
+
end),
|
|
44
|
+
FastlaneCore::ConfigItem.new(key: :company_name,
|
|
45
|
+
short_option: "-c",
|
|
46
|
+
env_name: "PRODUCE_COMPANY_NAME",
|
|
47
|
+
description: "The name of your comapny. Only required if it's the first app you create",
|
|
48
|
+
optional: true,
|
|
49
|
+
verify_block: Proc.new do |language|
|
|
50
|
+
|
|
43
51
|
end),
|
|
44
52
|
FastlaneCore::ConfigItem.new(key: :skip_itc,
|
|
45
53
|
short_option: "-i",
|
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: 0.5.
|
|
4
|
+
version: 0.5.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-07-
|
|
11
|
+
date: 2015-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - ">="
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 0.3.
|
|
33
|
+
version: 0.3.4
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - ">="
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 0.3.
|
|
40
|
+
version: 0.3.4
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
176
176
|
version: '0'
|
|
177
177
|
requirements: []
|
|
178
178
|
rubyforge_project:
|
|
179
|
-
rubygems_version: 2.4.
|
|
179
|
+
rubygems_version: 2.4.8
|
|
180
180
|
signing_key:
|
|
181
181
|
specification_version: 4
|
|
182
182
|
summary: Create new iOS apps on iTunes Connect and Dev Portal using the command line
|