produce 1.2.0 → 1.2.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 +1 -1
- data/lib/produce.rb +1 -0
- data/lib/produce/commands_generator.rb +0 -4
- data/lib/produce/group.rb +1 -1
- data/lib/produce/itunes_connect.rb +2 -2
- data/lib/produce/service.rb +0 -3
- data/lib/produce/version.rb +1 -1
- 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: fc3e5edf5800f6a0622c70b57b9020921c4dc79e
|
4
|
+
data.tar.gz: ac84da08123223ce7304c1e5d3c82020643ed21b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea87c3c2e9f43e68d9656289f840e6412fb9aa39a924b4ed6814fbbd91b43930f8195b24fb93dd23e01b2022246669e3a7de44e21ba489240b688b683102cd15
|
7
|
+
data.tar.gz: 8cb186198bac1c377d6bc09cc5be0dc32fd5180b2fca56e995fd5cab902deb890ff779b9ac2dfe922cd3dc4525ec85df36b8a6ead9f1b2393da5a467d805bc3f
|
data/README.md
CHANGED
@@ -164,7 +164,7 @@ All available values can also be passed using environment variables, run `produc
|
|
164
164
|
|
165
165
|
Your `Fastfile` should look like this
|
166
166
|
```ruby
|
167
|
-
lane :
|
167
|
+
lane :release do
|
168
168
|
produce(
|
169
169
|
username: 'felix@krausefx.com',
|
170
170
|
app_identifier: 'com.krausefx.app',
|
data/lib/produce.rb
CHANGED
@@ -15,6 +15,7 @@ module Produce
|
|
15
15
|
|
16
16
|
Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
|
17
17
|
UI = FastlaneCore::UI
|
18
|
+
ROOT = Pathname.new(File.expand_path('../..', __FILE__))
|
18
19
|
|
19
20
|
ENV['FASTLANE_TEAM_ID'] ||= ENV["PRODUCE_TEAM_ID"]
|
20
21
|
ENV['DELIVER_USER'] ||= ENV["PRODUCE_USERNAME"]
|
@@ -13,8 +13,6 @@ module Produce
|
|
13
13
|
FastlaneCore::UpdateChecker.show_update_status('produce', Produce::VERSION)
|
14
14
|
end
|
15
15
|
|
16
|
-
# rubocop:disable Metrics/AbcSize
|
17
|
-
# rubocop:disable Metrics/MethodLength
|
18
16
|
def run
|
19
17
|
program :version, Produce::VERSION
|
20
18
|
program :description, 'CLI for \'produce\''
|
@@ -126,7 +124,5 @@ module Produce
|
|
126
124
|
|
127
125
|
run!
|
128
126
|
end
|
129
|
-
# rubocop:enable Metrics/AbcSize
|
130
|
-
# rubocop:enable Metrics/MethodLength
|
131
127
|
end
|
132
128
|
end
|
data/lib/produce/group.rb
CHANGED
@@ -8,7 +8,7 @@ module Produce
|
|
8
8
|
|
9
9
|
ENV["CREATED_NEW_GROUP_ID"] = Time.now.to_i.to_s
|
10
10
|
|
11
|
-
group_identifier = options.group_identifier ||
|
11
|
+
group_identifier = options.group_identifier || UI.input("Group identifier: ")
|
12
12
|
|
13
13
|
if app_group_exists? group_identifier
|
14
14
|
UI.success("[DevCenter] Group '#{options.group_name} (#{options.group_identifier})' already exists, nothing to do on the Dev Center")
|
@@ -36,12 +36,12 @@ module Produce
|
|
36
36
|
counter = 0
|
37
37
|
while application.nil?
|
38
38
|
counter += 1
|
39
|
-
UI.crash!("Couldn't find newly created app on iTunes Connect - please check the website for more information") if counter ==
|
39
|
+
UI.crash!("Couldn't find newly created app on iTunes Connect - please check the website for more information") if counter == 200
|
40
40
|
|
41
41
|
# Since 2016-08-10 iTunes Connect takes some time to actually list the newly created application
|
42
42
|
# We have no choice but to poll to see if the newly created app is already available
|
43
43
|
UI.message("Waiting for the newly created application to be available on iTunes Connect...")
|
44
|
-
sleep
|
44
|
+
sleep 15
|
45
45
|
application = fetch_application
|
46
46
|
end
|
47
47
|
|
data/lib/produce/service.rb
CHANGED
@@ -39,9 +39,6 @@ module Produce
|
|
39
39
|
end
|
40
40
|
|
41
41
|
# rubocop:disable Metrics/PerceivedComplexity
|
42
|
-
# rubocop:disable Metrics/MethodLength
|
43
|
-
# rubocop:disable Metrics/CyclomaticComplexity
|
44
|
-
# rubocop:disable Metrics/AbcSize
|
45
42
|
def update(on, app, options)
|
46
43
|
updated = valid_services_for(options).count
|
47
44
|
|
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.2.
|
4
|
+
version: 1.2.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: 2016-
|
11
|
+
date: 2016-10-05 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.52.1
|
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.52.1
|
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.34.2
|
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.34.2
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.0.0
|
@@ -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.4.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
|