fastlane 2.229.1 → 2.231.0

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.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +100 -94
  3. data/deliver/lib/assets/summary.html.erb +3 -3
  4. data/deliver/lib/deliver/app_screenshot.rb +215 -347
  5. data/deliver/lib/deliver/app_screenshot_iterator.rb +4 -1
  6. data/deliver/lib/deliver/app_screenshot_validator.rb +5 -21
  7. data/deliver/lib/deliver/loader.rb +2 -9
  8. data/deliver/lib/deliver/upload_metadata.rb +5 -0
  9. data/deliver/lib/deliver/upload_screenshots.rb +4 -2
  10. data/fastlane/lib/fastlane/actions/docs/create_app_online.md +6 -3
  11. data/fastlane/lib/fastlane/actions/docs/sync_code_signing.md +3 -1
  12. data/fastlane/lib/fastlane/actions/docs/upload_to_app_store.md.erb +34 -6
  13. data/fastlane/lib/fastlane/actions/docs/upload_to_testflight.md +2 -0
  14. data/fastlane/lib/fastlane/actions/get_version_number.rb +1 -1
  15. data/fastlane/lib/fastlane/actions/increment_build_number.rb +1 -1
  16. data/fastlane/lib/fastlane/actions/install_xcode_plugin.rb +3 -2
  17. data/fastlane/lib/fastlane/actions/modify_services.rb +1 -0
  18. data/fastlane/lib/fastlane/actions/notarize.rb +1 -1
  19. data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +1 -1
  20. data/fastlane/lib/fastlane/actions/xcov.rb +1 -7
  21. data/fastlane/lib/fastlane/cli_tools_distributor.rb +9 -0
  22. data/fastlane/lib/fastlane/documentation/markdown_docs_generator.rb +4 -4
  23. data/fastlane/lib/fastlane/plugins/template/.github/workflows/test.yml +20 -20
  24. data/fastlane/lib/fastlane/version.rb +2 -1
  25. data/fastlane/swift/Actions.swift +1 -1
  26. data/fastlane/swift/Appfile.swift +1 -1
  27. data/fastlane/swift/ArgumentProcessor.swift +1 -1
  28. data/fastlane/swift/Atomic.swift +1 -1
  29. data/fastlane/swift/ControlCommand.swift +1 -1
  30. data/fastlane/swift/Deliverfile.swift +2 -2
  31. data/fastlane/swift/DeliverfileProtocol.swift +2 -2
  32. data/fastlane/swift/Fastlane.swift +86 -72
  33. data/fastlane/swift/Gymfile.swift +2 -2
  34. data/fastlane/swift/GymfileProtocol.swift +10 -2
  35. data/fastlane/swift/LaneFileProtocol.swift +1 -1
  36. data/fastlane/swift/MainProcess.swift +1 -1
  37. data/fastlane/swift/Matchfile.swift +2 -2
  38. data/fastlane/swift/MatchfileProtocol.swift +2 -2
  39. data/fastlane/swift/OptionalConfigValue.swift +1 -1
  40. data/fastlane/swift/Plugins.swift +1 -1
  41. data/fastlane/swift/Precheckfile.swift +2 -2
  42. data/fastlane/swift/PrecheckfileProtocol.swift +2 -2
  43. data/fastlane/swift/RubyCommand.swift +1 -1
  44. data/fastlane/swift/RubyCommandable.swift +1 -1
  45. data/fastlane/swift/Runner.swift +1 -1
  46. data/fastlane/swift/RunnerArgument.swift +1 -1
  47. data/fastlane/swift/Scanfile.swift +2 -2
  48. data/fastlane/swift/ScanfileProtocol.swift +6 -2
  49. data/fastlane/swift/Screengrabfile.swift +2 -2
  50. data/fastlane/swift/ScreengrabfileProtocol.swift +2 -2
  51. data/fastlane/swift/Snapshotfile.swift +2 -2
  52. data/fastlane/swift/SnapshotfileProtocol.swift +6 -2
  53. data/fastlane/swift/SocketClient.swift +1 -1
  54. data/fastlane/swift/SocketClientDelegateProtocol.swift +1 -1
  55. data/fastlane/swift/SocketResponse.swift +1 -1
  56. data/fastlane/swift/main.swift +1 -1
  57. data/fastlane_core/lib/fastlane_core/fastlane_pty.rb +5 -1
  58. data/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb +14 -0
  59. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +38 -8
  60. data/fastlane_core/lib/fastlane_core/project.rb +4 -0
  61. data/fastlane_core/lib/fastlane_core/provisioning_profile.rb +7 -1
  62. data/frameit/lib/frameit/device.rb +2 -2
  63. data/frameit/lib/frameit/device_types.rb +108 -70
  64. data/frameit/lib/frameit/template_finder.rb +1 -1
  65. data/gym/lib/gym/module.rb +9 -4
  66. data/gym/lib/gym/options.rb +14 -1
  67. data/gym/lib/gym/runner.rb +38 -3
  68. data/produce/lib/produce/commands_generator.rb +2 -0
  69. data/produce/lib/produce/developer_center.rb +1 -0
  70. data/produce/lib/produce/service.rb +6 -1
  71. data/scan/lib/scan/error_handler.rb +5 -0
  72. data/scan/lib/scan/options.rb +5 -0
  73. data/scan/lib/scan/test_command_generator.rb +8 -0
  74. data/sigh/lib/sigh/local_manage.rb +6 -4
  75. data/sigh/lib/sigh/runner.rb +18 -1
  76. data/snapshot/lib/snapshot/detect_values.rb +1 -1
  77. data/snapshot/lib/snapshot/options.rb +5 -0
  78. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +4 -2
  79. data/spaceship/lib/spaceship/client.rb +32 -2
  80. data/spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb +62 -8
  81. data/spaceship/lib/spaceship/connect_api/models/app_info_localization.rb +4 -4
  82. data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +7 -1
  83. data/spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb +16 -16
  84. data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +2 -0
  85. data/spaceship/lib/spaceship/connect_api/models/certificate.rb +32 -2
  86. data/spaceship/lib/spaceship/connect_api/models/webhook.rb +62 -0
  87. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +0 -6
  88. data/spaceship/lib/spaceship/connect_api/tunes/tunes.rb +38 -0
  89. data/spaceship/lib/spaceship/connect_api.rb +1 -0
  90. data/spaceship/lib/spaceship/errors.rb +8 -6
  91. data/spaceship/lib/spaceship/portal/key.rb +22 -3
  92. data/spaceship/lib/spaceship/portal/portal_client.rb +29 -2
  93. data/supply/lib/supply/client.rb +18 -1
  94. metadata +47 -28
  95. data/fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb +0 -14
  96. data/fastlane/lib/fastlane/plugins/template/.circleci/config.yml +0 -43
  97. data/fastlane/lib/fastlane/plugins/template/.travis.yml +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3658ebaa1f1cc93cf8e4519debdbbaa62aaae11013cceb47050a9d095a0b2f25
