fastlane 2.180.0 → 2.183.1

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 (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +86 -86
  3. data/cert/lib/cert/commands_generator.rb +2 -1
  4. data/deliver/lib/assets/summary.html.erb +10 -10
  5. data/deliver/lib/deliver/commands_generator.rb +2 -1
  6. data/deliver/lib/deliver/languages.rb +1 -1
  7. data/deliver/lib/deliver/options.rb +2 -2
  8. data/deliver/lib/deliver/submit_for_review.rb +3 -3
  9. data/deliver/lib/deliver/upload_metadata.rb +1 -1
  10. data/fastlane/lib/fastlane/actions/actions_helper.rb +2 -2
  11. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/clipboard.rb +3 -6
  13. data/fastlane/lib/fastlane/actions/danger.rb +7 -1
  14. data/fastlane/lib/fastlane/actions/docs/capture_ios_screenshots.md +1 -1
  15. data/fastlane/lib/fastlane/actions/docs/frame_screenshots.md +18 -1
  16. data/fastlane/lib/fastlane/actions/ensure_env_vars.rb +2 -6
  17. data/fastlane/lib/fastlane/actions/get_managed_play_store_publishing_rights.rb +3 -1
  18. data/fastlane/lib/fastlane/actions/git_branch.rb +1 -1
  19. data/fastlane/lib/fastlane/actions/git_commit.rb +3 -1
  20. data/fastlane/lib/fastlane/actions/git_pull.rb +4 -10
  21. data/fastlane/lib/fastlane/actions/git_submodule_update.rb +16 -8
  22. data/fastlane/lib/fastlane/actions/hipchat.rb +2 -1
  23. data/fastlane/lib/fastlane/actions/import_from_git.rb +5 -5
  24. data/fastlane/lib/fastlane/actions/notification.rb +1 -1
  25. data/fastlane/lib/fastlane/actions/slack.rb +155 -133
  26. data/fastlane/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +4 -2
  27. data/fastlane/lib/fastlane/actions/xcodebuild.rb +5 -5
  28. data/fastlane/lib/fastlane/cli_tools_distributor.rb +1 -1
  29. data/fastlane/lib/fastlane/commands_generator.rb +2 -1
  30. data/fastlane/lib/fastlane/fast_file.rb +10 -2
  31. data/fastlane/lib/fastlane/fastlane_require.rb +7 -1
  32. data/fastlane/lib/fastlane/helper/git_helper.rb +9 -1
  33. data/fastlane/lib/fastlane/lane_manager.rb +3 -2
  34. data/fastlane/lib/fastlane/notification/slack.rb +56 -0
  35. data/fastlane/lib/fastlane/plugins/plugin_info.rb +2 -2
  36. data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +7 -6
  37. data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +30 -35
  38. data/fastlane/lib/fastlane/plugins/template/spec/spec_helper.rb.erb +1 -1
  39. data/fastlane/lib/fastlane/swift_fastlane_function.rb +35 -14
  40. data/fastlane/lib/fastlane/version.rb +2 -2
  41. data/fastlane/swift/Deliverfile.swift +1 -1
  42. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  43. data/fastlane/swift/Fastlane.swift +6621 -3802
  44. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +4 -0
  45. data/fastlane/swift/Gymfile.swift +1 -1
  46. data/fastlane/swift/GymfileProtocol.swift +1 -1
  47. data/fastlane/swift/Matchfile.swift +1 -1
  48. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  49. data/fastlane/swift/OptionalConfigValue.swift +131 -0
  50. data/fastlane/swift/Precheckfile.swift +1 -1
  51. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  52. data/fastlane/swift/Scanfile.swift +1 -1
  53. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  54. data/fastlane/swift/Screengrabfile.swift +1 -1
  55. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  56. data/fastlane/swift/Snapshotfile.swift +1 -1
  57. data/fastlane/swift/SnapshotfileProtocol.swift +5 -1
  58. data/fastlane/swift/formatting/Brewfile.lock.json +17 -15
  59. data/fastlane/swift/upgrade_manifest.json +1 -1
  60. data/fastlane_core/lib/fastlane_core.rb +22 -21
  61. data/fastlane_core/lib/fastlane_core/build_watcher.rb +65 -11
  62. data/fastlane_core/lib/fastlane_core/clipboard.rb +20 -0
  63. data/fastlane_core/lib/fastlane_core/device_manager.rb +1 -1
  64. data/fastlane_core/lib/fastlane_core/helper.rb +4 -4
  65. data/fastlane_core/lib/fastlane_core/languages.rb +2 -2
  66. data/fastlane_core/lib/fastlane_core/swag.rb +1 -1
  67. data/fastlane_core/lib/fastlane_core/ui/help.erb +35 -0
  68. data/fastlane_core/lib/fastlane_core/ui/help_formatter.rb +16 -0
  69. data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +4 -1
  70. data/frameit/lib/frameit/commands_generator.rb +2 -1
  71. data/frameit/lib/frameit/config_parser.rb +2 -2
  72. data/frameit/lib/frameit/frame_downloader.rb +2 -1
  73. data/gym/lib/gym/code_signing_mapping.rb +2 -2
  74. data/gym/lib/gym/commands_generator.rb +2 -1
  75. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +6 -5
  76. data/gym/lib/gym/runner.rb +5 -1
  77. data/match/lib/match/commands_generator.rb +2 -1
  78. data/pem/lib/pem/commands_generator.rb +2 -1
  79. data/pilot/lib/pilot/build_manager.rb +3 -3
  80. data/pilot/lib/pilot/commands_generator.rb +2 -1
  81. data/pilot/lib/pilot/options.rb +2 -2
  82. data/pilot/lib/pilot/tester_exporter.rb +0 -1
  83. data/pilot/lib/pilot/tester_manager.rb +0 -1
  84. data/precheck/lib/precheck/commands_generator.rb +2 -1
  85. data/produce/lib/produce/commands_generator.rb +2 -1
  86. data/scan/lib/scan/commands_generator.rb +2 -1
  87. data/scan/lib/scan/runner.rb +3 -1
  88. data/scan/lib/scan/test_command_generator.rb +3 -1
  89. data/screengrab/lib/screengrab/commands_generator.rb +2 -1
  90. data/sigh/lib/sigh/commands_generator.rb +2 -1
  91. data/snapshot/lib/assets/SnapfileTemplate +1 -1
  92. data/snapshot/lib/snapshot/commands_generator.rb +3 -1
  93. data/snapshot/lib/snapshot/options.rb +5 -0
  94. data/snapshot/lib/snapshot/reports_generator.rb +4 -0
  95. data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
  96. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
  97. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +8 -4
  98. data/spaceship/README.md +2 -12
  99. data/spaceship/lib/spaceship/base.rb +2 -2
  100. data/spaceship/lib/spaceship/commands_generator.rb +4 -2
  101. data/spaceship/lib/spaceship/connect_api/model.rb +1 -1
  102. data/spaceship/lib/spaceship/connect_api/models/profile.rb +6 -0
  103. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +6 -2
  104. data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -9
  105. data/spaceship/lib/spaceship/tunes/members.rb +1 -1
  106. data/spaceship/lib/spaceship/ui.rb +2 -2
  107. data/supply/lib/supply/.client.rb.swp +0 -0
  108. data/supply/lib/supply/.listing.rb.swp +0 -0
  109. data/supply/lib/supply/.uploader.rb.swp +0 -0
  110. data/supply/lib/supply/client.rb +4 -2
  111. data/supply/lib/supply/commands_generator.rb +2 -1
  112. data/supply/lib/supply/options.rb +2 -2
  113. data/supply/lib/supply/uploader.rb +1 -0
  114. metadata +75 -84
  115. data/pilot/lib/pilot/tester_util.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d47a944d1f222d53ea13b59b215a89b39bf0e2498f366860a4e5bbbfe73055ac
4
- data.tar.gz: 0de45e4351069b144d5d98b74238db10e93b1d6d36c05d7346f7117f2e68f0e7
3
+ metadata.gz: 6466e8405f97949e71236ee36d61feead340c419aded77467ed8708ffb10dcc3
4
+ data.tar.gz: 2dfd78712447e0763339992eba54204bb81daa3e661d8c329531f720cd30b97a
5
5
  SHA512:
6
- metadata.gz: f70ad0a907abfe6f29d9db3f6c8b7a2d62c154e5706421cbbe9b0f2c478c447046cb2f84e2dcd78f38d7a7cc31f2be4fcc89ab3d8096ed40f3b8cb02863cd351
7
- data.tar.gz: a9ecd2ddac8fe476e6278187599302ce830c8cd61afa8c5e45b054693696fb6ecf0b0b953f5499e7ead0accb3d49d8cba5c3d6b43468aa109c62034ae98457fa
6
+ metadata.gz: 0f529dd0385c15e4a88e77810e23dd476c96404576f1cc12f6d0ba52553363c24ae146e5f69d5741e3a65c3ea6fe3a33cec107c295f79095b29c196e25f11da9
7
+ data.tar.gz: 57fe4b5f5d55f2f38eb9fff1deb078e3d9fedc3fa330bb9fdaa091da96be648ea103711b5bdaeff1cbe41eacf93b9a6755560390545b31a82bee047cf9133e41
data/README.md CHANGED
@@ -35,17 +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='jimmy-dee'>
39
- <a href='https://github.com/jdee'>
40
- <img src='https://github.com/jdee.png?size=140'>
38
+ <td id='satoshi-namai'>
39
+ <a href='https://github.com/ainame'>
40
+ <img src='https://github.com/ainame.png?size=140'>
41
41
  </a>
42
- <h4 align='center'>Jimmy Dee</h4>
42
+ <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
43
43
  </td>
44
- <td id='danielle-tomlinson'>
45
- <a href='https://github.com/endocrimes'>
46
- <img src='https://github.com/endocrimes.png?size=140'>
44
+ <td id='luka-mirosevic'>
45
+ <a href='https://github.com/lmirosevic'>
46
+ <img src='https://github.com/lmirosevic.png?size=140'>
47
47
  </a>
48
- <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
48
+ <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
49
49
  </td>
50
50
  <td id='andrew-mcburney'>
51
51
  <a href='https://github.com/armcburney'>
@@ -53,31 +53,37 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
53
53
  </a>
54
54
  <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
55
55
  </td>
56
- <td id='manu-wallner'>
57
- <a href='https://github.com/milch'>
58
- <img src='https://github.com/milch.png?size=140'>
56
+ <td id='matthew-ellis'>
57
+ <a href='https://github.com/matthewellis'>
58
+ <img src='https://github.com/matthewellis.png?size=140'>
59
59
  </a>
60
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
60
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
61
61
  </td>
62
- <td id='roger-oba'>
63
- <a href='https://github.com/rogerluan'>
64
- <img src='https://github.com/rogerluan.png?size=140'>
62
+ <td id='jérôme-lacoste'>
63
+ <a href='https://github.com/lacostej'>
64
+ <img src='https://github.com/lacostej.png?size=140'>
65
65
  </a>
66
- <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
66
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
67
67
  </td>
68
68
  </tr>
69
69
  <tr>
70
- <td id='iulian-onofrei'>
71
- <a href='https://github.com/revolter'>
72
- <img src='https://github.com/revolter.png?size=140'>
70
+ <td id='joshua-liebowitz'>
71
+ <a href='https://github.com/taquitos'>
72
+ <img src='https://github.com/taquitos.png?size=140'>
73
73
  </a>
74
- <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
74
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
75
75
  </td>
76
- <td id='luka-mirosevic'>
77
- <a href='https://github.com/lmirosevic'>
78
- <img src='https://github.com/lmirosevic.png?size=140'>
76
+ <td id='daniel-jankowski'>
77
+ <a href='https://github.com/mollyIV'>
78
+ <img src='https://github.com/mollyIV.png?size=140'>
79
79
  </a>
80
- <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
80
+ <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
81
+ </td>
82
+ <td id='max-ott'>
83
+ <a href='https://github.com/max-ott'>
84
+ <img src='https://github.com/max-ott.png?size=140'>
85
+ </a>
86
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
81
87
  </td>
82
88
  <td id='aaron-brager'>
83
89
  <a href='https://github.com/getaaron'>
@@ -85,43 +91,57 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
85
91
  </a>
86
92
  <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
87
93
  </td>
94
+ <td id='iulian-onofrei'>
95
+ <a href='https://github.com/revolter'>
96
+ <img src='https://github.com/revolter.png?size=140'>
97
+ </a>
98
+ <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
99
+ </td>
100
+ </tr>
101
+ <tr>
88
102
  <td id='jorge-revuelta-h'>
89
103
  <a href='https://github.com/minuscorp'>
90
104
  <img src='https://github.com/minuscorp.png?size=140'>
91
105
  </a>
92
106
  <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
93
107
  </td>
94
- <td id='jérôme-lacoste'>
95
- <a href='https://github.com/lacostej'>
96
- <img src='https://github.com/lacostej.png?size=140'>
108
+ <td id='manu-wallner'>
109
+ <a href='https://github.com/milch'>
110
+ <img src='https://github.com/milch.png?size=140'>
97
111
  </a>
98
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
99
113
  </td>
100
- </tr>
101
- <tr>
102
- <td id='matthew-ellis'>
103
- <a href='https://github.com/matthewellis'>
104
- <img src='https://github.com/matthewellis.png?size=140'>
114
+ <td id='josh-holtz'>
115
+ <a href='https://github.com/joshdholtz'>
116
+ <img src='https://github.com/joshdholtz.png?size=140'>
105
117
  </a>
106
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
118
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
107
119
  </td>
108
- <td id='joshua-liebowitz'>
109
- <a href='https://github.com/taquitos'>
110
- <img src='https://github.com/taquitos.png?size=140'>
120
+ <td id='helmut-januschka'>
121
+ <a href='https://github.com/hjanuschka'>
122
+ <img src='https://github.com/hjanuschka.png?size=140'>
111
123
  </a>
112
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
124
+ <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
113
125
  </td>
114
- <td id='daniel-jankowski'>
115
- <a href='https://github.com/mollyIV'>
116
- <img src='https://github.com/mollyIV.png?size=140'>
126
+ <td id='kohki-miki'>
127
+ <a href='https://github.com/giginet'>
128
+ <img src='https://github.com/giginet.png?size=140'>
117
129
  </a>
118
- <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
130
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
119
131
  </td>
120
- <td id='jan-piotrowski'>
121
- <a href='https://github.com/janpio'>
122
- <img src='https://github.com/janpio.png?size=140'>
132
+ </tr>
133
+ <tr>
134
+ <td id='fumiya-nakamura'>
135
+ <a href='https://github.com/nafu'>
136
+ <img src='https://github.com/nafu.png?size=140'>
123
137
  </a>
124
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
138
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
139
+ </td>
140
+ <td id='danielle-tomlinson'>
141
+ <a href='https://github.com/endocrimes'>
142
+ <img src='https://github.com/endocrimes.png?size=140'>
143
+ </a>
144
+ <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
125
145
  </td>
126
146
  <td id='felix-krause'>
127
147
  <a href='https://github.com/KrauseFx'>
@@ -129,63 +149,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
129
149
  </a>
130
150
  <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
131
151
  </td>
132
- </tr>
133
- <tr>
134
- <td id='satoshi-namai'>
135
- <a href='https://github.com/ainame'>
136
- <img src='https://github.com/ainame.png?size=140'>
137
- </a>
138
- <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
139
- </td>
140
152
  <td id='maksym-grebenets'>
141
153
  <a href='https://github.com/mgrebenets'>
142
154
  <img src='https://github.com/mgrebenets.png?size=140'>
143
155
  </a>
144
156
  <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
145
157
  </td>
146
- <td id='max-ott'>
147
- <a href='https://github.com/max-ott'>
148
- <img src='https://github.com/max-ott.png?size=140'>
149
- </a>
150
- <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
151
- </td>
152
- <td id='fumiya-nakamura'>
153
- <a href='https://github.com/nafu'>
154
- <img src='https://github.com/nafu.png?size=140'>
155
- </a>
156
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
157
- </td>
158
- <td id='olivier-halligon'>
159
- <a href='https://github.com/AliSoftware'>
160
- <img src='https://github.com/AliSoftware.png?size=140'>
158
+ <td id='jimmy-dee'>
159
+ <a href='https://github.com/jdee'>
160
+ <img src='https://github.com/jdee.png?size=140'>
161
161
  </a>
162
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
162
+ <h4 align='center'>Jimmy Dee</h4>
163
163
  </td>
164
164
  </tr>
165
165
  <tr>
166
- <td id='helmut-januschka'>
167
- <a href='https://github.com/hjanuschka'>
168
- <img src='https://github.com/hjanuschka.png?size=140'>
166
+ <td id='stefan-natchev'>
167
+ <a href='https://github.com/snatchev'>
168
+ <img src='https://github.com/snatchev.png?size=140'>
169
169
  </a>
170
- <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
170
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
171
171
  </td>
172
- <td id='josh-holtz'>
173
- <a href='https://github.com/joshdholtz'>
174
- <img src='https://github.com/joshdholtz.png?size=140'>
172
+ <td id='roger-oba'>
173
+ <a href='https://github.com/rogerluan'>
174
+ <img src='https://github.com/rogerluan.png?size=140'>
175
175
  </a>
176
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
176
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</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?size=140'>
178
+ <td id='olivier-halligon'>
179
+ <a href='https://github.com/AliSoftware'>
180
+ <img src='https://github.com/AliSoftware.png?size=140'>
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/aligatr'>Olivier Halligon</a></h4>
183
183
  </td>
184
- <td id='stefan-natchev'>
185
- <a href='https://github.com/snatchev'>
186
- <img src='https://github.com/snatchev.png?size=140'>
184
+ <td id='jan-piotrowski'>
185
+ <a href='https://github.com/janpio'>
186
+ <img src='https://github.com/janpio.png?size=140'>
187
187
  </a>
188
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
188
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
189
189
  </td>
190
190
  </table>
191
191
 
@@ -1,5 +1,6 @@
1
1
  require 'commander'
2
2
  require 'fastlane/version'
3
+ require 'fastlane_core/ui/help_formatter'
3
4
  require 'fastlane_core/configuration/configuration'
4
5
  require 'fastlane_core/globals'
5
6
 
@@ -23,7 +24,7 @@ module Cert
23
24
  program :help, 'Author', 'Felix Krause <cert@krausefx.com>'
24
25
  program :help, 'Website', 'https://fastlane.tools'
25
26
  program :help, 'Documentation', 'https://docs.fastlane.tools/actions/cert/'
26
- program :help_formatter, :compact
27
+ program :help_formatter, FastlaneCore::HelpFormatter
27
28
 
28
29
  global_option('--verbose') { FastlaneCore::Globals.verbose = true }
29
30
  global_option('--env STRING[,STRING2]', String, 'Add environment(s) to use with `dotenv`')
@@ -91,7 +91,7 @@
91
91
 
92
92
  .app-changelog-list {
93
93
  list-style-type: square;
94
-
94
+
95
95
  font-weight: 300;
96
96
  }
97
97
 
@@ -137,10 +137,10 @@
137
137
  }
