spaceship 0.34.2 → 0.34.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spaceship/client.rb +1 -1
- data/lib/spaceship/tunes/app_version.rb +11 -7
- data/lib/spaceship/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf577b8fd2b5d6f538ff6f26e2f5c8cf4abaa947
|
4
|
+
data.tar.gz: 47e771c715dd55f3d334234ab6fcbb09896e7595
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a270d3d3f892feb254305b4fd58dcd24628d4dd5f535f8c1e0fba52b798177e55b4a2db4e9b0e899bfcfeab83f4d6b0022a5d8b1f44d6fd353bad920069cafe
|
7
|
+
data.tar.gz: 899c011e4dacc8f0200029eafa12ee50ac72fe0f3d310d32d505298e0ca50606076c095848c55087d0af722bebd6c5302b7140b5fa6904bf46282516ced641ed
|
data/lib/spaceship/client.rb
CHANGED
@@ -8,7 +8,7 @@ require 'spaceship/helper/net_http_generic_request'
|
|
8
8
|
|
9
9
|
Faraday::Utils.default_params_encoder = Faraday::FlatParamsEncoder
|
10
10
|
|
11
|
-
if ENV["
|
11
|
+
if ENV["SPACESHIP_DEBUG"]
|
12
12
|
require 'openssl'
|
13
13
|
# this has to be on top of this file, since the value can't be changed later
|
14
14
|
OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
|
@@ -364,14 +364,18 @@ module Spaceship
|
|
364
364
|
upload_file = UploadFile.from_path screenshot_path
|
365
365
|
screenshot_data = client.upload_screenshot(self, upload_file, device)
|
366
366
|
|
367
|
+
# Since October 2016 we also need to pass the size, height, width and checksum
|
368
|
+
# otherwise iTunes Connect validation will fail at a later point
|
367
369
|
new_screenshot = {
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
370
|
+
"value" => {
|
371
|
+
"assetToken" => screenshot_data["token"],
|
372
|
+
"sortOrder" => sort_order,
|
373
|
+
"originalFileName" => upload_file.file_name,
|
374
|
+
"size" => screenshot_data["length"],
|
375
|
+
"height" => screenshot_data["height"],
|
376
|
+
"width" => screenshot_data["width"],
|
377
|
+
"checksum" => screenshot_data["md5"]
|
378
|
+
}
|
375
379
|
}
|
376
380
|
|
377
381
|
# We disable "scaling" for this device type / language combination
|
data/lib/spaceship/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spaceship
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.34.
|
4
|
+
version: 0.34.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: credentials_manager
|
@@ -394,7 +394,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
394
394
|
version: '0'
|
395
395
|
requirements: []
|
396
396
|
rubyforge_project:
|
397
|
-
rubygems_version: 2.
|
397
|
+
rubygems_version: 2.2.2
|
398
398
|
signing_key:
|
399
399
|
specification_version: 4
|
400
400
|
summary: Ruby library to access the Apple Dev Center and iTunes Connect
|