produce 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -3
- data/lib/produce/developer_center.rb +5 -5
- data/lib/produce/itunes_connect.rb +5 -5
- data/lib/produce/version.rb +1 -1
- data/lib/produce.rb +1 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf57e2ac865b75febdf91012e125d910f6af9d31
|
4
|
+
data.tar.gz: 2621e629acf69425685870dd5779dd3ed08ca6aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2022a0fcee844919729aa8747b5b34043b8a4443565288095d89ffc08b8f1ca93a1f1348ac65569d379dafc0e2054d531782f0c407d785909c6d4fbef85f1f06
|
7
|
+
data.tar.gz: babcf5ce0e01f9f3ec4983b77418548332d368d541de7252da4f0a8fdcf1aa29e1e4ee426135f27f248b1194cdcd5911e64445979f68c5cf97a70e9b0c8c22ef
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
10
10
|
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
11
11
|
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
12
|
-
<a href="https://github.com/fastlane/
|
12
|
+
<a href="https://github.com/fastlane/pem">pem</a> •
|
13
13
|
<a href="https://github.com/fastlane/sigh">sigh</a> •
|
14
14
|
<b>produce</b> •
|
15
15
|
<a href="https://github.com/fastlane/cert">cert</a> •
|
@@ -17,7 +17,8 @@
|
|
17
17
|
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
18
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
19
19
|
<a href="https://github.com/fastlane/gym">gym</a> •
|
20
|
-
<a href="https://github.com/fastlane/scan">scan</a>
|
20
|
+
<a href="https://github.com/fastlane/scan">scan</a> •
|
21
|
+
<a href="https://github.com/fastlane/match">match</a>
|
21
22
|
</p>
|
22
23
|
-------
|
23
24
|
|
@@ -197,7 +198,7 @@ You'll still have to fill out the remaining information (like screenshots, app d
|
|
197
198
|
- [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
|
198
199
|
- [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
|
199
200
|
- [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
|
200
|
-
- [`
|
201
|
+
- [`pem`](https://github.com/fastlane/pem): Automatically generate and renew your push notification profiles
|
201
202
|
- [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
202
203
|
- [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
|
203
204
|
- [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
@@ -205,6 +206,7 @@ You'll still have to fill out the remaining information (like screenshots, app d
|
|
205
206
|
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
206
207
|
- [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
|
207
208
|
- [`scan`](https://github.com/fastlane/scan): The easiest way to run tests of your iOS and Mac app
|
209
|
+
- [`match`](https://github.com/fastlane/match): Easily sync your certificates and profiles across your team using git
|
208
210
|
|
209
211
|
##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
|
210
212
|
|
@@ -12,23 +12,23 @@ module Produce
|
|
12
12
|
ENV["CREATED_NEW_APP_ID"] = Time.now.to_i.to_s
|
13
13
|
|
14
14
|
if app_exists?
|
15
|
-
|
15
|
+
UI.success "[DevCenter] App '#{Produce.config[:app_identifier]}' already exists, nothing to do on the Dev Center"
|
16
16
|
ENV["CREATED_NEW_APP_ID"] = nil
|
17
17
|
# Nothing to do here
|
18
18
|
else
|
19
19
|
app_name = valid_name_for(Produce.config[:app_name])
|
20
|
-
|
20
|
+
UI.message "Creating new app '#{app_name}' on the Apple Dev Center"
|
21
21
|
|
22
22
|
app = Spaceship.app.create!(bundle_id: app_identifier,
|
23
23
|
name: app_name)
|
24
24
|
|
25
|
-
|
25
|
+
UI.message "Created app #{app.app_id}"
|
26
26
|
|
27
|
-
|
27
|
+
UI.crash!("Something went wrong when creating the new app - it's not listed in the apps list") unless app_exists?
|
28
28
|
|
29
29
|
ENV["CREATED_NEW_APP_ID"] = Time.now.to_i.to_s
|
30
30
|
|
31
|
-
|
31
|
+
UI.success "Finished creating new app '#{app_name}' on the Dev Center"
|
32
32
|
end
|
33
33
|
|
34
34
|
return true
|
@@ -15,10 +15,10 @@ module Produce
|
|
15
15
|
def create_new_app
|
16
16
|
application = fetch_application
|
17
17
|
if application
|
18
|
-
|
18
|
+
UI.success "[iTC] App '#{Produce.config[:app_identifier]}' already exists (#{application.apple_id}), nothing to do on iTunes Connect"
|
19
19
|
# Nothing to do here
|
20
20
|
else
|
21
|
-
|
21
|
+
UI.success "Creating new app '#{Produce.config[:app_name]}' on iTunes Connect"
|
22
22
|
|
23
23
|
Produce.config[:bundle_identifier_suffix] = '' unless wildcard_bundle?
|
24
24
|
|
@@ -30,9 +30,9 @@ module Produce
|
|
30
30
|
bundle_id_suffix: Produce.config[:bundle_identifier_suffix],
|
31
31
|
company_name: Produce.config[:company_name])
|
32
32
|
application = fetch_application
|
33
|
-
|
33
|
+
UI.crash!("Something went wrong when creating the new app - it's not listed in the App's list") unless application
|
34
34
|
|
35
|
-
|
35
|
+
UI.success "Successfully created new app '#{Produce.config[:app_name]}' on iTunes Connect with ID #{application.apple_id}"
|
36
36
|
end
|
37
37
|
|
38
38
|
return Spaceship::Application.find(@full_bundle_identifier).apple_id
|
@@ -62,7 +62,7 @@ module Produce
|
|
62
62
|
@language = converted if converted # overwrite it with the actual value
|
63
63
|
|
64
64
|
unless AvailableDefaultLanguages.all_languages.include?(@language)
|
65
|
-
|
65
|
+
UI.user_error!("Please enter one of available languages: #{AvailableDefaultLanguages.all_languages}")
|
66
66
|
end
|
67
67
|
|
68
68
|
return @language
|
data/lib/produce/version.rb
CHANGED
data/lib/produce.rb
CHANGED
@@ -14,6 +14,7 @@ module Produce
|
|
14
14
|
end
|
15
15
|
|
16
16
|
Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
|
17
|
+
UI = FastlaneCore::UI
|
17
18
|
|
18
19
|
ENV['FASTLANE_TEAM_ID'] ||= ENV["PRODUCE_TEAM_ID"]
|
19
20
|
ENV['DELIVER_USER'] ||= ENV["PRODUCE_USERNAME"]
|
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.1.
|
4
|
+
version: 1.1.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-12-
|
11
|
+
date: 2015-12-18 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.30.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.30.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.0
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.16.0
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.
|
46
|
+
version: 0.16.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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.
|
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
|