138
138
  </style>
139
139
  </head>
140
-
140
+
141
141
  <body>
142
142
  <div class="app-icons">
143
-
143
+
144
144
  <% if @options[:app_icon] %>
145
145
  <div class="app-icon">
146
146
  Large App Icon:<br>
@@ -182,7 +182,7 @@
182
182
  <% end %>
183
183
  <% end %>
184
184
  </div>
185
-
185
+
186
186
  <% if @options[:keywords] and @options[:keywords][language] %>
187
187
  <div class="app-keyword">
188
188
  <div class="cat-headline">Keywords</div>
@@ -193,7 +193,7 @@
193
193
  </ul>
194
194
  </div>
195
195
  <% end %>
196
-
196
+
197
197
  <% if @options[:description] %>
198
198
  <div class="app-description">
199
199
  <div class="cat-headline">Description</div>
@@ -202,7 +202,7 @@
202
202
  </div>
203
203
  </div>
204
204
  <% end %>
205
-
205
+
206
206
  <% if @options[:release_notes] %>
207
207
  <div class="app-changelog">
208
208
  <div class="cat-headline">Changelog</div>
@@ -216,7 +216,7 @@
216
216
  <%= (@options[:promotional_text][language] || '').gsub("\n", "<br />") %>
217
217
  </div>
