fastlane 2.180.1 → 2.183.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.
Files changed (113) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +90 -90
  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/helper/git_helper.rb +9 -1
  32. data/fastlane/lib/fastlane/lane_manager.rb +3 -2
  33. data/fastlane/lib/fastlane/notification/slack.rb +56 -0
  34. data/fastlane/lib/fastlane/plugins/plugin_info.rb +2 -2
  35. data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +7 -6
  36. data/fastlane/lib/fastlane/plugins/template/.rubocop.yml +30 -35
  37. data/fastlane/lib/fastlane/plugins/template/spec/spec_helper.rb.erb +1 -1
  38. data/fastlane/lib/fastlane/swift_fastlane_function.rb +35 -14
  39. data/fastlane/lib/fastlane/version.rb +2 -2
  40. data/fastlane/swift/Deliverfile.swift +1 -1
  41. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  42. data/fastlane/swift/Fastlane.swift +6621 -3802
  43. data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj +4 -0
  44. data/fastlane/swift/Gymfile.swift +1 -1
  45. data/fastlane/swift/GymfileProtocol.swift +1 -1
  46. data/fastlane/swift/Matchfile.swift +1 -1
  47. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  48. data/fastlane/swift/OptionalConfigValue.swift +131 -0
  49. data/fastlane/swift/Precheckfile.swift +1 -1
  50. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  51. data/fastlane/swift/Scanfile.swift +1 -1
  52. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  53. data/fastlane/swift/Screengrabfile.swift +1 -1
  54. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  55. data/fastlane/swift/Snapshotfile.swift +1 -1
  56. data/fastlane/swift/SnapshotfileProtocol.swift +5 -1
  57. data/fastlane/swift/formatting/Brewfile.lock.json +16 -14
  58. data/fastlane/swift/upgrade_manifest.json +1 -1
  59. data/fastlane_core/lib/fastlane_core.rb +22 -21
  60. data/fastlane_core/lib/fastlane_core/build_watcher.rb +65 -11
  61. data/fastlane_core/lib/fastlane_core/clipboard.rb +20 -0
  62. data/fastlane_core/lib/fastlane_core/device_manager.rb +1 -1
  63. data/fastlane_core/lib/fastlane_core/helper.rb +4 -4
  64. data/fastlane_core/lib/fastlane_core/languages.rb +2 -2
  65. data/fastlane_core/lib/fastlane_core/swag.rb +1 -1
  66. data/fastlane_core/lib/fastlane_core/ui/help.erb +35 -0
  67. data/fastlane_core/lib/fastlane_core/ui/help_formatter.rb +16 -0
  68. data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +4 -1
  69. data/frameit/lib/frameit/commands_generator.rb +2 -1
  70. data/frameit/lib/frameit/config_parser.rb +2 -2
  71. data/frameit/lib/frameit/frame_downloader.rb +2 -1
  72. data/gym/lib/gym/code_signing_mapping.rb +2 -2
  73. data/gym/lib/gym/commands_generator.rb +2 -1
  74. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +6 -5
  75. data/gym/lib/gym/runner.rb +5 -1
  76. data/match/lib/match/commands_generator.rb +2 -1
  77. data/pem/lib/pem/commands_generator.rb +2 -1
  78. data/pilot/lib/pilot/build_manager.rb +3 -3
  79. data/pilot/lib/pilot/commands_generator.rb +2 -1
  80. data/pilot/lib/pilot/options.rb +2 -2
  81. data/pilot/lib/pilot/tester_exporter.rb +0 -1
  82. data/pilot/lib/pilot/tester_manager.rb +0 -1
  83. data/precheck/lib/precheck/commands_generator.rb +2 -1
  84. data/produce/lib/produce/commands_generator.rb +2 -1
  85. data/scan/lib/scan/commands_generator.rb +2 -1
  86. data/scan/lib/scan/runner.rb +3 -1
  87. data/scan/lib/scan/test_command_generator.rb +3 -1
  88. data/screengrab/lib/screengrab/commands_generator.rb +2 -1
  89. data/sigh/lib/sigh/commands_generator.rb +2 -1
  90. data/snapshot/lib/assets/SnapfileTemplate +1 -1
  91. data/snapshot/lib/snapshot/commands_generator.rb +3 -1
  92. data/snapshot/lib/snapshot/options.rb +5 -0
  93. data/snapshot/lib/snapshot/reports_generator.rb +4 -0
  94. data/snapshot/lib/snapshot/simulator_launchers/launcher_configuration.rb +2 -0
  95. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb +1 -1
  96. data/snapshot/lib/snapshot/simulator_launchers/simulator_launcher_base.rb +8 -4
  97. data/spaceship/README.md +2 -12
  98. data/spaceship/lib/spaceship/base.rb +2 -2
  99. data/spaceship/lib/spaceship/commands_generator.rb +4 -2
  100. data/spaceship/lib/spaceship/connect_api/model.rb +1 -1
  101. data/spaceship/lib/spaceship/connect_api/models/profile.rb +6 -0
  102. data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +6 -2
  103. data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -9
  104. data/spaceship/lib/spaceship/tunes/members.rb +1 -1
  105. data/spaceship/lib/spaceship/ui.rb +2 -2
  106. data/supply/lib/supply/client.rb +5 -3
  107. data/supply/lib/supply/commands_generator.rb +2 -1
  108. data/supply/lib/supply/options.rb +2 -2
  109. data/supply/lib/supply/uploader.rb +3 -2
  110. metadata +74 -88
  111. data/fastlane/lib/fastlane/.fastlane_require.rb.swp +0 -0
  112. data/fastlane/lib/fastlane/actions/.cocoapods.rb.swp +0 -0
  113. data/pilot/lib/pilot/tester_util.rb +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 163349126d102ca91b188c06ebf4f0cdca8e412a5e90323f30b1e173906a15d2
