fastlane 2.63.0.beta.20171025010003 → 2.63.0.beta.20171026010003

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/fastlane/lib/assets/DefaultFastfileTemplate +1 -1
  3. data/fastlane/lib/assets/FastfileTemplateAndroid +1 -2
  4. data/fastlane/lib/fastlane/actions/commit_version_bump.rb +1 -1
  5. data/fastlane/lib/fastlane/actions/create_pull_request.rb +2 -2
  6. data/fastlane/lib/fastlane/actions/docs/deliver.md +18 -18
  7. data/fastlane/lib/fastlane/actions/docs/match.md +1 -1
  8. data/fastlane/lib/fastlane/actions/docs/snapshot.md +1 -1
  9. data/fastlane/lib/fastlane/actions/hg_commit_version_bump.rb +1 -1
  10. data/fastlane/lib/fastlane/actions/pem.rb +5 -7
  11. data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/pod_push.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/snapshot.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/upload_symbols_to_sentry.rb +1 -1
  15. data/fastlane/lib/fastlane/core_ext/bundler_monkey_patch.rb +1 -1
  16. data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
  17. data/fastlane/lib/fastlane/lane.rb +1 -0
  18. data/fastlane/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +1 -1
  19. data/fastlane/lib/fastlane/runner.rb +1 -1
  20. data/fastlane/lib/fastlane/version.rb +2 -1
  21. data/fastlane_core/lib/fastlane_core/build_watcher.rb +1 -1
  22. data/match/lib/assets/READMETemplate.md +2 -2
  23. data/precheck/lib/assets/PrecheckfileTemplate +0 -1
  24. data/screengrab/lib/assets/ScreengrabfileTemplate +1 -1
  25. data/screengrab/lib/screengrab/page.html.erb +8 -8
  26. data/spaceship/lib/spaceship/test_flight/build.rb +4 -4
  27. data/spaceship/lib/spaceship/test_flight/build_trains.rb +2 -2
  28. data/spaceship/lib/spaceship/tunes/tunes_client.rb +1 -1
  29. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d6c323f415554ca6fd05dfb85be168ec319348a
4
- data.tar.gz: c3cf73db62fcd09fa02da097d09ca6f26c82c877
3
+ metadata.gz: fe369b68f6388108db0474221521216edfe1c2f8
4
+ data.tar.gz: cd2bb45122a1099e3774699317d4548ecdbff7e7
5
5
  SHA512:
6
- metadata.gz: 7c538d70fb4b120625c06a2a0f1ff068dd03d7d7634b5b59b9bc5da0e2ee0e60392bb0ac01a8db6c14a23c7c66a4ecf240a53d279622faea893e79ca20998fef
7
- data.tar.gz: 92d08776084b131b3d25309e40244995a0a2e55f766738970ee8cdd043a662f39eadbf2b0cbc5738f48a9dd8c31444f223564b1424a3859b4e9edd0cf53342e7
6
+ metadata.gz: df505be58afcfc2ce336b1d53e41ed56157482ce4a5e967a7f338c382d6075b6c32ad0baeec3a984e3f9767d9b22b4e6c6059c12fdee172e479702ad170a2689
7
+ data.tar.gz: f64891f727d11e8b6cc21b8b16c671a87a8800bd8032319084b233c7985470c940798d666fb465a21da85d627bea8c46f1d9ca324e1c8a1bfcca5642b109dd06
@@ -1,4 +1,4 @@
1
- # Customise this file, documentation can be found here:
1
+ # Customize this file, documentation can be found here:
2
2
  # https://docs.fastlane.tools/actions/
3
3
  # All available actions: https://docs.fastlane.tools/actions
4
4
  # can also be listed using the `fastlane actions` command
@@ -1,4 +1,4 @@
1
- # Customise this file, documentation can be found here:
1
+ # Customize this file, documentation can be found here:
2
2
  # https://docs.fastlane.tools/actions/
3
3
  # All available actions: https://docs.fastlane.tools/actions
