fastlane 2.74.0 → 2.74.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5d7628e44c9c2e28589921566f2608e56a53b89
4
- data.tar.gz: 30c0b703e8d4cddc20026959962e224b669c48a6
3
+ metadata.gz: 6a5ac60afa25f9506150a2183d757b025a89ef46
4
+ data.tar.gz: 531753b83e8e41548f21d718500c7cfb7fa35416
5
5
  SHA512:
6
- metadata.gz: c29ad97b7651e025f6463857ffe62151fdf8c4541e2b932905c43347978753e968f9320b247624482a98aabf8a492d7bed7b47ea2b17902de1a0a24501896f9b
7
- data.tar.gz: a4c31cf81ba009e814861aac7965c51704f4306a419f2250d75752f7e863073ec464ee97c39ee16f77dae4d57d61b2503b1168469d50f69bc2be0e08fe0087c6
6
+ metadata.gz: cf27686d4198832d92745fc2aab01ff257dc4b15b1d6a41018a006450889674757d333f1c559a6845fcfacb433e55cf55e3652adbe920e20383a7bfefb1d0191
7
+ data.tar.gz: 6cc2f76c6ac122182ad4ab05a3c5488ef6c814dfbb0989417d4c64955084a52e2e4663f17b7f059f9ba40f9a29db748249f497657d249564f3ad2a8ce1657613
@@ -5,7 +5,23 @@ require 'json'
5
5
  module Fastlane
6
6
  class CommandParser
7
7
  def self.parse(json: nil)
8
+ if json.strip == "done"
9
+ return intercept_old_done_command
10
+ end
11
+
8
12
  command_json = JSON.parse(json)
13
+ command_type_json = command_json['commandType']
14
+
15
+ if command_type_json.nil?
16
+ # Old Swift style (needs upgrade)
17
+ return handle_old_style_action_command(command_json: command_json)
18
+ else
19
+ # New Swift command style
20
+ return handle_new_style_commands(command_json: command_json)
21
+ end
22
+ end
23
+
24
+ def self.handle_new_style_commands(command_json: nil)
9
25
  command_type = command_json['commandType'].to_sym
10
26
  command = command_json['command']
11
27
 
@@ -16,5 +32,13 @@ module Fastlane
16
32
  return ControlCommand.new(json: command)
17
33
  end
18
34
  end
35
+
36
+ def self.handle_old_style_action_command(command_json: nil)
37
+ return ActionCommand.new(json: command_json)
38
+ end
39
+
40
+ def self.intercept_old_done_command
41
+ return ControlCommand.new(json: '{"command":"done"}')
42
+ end
19
43
  end
20
44
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.74.0'.freeze
2
+ VERSION = '2.74.1'.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
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -11,4 +11,4 @@ class Deliverfile: DeliverfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -3067,6 +3067,18 @@ func splunkmint(dsym: String? = nil,
3067
3067
  RubyCommand.Argument(name: "proxy_port", value: proxyPort)])
3068
3068
  _ = runner.executeCommand(command)
3069
3069
  }
3070
+ func spm(command: String = "build",
3071
+ buildPath: String? = nil,
3072
+ packagePath: String? = nil,
3073
+ configuration: String? = nil,
3074
+ verbose: Bool = false) {
3075
+ let command = RubyCommand(commandID: "", methodName: "spm", className: nil, args: [RubyCommand.Argument(name: "command", value: command),
3076
+ RubyCommand.Argument(name: "build_path", value: buildPath),
3077
+ RubyCommand.Argument(name: "package_path", value: packagePath),
3078
+ RubyCommand.Argument(name: "configuration", value: configuration),
3079
+ RubyCommand.Argument(name: "verbose", value: verbose)])
3080
+ _ = runner.executeCommand(command)
3081
+ }
3070
3082
  func ssh(username: String,
3071
3083
  password: String? = nil,
3072
3084
  host: String,
@@ -11,4 +11,4 @@ class Gymfile: GymfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -11,4 +11,4 @@ class Matchfile: MatchfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -11,4 +11,4 @@ class Precheckfile: PrecheckfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -11,4 +11,4 @@ class Scanfile: ScanfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -11,4 +11,4 @@ class Screengrabfile: ScreengrabfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -11,4 +11,4 @@ class Snapshotfile: SnapshotfileProtocol {
11
11
 
12
12
 
13
13
 
14
- // Generated with fastlane 2.73.0
14
+ // Generated with fastlane 2.74.0
@@ -19,6 +19,7 @@ protocol SnapshotfileProtocol: class {
19
19
  var addVideos: [String]? { get }
20
20
  var buildlogPath: String { get }
21
21
  var clean: Bool { get }
22
+ var testWithoutBuilding: Bool? { get }
22
23
  var configuration: String? { get }
23
24
  var xcprettyArgs: String? { get }
24
25
  var sdk: String? { get }
@@ -52,6 +53,7 @@ extension SnapshotfileProtocol {
52
53
  var addVideos: [String]? { return nil }
53
54
  var buildlogPath: String { return "~/Library/Logs/snapshot" }
54
55
  var clean: Bool { return false }
56
+ var testWithoutBuilding: Bool? { return nil }
55
57
  var configuration: String? { return nil }
56
58
  var xcprettyArgs: String? { return nil }
57
59
  var sdk: String? { return nil }
Binary file
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.74.0
4
+ version: 2.74.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -1224,8 +1224,10 @@ files:
1224
1224
  - fastlane/swift/SocketResponse.swift
1225
1225
  - fastlane/swift/main.swift
1226
1226
  - fastlane_core/README.md
1227
+ - fastlane_core/lib/.DS_Store
1227
1228
  - fastlane_core/lib/assets/XMLTemplate.xml.erb
1228
1229
  - fastlane_core/lib/fastlane_core.rb
1230
+ - fastlane_core/lib/fastlane_core/.DS_Store
1229
1231
  - fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
1230
1232
  - fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
1231
1233
  - fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb