fastlane 2.127.0.beta.20190707200017 → 2.127.0.beta.20190708200031
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/fast_file.rb +23 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- 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: aeb6eb7739cf716692a201df0b43337538e58ce1
|
4
|
+
data.tar.gz: 48f3e158b41a062b91975b878f6fa148210c7c12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6db47ebfb00d9038f49bfe850c19f6d072b095f60025a494cf195a3dbd8b1a7bb4e14b315ef24c444d526e3397b5e5500ac72888b9424df585f9056730b4e1a2
|
7
|
+
data.tar.gz: 33560963e8302624058d89f577cabf0ac9d1ef26b49540ac1839a00895310fcdbd332d66233a1d79a72c80dbffdd0cd8ed1c3162c1a9f5a770411d7b308fa332
|
@@ -182,8 +182,29 @@ module Fastlane
|
|
182
182
|
end
|
183
183
|
|
184
184
|
# Execute shell command
|
185
|
-
|
186
|
-
|
185
|
+
# Accepts arguments with with and without the command named keyword so that sh
|
186
|
+
# behaves like other actions with named keywords
|
187
|
+
# https://github.com/fastlane/fastlane/issues/14930
|
188
|
+
#
|
189
|
+
# Example:
|
190
|
+
# sh("ls")
|
191
|
+
# sh("ls", log: false)
|
192
|
+
# sh(command: "ls")
|
193
|
+
# sh(command: "ls", log: false)
|
194
|
+
def sh(*args, &b)
|
195
|
+
# First accepts hash (or named keywords) like other actions
|
196
|
+
# Otherwise uses sh method that doesn't have an interface like an action
|
197
|
+
if args.count == 1 && args.first.kind_of?(Hash)
|
198
|
+
hash = args.first
|
199
|
+
command = hash.delete(:command)
|
200
|
+
|
201
|
+
raise ArgumentError, "sh requires :command keyword in argument" if command.nil?
|
202
|
+
|
203
|
+
new_args = [*command, hash]
|
204
|
+
FastFile.sh(*new_args, &b)
|
205
|
+
else
|
206
|
+
FastFile.sh(*args, &b)
|
207
|
+
end
|
187
208
|
end
|
188
209
|
|
189
210
|
def self.sh(*command, log: true, error_callback: nil, &b)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.127.0.beta.
|
2
|
+
VERSION = '2.127.0.beta.20190708200031'.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
|
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.127.0.beta.
|
4
|
+
version: 2.127.0.beta.20190708200031
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ellis
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-07-
|
30
|
+
date: 2019-07-08 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1735,24 +1735,24 @@ metadata:
|
|
1735
1735
|
post_install_message:
|
1736
1736
|
rdoc_options: []
|
1737
1737
|
require_paths:
|
1738
|
-
-
|
1738
|
+
- scan/lib
|
1739
|
+
- frameit/lib
|
1740
|
+
- deliver/lib
|
1741
|
+
- precheck/lib
|
1739
1742
|
- pilot/lib
|
1740
1743
|
- pem/lib
|
1741
|
-
- supply/lib
|
1742
|
-
- credentials_manager/lib
|
1743
|
-
- precheck/lib
|
1744
|
-
- scan/lib
|
1745
|
-
- fastlane/lib
|
1746
|
-
- produce/lib
|
1747
|
-
- snapshot/lib
|
1748
|
-
- fastlane_core/lib
|
1749
1744
|
- spaceship/lib
|
1750
1745
|
- sigh/lib
|
1751
1746
|
- gym/lib
|
1752
|
-
- cert/lib
|
1753
|
-
- frameit/lib
|
1754
|
-
- deliver/lib
|
1755
1747
|
- match/lib
|
1748
|
+
- fastlane_core/lib
|
1749
|
+
- cert/lib
|
1750
|
+
- screengrab/lib
|
1751
|
+
- snapshot/lib
|
1752
|
+
- credentials_manager/lib
|
1753
|
+
- fastlane/lib
|
1754
|
+
- supply/lib
|
1755
|
+
- produce/lib
|
1756
1756
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1757
1757
|
requirements:
|
1758
1758
|
- - ">="
|