4
- data.tar.gz: 9df2a6ee820366f89c531fa8ffc8a9aaddba6aae5f5c7374b719d5209db4c45a
3
+ metadata.gz: 91091b73b5075becf27af52eba1ba844a3406566e0cc55a9d2523a681774a941
4
+ data.tar.gz: 98d9e99014df4df5f214dc0c0eab69a4e02ba5f215ee210e8ab1159a864a3fd8
5
5
  SHA512:
6
- metadata.gz: 9f29ea5cbe8e9df6d6eb0f6cd2e59fb2053ae7298bffa924b8db9fbf1fbd3618ba776431b17a1727858f5c3e8b6700e7eea0e1cc315b825933d7c64379503d99
7
- data.tar.gz: 3acea8ce3adf71c5d22a9a52e5e26d2a7c3a76d5901da8306104ae26396eccd70c4f9da4573082eaf7cc1c1236ef6e52c5c0ef26f25d860888664f76ebc56599
6
+ metadata.gz: c719ed7ebdfb81943c5043771153503bd82cf7c7589e3af9f343ab0ec250ccce4094fad9f11508c5c5f3e610463729e72de15ee94defe51a54ec804579c4a85f
7
+ data.tar.gz: 70cbba33ce7cbc3c38574ea07709084d9824b08b5f697fe99bf43b3d874b8b567625410daf753d1c47f846fd19c239fa018b98f93e08421a29befacf97b39986
data/README.md CHANGED
@@ -35,93 +35,29 @@ 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='jérôme-lacoste'>
39
- <a href='https://github.com/lacostej'>
40
- <img src='https://github.com/lacostej.png?size=140'>
41
- </a>
42
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
43
- </td>
44
38
  <td id='max-ott'>
45
39
  <a href='https://github.com/max-ott'>
46
40
  <img src='https://github.com/max-ott.png?size=140'>
47
41
  </a>
48
42
  <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
49
43
  </td>