4
4
  # can also be listed using the `fastlane actions` command
@@ -58,7 +58,6 @@ platform :android do
58
58
  end
59
59
  end
60
60
 
61
-
62
61
  # More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
63
62
  # All available actions: https://docs.fastlane.tools/actions
64
63
 
@@ -168,7 +168,7 @@ module Fastlane
168
168
  "",
169
169
  "Then commits those files to the repo.",
170
170
  "",
171
- "Customise the message with the `:message` option, defaults to 'Version Bump'",
171
+ "Customize the message with the `:message` option, defaults to 'Version Bump'",
172
172
  "",
173
173
  "If you have other uncommitted changes in your repo, this action will fail. If you started off in a clean repo, and used the _ipa_ and or _sigh_ actions, then you can use the `clean_build_artifacts` action to clean those temporary files up before running this action."
174
174
  ].join("\n")
@@ -84,7 +84,7 @@ module Fastlane
84
84
  optional: true),
85
85
  FastlaneCore::ConfigItem.new(key: :api_url,
86
86
  env_name: "GITHUB_PULL_REQUEST_API_URL",
87
- description: "The URL of Github API - used when the Enterprise (default to `https://api.github.com`)",
87
+ description: "The URL of GitHub API - used when the Enterprise (default to `https://api.github.com`)",
88
88
  is_string: true,
89
89
  default_value: 'https://api.github.com',
90
90
  optional: true)
@@ -112,7 +112,7 @@ module Fastlane
112
112
  head: "my-feature", # optional, defaults to current branch name
113
113
  base: "master", # optional, defaults to "master"
114
114
  body: "Please pull this in!", # optional
115
- api_url: "http://yourdomain/api/v3" # optional, for Github Enterprise, defaults to "https://api.github.com"
115
+ api_url: "http://yourdomain/api/v3" # optional, for GitHub Enterprise, defaults to "https://api.github.com"
116
116
  )'
117
117
  ]
118
118
  end
@@ -18,7 +18,7 @@ _deliver_ uploads screenshots, metadata and binaries to iTunes Connect. Use _del
18
18
  <h5 align="center"><code>deliver</code> is part of <a href="https://fastlane.tools">fastlane</a>: The easiest way to automate beta deployments and releases for your iOS and Android apps.</h5>
19
19
 
20
20
  # Features
21
- - Upload hundreds of localised screenshots completely automatically
21
+ - Upload hundreds of localized screenshots completely automatically
22
22
  - Upload a new ipa/pkg file to iTunes Connect without Xcode from any Mac
23
23
  - Maintain your app metadata locally and push changes back to iTunes Connect
