deliver 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deliver/app_screenshot.rb +1 -1
- data/lib/deliver/upload_screenshots.rb +7 -3
- 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: ffed9f20a1ffa1f977ffdc5e4834b9746aff0969
|
4
|
+
data.tar.gz: c7d8303e3f631c689841aef920db146d00724c1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c153be49bb375ee14e6298653e12529fd563106a9467ffb125bd1d7977e53b36bb542335c460699417a87d5d094f4da4e0a35278019554a5e8246748cd726ae
|
7
|
+
data.tar.gz: 43b50e4c92f00ad72e77d00b6eb515eb5004655bad47236bf703c136fd1c38fb9ca77d73b363e4af2d3bfcbaa6d9ccc3db40594635018a90d439295b2bdd3888
|
@@ -46,16 +46,20 @@ module Deliver
|
|
46
46
|
|
47
47
|
def collect_screenshots(options)
|
48
48
|
screenshots = []
|
49
|
+
extensions = '{png,jpg,jpeg}'
|
49
50
|
Dir.glob(File.join(options[:screenshots_path], "*"), File::FNM_CASEFOLD).sort.each do |lng_folder|
|
50
51
|
language = File.basename(lng_folder)
|
51
52
|
|
52
|
-
files = Dir.glob(File.join(lng_folder,
|
53
|
+
files = Dir.glob(File.join(lng_folder, "*.#{extensions}"))
|
53
54
|
next if files.count == 0
|
54
55
|
|
55
|
-
prefer_framed = Dir.glob(File.join(lng_folder, '*_framed
|
56
|
+
prefer_framed = Dir.glob(File.join(lng_folder, '*_framed.#{extensions}')).count > 0
|
56
57
|
|
57
58
|
files.each do |path|
|
58
|
-
|
59
|
+
if prefer_framed && !path.downcase.include?("_framed.#{extensions}") && !path.downcase.include?("watch")
|
60
|
+
next
|
61
|
+
end
|
62
|
+
|
59
63
|
screenshots << AppScreenshot.new(path, language)
|
60
64
|
end
|
61
65
|
end
|
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.1.
|
4
|
+
version: 1.1.2
|
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-
|
11
|
+
date: 2015-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|