fastlane 2.106.1 → 2.106.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 20c1d9cdf81fb3028f468bc98f8c32e92a38ea62
4
- data.tar.gz: 002c15aa8ff8bd52bc8a97c06da5134c84d7c015
3
+ metadata.gz: 974356157916157c6d36d8a7de62dba3e39446ac
4
+ data.tar.gz: 855cb3995e8305afe9f1d69b8f83799b42dea3f7
5
5
  SHA512:
6
- metadata.gz: f668abf3192ebaba514277dcfa6240aae7f07244d4aaee4f7ffe859357a6c24e00bdb87a3f94e0514b4b5673e9b98f67f0d584dffd5277309631a739e9d46776
7
- data.tar.gz: 52f3763e76deb852ffb981218aef346d8290596244160c9486a375d2517d3189348ba9826a809d2b49669e868bef0098b277838cd3431aa1624bc7052bb3d5da
6
+ metadata.gz: 27d5745d24d106bf2613e1a3c58c6aec52f6f0b21337d24b86deeab8f7425fc9bab1cde19f3026fe7c9f7cac1928522530777f2e7899dd499b7015b8c8507c76
7
+ data.tar.gz: a3142001b58083a1613d6e6b290dcdf084939b71c2f95347e74ab518829011ff4265c55125a5861d7d7974da4db300de4f8169e760df962c69e56f9c3e5a8abc
data/README.md CHANGED
@@ -33,17 +33,23 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
33
33
  <!-- This table is regenerated and resorted on each release -->
34
34
  <table id='team'>
35
35
  <tr>
36
- <td id='danielle-tomlinson'>
37
- <a href='https://github.com/DanToml'>
38
- <img src='https://github.com/DanToml.png?size=140'>
36
+ <td id='jan-piotrowski'>
37
+ <a href='https://github.com/janpio'>
38
+ <img src='https://github.com/janpio.png?size=140'>
39
39
  </a>
40
- <h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
40
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
41
41
  </td>
42
- <td id='felix-krause'>
43
- <a href='https://github.com/KrauseFx'>
44
- <img src='https://github.com/KrauseFx.png?size=140'>
42
+ <td id='iulian-onofrei'>
43
+ <a href='https://github.com/revolter'>
44
+ <img src='https://github.com/revolter.png?size=140'>
45
45
  </a>
46
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
46
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
47
+ </td>
48
+ <td id='josh-holtz'>
49
+ <a href='https://github.com/joshdholtz'>
50
+ <img src='https://github.com/joshdholtz.png?size=140'>
51
+ </a>
52
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
47
53
  </td>
48
54
  <td id='andrew-mcburney'>
49
55
  <a href='https://github.com/AndrewMcBurney'>
@@ -51,57 +57,83 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
51
57
  </a>
52
58
  <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
53
59
  </td>
54
- <td id='matthew-ellis'>
55
- <a href='https://github.com/matthewellis'>
56
- <img src='https://github.com/matthewellis.png?size=140'>
57
- </a>
58
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
59
- </td>
60
- <td id='jimmy-dee'>
61
- <a href='https://github.com/jdee'>
62
- <img src='https://github.com/jdee.png?size=140'>
60
+ <td id='helmut-januschka'>
61
+ <a href='https://github.com/hjanuschka'>
62
+ <img src='https://github.com/hjanuschka.png?size=140'>
63
63
  </a>
64
- <h4 align='center'>Jimmy Dee</h4>
64
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
65
65
  </td>
66
66
  </tr>
67
67
  <tr>
68
- <td id='iulian-onofrei'>
69
- <a href='https://github.com/revolter'>
70
- <img src='https://github.com/revolter.png?size=140'>
68
+ <td id='joshua-liebowitz'>
69
+ <a href='https://github.com/taquitos'>
70
+ <img src='https://github.com/taquitos.png?size=140'>
71
71
  </a>
72
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
72
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
73
73
  </td>
74
- <td id='aaron-brager'>
75
- <a href='https://github.com/getaaron'>
76
- <img src='https://github.com/getaaron.png?size=140'>
74
+ <td id='kohki-miki'>
75
+ <a href='https://github.com/giginet'>
76
+ <img src='https://github.com/giginet.png?size=140'>
77
77
  </a>
78
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
78
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
79
79
  </td>
