deliver 0.7.8 → 0.7.9
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/README.md +0 -2
- data/lib/deliver/app.rb +2 -2
- data/lib/deliver/ipa_uploader.rb +1 -1
- data/lib/deliver/itunes_connect/itunes_connect_app_icon.rb +6 -0
- data/lib/deliver/itunes_transporter.rb +3 -2
- data/lib/deliver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b07a0ee400eb4f0fd787f89dcd82cdae154f9b0
|
4
|
+
data.tar.gz: 1f193523b0161ce57a961a6bb3ec2dc91ff82d7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 737471e5d7eddf7421824f083c22328f8dd9cc92df4d310129cbb051e77f275f66c37e415fb34b901421e2992c26537f5be92fe7c66dd9de5230a1531288e499
|
7
|
+
data.tar.gz: ec1ac3527e4bdffe336ea763dc9140f14babc87bf937c4cfaa908e5c87271087a7a349d9b0cc9cb20bc56085fabbf8c2b01c6a57789c0d741ad48ebf88e4392c
|
data/README.md
CHANGED
@@ -70,8 +70,6 @@ Make sure, you have the latest version of the Xcode command line tools installed
|
|
70
70
|
|
71
71
|
xcode-select --install
|
72
72
|
|
73
|
-
If you don't already have homebrew installed, [install it here](http://brew.sh/).
|
74
|
-
|
75
73
|
To create new screenshots automatically, check out my other open source project [Snapshot](https://github.com/KrauseFx/snapshot).
|
76
74
|
|
77
75
|
# TestFlight
|
data/lib/deliver/app.rb
CHANGED
@@ -45,7 +45,7 @@ module Deliver
|
|
45
45
|
rescue
|
46
46
|
unless Helper.is_test?
|
47
47
|
Helper.log.info "Could not find Apple ID based on the app identifier in the US App Store. Maybe the app is not yet in the store?".yellow
|
48
|
-
Helper.log.info "You can
|
48
|
+
Helper.log.info "You can provide the Apple ID of your app using `apple_id '974739333'` in your `Deliverfile`".green
|
49
49
|
|
50
50
|
while ((self.apple_id || '').to_s.length == 0) || ((self.apple_id || 0).to_i == 0)
|
51
51
|
self.apple_id = ask("\nApple ID of your app (e.g. 284882215): ")
|
@@ -151,4 +151,4 @@ module Deliver
|
|
151
151
|
self.metadata.upload!
|
152
152
|
end
|
153
153
|
end
|
154
|
-
end
|
154
|
+
end
|
data/lib/deliver/ipa_uploader.rb
CHANGED
@@ -24,7 +24,7 @@ module Deliver
|
|
24
24
|
# If it's a production build it will be released into production. Otherwise no action.
|
25
25
|
# @raise (IpaUploaderError) Is thrown when the ipa file was not found or is not valid
|
26
26
|
def initialize(app, dir, ipa_path, publish_strategy)
|
27
|
-
ipa_path.strip! # remove unused white spaces
|
27
|
+
ipa_path.dup.strip! # remove unused white spaces
|
28
28
|
raise IpaUploaderError.new("IPA on path '#{ipa_path}' not found") unless File.exists?(ipa_path)
|
29
29
|
raise IpaUploaderError.new("IPA on path '#{ipa_path}' is not a valid IPA file") unless ipa_path.include?".ipa"
|
30
30
|
|
@@ -11,6 +11,12 @@ module Deliver
|
|
11
11
|
size = FastImage.size(path)
|
12
12
|
raise "App icon must have the resolution of 1024x1024px".red unless (size[0] == 1024 and size[1] == 1024)
|
13
13
|
|
14
|
+
# Remove alpha channel
|
15
|
+
Helper.log.info "Removing alpha channel from provided App Icon (iTunes Connect requirement)".green
|
16
|
+
|
17
|
+
`sips -s format bmp '#{path}' &> /dev/null ` # &> /dev/null because there is warning because of the extension
|
18
|
+
`sips -s format png '#{path}'`
|
19
|
+
|
14
20
|
begin
|
15
21
|
verify_app(app)
|
16
22
|
open_app_page(app)
|
@@ -50,7 +50,7 @@ module Deliver
|
|
50
50
|
|
51
51
|
result = execute_transporter(command)
|
52
52
|
|
53
|
-
itmsp_path =
|
53
|
+
itmsp_path = File.join(dir, "#{app.apple_id}.itmsp")
|
54
54
|
if result and File.directory?itmsp_path
|
55
55
|
Helper.log.info "Successfully downloaded the latest package from iTunesConnect.".green
|
56
56
|
else
|
@@ -182,7 +182,8 @@ module Deliver
|
|
182
182
|
"-m upload",
|
183
183
|
"-u \"#{username}\"",
|
184
184
|
"-p '#{escaped_password(password)}'",
|
185
|
-
"-f '#{source}'"
|
185
|
+
"-f '#{source}'",
|
186
|
+
ENV["DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS"]
|
186
187
|
].join(' ')
|
187
188
|
end
|
188
189
|
|
data/lib/deliver/version.rb
CHANGED
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.7.
|
4
|
+
version: 0.7.9
|
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-02-
|
11
|
+
date: 2015-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|