4
- data.tar.gz: 107cc32f7c765d21a333f3b1b72746e82ed5c5a3bdbc5bfb6f956b626ddefc66
3
+ metadata.gz: 44a87944557f94ec2374051b97892e602fcb8b252095b0cf4c62963539752a4e
4
+ data.tar.gz: 1d23fe92dd1145213c3535254474c702de7ae4e15c47bd706d6480e5759e0d7d
5
5
  SHA512:
6
- metadata.gz: 266c2c5359e1131cf6ff7895c26c4939b11fbea334904cfb9b411a18eae6d800a7581fa7d3b56146dd1a5a34cb44013a60a00d4924b48ec78ab118b1a4fa84a7
7
- data.tar.gz: 2ab5822adb187d13580bc8c5c0bf9f85ca61e7809e0992931b5fb2f1fb6a7811f5ae1cd1b9bca7c70753873f6fcdc7813a0a1124c6d3619caf8d7806fa5c68ef
6
+ metadata.gz: ae62bb9230d04fdfdd471f189e8b754b595c7aa42823b3cf1aa84ef2f2632a37a8818d5456c34d849ab875920cf3063541ab3ebd56819ee22ba47eb49ffb831f
7
+ data.tar.gz: 66e154fac81ff509954cd35b5951e5b24d62d9053b93b8dbac329a81f4cfdf3ac0452d98e101438393cc9d65c5090523734b96d786000383ba564c4bf95b2c88
data/README.md CHANGED
@@ -35,11 +35,17 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
35
35
  <!-- This table is regenerated and resorted on each release -->
