deliver 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/summary.html.erb +7 -1
- data/lib/deliver/options.rb +1 -1
- data/lib/deliver/runner.rb +1 -1
- data/lib/deliver/submit_for_review.rb +1 -1
- data/lib/deliver/upload_metadata.rb +7 -2
- data/lib/deliver/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d04c2495a693fdc21532673b5e3dbdfeec568b6
|
4
|
+
data.tar.gz: 9faf1083bf9bc1cd9c1d0f4163de88f238673c29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7619350e5a706714d14c1cd5fb57aeb5ac4503393d209d9e800ef2d702ac31982e8bdbd28798393db481e65b05e134b8746ae7e8bd0b0afb631d920179b1ce61
|
7
|
+
data.tar.gz: 086c9d30b18b36ae32a47e4a7044f95256b26a60db2bf21a97ef96584394ed01b7a52190422c00c7e9ac3c9b3d7a5a561bd2a2cf56745864a3b6c6305278c877
|
data/lib/assets/summary.html.erb
CHANGED
@@ -159,7 +159,13 @@
|
|
159
159
|
<div id="app-screenshots">
|
160
160
|
<div class="cat-headline">Screenshots</div>
|
161
161
|
|
162
|
-
<% if
|
162
|
+
<% if options[:skip_screenshots] %>
|
163
|
+
<h2 style="color: blue">Skipped Screenshots</h2>
|
164
|
+
<p>
|
165
|
+
Options to skip_screenshots activated. <i>deliver</i> will not modify your app screenshots.
|
166
|
+
</p>
|
167
|
+
</div>
|
168
|
+
<% elsif @screenshots.count > 0 %>
|
163
169
|
<% last_size = nil %>
|
164
170
|
<% sc = @screenshots.find_all { |s| s.language == language } %>
|
165
171
|
<% sc.sort {|a, b| [a.screen_size, a.path] <=> [b.screen_size, b.path]}.each do |screenshot| %>
|
data/lib/deliver/options.rb
CHANGED
@@ -48,7 +48,7 @@ module Deliver
|
|
48
48
|
description: "The version that should be edited or created",
|
49
49
|
optional: true),
|
50
50
|
FastlaneCore::ConfigItem.new(key: :skip_metadata,
|
51
|
-
description: "
|
51
|
+
description: "Don't upload the metadata (e.g. title, description), this will still upload screenshots",
|
52
52
|
is_string: false,
|
53
53
|
default_value: false),
|
54
54
|
FastlaneCore::ConfigItem.new(key: :force,
|
data/lib/deliver/runner.rb
CHANGED
@@ -18,6 +18,7 @@ module Deliver
|
|
18
18
|
|
19
19
|
# Make sure to call `load_from_filesystem` before calling upload
|
20
20
|
def upload(options)
|
21
|
+
return if options[:skip_metadata]
|
21
22
|
verify_available_languages!(options)
|
22
23
|
|
23
24
|
app = options[:app]
|
@@ -26,7 +27,7 @@ module Deliver
|
|
26
27
|
v = app.edit_version
|
27
28
|
|
28
29
|
(LOCALISED_VERSION_VALUES + LOCALISED_APP_VALUES).each do |key|
|
29
|
-
current = options[key]
|
30
|
+
current = options[key].to_s.strip
|
30
31
|
next unless current
|
31
32
|
|
32
33
|
unless current.kind_of?(Hash)
|
@@ -42,7 +43,7 @@ module Deliver
|
|
42
43
|
end
|
43
44
|
|
44
45
|
(NON_LOCALISED_VERSION_VALUES + NON_LOCALISED_APP_VALUES).each do |key|
|
45
|
-
current = options[key]
|
46
|
+
current = options[key].to_s.strip
|
46
47
|
next unless current.to_s.length > 0
|
47
48
|
v.send("#{key}=", current) if NON_LOCALISED_VERSION_VALUES.include?(key)
|
48
49
|
details.send("#{key}=", current) if NON_LOCALISED_APP_VALUES.include?(key)
|
@@ -61,6 +62,8 @@ module Deliver
|
|
61
62
|
|
62
63
|
# Makes sure all languages we need are actually created
|
63
64
|
def verify_available_languages!(options)
|
65
|
+
return if options[:skip_metadata]
|
66
|
+
|
64
67
|
# Collect all languages we need
|
65
68
|
# We only care about languages from user provided values
|
66
69
|
# as the other languages are on iTC already anyway
|
@@ -88,6 +91,8 @@ module Deliver
|
|
88
91
|
|
89
92
|
# Loads the metadata files and stores them into the options object
|
90
93
|
def load_from_filesystem(options)
|
94
|
+
return if options[:skip_metadata]
|
95
|
+
|
91
96
|
# Load localised data
|
92
97
|
Dir.glob(File.join(options[:metadata_path], "*")).each do |lng_folder|
|
93
98
|
next unless File.directory?(lng_folder) # We don't want to read txt as they are non localised
|
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: 1.3.
|
4
|
+
version: 1.3.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-10-
|
11
|
+
date: 2015-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -36,21 +36,21 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.9.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.9.0
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: spaceship
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.11.
|
53
|
+
version: 0.11.4
|
54
54
|
- - "<="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 1.0.0
|
@@ -60,7 +60,7 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.11.
|
63
|
+
version: 0.11.4
|
64
64
|
- - "<="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 1.0.0
|