24
24
  - Easily implement a real Continuous Deployment process using [fastlane](https://fastlane.tools)
@@ -157,7 +157,7 @@ app_version "2.0"
157
157
 
158
158
  In the case if _deliver_ uploads your application to iTunes Connect it will automatically update "Prepare for submission" app version (which could be found on iTunes Connect->My Apps->App Store page)
159
159
 
160
- The option allows uploading your app without updating "Prepare for submission" version.
160
+ The option allows uploading your app without updating "Prepare for submission" version.
161
161
 
162
162
  This could be useful in the case if you are generating a lot of uploads while not submitting the latest build for Apple review.
163
163
 
@@ -225,7 +225,7 @@ You can also provide these values by creating files in a `metadata/trade_represe
225
225
  `is_displayed_on_app_store` is the option on iTunes Connect described as: `Display Trade Representative Contact Information on the Korean App Store`
226
226
 
227
227
  ##### app_review_information
228
- Contact information for the app review team. Available options: `first_name`, `last_name`, `phone_number`, `email_address`, `demo_user`, `demo_password`, `notes`.
228
+ Contact information for the app review team. Available options: `first_name`, `last_name`, `phone_number`, `email_address`, `demo_user`, `demo_password`, `notes`.
229
229
 
230
230
 
231
231
  ```ruby-skip-tests
@@ -242,7 +242,7 @@ app_review_information(
242
242
 
243
243
  You can also provide these values by creating files in a `metadata/review_information/` directory. The file names must match the pattern `<key>.txt` (e.g. `first_name.txt`, `notes.txt` etc.). The contents of each file will be used as the value for the matching key. Values provided in the `Deliverfile` or `Fastfile` will be take priority over values from these files.
244
244
 
245
- ##### submission_information
245
+ ##### submission_information
246
246
  Must be a hash. This is used as the last step for the deployment process, where you define if you use third party content or use encryption. [A list of available options](https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/tunes/app_submission.rb#L18-L69).
247
247
 
248
248
  ```ruby-skip-tests
@@ -257,7 +257,7 @@ Should the app be released to all users once Apple approves it? If set to `false
257
257
 
258
258
  ```ruby-skip-tests
259
259
  automatic_release true
260
- # or
260
+ # or
261
261
  automatic_release false
262
262
  ```
263
263
 
@@ -267,12 +267,12 @@ Enable or disable the phased releases feature of iTunes Connect. If set to `true
267
267
 
268
268
  ```ruby-skip-tests
269
269
  phased_release true
270
- # or
270
+ # or
271
271
  phased_release false
272
272
  ```
273
273
 
274
274
  ##### app_rating_config_path
275
- You can set the app age ratings using _deliver_. You'll have to create and store a `JSON` configuration file. Copy the [template](https://github.com/fastlane/fastlane/blob/master/deliver/assets/example_rating_config.json) to your project folder and pass the path to the `JSON` file using the `app_rating_config_path` option.
275
+ You can set the app age ratings using _deliver_. You'll have to create and store a `JSON` configuration file. Copy the [template](https://github.com/fastlane/fastlane/blob/master/deliver/assets/example_rating_config.json) to your project folder and pass the path to the `JSON` file using the `app_rating_config_path` option.
276
276
 
277
277
  The keys/values on the top allow values from 0-2, and the items on the bottom allow only 0 or 1. More information in [#reference](#reference).
278
278
 
@@ -281,9 +281,9 @@ The keys/values on the top allow values from 0-2, and the items on the bottom al
281
281
 
282
282
  All options below are useful if you want to specify certain app metadata in your `Deliverfile` or `Fastfile`
283
283
 
284
- ### Localised
284
+ ### Localized
285
285
 
286
- Localised values should be set like this
286
+ Localized values should be set like this
287
287
 
288
288
  ```ruby-skip-tests
289
289
  description({
@@ -297,7 +297,7 @@ The title/name of the app
297
297
 
298
298
  ##### subtitle
299
299
 
300
- Localised subtitle of the app
300
+ Localized subtitle of the app
301
301
 
302
302
  ```ruby-skip-tests
303
303
  subtitle(
@@ -327,7 +327,7 @@ keywords(
327
327
 
328
328
  ##### promotional_text
329
329
 
330
- Localised promotional text
330
+ Localized promotional text
331
331
 
332
332
  ```ruby-skip-tests
333
333
  promotional_text(
@@ -350,20 +350,20 @@ apple_watch_app_icon './AppleWatchAppIcon.png'
350
350
 
351
351
  ##### platform
352
352
 
353
- The platform of your application (a.e. ios, osx).
353
+ The platform of your application (a.e. ios, osx).
354
354
 
355
355
  This option is optional. The default value is "ios" and deliver should be able to figure out the platform from your binary.
356
356
 
357
357
  However, in the case if multiple binaries present, you can specify a platform which you want to deliver explicitly.
358
358
 
359
- The available options:
359
+ The available options:
360
360
 
361
361
  - 'ios'
362
362
  - 'appletvos'
363
363
  - 'osx'
364
364
 
365
365
 
366
- ### Non-Localised
366
+ ### Non-Localized
367
367
 
368
368
  ##### copyright
369
369
  The up to date copyright information.
@@ -586,15 +586,15 @@ You can always prefix the category using `MZGenre.` (e.g. `MZGenre.Book`). _deli
586
586
 
587
587
  ## Default values
588
588
 
589
- Deliver has a special `default` language code which allows you to provide values that are not localised, and which will be used as defaults when you don’t provide a specific localised value.
589
+ Deliver has a special `default` language code which allows you to provide values that are not localized, and which will be used as defaults when you don’t provide a specific localized value.
590
590
 
591
591
  In order to use `default`, you will need to tell _deliver_ which languages your app uses. You can do this in either of two ways:
592
592
  1. Create the folders named with the language in the metadata folder (i.e. fastlane/metadata/en-US or fastlane/metadata/de-DE)
593
- 2. Add the following to your `Deliverfile` `languages(['en-US','de-DE'])`
593
+ 2. Add the following to your `Deliverfile` `languages(['en-US','de-DE'])`
594
594
 
595
595
  You can use this either in json within your `Deliverfile` and/or as folders in your metadata folder. _deliver_ will take the union of both language sets from the `Deliverfile` and from the metadata folder and create on single set of languages which will be enabled.
596
596
 
597
- Imagine that you have localised data for the following language codes: ```en-US, de-DE, el, it```
597
+ Imagine that you have localized data for the following language codes: ```en-US, de-DE, el, it```
598
598
 
599
599
  You can set the following in your `Deliverfile`
600
600
 
@@ -629,7 +629,7 @@ You can do the same with folders
629
629
  description.txt
630
630
  ```
631
631
 
632
- In this case, default values for keywords, urls, name and release notes are used in all localisations, but each language has a fully localised description
632
+ In this case, default values for keywords, urls, name and release notes are used in all localizations, but each language has a fully localized description
633
633
 
634
634
 
635
635
 
@@ -76,7 +76,7 @@ fastlane match init
76
76
 
77
77
  <img src="/img/actions/match_init.gif" width="550" />
78
78
 
79
- You'll be asked to enter the URL to your Git repo. This can be either a `https://` or a `git` URL. (If your machine is currently using SSH to authenticate with Github, you'll want to use a `git` URL, otherwise you may see an authentication error when you attempt to use match.) `fastlane match init` won't read or modify your certificates or profiles.
79
+ You'll be asked to enter the URL to your Git repo. This can be either a `https://` or a `git` URL. (If your machine is currently using SSH to authenticate with GitHub, you'll want to use a `git` URL, otherwise you may see an authentication error when you attempt to use match.) `fastlane match init` won't read or modify your certificates or profiles.
80
80
 
81
81
  This will create a `Matchfile` in your current directory (or in your `./fastlane/` folder).
82
82
 
@@ -64,7 +64,7 @@ This tool automatically switches the language and device type and runs UI Tests
64
64
  - Easy verification that localizations fit into labels on all screen dimensions
65
65
  - It is an integration test: You can test for UI elements and other things inside your scripts
66
66
  - Be so nice, and provide new screenshots with every App Store update. Your customers deserve it
67
- - You realise, there is a spelling mistake in one of the screens? Well, just correct it and re-run the script
67
+ - You realize, there is a spelling mistake in one of the screens? Well, just correct it and re-run the script
68
68
 
69
69
  # UI Tests
70
70
 
@@ -158,7 +158,7 @@ module Fastlane
158
158
  "- All .plist files",
159
159
  "- The `.xcodeproj/project.pbxproj` file",
160
160
  "Then commits those files to the repo.",
161
- "Customise the message with the `:message` option, defaults to 'Version Bump'",
161
+ "Customize the message with the `:message` option, defaults to 'Version Bump'",
162
162
  "If you have other uncommitted changes in your repo, this action will fail. If you started off in a clean repo, and used the _ipa_ and or _sigh_ actions, then you can use the [`clean_build_artifacts`](#clean_build_artifacts) action to clean those temporary files up before running this action."
163
163
  ].join("\n")
164
164
  end
@@ -46,13 +46,11 @@ module Fastlane
46
46
  require 'pem'
47
47
  require 'pem/options'
48
48
 
49
- unless @options
50
- @options = PEM::Options.available_options
51
- @options << FastlaneCore::ConfigItem.new(key: :new_profile,
52
- description: "Block that is called if there is a new profile",
53
- optional: true,
54
- is_string: false)
55
- end
49
+ @options = PEM::Options.available_options
50
+ @options << FastlaneCore::ConfigItem.new(key: :new_profile,
51
+ description: "Block that is called if there is a new profile",
52
+ optional: true,
53
+ is_string: false)
56
54
  @options
57
55
  end
58
56
 
@@ -106,7 +106,7 @@ module Fastlane
106
106
  '# Allow warnings during pod lint
107
107
  pod_lib_lint(allow_warnings: true)',
108
108
  '# If the podspec has a dependency on another private pod, then you will have to supply the sources
109
- pod_lib_lint(sources: ["https://github.com/MyGithubPage/Specs", "https://github.com/CocoaPods/Specs"])'
109
+ pod_lib_lint(sources: ["https://github.com/username/Specs", "https://github.com/CocoaPods/Specs"])'
110
110
  ]
111
111
  end
112
112
 
@@ -112,7 +112,7 @@ module Fastlane
112
112
  '# You may also push to a private repo instead of Trunk
113
113
  pod_push(path: "TSMessages.podspec", repo: "MyRepo")',
114
114
  '# If the podspec has a dependency on another private pod, then you will have to supply the sources you want the podspec to lint with for pod_push to succeed. Read more here - https://github.com/CocoaPods/CocoaPods/issues/2543.
115
- pod_push(path: "TMessages.podspec", repo: "MyRepo", sources: ["https://github.com/MyGithubPage/Specs", "https://github.com/CocoaPods/Specs"])'
115
+ pod_push(path: "TMessages.podspec", repo: "MyRepo", sources: ["https://github.com/username/Specs", "https://github.com/CocoaPods/Specs"])'
116
116
  ]
117
117
  end
118
118
 
@@ -19,7 +19,7 @@ module Fastlane
19
19
  end
20
20
 
21
21
  def self.description
22
- "Generate new localised screenshots on multiple devices"
22
+ "Generate new localized screenshots on multiple devices"
23
23
  end
24
24
 
25
25
  def self.available_options
@@ -4,7 +4,7 @@ module Fastlane
4
4
  def self.run(params)
5
5
  # Warning about usinging new plugin
6
6
  UI.important("It's recommended to use the official Sentry Fastlane plugin")
7
- UI.important("Github: https://github.com/getsentry/fastlane-plugin-sentry")
7
+ UI.important("GitHub: https://github.com/getsentry/fastlane-plugin-sentry")
8
8
  UI.important("Installation: fastlane add_plugin sentry")
9
9
 
10
10
  Actions.verify_gem!('rest-client')
@@ -1,6 +1,6 @@
1
1
  # https://github.com/bundler/bundler/issues/4368
2
2
  #
3
- # There is an issue with Rubygems 2.6.2 where it attempts to call Bundler::SpecSet#size, which doesn't exist.
3
+ # There is an issue with RubyGems 2.6.2 where it attempts to call Bundler::SpecSet#size, which doesn't exist.
4
4
  # If a gem is not installed, a `Gem::Specification.find_by_name` call will trigger this problem.
5
5
  if Object.const_defined?(:Bundler) &&
6
6
  Bundler.const_defined?(:SpecSet) &&
@@ -20,7 +20,7 @@ module Fastlane
20
20
  output << "<tr>"
21
21
  output << "<th width=\"33%\"><a href=\"http://brew.sh\">Homebrew</a></td>"
22
22
  output << "<th width=\"33%\">Installer Script</td>"
23
- output << "<th width=\"33%\">Rubygems</td>"
23
+ output << "<th width=\"33%\">RubyGems</td>"
24
24
  output << "</tr>"
25
25
  output << "<tr>"
26
26
  output << "<td width=\"33%\" align=\"center\">macOS</td>"
@@ -51,6 +51,7 @@ module Fastlane
51
51
  UI.error "It is recommended to not use '#{name}' as the name of your lane"
52
52
  # We still allow it, because we're nice
53
53
  # Otherwise we might break existing setups
54
+ return
54
55
  end
55
56
 
56
57
  self.ensure_name_not_conflicts(name.to_s)
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency 'bundler'
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'rake'
30
- spec.add_development_dependency 'rubocop'
30
+ spec.add_development_dependency 'rubocop', '<%= Fastlane::RUBOCOP_REQUIREMENT %>'
31
31
  spec.add_development_dependency 'simplecov'
32
32
  spec.add_development_dependency 'fastlane', '>= <%= Fastlane::VERSION %>'
33
33
  end
@@ -57,7 +57,7 @@ module Fastlane
57
57
  return return_val
58
58
  rescue => ex
59
59
  Dir.chdir(path_to_use) do
60
- # Provide error block exception without colour code
60
+ # Provide error block exception without color code
61
61
  begin
62
62
  error_blocks[current_platform].call(current_lane, ex, parameters) if current_platform && error_blocks[current_platform]
63
63
  error_blocks[nil].call(current_lane, ex, parameters) if error_blocks[nil]
@@ -1,5 +1,6 @@
1
1
  module Fastlane
2
- VERSION = '2.63.0.beta.20171025010003'.freeze
2
+ VERSION = '2.63.0.beta.20171026010003'.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
+ RUBOCOP_REQUIREMENT = '0.49.1'.freeze
5
6
  end
@@ -23,7 +23,7 @@ module FastlaneCore
23
23
  private
24
24
 
25
25
  def watching_build(app_id: nil, platform: nil)
26
- processing_builds = Spaceship::TestFlight::Build.all_processing_builds(app_id: app_id, platform: platform)
26
+ processing_builds = Spaceship::TestFlight::Build.all_processing_builds(app_id: app_id, platform: platform, retry_count: 2)
27
27
 
28
28
  watched_build = processing_builds.sort_by(&:upload_date).last
29
29
  watched_build || Spaceship::TestFlight::Build.latest(app_id: app_id, platform: platform)
@@ -20,14 +20,14 @@ xcode-select --install
20
20
  <tr>
21
21
  <th width="33%"><a href="http://brew.sh">Homebrew</a></td>
22
22
  <th width="33%">Installer Script</td>
23
- <th width="33%">Rubygems</td>
23
+ <th width="33%">RubyGems</td>
24
24
  </tr>
25
25
  <tr>
26
26
  <td width="33%" align="center">macOS</td>
27
27
  <td width="33%" align="center">macOS</td>
28
28
  <td width="33%" align="center">macOS or Linux with Ruby 2.0.0 or above</td>
29
29
  </tr>
30
- <tr>
30
+ <tr>
31
31
  <td width="33%"><code>brew cask install fastlane</code></td>
32
32
  <td width="33%"><a href="https://download.fastlane.tools">Download the zip file</a>. Then double click on the <code>install</code> script (or run it in a terminal window).</td>
33
33
  <td width="33%"><code>sudo gem install fastlane -NV</code></td>
@@ -25,4 +25,3 @@
25
25
  # test_words(level: :error)
26
26
  # unreachable_urls(level: :error)
27
27
  # custom_text(data: ["fabric"], level: :warn)
28
-
@@ -12,4 +12,4 @@ locales ['en-US', 'fr-FR', 'it-IT']
12
12
  clear_previous_screenshots true
13
13
 
14
14
  # For more information about all available options run
15
- # fastlane screengrab --help
15
+ # fastlane screengrab --help
@@ -123,12 +123,12 @@
123
123
  for (index = 0; index < screenshotLink.length; ++index) {
124
124
  screenshotLink[index].addEventListener('click', function(e) {
125
125
  e.preventDefault();
126
-
126
+
127
127
  var img = e.target;
128
128
  if (e.target.tagName == 'A') {
129
129
  img = e.target.children[0];
130
130
  }
131
-
131
+
132
132
  // beautify
133
133
  var tmpImg = new Image();
134
134
  tmpImg.src = img.src;
@@ -145,20 +145,20 @@
145
145
  imageDisplay.src = img.src;
146
146
  imageDisplay.alt = img.alt;
147
147
  imageDisplay.dataset.counter = img.dataset.counter;
148
-
148
+
149
149
  imageInfo.innerHTML = '<h3>'+img.alt+'</h3>';
150
150
  imageInfo.innerHTML += img.src.split("/").pop();
151
151
  imageInfo.innerHTML += '<br />'+tmpImg.height+'&times;'+tmpImg.width+'px';
152
-
152
+
153
153
  overlay.style.display = "block";
154
154
  });
155
155
  }
156
-
156
+
157
157
  imageDisplay.addEventListener('click', function(e) {
158
158
  e.stopPropagation(); // !
159
-
159
+
160
160
  overlay.style.display = "none";
161
-
161
+
162
162
  img_counter = parseInt(e.target.dataset.counter) + 1;
163
163
  try {
164
164
  link = document.body.querySelector('img[data-counter="'+img_counter+'"]').parentNode;
@@ -175,7 +175,7 @@
175
175
  overlay.addEventListener('click', function(e) {
176
176
  overlay.style.display = "none";
177
177
  })
178
-
178
+
179
179
  function keyPressed(e) {
180
180
  e = e || window.event;
181
181
  var charCode = e.keyCode || e.which;
@@ -80,8 +80,8 @@ module Spaceship::TestFlight
80
80
  self.new(attrs)
81
81
  end
82
82
 
83
- def self.all(app_id: nil, platform: nil)
84
- trains = BuildTrains.all(app_id: app_id, platform: platform)
83
+ def self.all(app_id: nil, platform: nil, retry_count: 0)
84
+ trains = BuildTrains.all(app_id: app_id, platform: platform, retry_count: retry_count)
85
85
  trains.values.flatten
86
86
  end
87
87
 
@@ -91,8 +91,8 @@ module Spaceship::TestFlight
91
91
  end
92
92
 
93
93
  # Just the builds, as a flat array, that are still processing
94
- def self.all_processing_builds(app_id: nil, platform: nil)
95
- all(app_id: app_id, platform: platform).find_all(&:processing?)
94
+ def self.all_processing_builds(app_id: nil, platform: nil, retry_count: 0)
95
+ all(app_id: app_id, platform: platform, retry_count: retry_count).find_all(&:processing?)
96
96
  end
97
97
 
98
98
  def self.latest(app_id: nil, platform: nil)
@@ -9,11 +9,11 @@ module Spaceship::TestFlight
9
9
  #
10
10
  # See `Spaceship::TestFlight::Build#reload`
11
11
 
12
- def self.all(app_id: nil, platform: nil)
12
+ def self.all(app_id: nil, platform: nil, retry_count: 0)
13
13
  data = client.get_build_trains(app_id: app_id, platform: platform)
14
14
  trains = {}
15
15
  data.each do |train_version|
16
- builds_data = client.get_builds_for_train(app_id: app_id, platform: platform, train_version: train_version)
16
+ builds_data = client.get_builds_for_train(app_id: app_id, platform: platform, train_version: train_version, retry_count: retry_count)
17
17
  trains[train_version] = builds_data.map { |attrs| Build.new(attrs) }
18
18
  end
19
19
 
@@ -887,7 +887,7 @@ module Spaceship
887
887
  build_info = get_build_info_for_review(app_id: app_id, train: train, build_number: build_number, platform: platform)
888
888
  # Now fill in the values provided by the user
889
889
 
890
- # First the localised values:
890
+ # First the localized values:
891
891
  build_info['details'].each do |current|
892
892
  current['whatsNew']['value'] = changelog if changelog
893
893
  current['description']['value'] = description if description
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.63.0.beta.20171025010003
4
+ version: 2.63.0.beta.20171026010003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-10-25 00:00:00.000000000 Z
18
+ date: 2017-10-26 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier