fastlane 2.88.0.beta.20180325050025 → 2.88.0.beta.20180327050037
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.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/actions/git_tag_exists.rb +23 -3
- data/fastlane/lib/fastlane/lane_list.rb +2 -1
- data/fastlane/lib/fastlane/server/json_return_value_processor.rb +1 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/screengrab/lib/screengrab/options.rb +1 -1
- data/screengrab/lib/screengrab/runner.rb +2 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +7 -2
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7d8fe55934095bf84ebaa89c021072afc257dba
|
4
|
+
data.tar.gz: 20a0d9fbb84a19e37b9963a52fa7326246608084
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4948d03682f1b3b1d713e758cd8f7d057b3580876a72b05cb9b5bb2e839c4b65fda7483f5890a5a73cd69ddd51168e51fcffc592fb30760f846fec7471185ab9
|
7
|
+
data.tar.gz: b8fa017b3b70bc3a10cb841574a97b5596e251efdb4b91760564d798a587ac2341e8ead26d149e9d4372ae35ac47ab6b5b3474a3376319f3cca4f291957d0c56
|
@@ -2,8 +2,19 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class GitTagExistsAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
|
6
|
-
|
5
|
+
tag_ref = "refs/tags/#{params[:tag].shellescape}"
|
6
|
+
if params[:remote]
|
7
|
+
command = "git ls-remote -q --exit-code #{params[:remote_name].shellescape} #{tag_ref}"
|
8
|
+
else
|
9
|
+
command = "git rev-parse -q --verify #{tag_ref}"
|
10
|
+
end
|
11
|
+
exists = true
|
12
|
+
Actions.sh(
|
13
|
+
command,
|
14
|
+
log: FastlaneCore::Globals.verbose?,
|
15
|
+
error_callback: ->(result) { exists = false }
|
16
|
+
)
|
17
|
+
exists
|
7
18
|
end
|
8
19
|
|
9
20
|
#####################################################
|
@@ -21,7 +32,16 @@ module Fastlane
|
|
21
32
|
def self.available_options
|
22
33
|
[
|
23
34
|
FastlaneCore::ConfigItem.new(key: :tag,
|
24
|
-
description: "The tag name that should be checked")
|
35
|
+
description: "The tag name that should be checked"),
|
36
|
+
FastlaneCore::ConfigItem.new(key: :remote,
|
37
|
+
description: "Whether to check remote. Defaults to `false`",
|
38
|
+
type: Boolean,
|
39
|
+
default_value: false,
|
40
|
+
optional: true),
|
41
|
+
FastlaneCore::ConfigItem.new(key: :remote_name,
|
42
|
+
description: "The remote to check. Defaults to `origin`",
|
43
|
+
default_value: 'origin',
|
44
|
+
optional: true)
|
25
45
|
]
|
26
46
|
end
|
27
47
|
|
@@ -22,13 +22,14 @@ module Fastlane
|
|
22
22
|
line.strip!
|
23
23
|
if line.start_with?("func")
|
24
24
|
current_lane_name = self.lane_name_from_swift_line(potential_lane_line: line)
|
25
|
+
lanes_by_name[current_lane_name] = Fastlane::Lane.new(platform: nil, name: current_lane_name.to_sym, description: [])
|
25
26
|
elsif line.start_with?("desc")
|
26
27
|
lane_description = self.desc_entry_for_swift_lane(named: current_lane_name, potential_desc_line: line)
|
27
28
|
unless lane_description
|
28
29
|
next
|
29
30
|
end
|
30
31
|
|
31
|
-
lanes_by_name[current_lane_name] =
|
32
|
+
lanes_by_name[current_lane_name].description = [lane_description]
|
32
33
|
current_lane_name = nil
|
33
34
|
end
|
34
35
|
end
|
@@ -28,8 +28,7 @@ module Fastlane
|
|
28
28
|
return_value = ""
|
29
29
|
end
|
30
30
|
|
31
|
-
|
32
|
-
return JSON.generate(return_value.to_s, quirks_mode: true)
|
31
|
+
return_value
|
33
32
|
end
|
34
33
|
|
35
34
|
def process_value_as_array_of_strings(return_value: nil)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.88.0.beta.
|
2
|
+
VERSION = '2.88.0.beta.20180327050037'.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
|
@@ -16,7 +16,7 @@ module Screengrab
|
|
16
16
|
short_option: "-n",
|
17
17
|
optional: true,
|
18
18
|
code_gen_sensitive: true,
|
19
|
-
default_value: ENV['ANDROID_HOME'] || ENV['ANDROID_SDK'],
|
19
|
+
default_value: ENV['ANDROID_HOME'] || ENV['ANDROID_SDK_ROOT'] || ENV['ANDROID_SDK'],
|
20
20
|
default_value_dynamic: true,
|
21
21
|
description: "Path to the root of your Android SDK installation, e.g. ~/tools/android-sdk-macosx"),
|
22
22
|
FastlaneCore::ConfigItem.new(key: :build_tools_version,
|
@@ -348,7 +348,8 @@ module Screengrab
|
|
348
348
|
end
|
349
349
|
|
350
350
|
def run_adb_command(command, print_all: false, print_command: false)
|
351
|
-
|
351
|
+
adb_path = @android_env.adb_path.chomp("adb")
|
352
|
+
output = @executor.execute(command: adb_path + command,
|
352
353
|
print_all: print_all,
|
353
354
|
print_command: print_command) || ''
|
354
355
|
output.lines.reject do |line|
|
@@ -161,7 +161,12 @@ open class Snapshot: NSObject {
|
|
161
161
|
return
|
162
162
|
}
|
163
163
|
|
164
|
-
let
|
164
|
+
guard let window = app.windows.allElementsBoundByIndex.first(where: { $0.frame.isEmpty == false }) else {
|
165
|
+
print("Couldn't find an element window in XCUIApplication with a non-empty frame.")
|
166
|
+
return
|
167
|
+
}
|
168
|
+
|
169
|
+
let screenshot = window.screenshot()
|
165
170
|
guard let simulator = ProcessInfo().environment["SIMULATOR_DEVICE_NAME"], let screenshotsDir = screenshotsDirectory else { return }
|
166
171
|
let path = screenshotsDir.appendingPathComponent("\(simulator)-\(name).png")
|
167
172
|
do {
|
@@ -273,4 +278,4 @@ private extension CGFloat {
|
|
273
278
|
|
274
279
|
// Please don't remove the lines below
|
275
280
|
// They are used to detect outdated configuration files
|
276
|
-
// SnapshotHelperVersion [1.
|
281
|
+
// SnapshotHelperVersion [1.10]
|
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.88.0.beta.
|
4
|
+
version: 2.88.0.beta.20180327050037
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Olivier Halligon
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-03-
|
30
|
+
date: 2018-03-27 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1622,24 +1622,24 @@ metadata:
|
|
1622
1622
|
post_install_message:
|
1623
1623
|
rdoc_options: []
|
1624
1624
|
require_paths:
|
1625
|
-
- supply/lib
|
1626
|
-
- fastlane/lib
|
1627
|
-
- sigh/lib
|
1628
1625
|
- fastlane_core/lib
|
1629
|
-
-
|
1630
|
-
-
|
1631
|
-
- scan/lib
|
1632
|
-
- deliver/lib
|
1633
|
-
- match/lib
|
1634
|
-
- snapshot/lib
|
1635
|
-
- pilot/lib
|
1626
|
+
- sigh/lib
|
1627
|
+
- credentials_manager/lib
|
1636
1628
|
- screengrab/lib
|
1637
1629
|
- cert/lib
|
1638
|
-
- produce/lib
|
1639
|
-
- credentials_manager/lib
|
1640
1630
|
- frameit/lib
|
1631
|
+
- pilot/lib
|
1641
1632
|
- gym/lib
|
1633
|
+
- produce/lib
|
1634
|
+
- fastlane/lib
|
1635
|
+
- spaceship/lib
|
1636
|
+
- scan/lib
|
1637
|
+
- match/lib
|
1638
|
+
- supply/lib
|
1642
1639
|
- pem/lib
|
1640
|
+
- precheck/lib
|
1641
|
+
- deliver/lib
|
1642
|
+
- snapshot/lib
|
1643
1643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1644
|
requirements:
|
1645
1645
|
- - ">="
|