fastlane 2.185.0 → 2.185.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +82 -82
  3. data/fastlane/lib/fastlane/actions/appetize.rb +0 -7
  4. data/fastlane/lib/fastlane/actions/appium.rb +40 -65
  5. data/fastlane/lib/fastlane/actions/apteligent.rb +3 -2
  6. data/fastlane/lib/fastlane/actions/artifactory.rb +5 -6
  7. data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +6 -11
  8. data/fastlane/lib/fastlane/actions/backup_xcarchive.rb +2 -2
  9. data/fastlane/lib/fastlane/actions/badge.rb +9 -13
  10. data/fastlane/lib/fastlane/actions/build_and_upload_to_appetize.rb +1 -3
  11. data/fastlane/lib/fastlane/actions/bundle_install.rb +8 -10
  12. data/fastlane/lib/fastlane/actions/carthage.rb +1 -15
  13. data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +8 -17
  14. data/fastlane/lib/fastlane/actions/chatwork.rb +3 -2
  15. data/fastlane/lib/fastlane/actions/clean_build_artifacts.rb +0 -1
  16. data/fastlane/lib/fastlane/actions/clean_cocoapods_cache.rb +0 -1
  17. data/fastlane/lib/fastlane/actions/cloc.rb +9 -13
  18. data/fastlane/lib/fastlane/actions/cocoapods.rb +9 -15
  19. data/fastlane/lib/fastlane/actions/commit_github_file.rb +1 -3
  20. data/fastlane/lib/fastlane/actions/commit_version_bump.rb +6 -7
  21. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +3 -4
  22. data/fastlane/lib/fastlane/actions/crashlytics.rb +7 -11
  23. data/fastlane/lib/fastlane/actions/create_app_on_managed_play_store.rb +70 -76
  24. data/fastlane/lib/fastlane/actions/create_keychain.rb +9 -10
  25. data/fastlane/lib/fastlane/actions/create_pull_request.rb +0 -9
  26. data/fastlane/lib/fastlane/actions/danger.rb +6 -11
  27. data/fastlane/lib/fastlane/actions/docs/capture_android_screenshots.md +1 -1
  28. data/fastlane/lib/fastlane/helper/crashlytics_helper.rb +4 -4
  29. data/fastlane/lib/fastlane/setup/setup_ios.rb +3 -3
  30. data/fastlane/lib/fastlane/swift_fastlane_function.rb +3 -3
  31. data/fastlane/lib/fastlane/version.rb +1 -1
  32. data/fastlane/swift/Deliverfile.swift +1 -1
  33. data/fastlane/swift/DeliverfileProtocol.swift +1 -1
  34. data/fastlane/swift/Fastlane.swift +1099 -1099
  35. data/fastlane/swift/Gymfile.swift +1 -1
  36. data/fastlane/swift/GymfileProtocol.swift +1 -1
  37. data/fastlane/swift/Matchfile.swift +1 -1
  38. data/fastlane/swift/MatchfileProtocol.swift +1 -1
  39. data/fastlane/swift/Precheckfile.swift +1 -1
  40. data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
  41. data/fastlane/swift/Scanfile.swift +1 -1
  42. data/fastlane/swift/ScanfileProtocol.swift +1 -1
  43. data/fastlane/swift/Screengrabfile.swift +1 -1
  44. data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
  45. data/fastlane/swift/Snapshotfile.swift +1 -1
  46. data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
  47. data/fastlane/swift/formatting/Brewfile.lock.json +2 -2
  48. data/fastlane_core/lib/fastlane_core/print_table.rb +5 -3
  49. data/fastlane_core/lib/fastlane_core/project.rb +7 -3
  50. data/snapshot/lib/snapshot/test_command_generator.rb +1 -1
  51. data/spaceship/lib/spaceship/spaceauth_runner.rb +19 -6
  52. metadata +20 -20