50
- <td id='kohki-miki'>
51
- <a href='https://github.com/giginet'>
52
- <img src='https://github.com/giginet.png?size=140'>
53
- </a>
54
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
55
- </td>
56
- <td id='josh-holtz'>
57
- <a href='https://github.com/joshdholtz'>
58
- <img src='https://github.com/joshdholtz.png?size=140'>
59
- </a>
60
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
61
- </td>
62
- <td id='maksym-grebenets'>
63
- <a href='https://github.com/mgrebenets'>
64
- <img src='https://github.com/mgrebenets.png?size=140'>
65
- </a>
66
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
67
- </td>
68
- </tr>
69
- <tr>
70
- <td id='fumiya-nakamura'>
71
- <a href='https://github.com/nafu'>
72
- <img src='https://github.com/nafu.png?size=140'>
73
- </a>
74
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
75
- </td>
76
- <td id='joshua-liebowitz'>
77
- <a href='https://github.com/taquitos'>
78
- <img src='https://github.com/taquitos.png?size=140'>
79
- </a>
80
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
81
- </td>
82
44
  <td id='luka-mirosevic'>
83
45
  <a href='https://github.com/lmirosevic'>
84
46
  <img src='https://github.com/lmirosevic.png?size=140'>
85
47
  </a>
86
48
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
87
49
  </td>
88
- <td id='aaron-brager'>
89
- <a href='https://github.com/getaaron'>
90
- <img src='https://github.com/getaaron.png?size=140'>
91
- </a>
92
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
93
- </td>
94
- <td id='satoshi-namai'>
95
- <a href='https://github.com/ainame'>
96
- <img src='https://github.com/ainame.png?size=140'>
97
- </a>
98
- <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
99
- </td>
100
- </tr>
101
- <tr>
102
50
  <td id='daniel-jankowski'>
103
51
  <a href='https://github.com/mollyIV'>
104
52
  <img src='https://github.com/mollyIV.png?size=140'>
105
53
  </a>
106
54
  <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
107
55
  </td>
108
- <td id='olivier-halligon'>
109
- <a href='https://github.com/AliSoftware'>
110
- <img src='https://github.com/AliSoftware.png?size=140'>
111
- </a>
112
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
113
- </td>
114
- <td id='roger-oba'>
115
- <a href='https://github.com/rogerluan'>
116
- <img src='https://github.com/rogerluan.png?size=140'>
117
- </a>
118
- <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
119
- </td>
120
- <td id='manu-wallner'>
121
- <a href='https://github.com/milch'>
122
- <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'>
123
59
  </a>
124
- <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>
125
61
  </td>
126
62
  <td id='jorge-revuelta-h'>
127
63
  <a href='https://github.com/minuscorp'>
@@ -131,17 +67,49 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
131
67
  </td>
132
68
  </tr>
133
69
  <tr>
70
+ <td id='jan-piotrowski'>
71
+ <a href='https://github.com/janpio'>
72
+ <img src='https://github.com/janpio.png?size=140'>
73
+ </a>
74
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
75
+ </td>
76
+ <td id='maksym-grebenets'>
77
+ <a href='https://github.com/mgrebenets'>
78
+ <img src='https://github.com/mgrebenets.png?size=140'>
79
+ </a>
80
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
81
+ </td>
134
82
  <td id='helmut-januschka'>
135
83
  <a href='https://github.com/hjanuschka'>
136
84
  <img src='https://github.com/hjanuschka.png?size=140'>
137
85
  </a>
138
86
  <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
139
87
  </td>
140
- <td id='jimmy-dee'>
141
- <a href='https://github.com/jdee'>
142
- <img src='https://github.com/jdee.png?size=140'>
88
+ <td id='olivier-halligon'>
89
+ <a href='https://github.com/AliSoftware'>
90
+ <img src='https://github.com/AliSoftware.png?size=140'>
143
91
  </a>