36
36
  <table id='team'>
37
37
  <tr>
38
- <td id='josh-holtz'>
39
- <a href='https://github.com/joshdholtz'>
40
- <img src='https://github.com/joshdholtz.png' width='140px;'>
38
+ <td id='max-ott'>
39
+ <a href='https://github.com/max-ott'>
40
+ <img src='https://github.com/max-ott.png' width='140px;'>
41
41
  </a>
42
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
42
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
43
+ </td>
44
+ <td id='connor-tumbleson'>
45
+ <a href='https://github.com/ibotpeaches'>
46
+ <img src='https://github.com/ibotpeaches.png' width='140px;'>
47
+ </a>
48
+ <h4 align='center'><a href='https://twitter.com/ibotpeaches'>Connor Tumbleson</a></h4>
43
49
  </td>
44
50
  <td id='satoshi-namai'>
45
51
  <a href='https://github.com/ainame'>
@@ -47,81 +53,69 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
47
53
  </a>
48
54
  <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
49
55
  </td>
50
- <td id='jimmy-dee'>
51
- <a href='https://github.com/jdee'>
52
- <img src='https://github.com/jdee.png' width='140px;'>
53
- </a>
54
- <h4 align='center'>Jimmy Dee</h4>
55
- </td>
56
- <td id='iulian-onofrei'>
57
- <a href='https://github.com/revolter'>
58
- <img src='https://github.com/revolter.png' width='140px;'>
56
+ <td id='matthew-ellis'>
57
+ <a href='https://github.com/matthewellis'>
58
+ <img src='https://github.com/matthewellis.png' width='140px;'>
59
59
  </a>
60
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
60
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
61
61
  </td>
62
- <td id='andrew-mcburney'>
63
- <a href='https://github.com/armcburney'>
64
- <img src='https://github.com/armcburney.png' width='140px;'>
62
+ <td id='kohki-miki'>
63
+ <a href='https://github.com/giginet'>
64
+ <img src='https://github.com/giginet.png' width='140px;'>
65
65
  </a>
66
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
66
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
67
67
  </td>
68
68
  </tr>
69
69
  <tr>
70
- <td id='luka-mirosevic'>
71
- <a href='https://github.com/lmirosevic'>
72
- <img src='https://github.com/lmirosevic.png' width='140px;'>
70
+ <td id='maksym-grebenets'>
71
+ <a href='https://github.com/mgrebenets'>
72
+ <img src='https://github.com/mgrebenets.png' width='140px;'>
73
73
  </a>
74
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
74
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
75
75
  </td>
76
- <td id='łukasz-grabowski'>
77
- <a href='https://github.com/lucgrabowski'>
78
- <img src='https://github.com/lucgrabowski.png' width='140px;'>
76
+ <td id='danielle-tomlinson'>
77
+ <a href='https://github.com/endocrimes'>
78
+ <img src='https://github.com/endocrimes.png' width='140px;'>
79
79
  </a>
80
- <h4 align='center'>Łukasz Grabowski</h4>
80
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
81
81
  </td>
82
- <td id='jan-piotrowski'>
83
- <a href='https://github.com/janpio'>
84
- <img src='https://github.com/janpio.png' width='140px;'>
82
+ <td id='luka-mirosevic'>
83
+ <a href='https://github.com/lmirosevic'>
84
+ <img src='https://github.com/lmirosevic.png' width='140px;'>
85
85
  </a>
86
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
86
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
87
87
  </td>
88
- <td id='manu-wallner'>
89
- <a href='https://github.com/milch'>
90
- <img src='https://github.com/milch.png' width='140px;'>
88
+ <td id='aaron-brager'>
89
+ <a href='https://github.com/getaaron'>
90
+ <img src='https://github.com/getaaron.png' width='140px;'>
91
91
  </a>