218
218
  <% end %>
219
-
219
+
220
220
  <div class="app-screenshots">
221
221
  <div class="cat-headline">Screenshots</div>
222
222
 
@@ -237,7 +237,7 @@
237
237
  <div class="app-screenshot-row">
238
238
 
239
239
  <% screenshots.each_with_index do |screenshot, index| %>
240
- <a href="<%= URI.escape(screenshot.path) %>" target="_blank"><img class="app-screenshot" src="<%= render_relative_path(@export_path, URI.escape(screenshot.path)) %>" title="Screenshot #<%=index%> for <%=language%>"></a>
240
+ <a href="<%= render_relative_path(@export_path, Addressable::URI.encode(screenshot.path)) %>" target="_blank"><img class="app-screenshot" src="<%= render_relative_path(@export_path, Addressable::URI.encode(screenshot.path)) %>" title="Screenshot #<%=index%> for <%=language%>"></a>
241
241
  <% end %>
242
242
  </div>
243
243
  <% end %>
@@ -250,7 +250,7 @@
250
250
  <% if options[:overwrite_screenshots] %>
251
251
  <b>--overwrite_screenshots</b> is set, existing screenshots will be removed, but none will be uploaded.
252
252
  <% else %>
253
- The existing screenshots on App Store Connect will be kept.
253
+ The existing screenshots on App Store Connect will be kept.
254
254
  if you want to remove them you have to use the <i>--overwrite_screenshots</i> flag.
