fastlane 2.90.0.beta.20180406050006 → 2.90.0.beta.20180407050037
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/actions/git_add.rb +26 -17
- 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: 19a0f8b513b702481041254a6c7b98dac9be6043
|
4
|
+
data.tar.gz: 314cf856db006f5c3eb8144e1613e5af361f49a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1372e3167b9fa3ecef95757bb982f2be780af5d97ec1db0e0f85ec1b6ec983923da251eba3cbfadaf61e5a24d8d868282ee862b7959f5c1208aa31f30c1e734
|
7
|
+
data.tar.gz: f0a4a6c1cceeb1408c19051e24290da13abe79de6733d6255ff3610f37c122ce95d622b0d3aa096619444130f5751be3f3d82c525186c528ef0f785d0555a116
|
@@ -2,14 +2,18 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class GitAddAction < Action
|
4
4
|
def self.run(params)
|
5
|
+
should_escape = params[:shell_escape]
|
6
|
+
|
5
7
|
if params[:pathspec]
|
6
8
|
paths = params[:pathspec]
|
7
9
|
UI.success("Successfully added from \"#{paths}\" 💾.")
|
8
10
|
elsif params[:path]
|
9
11
|
if params[:path].kind_of?(String)
|
10
|
-
paths = params[:path]
|
11
|
-
|
12
|
-
paths = params[:path].map
|
12
|
+
paths = shell_escape(params[:path], should_escape)
|
13
|
+
elsif params[:path].kind_of?(Array)
|
14
|
+
paths = params[:path].map do |p|
|
15
|
+
shell_escape(p, should_escape)
|
16
|
+
end.join(' ')
|
13
17
|
end
|
14
18
|
UI.success("Successfully added \"#{paths}\" 💾.")
|
15
19
|
else
|
@@ -21,6 +25,11 @@ module Fastlane
|
|
21
25
|
return result
|
22
26
|
end
|
23
27
|
|
28
|
+
def self.shell_escape(path, should_escape)
|
29
|
+
path = path.shellescape if should_escape
|
30
|
+
path
|
31
|
+
end
|
32
|
+
|
24
33
|
#####################################################
|
25
34
|
# @!group Documentation
|
26
35
|
#####################################################
|
@@ -32,24 +41,22 @@ module Fastlane
|
|
32
41
|
def self.available_options
|
33
42
|
[
|
34
43
|
FastlaneCore::ConfigItem.new(key: :path,
|
35
|
-
description: "The file you want to add",
|
44
|
+
description: "The file(s) and path(s) you want to add",
|
36
45
|
is_string: false,
|
37
46
|
conflicting_options: [:pathspec],
|
38
|
-
optional: true,
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end),
|
47
|
+
optional: true),
|
48
|
+
FastlaneCore::ConfigItem.new(key: :shell_escape,
|
49
|
+
description: "Shell escapes paths (set to false if using wildcards or manually escaping spaces in :path)",
|
50
|
+
is_string: false,
|
51
|
+
default_value: true,
|
52
|
+
optional: true),
|
53
|
+
# Deprecated
|
48
54
|
FastlaneCore::ConfigItem.new(key: :pathspec,
|
49
55
|
description: "The pathspec you want to add files from",
|
50
56
|
is_string: true,
|
51
57
|
conflicting_options: [:path],
|
52
|
-
optional: true
|
58
|
+
optional: true,
|
59
|
+
deprecated: "Use --path instead")
|
53
60
|
]
|
54
61
|
end
|
55
62
|
|
@@ -70,8 +77,10 @@ module Fastlane
|
|
70
77
|
'git_add',
|
71
78
|
'git_add(path: "./version.txt")',
|
72
79
|
'git_add(path: ["./version.txt", "./changelog.txt"])',
|
73
|
-
'git_add(
|
74
|
-
'git_add(
|
80
|
+
'git_add(path: "./Frameworks/*", shell_escape: false',
|
81
|
+
'git_add(path: ["*.h", "*.m"], shell_escape: false)',
|
82
|
+
'git_add(path: "./Frameworks/*", shell_escape: false)',
|
83
|
+
'git_add(path: "*.txt", shell_escape: false)'
|
75
84
|
]
|
76
85
|
end
|
77
86
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.90.0.beta.
|
2
|
+
VERSION = '2.90.0.beta.20180407050037'.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.90.0.beta.
|
4
|
+
version: 2.90.0.beta.20180407050037
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manu Wallner
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-04-
|
30
|
+
date: 2018-04-07 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
|
-
-
|
1626
|
-
- fastlane/lib
|
1627
|
-
- pem/lib
|
1628
|
-
- supply/lib
|
1629
|
-
- snapshot/lib
|
1630
|
-
- produce/lib
|
1625
|
+
- gym/lib
|
1631
1626
|
- spaceship/lib
|
1627
|
+
- fastlane/lib
|
1632
1628
|
- precheck/lib
|
1633
|
-
- frameit/lib
|
1634
|
-
- credentials_manager/lib
|
1635
1629
|
- match/lib
|
1630
|
+
- sigh/lib
|
1631
|
+
- screengrab/lib
|
1636
1632
|
- fastlane_core/lib
|
1633
|
+
- supply/lib
|
1634
|
+
- pem/lib
|
1635
|
+
- deliver/lib
|
1637
1636
|
- cert/lib
|
1638
|
-
-
|
1639
|
-
- pilot/lib
|
1640
|
-
- sigh/lib
|
1637
|
+
- produce/lib
|
1641
1638
|
- scan/lib
|
1642
|
-
-
|
1639
|
+
- pilot/lib
|
1640
|
+
- credentials_manager/lib
|
1641
|
+
- frameit/lib
|
1642
|
+
- snapshot/lib
|
1643
1643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1644
|
requirements:
|
1645
1645
|
- - ">="
|