@@ -17,4 +17,4 @@ public class Gymfile: GymfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.185.0
20
+ // Generated with fastlane 2.185.1
@@ -196,4 +196,4 @@ public extension GymfileProtocol {
196
196
 
197
197
  // Please don't remove the lines below
198
198
  // They are used to detect outdated files
199
- // FastlaneRunnerAPIVersion [0.9.75]
199
+ // FastlaneRunnerAPIVersion [0.9.76]
@@ -17,4 +17,4 @@ public class Matchfile: MatchfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.185.0
20
+ // Generated with fastlane 2.185.1
@@ -184,4 +184,4 @@ public extension MatchfileProtocol {
184
184
 
185
185
  // Please don't remove the lines below
186
186
  // They are used to detect outdated files
187
- // FastlaneRunnerAPIVersion [0.9.69]
187
+ // FastlaneRunnerAPIVersion [0.9.70]
@@ -17,4 +17,4 @@ public class Precheckfile: PrecheckfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.185.0
20
+ // Generated with fastlane 2.185.1
@@ -52,4 +52,4 @@ public extension PrecheckfileProtocol {
52
52
 
53
53
  // Please don't remove the lines below
54
54
  // They are used to detect outdated files
55
- // FastlaneRunnerAPIVersion [0.9.68]
55
+ // FastlaneRunnerAPIVersion [0.9.69]
@@ -17,4 +17,4 @@ public class Scanfile: ScanfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.185.0
20
+ // Generated with fastlane 2.185.1
@@ -292,4 +292,4 @@ public extension ScanfileProtocol {
292
292
 
293
293
  // Please don't remove the lines below
294
294
  // They are used to detect outdated files
295
- // FastlaneRunnerAPIVersion [0.9.80]
295
+ // FastlaneRunnerAPIVersion [0.9.81]
@@ -17,4 +17,4 @@ public class Screengrabfile: ScreengrabfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.185.0
20
+ // Generated with fastlane 2.185.1
@@ -96,4 +96,4 @@ public extension ScreengrabfileProtocol {
96
96
 
97
97
  // Please don't remove the lines below
98
98
  // They are used to detect outdated files
99
- // FastlaneRunnerAPIVersion [0.9.70]
99
+ // FastlaneRunnerAPIVersion [0.9.71]
@@ -17,4 +17,4 @@ public class Snapshotfile: SnapshotfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.185.0
20
+ // Generated with fastlane 2.185.1
@@ -200,4 +200,4 @@ public extension SnapshotfileProtocol {
200
200
 
201
201
  // Please don't remove the lines below
202
202
  // They are used to detect outdated files
203
- // FastlaneRunnerAPIVersion [0.9.64]
203
+ // FastlaneRunnerAPIVersion [0.9.65]
@@ -35,9 +35,9 @@
35
35
  "system": {
36
36
  "macos": {
37
37
  "catalina": {
38
- "HOMEBREW_VERSION": "3.1.9-121-g654c78c",
38
+ "HOMEBREW_VERSION": "3.1.12-15-gd3887df",
39
39
  "HOMEBREW_PREFIX": "/usr/local",
40
- "Homebrew/homebrew-core": "053991e1213350e1803bdb6c7c5aca7a36e8e3d0",
40
+ "Homebrew/homebrew-core": "097ed0bac48effdca36a4a06a4c8bd6416b25ae5",
41
41
  "CLT": "11.0.0.33.12",
42
42
  "Xcode": "12.4",
43
43
  "macOS": "10.15.7"
@@ -36,9 +36,11 @@ module FastlaneCore
36
36
 
37
37
  params[:title] = title.green if title
38
38
 
39
- puts("")
40
- puts(Terminal::Table.new(params))
41
- puts("")
39
+ unless FastlaneCore::Env.truthy?("FASTLANE_SKIP_ALL_LANE_SUMMARIES")
40
+ puts("")
41
+ puts(Terminal::Table.new(params))
42
+ puts("")
43
+ end
42
44
 
43
45
  return params
44
46
  end
@@ -123,9 +123,13 @@ module FastlaneCore
123
123
  # Get all available schemes in an array
124
124
  def schemes
125
125
  @schemes ||= if workspace?
126
- workspace.schemes.reject do |k, v|
127
- v.include?("Pods/Pods.xcodeproj")
128
- end.keys
126
+ if FastlaneCore::Env.truthy?("FASTLANE_INCLUDE_PODS_PROJECT_SCHEMES")
127
+ workspace.schemes.keys
128
+ else
129
+ workspace.schemes.reject do |k, v|
130
+ v.include?("Pods/Pods.xcodeproj")
131
+ end.keys
132
+ end
129
133
  else
130
134
  Xcodeproj::Project.schemes(path)
131
135
  end
@@ -69,7 +69,7 @@ module Snapshot
69
69
  # Check each device to see if it is an iOS device
70
70
  all_ios = devices.map do |device|
71
71
  device = device.downcase
72
- device.include?('iphone') || device.include?('ipad')
72
+ device.include?('iphone') || device.include?('ipad') || device.include?('ipod')
73
73
  end
74
74
  # Return true if all devices are iOS devices
75
75
  return true unless all_ios.include?(false)
@@ -39,12 +39,7 @@ module Spaceship
39
39
  # Example:
40
40
  # name: DES5c148586daa451e55afb017aa62418f91
41
41
  # value: HSARMTKNSRVTWFlaF/ek8asaa9lymMA0dN8JQ6pY7B3F5kdqTxJvMT19EVEFX8EQudB/uNwBHOHzaa30KYTU/eCP/UF7vGTgxs6PAnlVWKscWssOVHfP2IKWUPaa4Dn+I6ilA7eAFQsiaaVT
42
- cookies = YAML.safe_load(
43
- itc_cookie_content,
44
- [HTTP::Cookie, Time], # classes allowlist
45
- [], # symbols allowlist
46
- true # allow YAML aliases
47
- )
42
+ cookies = load_cookies(itc_cookie_content)
48
43
 
49
44
  # We remove all the un-needed cookies
50
45
  cookies.select! do |cookie|
@@ -72,6 +67,24 @@ module Spaceship
72
67
  return self
73
68
  end
74
69
 
70
+ def load_cookies(content)
71
+ # When Ruby 2.5 support is dropped, we can safely get rid of the latter branch.
72
+ if YAML.name == 'Psych' && Gem::Version.new(Psych::VERSION) >= Gem::Version.new('3.1')
73
+ YAML.safe_load(
74
+ content,
75
+ permitted_classes: [HTTP::Cookie, Time],
76
+ aliases: true
77
+ )
78
+ else
79
+ YAML.safe_load(
80
+ content,
81
+ [HTTP::Cookie, Time], # classes allowlist
82
+ [], # symbols allowlist
83
+ true # allow YAML aliases
84
+ )
85
+ end
86
+ end
87
+
75
88
  def session_string
76
89
  FastlaneCore::UI.user_error!("`#{__method__}` method called before calling `run` in `SpaceauthRunner`") unless @yaml
77
90
  @yaml
metadata CHANGED
@@ -1,38 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.185.0
4
+ version: 2.185.1
5
5
  platform: ruby
6
6
  authors:
7
- - Satoshi Namai
8
- - Jan Piotrowski
9
- - Andrew McBurney
10
- - Matthew Ellis
11
- - Iulian Onofrei
12
- - Kohki Miki
13
- - Manu Wallner
14
- - Daniel Jankowski
15
- - Olivier Halligon
16
- - Fumiya Nakamura
17
- - Josh Holtz
18
- - Danielle Tomlinson
19
- - Helmut Januschka
20
7
  - Jimmy Dee
21
- - Maksym Grebenets
22
- - Manish Rathi
23
8
  - Jorge Revuelta H
9
+ - Maksym Grebenets
24
10
  - Aaron Brager
25
- - Max Ott
26
- - Luka Mirosevic
11
+ - Jan Piotrowski
27
12
  - Joshua Liebowitz
28
- - Jérôme Lacoste
13
+ - Helmut Januschka
14
+ - Manish Rathi
15
+ - Fumiya Nakamura
16
+ - Olivier Halligon
17
+ - Josh Holtz
29
18
  - Felix Krause
19
+ - Iulian Onofrei
20
+ - Matthew Ellis
21
+ - Manu Wallner
22
+ - Jérôme Lacoste
23
+ - Kohki Miki
30
24
  - Roger Oba
31
25
  - Stefan Natchev
26
+ - Luka Mirosevic
27
+ - Satoshi Namai
28
+ - Andrew McBurney
29
+ - Max Ott
30
+ - Danielle Tomlinson
31
+ - Daniel Jankowski
32
32
  autorequire:
33
33
  bindir: bin
34
34
  cert_chain: []
35
- date: 2021-06-06 00:00:00.000000000 Z
35
+ date: 2021-06-14 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: xcodeproj