255
255
  <% end %>
256
256
  <p>
@@ -259,7 +259,7 @@
259
259
  </div>
260
260
  <% end %>
261
261
  </div>
262
-
262
+
263
263
  <hr />
264
264
  <% end # end data
265
265
  %>
@@ -1,5 +1,6 @@
1
1
  require 'commander'
2
2
  require 'fastlane/version'
3
+ require 'fastlane_core/ui/help_formatter'
3
4
 
4
5
  require_relative 'download_screenshots'
5
6
  require_relative 'options'
@@ -48,7 +49,7 @@ module Deliver
48
49
  program :help, 'Author', 'Felix Krause <deliver@krausefx.com>'
49
50
  program :help, 'Website', 'https://fastlane.tools'
50
51
  program :help, 'Documentation', 'https://docs.fastlane.tools/actions/deliver/'
51
- program :help_formatter, :compact
52
+ program :help_formatter, FastlaneCore::HelpFormatter
52
53
 
53
54
  global_option('--verbose') { FastlaneCore::Globals.verbose = true }
54
55
  global_option('--env STRING[,STRING2]', String, 'Add environment(s) to use with `dotenv`')
@@ -2,6 +2,6 @@ module Deliver
2
2
  module Languages
3
3
  # 2020-08-24 - Available locales are not available as an endpoint in App Store Connect
