fastlane 2.14.1 → 2.14.2
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/credentials_manager/lib/credentials_manager.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core.rb +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/fastlane_core/lib/fastlane_core/ui/disable_colors.rb +4 -4
- data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +1 -1
- data/frameit/lib/frameit/config_parser.rb +3 -3
- data/frameit/lib/frameit/editor.rb +5 -2
- data/match/lib/match.rb +1 -1
- data/scan/lib/scan/test_command_generator.rb +1 -1
- data/spaceship/lib/spaceship/spaceauth_runner.rb +2 -2
- metadata +4 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8df08ee848469d56fc5c96626b12d4f6c1cd84c0
|
4
|
+
data.tar.gz: 51ef2d002b8b926b037607fc0c92bd76b6c2de62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9a9bec7a4ad536e78e17b32063b5d9dac15ed424924b5b68a0e080585ceb1ccee888eee83adcbf084f26209850fd2ba004d8eb8c159d330ee794065ae91e680
|
7
|
+
data.tar.gz: 28c49fd2ad59c7119de1c03dafe9204ef3f9c1e0661c9efa98901de6c4667a0c3348f9d83c97f957cf9ba7efc95d19765bf8a27048b23dded1e5a5c1451adf90
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# This code overwrites the methods from the colored gem
|
2
|
-
# via https://github.com/
|
2
|
+
# via https://github.com/defunkt/colored/blob/master/lib/colored.rb
|
3
3
|
|
4
|
-
require '
|
4
|
+
require 'colored'
|
5
5
|
|
6
6
|
class String
|
7
|
-
|
7
|
+
Colored::COLORS.keys.each do |color|
|
8
8
|
define_method(color) do
|
9
9
|
self # do nothing with the string, but return it
|
10
10
|
end
|
11
11
|
end
|
12
|
-
|
12
|
+
Colored::EXTRAS.keys.each do |extra|
|
13
13
|
define_method(extra) do
|
14
14
|
self # do nothing with the string, but return it
|
15
15
|
end
|
@@ -80,11 +80,11 @@ module Frameit
|
|
80
80
|
when 'color'
|
81
81
|
UI.user_error!("Invalid color '#{value}'. Must be valid Hex #123123") unless value.include?("#")
|
82
82
|
when 'padding'
|
83
|
-
unless value.kind_of?(Integer) || value.split('x').length == 2
|
84
|
-
UI.user_error!("padding must be type integer or pair of integers of format 'AxB'")
|
83
|
+
unless value.kind_of?(Integer) || value.split('x').length == 2 || (value.end_with?('%') && value.to_f > 0)
|
84
|
+
UI.user_error!("padding must be type integer or pair of integers of format 'AxB' or a percentage of screen size")
|
85
85
|
end
|
86
86
|
when 'font_scale_factor'
|
87
|
-
UI.user_error!
|
87
|
+
UI.user_error!("font_scale_factor must be numeric") unless value.kind_of?(Numeric)
|
88
88
|
end
|
89
89
|
end
|
90
90
|
end
|
@@ -127,7 +127,7 @@ module Frameit
|
|
127
127
|
# Horizontal adding around the frames
|
128
128
|
def horizontal_frame_padding
|
129
129
|
padding = fetch_config['padding']
|
130
|
-
|
130
|
+
if padding.kind_of?(String) && padding.split('x').length == 2
|
131
131
|
padding = padding.split('x')[0].to_i
|
132
132
|
end
|
133
133
|
return scale_padding(padding)
|
@@ -136,13 +136,16 @@ module Frameit
|
|
136
136
|
# Vertical adding around the frames
|
137
137
|
def vertical_frame_padding
|
138
138
|
padding = fetch_config['padding']
|
139
|
-
|
139
|
+
if padding.kind_of?(String) && padding.split('x').length == 2
|
140
140
|
padding = padding.split('x')[1].to_i
|
141
141
|
end
|
142
142
|
return scale_padding(padding)
|
143
143
|
end
|
144
144
|
|
145
145
|
def scale_padding(padding)
|
146
|
+
if padding.kind_of?(String) && padding.end_with?('%')
|
147
|
+
padding = ([image.width, image.height].min * padding.to_f * 0.01).ceil
|
148
|
+
end
|
146
149
|
multi = 1.0
|
147
150
|
multi = 1.7 if self.screenshot.triple_density?
|
148
151
|
return padding * multi
|
data/match/lib/match.rb
CHANGED
@@ -31,7 +31,7 @@ module Match
|
|
31
31
|
def self.cert_type_sym(type)
|
32
32
|
return :enterprise if type == "enterprise"
|
33
33
|
return :development if type == "development"
|
34
|
-
return :distribution if
|
34
|
+
return :distribution if ["adhoc", "appstore", "distribution"].include?(type)
|
35
35
|
raise "Unknown cert type: '#{type}'"
|
36
36
|
end
|
37
37
|
end
|
@@ -30,7 +30,7 @@ module Scan
|
|
30
30
|
config = Scan.config
|
31
31
|
|
32
32
|
options = []
|
33
|
-
options += project_path_array
|
33
|
+
options += project_path_array unless config[:xctestrun]
|
34
34
|
options << "-sdk '#{config[:sdk]}'" if config[:sdk]
|
35
35
|
options << destination # generated in `detect_values`
|
36
36
|
options << "-derivedDataPath '#{config[:derived_data_path]}'" if config[:derived_data_path]
|
@@ -50,11 +50,11 @@ module Spaceship
|
|
50
50
|
puts "---"
|
51
51
|
puts ""
|
52
52
|
puts "Pass the following via the FASTLANE_SESSION environment variable:"
|
53
|
-
puts yaml.cyan.
|
53
|
+
puts yaml.cyan.underline
|
54
54
|
puts ""
|
55
55
|
puts ""
|
56
56
|
puts "Example:"
|
57
|
-
puts "export FASTLANE_SESSION='#{yaml}'".cyan.
|
57
|
+
puts "export FASTLANE_SESSION='#{yaml}'".cyan.underline
|
58
58
|
end
|
59
59
|
end
|
60
60
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.14.
|
4
|
+
version: 2.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -205,25 +205,19 @@ dependencies:
|
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: 2.0.0
|
207
207
|
- !ruby/object:Gem::Dependency
|
208
|
-
name:
|
208
|
+
name: colored
|
209
209
|
requirement: !ruby/object:Gem::Requirement
|
210
210
|
requirements:
|
211
211
|
- - ">="
|
212
212
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
214
|
-
- - "<"
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: 4.0.0
|
213
|
+
version: '0'
|
217
214
|
type: :runtime
|
218
215
|
prerelease: false
|
219
216
|
version_requirements: !ruby/object:Gem::Requirement
|
220
217
|
requirements:
|
221
218
|
- - ">="
|
222
219
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
224
|
-
- - "<"
|
225
|
-
- !ruby/object:Gem::Version
|
226
|
-
version: 4.0.0
|
220
|
+
version: '0'
|
227
221
|
- !ruby/object:Gem::Dependency
|
228
222
|
name: commander
|
229
223
|
requirement: !ruby/object:Gem::Requirement
|