80
- <td id='helmut-januschka'>
81
- <a href='https://github.com/hjanuschka'>
82
- <img src='https://github.com/hjanuschka.png?size=140'>
80
+ <td id='danielle-tomlinson'>
81
+ <a href='https://github.com/DanToml'>
82
+ <img src='https://github.com/DanToml.png?size=140'>
83
83
  </a>
84
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
84
+ <h4 align='center'><a href='https://twitter.com/DanToml'>Danielle Tomlinson</a></h4>
85
85
  </td>
86
- <td id='jan-piotrowski'>
87
- <a href='https://github.com/janpio'>
88
- <img src='https://github.com/janpio.png?size=140'>
86
+ <td id='olivier-halligon'>
87
+ <a href='https://github.com/AliSoftware'>
88
+ <img src='https://github.com/AliSoftware.png?size=140'>
89
89
  </a>
90
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
90
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
91
+ </td>
92
+ <td id='manu-wallner'>
93
+ <a href='https://github.com/milch'>
94
+ <img src='https://github.com/milch.png?size=140'>
95
+ </a>
96
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
91
97
  </td>
98
+ </tr>
99
+ <tr>
92
100
  <td id='luka-mirosevic'>
93
101
  <a href='https://github.com/lmirosevic'>
94
102
  <img src='https://github.com/lmirosevic.png?size=140'>
95
103
  </a>
96
104
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
97
105
  </td>
106
+ <td id='jérôme-lacoste'>
107
+ <a href='https://github.com/lacostej'>
108
+ <img src='https://github.com/lacostej.png?size=140'>
109
+ </a>
110
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
111
+ </td>
112
+ <td id='stefan-natchev'>
113
+ <a href='https://github.com/snatchev'>
114
+ <img src='https://github.com/snatchev.png?size=140'>
115
+ </a>
116
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
117
+ </td>
118
+ <td id='matthew-ellis'>
119
+ <a href='https://github.com/matthewellis'>
120
+ <img src='https://github.com/matthewellis.png?size=140'>
121
+ </a>
122
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
123
+ </td>
124
+ <td id='jimmy-dee'>
125
+ <a href='https://github.com/jdee'>
126
+ <img src='https://github.com/jdee.png?size=140'>
127
+ </a>
128
+ <h4 align='center'>Jimmy Dee</h4>
129
+ </td>
98
130
  </tr>
99
131
  <tr>
100
- <td id='olivier-halligon'>
101
- <a href='https://github.com/AliSoftware'>
102
- <img src='https://github.com/AliSoftware.png?size=140'>
132
+ <td id='aaron-brager'>
133
+ <a href='https://github.com/getaaron'>
134
+ <img src='https://github.com/getaaron.png?size=140'>
103
135
  </a>
104
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
136
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
105
137
  </td>
106
138
  <td id='maksym-grebenets'>
107
139
  <a href='https://github.com/mgrebenets'>
@@ -115,31 +147,11 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
115
147
  </a>
116
148
  <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
117
149
  </td>
118
- <td id='josh-holtz'>
119
- <a href='https://github.com/joshdholtz'>
120
- <img src='https://github.com/joshdholtz.png?size=140'>
121
- </a>
122
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
123
- </td>
124
- <td id='joshua-liebowitz'>
125
- <a href='https://github.com/taquitos'>
126
- <img src='https://github.com/taquitos.png?size=140'>
127
- </a>
128
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
129
- </td>
130
- </tr>
131
- <tr>
132
- <td id='jérôme-lacoste'>
133
- <a href='https://github.com/lacostej'>
134
- <img src='https://github.com/lacostej.png?size=140'>
135
- </a>
136
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
137
- </td>
138
- <td id='stefan-natchev'>
139
- <a href='https://github.com/snatchev'>
140
- <img src='https://github.com/snatchev.png?size=140'>
150
+ <td id='felix-krause'>
151
+ <a href='https://github.com/KrauseFx'>
152
+ <img src='https://github.com/KrauseFx.png?size=140'>
141
153
  </a>
142
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
154
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
143
155
  </td>
144
156
  <td id='fumiya-nakamura'>
145
157
  <a href='https://github.com/nafu'>
@@ -147,18 +159,6 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
147
159
  </a>
148
160
  <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
149
161
  </td>
150
- <td id='kohki-miki'>
151
- <a href='https://github.com/giginet'>
152
- <img src='https://github.com/giginet.png?size=140'>
153
- </a>
154
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
155
- </td>
156
- <td id='manu-wallner'>
157
- <a href='https://github.com/milch'>
158
- <img src='https://github.com/milch.png?size=140'>
159
- </a>
160
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
161
- </td>
162
162
  </tr>
