deliver 0.13.0 → 0.13.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9f1d1eb0699a1a0a0f04492e5168f7feb2977500
4
- data.tar.gz: e427eef65961eeb62a40cbf5dca506a1ad0a7a46
3
+ metadata.gz: 6664011e24876cb9257ad5e3e4cdd217badea4bc
4
+ data.tar.gz: fe159300d1f60126a88b30007f0b65059e15eab7
5
5
  SHA512:
6
- metadata.gz: 36c704f7651c67039178be31e0316840916ab37204cd0efa12f44b13082ee8310d55443ebdd7aa72739be61a775928fec26c362828bd3ccf8ca88380a76206c0
7
- data.tar.gz: 70fb8b9c4d9e8b1e08a6350262ad10ea168386b5a9fc6eae53f17e1fe4596747e685f9a406abd14e401a747ec2ae6d5172d0d859709be546b82457be346e04c5
6
+ metadata.gz: 9b71484bf040f09e71fd0c071bb2b8c61b9ccf1cb0f9ef456ca97119a670aa6f8563834513d6baf4157b1364c5e3241d63553dc971ca1fedb87184107a8f43c0
7
+ data.tar.gz: e8685ee6440487e278e20eff8a3e8671fabf5e509afb5059cd98bc64f733b732d3680b4946b605036f4974491f0cfd5786d8be2f4641e3f1439330432455e3cd
@@ -109,7 +109,7 @@ module Deliver
109
109
  @app_identifier ||= (@ipa.fetch_app_identifier rescue nil) # since ipa might be nil
110
110
 
111
111
  @app_version ||= @deploy_information[Deliverer::ValKey::APP_VERSION]
112
- @app_version ||= ENV["DELIVER_VERSION"]
112
+ @app_version ||= ENV["DELIVER_VERSION"] if ENV["DELIVER_VERSION"].to_s.length > 0
113
113
  @app_version ||= (@ipa.fetch_app_version rescue nil) # since ipa might be nil
114
114
  @app_version ||= (app.get_live_version rescue nil) # pull the latest version from iTunes Connect
115
115
  end
@@ -17,6 +17,7 @@ module Deliver
17
17
  return Deliver::App::AppStatus::PREPARE_FOR_SUBMISSION if status == 'devRejected' # that's the same thing
18
18
  return Deliver::App::AppStatus::WAITING_FOR_REVIEW if status == 'waitingForReview'
19
19
  return Deliver::App::AppStatus::READY_FOR_SALE if status == 'readyForSale'
20
+ return Deliver::App::AppStatus::PENDING_DEVELOPER_RELEASE if status == 'pendingDeveloperRelease'
20
21
 
21
22
  Helper.log.info "App Status '#{status}' not yet implemented, please submit an issue on GitHub"
22
23
  return nil
@@ -174,7 +174,7 @@ module Deliver
174
174
  wait_for_elements(".radiostyle")
175
175
  sleep 3
176
176
 
177
- if page.has_content?"Content Rights"
177
+ if (page.has_content?"Content Rights") || (page.has_content?"Export") || (page.has_content?"Advertising Identifier")
178
178
  # Looks good.. just a few more steps
179
179
 
180
180
  perms ||= {
@@ -203,7 +203,7 @@ module Deliver
203
203
  # Export Compliance #
204
204
  #####################
205
205
  if page.has_content?"Export"
206
-
206
+
207
207
  if not perms[:export_compliance][:encryption_updated] and perms[:export_compliance][:cryptography_enabled]
208
208
  raise "encryption_updated must be enabled if cryptography_enabled is enabled!"
209
209
  end
@@ -221,6 +221,7 @@ module Deliver
221
221
  # Content Rights #
222
222
  ##################
223
223
  if page.has_content?"Content Rights"
224
+
224
225
  if not perms[:third_party_content][:contains_third_party_content] and perms[:third_party_content][:has_rights]
225
226
  raise "contains_third_party_content must be enabled if has_rights is enabled".red
226
227
  end
@@ -236,6 +237,7 @@ module Deliver
236
237
  # Advertising Identifier #
237
238
  ##########################
238
239
  if page.has_content?"Advertising Identifier"
240
+
239
241
  first(:xpath, "#{basic}.adIdInfo.usesIdfa.value' and @radio-value='#{perms[:advertising_identifier][:use_idfa]}']//a").click rescue nil
240
242
 
241
243
  if perms[:advertising_identifier][:use_idfa]
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.13.0"
2
+ VERSION = "0.13.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.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-27 00:00:00.000000000 Z
11
+ date: 2015-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
273
  version: '0'
274
274
  requirements: []
275
275
  rubyforge_project:
276
- rubygems_version: 2.4.6
276
+ rubygems_version: 2.4.8
277
277
  signing_key:
278
278
  specification_version: 4
279
279
  summary: Upload screenshots, metadata and your app to the App Store using a single