144
- <h4 align='center'>Jimmy Dee</h4>
92
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
93
+ </td>
94
+ <td id='felix-krause'>
95
+ <a href='https://github.com/KrauseFx'>
96
+ <img src='https://github.com/KrauseFx.png?size=140'>
97
+ </a>
98
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
99
+ </td>
100
+ </tr>
101
+ <tr>
102
+ <td id='fumiya-nakamura'>
103
+ <a href='https://github.com/nafu'>
104
+ <img src='https://github.com/nafu.png?size=140'>
105
+ </a>
106
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
107
+ </td>
108
+ <td id='andrew-mcburney'>
109
+ <a href='https://github.com/armcburney'>
110
+ <img src='https://github.com/armcburney.png?size=140'>
111
+ </a>
112
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
145
113
  </td>
146
114
  <td id='iulian-onofrei'>
147
115
  <a href='https://github.com/revolter'>
@@ -149,11 +117,31 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
149
117
  </a>
150
118
  <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
151
119
  </td>
152
- <td id='felix-krause'>
153
- <a href='https://github.com/KrauseFx'>
154
- <img src='https://github.com/KrauseFx.png?size=140'>
120
+ <td id='jérôme-lacoste'>
121
+ <a href='https://github.com/lacostej'>
122
+ <img src='https://github.com/lacostej.png?size=140'>
155
123
  </a>
156
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
124
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
125
+ </td>
126
+ <td id='roger-oba'>
127
+ <a href='https://github.com/rogerluan'>
128
+ <img src='https://github.com/rogerluan.png?size=140'>
129
+ </a>
130
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
131
+ </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
+ <td id='manu-wallner'>
141
+ <a href='https://github.com/milch'>
142
+ <img src='https://github.com/milch.png?size=140'>
143
+ </a>
144
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
157
145
  </td>
158
146
  <td id='stefan-natchev'>
159
147
  <a href='https://github.com/snatchev'>
@@ -161,31 +149,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
161
149
  </a>
162
150
  <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
163
151
  </td>
164
- </tr>
165
- <tr>
166
152
  <td id='danielle-tomlinson'>
167
153
  <a href='https://github.com/endocrimes'>
168
154
  <img src='https://github.com/endocrimes.png?size=140'>
169
155
  </a>
170
156
  <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
171
157
  </td>
172
- <td id='jan-piotrowski'>
173
- <a href='https://github.com/janpio'>
174
- <img src='https://github.com/janpio.png?size=140'>
158
+ <td id='josh-holtz'>
159
+ <a href='https://github.com/joshdholtz'>
160
+ <img src='https://github.com/joshdholtz.png?size=140'>
175
161
  </a>
176
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
162
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
177
163
  </td>
178
- <td id='matthew-ellis'>
179
- <a href='https://github.com/matthewellis'>
180
- <img src='https://github.com/matthewellis.png?size=140'>
164
+ </tr>
165
+ <tr>
166
+ <td id='jimmy-dee'>
167
+ <a href='https://github.com/jdee'>
168
+ <img src='https://github.com/jdee.png?size=140'>
181
169
  </a>
182
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
170
+ <h4 align='center'>Jimmy Dee</h4>
183
171
  </td>
184
- <td id='andrew-mcburney'>
185
- <a href='https://github.com/armcburney'>
186
- <img src='https://github.com/armcburney.png?size=140'>
172
+ <td id='joshua-liebowitz'>
173
+ <a href='https://github.com/taquitos'>
174
+ <img src='https://github.com/taquitos.png?size=140'>
187
175
  </a>
188
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
176
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
177
+ </td>
178
+ <td id='kohki-miki'>
179
+ <a href='https://github.com/giginet'>
180
+ <img src='https://github.com/giginet.png?size=140'>
181
+ </a>
182
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
183
+ </td>
184
+ <td id='aaron-brager'>
185
+ <a href='https://github.com/getaaron'>
186
+ <img src='https://github.com/getaaron.png?size=140'>
187
+ </a>
188
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</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