92
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
92
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
93
93
  </td>
94
- <td id='matthew-ellis'>
95
- <a href='https://github.com/matthewellis'>
96
- <img src='https://github.com/matthewellis.png' width='140px;'>
94
+ <td id='josh-holtz'>
95
+ <a href='https://github.com/joshdholtz'>
96
+ <img src='https://github.com/joshdholtz.png' width='140px;'>
97
97
  </a>
98
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
98
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
99
99
  </td>
100
100
  </tr>
101
101
  <tr>
102
- <td id='max-ott'>
103
- <a href='https://github.com/max-ott'>
104
- <img src='https://github.com/max-ott.png' width='140px;'>
105
- </a>
106
- <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
107
- </td>
108
- <td id='helmut-januschka'>
109
- <a href='https://github.com/hjanuschka'>
110
- <img src='https://github.com/hjanuschka.png' width='140px;'>
102
+ <td id='łukasz-grabowski'>
103
+ <a href='https://github.com/lucgrabowski'>
104
+ <img src='https://github.com/lucgrabowski.png' width='140px;'>
111
105
  </a>
112
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
106
+ <h4 align='center'>Łukasz Grabowski</h4>
113
107
  </td>
114
- <td id='daniel-jankowski'>
115
- <a href='https://github.com/mollyIV'>
116
- <img src='https://github.com/mollyIV.png' width='140px;'>
108
+ <td id='jérôme-lacoste'>
109
+ <a href='https://github.com/lacostej'>
110
+ <img src='https://github.com/lacostej.png' width='140px;'>
117
111
  </a>
118
- <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
119
113
  </td>
120
- <td id='felix-krause'>
121
- <a href='https://github.com/KrauseFx'>
122
- <img src='https://github.com/KrauseFx.png' width='140px;'>
114
+ <td id='andrew-mcburney'>
115
+ <a href='https://github.com/armcburney'>
116
+ <img src='https://github.com/armcburney.png' width='140px;'>
123
117
  </a>
124
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
118
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
125
119
  </td>
126
120
  <td id='manish-rathi'>
127
121
  <a href='https://github.com/crazymanish'>
@@ -129,13 +123,25 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
129
123
  </a>
130
124
  <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
131
125
  </td>
126
+ <td id='joshua-liebowitz'>
127
+ <a href='https://github.com/taquitos'>
128
+ <img src='https://github.com/taquitos.png' width='140px;'>
129
+ </a>
130
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
131
+ </td>
132
132
  </tr>
133
133
  <tr>
134
- <td id='aaron-brager'>
135
- <a href='https://github.com/getaaron'>
136
- <img src='https://github.com/getaaron.png' width='140px;'>
134
+ <td id='manu-wallner'>
135
+ <a href='https://github.com/milch'>
136
+ <img src='https://github.com/milch.png' width='140px;'>
137
137
  </a>
138
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
138
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
139
+ </td>
140
+ <td id='jorge-revuelta-h'>
141
+ <a href='https://github.com/minuscorp'>
142
+ <img src='https://github.com/minuscorp.png' width='140px;'>
143
+ </a>
144
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
139
145
  </td>
140
146
  <td id='roger-oba'>
141
147
  <a href='https://github.com/rogerluan'>
@@ -143,55 +149,49 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
143
149
  </a>
144
150
  <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
145
151
  </td>
146
- <td id='stefan-natchev'>
147
- <a href='https://github.com/snatchev'>
148
- <img src='https://github.com/snatchev.png' width='140px;'>
149
- </a>
150
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
151
- </td>
152
- <td id='jérôme-lacoste'>
153
- <a href='https://github.com/lacostej'>
154
- <img src='https://github.com/lacostej.png' width='140px;'>
152
+ <td id='olivier-halligon'>
153
+ <a href='https://github.com/AliSoftware'>
154
+ <img src='https://github.com/AliSoftware.png' width='140px;'>
155
155
  </a>
156
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
156
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
157
157
  </td>