4
4
  # Update with Spaceship::Tunes.client.available_languages.sort (as long as endpoint is avilable)
5
- ALL_LANGUAGES = ["ar-SA", "ca", "cs", "da", "de-DE", "el", "en-AU", "en-CA", "en-GB", "en-US", "es-ES", "es-MX", "fi", "fr-CA", "fr-FR", "he", "hi", "hr", "hu", "id", "it", "ja", "ko", "ms", "nl-NL", "no", "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sv", "th", "tr", "uk", "vi", "zh-Hans", "zh-Hant"]
5
+ ALL_LANGUAGES = %w[ar-SA ca cs da de-DE el en-AU en-CA en-GB en-US es-ES es-MX fi fr-CA fr-FR he hi hr hu id it ja ko ms nl-NL no pl pt-BR pt-PT ro ru sk sv th tr uk vi zh-Hans zh-Hant]
6
6
  end
7
7
  end
@@ -278,7 +278,7 @@ module Deliver
278
278
  verify_block: proc do |value|
279
279
  ENV["FASTLANE_TEAM_NAME"] = value.to_s
280
280
  end),
281
- # rubocop:disable Metrics/LineLength
281
+ # rubocop:disable Layout/LineLength
282
282
  FastlaneCore::ConfigItem.new(key: :itc_provider,
283
283
  env_name: "DELIVER_ITC_PROVIDER",
284
284
  description: "The provider short name to be used with the iTMSTransporter to identify your team. This value will override the automatically detected provider short name. To get provider short name run `pathToXcode.app/Contents/Applications/Application\\ Loader.app/Contents/itms/bin/iTMSTransporter -m provider -u 'USERNAME' -p 'PASSWORD' -account_type itunes_connect -v off`. The short names of providers should be listed in the second column",
@@ -286,7 +286,7 @@ module Deliver
286
286
  code_gen_sensitive: true,
287
287
  default_value: CredentialsManager::AppfileConfig.try_fetch_value(:itc_provider),
288
288
  default_value_dynamic: true),