163
163
  </table>
164
164
 
@@ -1,3 +1,4 @@
1
+ require 'open-uri'
1
2
  require 'spaceship/tunes/tunes'
2
3
 
3
4
  require_relative 'module'
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.106.1'.freeze
2
+ VERSION = '2.106.2'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -18,4 +18,4 @@ class Deliverfile: DeliverfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -18,4 +18,4 @@ class Gymfile: GymfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -18,4 +18,4 @@ class Matchfile: MatchfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -18,4 +18,4 @@ class Precheckfile: PrecheckfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -18,4 +18,4 @@ class Scanfile: ScanfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -18,4 +18,4 @@ class Screengrabfile: ScreengrabfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -18,4 +18,4 @@ class Snapshotfile: SnapshotfileProtocol {
18
18
 
19
19
 
20
20
 
21
- // Generated with fastlane 2.106.1
21
+ // Generated with fastlane 2.106.2
@@ -69,35 +69,41 @@ module Frameit
69
69
  if value.kind_of?(Hash)
70
70
  validate_values(value) # recursive call
71
71
  else
72
- case key
73
- when 'font'
74
- UI.user_error!("Could not find font at path '#{File.expand_path(value)}'") unless File.exist?(value)
75
- when 'fonts'
76
- UI.user_error!("`fonts` must be an array") unless value.kind_of?(Array)
72
+ validate_key(key, value)
73
+ end
74
+ end
75
+ end
77
76
 
78
- value.each do |current|
79
- UI.user_error!("You must specify a font path") if current.fetch('font', '').length == 0
80
- UI.user_error!("Could not find font at path '#{File.expand_path(current.fetch('font'))}'") unless File.exist?(current.fetch('font'))
81
- UI.user_error!("`supported` must be an array") unless current.fetch('supported', []).kind_of?(Array)
82
- end
83
- when 'background'
84
- UI.user_error!("Could not find background image at path '#{File.expand_path(value)}'") unless File.exist?(value)
85
- when 'color'
86
- UI.user_error!("Invalid color '#{value}'. Must be valid Hex #123123") unless value.include?("#")
87
- when 'padding'
88
- unless integer_or_percentage(value) || value.split('x').length == 2
89
- UI.user_error!("padding must be an integer, or pair of integers of format 'AxB', or a percentage of screen size")
90
- end
91
- when 'title_min_height'
92
- unless integer_or_percentage(value)
93
- UI.user_error!("padding must be an integer, or a percentage of screen size")
94
- end
95
- when 'show_complete_frame', 'title_below_image'
96
- UI.user_error!("'#{key}' must be a Boolean") unless [true, false].include?(value)
97
- when 'font_scale_factor'
98
- UI.user_error!("font_scale_factor must be numeric") unless value.kind_of?(Numeric)
99
- end
77
+ def validate_key(key, value)
78
+ case key
79
+ when 'font'
80
+ UI.user_error!("Could not find font at path '#{File.expand_path(value)}'") unless File.exist?(value)
81
+ when 'fonts'
82
+ UI.user_error!("`fonts` must be an array") unless value.kind_of?(Array)
83
+
84
+ value.each do |current|
85
+ UI.user_error!("You must specify a font path") if current.fetch('font', '').length == 0
86
+ UI.user_error!("Could not find font at path '#{File.expand_path(current.fetch('font'))}'") unless File.exist?(current.fetch('font'))
87
+ UI.user_error!("`supported` must be an array") unless current.fetch('supported', []).kind_of?(Array)
88
+ end
89
+ when 'background'
90
+ UI.user_error!("Could not find background image at path '#{File.expand_path(value)}'") unless File.exist?(value)
91
+ when 'color'
92
+ UI.user_error!("Invalid color '#{value}'. Must be valid Hex #123123") unless value.include?("#")
93
+ when 'padding'
94
+ unless integer_or_percentage(value) || value.split('x').length == 2
95
+ UI.user_error!("padding must be an integer, or pair of integers of format 'AxB', or a percentage of screen size")
96
+ end
97
+ when 'title_min_height'
98
+ unless integer_or_percentage(value)
99
+ UI.user_error!("padding must be an integer, or a percentage of screen size")
100
100
  end
101
+ when 'show_complete_frame', 'title_below_image'
102
+ UI.user_error!("'#{key}' must be a Boolean") unless [true, false].include?(value)
103
+ when 'font_scale_factor'
104
+ UI.user_error!("font_scale_factor must be numeric") unless value.kind_of?(Numeric)
105
+ when 'frame'
106
+ UI.user_error!("device must be BLACK, WHITE, GOLD, ROSE_GOLD") unless ["BLACK", "WHITE", "GOLD", "ROSE_GOLD"].include?(value)
101
107
  end
102
108
  end
103
109
 
@@ -6,6 +6,7 @@ require_relative 'module'
6
6
  require_relative 'offsets'
7
7
  require_relative 'config_parser'
8
8
  require_relative 'strings_parser'
9
+ require_relative 'device_types'
9
10
 
10
11
  module Frameit
11
12
  # Currently the class is 2 lines too long. Reevaluate refactoring when it's length changes significantly
@@ -41,6 +42,10 @@ module Frameit
41
42
  end
42
43
 
43
44
  def load_frame
45
+ color = fetch_frame_color
46
+ if color
47
+ screenshot.color = color
48
+ end
44
49
  TemplateFinder.get_template(screenshot)
45
50
  end
46
51
 
@@ -488,6 +493,21 @@ module Frameit
488
493
  return text
489
494
  end
490
495
 
496
+ def fetch_frame_color
497
+ color = fetch_config['frame']
498
+ if color == "BLACK"
499
+ return Frameit::Color::BLACK
500
+ elsif color == "WHITE"
501
+ return Frameit::Color::SILVER
502
+ elsif color == "GOLD"
503
+ return Frameit::Color::GOLD
504
+ elsif color == "ROSE_GOLD"
505
+ return Frameit::Color::ROSE_GOLD
506
+ end
507
+
508
+ return nil
509
+ end
510
+
491
511
  # The font we want to use
492
512
  def font(key)
493
513
  single_font = fetch_config[key.to_s]['font']
@@ -36,13 +36,6 @@ module Match
36
36
  })