158
- <td id='maksym-grebenets'>
159
- <a href='https://github.com/mgrebenets'>
160
- <img src='https://github.com/mgrebenets.png' width='140px;'>
158
+ <td id='jan-piotrowski'>
159
+ <a href='https://github.com/janpio'>
160
+ <img src='https://github.com/janpio.png' width='140px;'>
161
161
  </a>
162
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
162
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
163
163
  </td>
164
164
  </tr>
165
165
  <tr>
166
- <td id='jorge-revuelta-h'>
167
- <a href='https://github.com/minuscorp'>
168
- <img src='https://github.com/minuscorp.png' width='140px;'>
166
+ <td id='jimmy-dee'>
167
+ <a href='https://github.com/jdee'>
168
+ <img src='https://github.com/jdee.png' width='140px;'>
169
169
  </a>
170
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
170
+ <h4 align='center'>Jimmy Dee</h4>
171
171
  </td>
172
- <td id='olivier-halligon'>
173
- <a href='https://github.com/AliSoftware'>
174
- <img src='https://github.com/AliSoftware.png' width='140px;'>
172
+ <td id='iulian-onofrei'>
173
+ <a href='https://github.com/revolter'>
174
+ <img src='https://github.com/revolter.png' width='140px;'>
175
175
  </a>
176
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
176
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
177
177
  </td>
178
- <td id='kohki-miki'>
179
- <a href='https://github.com/giginet'>
180
- <img src='https://github.com/giginet.png' width='140px;'>
178
+ <td id='helmut-januschka'>
179
+ <a href='https://github.com/hjanuschka'>
180
+ <img src='https://github.com/hjanuschka.png' width='140px;'>
181
181
  </a>
182
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
182
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
183
183
  </td>
184
- <td id='joshua-liebowitz'>
185
- <a href='https://github.com/taquitos'>
186
- <img src='https://github.com/taquitos.png' width='140px;'>
184
+ <td id='daniel-jankowski'>
185
+ <a href='https://github.com/mollyIV'>
186
+ <img src='https://github.com/mollyIV.png' width='140px;'>
187
187
  </a>
188
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
188
+ <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
189
189
  </td>
190
- <td id='danielle-tomlinson'>
191
- <a href='https://github.com/endocrimes'>
192
- <img src='https://github.com/endocrimes.png' width='140px;'>
190
+ <td id='stefan-natchev'>
191
+ <a href='https://github.com/snatchev'>
192
+ <img src='https://github.com/snatchev.png' width='140px;'>
193
193
  </a>
194
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
194
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
195
195
  </td>
196
196
  </tr>
197
197
  <tr>
@@ -201,6 +201,12 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
201
201
  </a>
202
202
  <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
203
203
  </td>
204
+ <td id='felix-krause'>
205
+ <a href='https://github.com/KrauseFx'>
206
+ <img src='https://github.com/KrauseFx.png' width='140px;'>
207
+ </a>
208
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
209
+ </td>
204
210
  </table>
205
211
 
206
212
  Special thanks to all [contributors](https://github.com/fastlane/fastlane/graphs/contributors) for extending and improving _fastlane_.
@@ -228,10 +228,10 @@
228
228
  </div>
229
229
  <% elsif @screenshots.count > 0 %>
230
230
  <% sc = @screenshots.find_all { |s| s.language == language } %>
231
- <% sc_by_size = sc.group_by { |i| i.screen_size } %>
231
+ <% sc_by_size = sc.group_by { |i| i.display_type } %>
232
232
 
233
- <% sc_by_size.keys.sort.each do |screen_size| %>
234
- <% screenshots = sc_by_size[screen_size].sort { |a, b| [a.path] <=> [b.path] } %>
233
+ <% sc_by_size.keys.sort.each do |display_type| %>
234
+ <% screenshots = sc_by_size[display_type].sort { |a, b| [a.path] <=> [b.path] } %>
235
235
  <%# we are guaranteed to have at least one element because of the group_by %>
236
236
  <h4><%= screenshots[0].formatted_name %></h4>
237
237
  <div class="app-screenshot-row">