289
- # rubocop:enable Metrics/LineLength
289
+ # rubocop:enable Layout/LineLength
290
290
 
291
291
  # precheck
292
292
  FastlaneCore::ConfigItem.new(key: :run_precheck_before_submit,
@@ -57,7 +57,7 @@ module Deliver
57
57
 
58
58
  def update_export_compliance(options, app, build)
59
59
  submission_information = options[:submission_information] || {}
60
- submission_information = submission_information.collect { |k, v| [k.to_sym, v] }.to_h
60
+ submission_information = submission_information.transform_keys(&:to_sym)
61
61
 
62
62
  uses_encryption = submission_information[:export_compliance_uses_encryption]
63
63
 
@@ -87,7 +87,7 @@ module Deliver
87
87
 
88
88
  def update_idfa(options, app, version)
89
89
  submission_information = options[:submission_information] || {}
90
- submission_information = submission_information.collect { |k, v| [k.to_sym, v] }.to_h
90
+ submission_information = submission_information.transform_keys(&:to_sym)
91
91
 
92
92
  uses_idfa = submission_information[:add_id_info_uses_idfa]
93
93
 
@@ -163,7 +163,7 @@ module Deliver
163
163
 
164
164
  def update_submission_information(options, app)
165
165
  submission_information = options[:submission_information] || {}
166
- submission_information = submission_information.collect { |k, v| [k.to_sym, v] }.to_h
166
+ submission_information = submission_information.transform_keys(&:to_sym)
167
167
 
168
168
  content_rights = submission_information[:content_rights_contains_third_party_content]
169
169
 
@@ -595,7 +595,7 @@ module Deliver
595
595
  info = options[:app_review_information]
596
596
  return if info.nil? || info.empty?
597
597
 
598
- info = info.collect { |k, v| [k.to_sym, v] }.to_h
598
+ info = info.transform_keys(&:to_sym)
599
599
  UI.user_error!("`app_review_information` must be a hash", show_github_issues: true) unless info.kind_of?(Hash)
600
600
 
601
601
  attributes = {}
@@ -87,13 +87,13 @@ module Fastlane
87
87
  end
88
88
 
89
89
  # returns a list of official integrations
90
- # rubocop:disable Style/AccessorMethodName
90
+ # rubocop:disable Naming/AccessorMethodName
91
91
  def self.get_all_official_actions
92
92
  Dir[File.expand_path('*.rb', File.dirname(__FILE__))].collect do |file|
93
93
  File.basename(file).gsub('.rb', '').to_sym
94
94
  end
95
95
  end
96
- # rubocop:enable Style/AccessorMethodName
96
+ # rubocop:enable Naming/AccessorMethodName
97
97
 
98
98
  # Returns the class ref to the action based on the action name
99
99
  # Returns nil if the action is not available