37
37
  self.storage.download
38
38
 
39
- # After the download was complete
40
- self.encryption = Encryption.for_storage_mode(params[:storage_mode], {
41
- git_url: params[:git_url],
42
- working_directory: storage.working_directory
43
- })
44
- self.encryption.decrypt_files
45
-
46
39
  had_app_identifier = self.params.fetch(:app_identifier, ask: false)
47
40
  self.params[:app_identifier] = '' # we don't really need a value here
48
41
  FastlaneCore::PrintTable.print_values(config: params,
metadata CHANGED
@@ -1,33 +1,33 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.106.1
4
+ version: 2.106.2
5
5
  platform: ruby
6
6
  authors:
7
+ - Luka Mirosevic
8
+ - Iulian Onofrei
9
+ - Fumiya Nakamura
7
10
  - Jimmy Dee
8
- - Helmut Januschka
9
- - Andrew McBurney
10
11
  - Maksym Grebenets
11
- - Stefan Natchev
12
+ - Danielle Tomlinson
13
+ - Jorge Revuelta H
12
14
  - Matthew Ellis
13
- - Fumiya Nakamura
14
15
  - Aaron Brager
16
+ - Helmut Januschka
15
17
  - Jérôme Lacoste
16
- - Felix Krause
17
- - Luka Mirosevic
18
- - Josh Holtz
19
- - Danielle Tomlinson
20
- - Manu Wallner
21
- - Iulian Onofrei
22
- - Joshua Liebowitz
23
- - Jorge Revuelta H
24
18
  - Jan Piotrowski
19
+ - Josh Holtz
25
20
  - Kohki Miki
21
+ - Joshua Liebowitz
22
+ - Felix Krause
26
23
  - Olivier Halligon
24
+ - Stefan Natchev
25
+ - Manu Wallner
26
+ - Andrew McBurney
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2018-10-12 00:00:00.000000000 Z
30
+ date: 2018-10-15 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1384,6 +1384,7 @@ files:
1384
1384
  - match/lib/assets/MatchfileTemplate.swift
1385
1385
  - match/lib/assets/READMETemplate.md
1386
1386
  - match/lib/match.rb
1387
+ - match/lib/match/.nuke.rb.swp
1387
1388
  - match/lib/match/change_password.rb
1388
1389
  - match/lib/match/commands_generator.rb
1389
1390
  - match/lib/match/encryption.rb