fastlane 1.86.0 → 1.86.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/actions/device_grid/README.md +2 -0
- data/lib/fastlane/fast_file.rb +1 -1
- data/lib/fastlane/fastlane_folder.rb +1 -1
- data/lib/fastlane/other_action.rb +12 -1
- data/lib/fastlane/runner.rb +4 -3
- data/lib/fastlane/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c36464d6cc1f31bcc0d5a3d012a7614e7b6ac1a
|
4
|
+
data.tar.gz: a2a4331e9aaa4d5765b894b580761a7dc4581297
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6943e3b76bf3f23163e7724fa1770ad1fa76760f7407364871974314a9d57b9514954282a3fb8cfda9ad41ed2b19c47487f05bccd40726291a2dc44b452a71fe
|
7
|
+
data.tar.gz: 64fd2730fa04157b1d8c9ccdc34d9d07496b9cb7fb427b2bd7416f6c8e3e458cc2a0f8b9591d2a6a69fc71072ac1e879c3f93d8f82ce773d105ceb3ddb0ae426
|
@@ -6,6 +6,8 @@ No more manually installing and testing your app just to review a PR.
|
|
6
6
|
|
7
7
|
![assets/GridExampleScreenshot.png](assets/GridExampleScreenshot.png)
|
8
8
|
|
9
|
+
[View Example Pull Request](https://github.com/Themoji/ios/pull/12#issuecomment-215836315)
|
10
|
+
|
9
11
|
## Requirements
|
10
12
|
|
11
13
|
- [fastlane](https://fastlane.tools)
|
data/lib/fastlane/fast_file.rb
CHANGED
@@ -127,7 +127,7 @@ module Fastlane
|
|
127
127
|
|
128
128
|
# Is used to look if the method is implemented as an action
|
129
129
|
def method_missing(method_sym, *arguments, &_block)
|
130
|
-
self.runner.trigger_action_by_name(method_sym, *arguments)
|
130
|
+
self.runner.trigger_action_by_name(method_sym, nil, *arguments)
|
131
131
|
end
|
132
132
|
|
133
133
|
#####################################################
|
@@ -36,7 +36,7 @@ module Fastlane
|
|
36
36
|
# Use this only if performance is :key:
|
37
37
|
def self.available_lanes
|
38
38
|
return [] if fastfile_path.nil?
|
39
|
-
output =
|
39
|
+
output = `cat #{fastfile_path.shellescape} | grep \"^\s*lane \:\" | awk -F ':' '{print $2}' | awk -F ' ' '{print $1}'`
|
40
40
|
return output.strip.split(" ").collect(&:to_sym)
|
41
41
|
end
|
42
42
|
end
|
@@ -11,7 +11,18 @@ module Fastlane
|
|
11
11
|
|
12
12
|
# Allows the user to call an action from an action
|
13
13
|
def method_missing(method_sym, *arguments, &_block)
|
14
|
-
|
14
|
+
# We have to go inside the fastlane directory
|
15
|
+
# since in the fastlane runner.rb we do the following
|
16
|
+
# custom_dir = ".."
|
17
|
+
# Dir.chdir(custom_dir) do
|
18
|
+
# this goes one folder up, since we're inside the "fastlane"
|
19
|
+
# folder at that point
|
20
|
+
# Since we call an action from an action we need to go inside
|
21
|
+
# the fastlane folder too
|
22
|
+
|
23
|
+
self.runner.trigger_action_by_name(method_sym,
|
24
|
+
"./fastlane",
|
25
|
+
*arguments)
|
15
26
|
end
|
16
27
|
end
|
17
28
|
end
|
data/lib/fastlane/runner.rb
CHANGED
@@ -88,7 +88,7 @@ module Fastlane
|
|
88
88
|
|
89
89
|
# This is being called from `method_missing` from the Fastfile
|
90
90
|
# It's also used when an action is called from another action
|
91
|
-
def trigger_action_by_name(method_sym, *arguments)
|
91
|
+
def trigger_action_by_name(method_sym, custom_dir, *arguments)
|
92
92
|
method_str = method_sym.to_s
|
93
93
|
method_str.delete!('?') # as a `?` could be at the end of the method name
|
94
94
|
|
@@ -108,7 +108,7 @@ module Fastlane
|
|
108
108
|
# confusing
|
109
109
|
if class_ref && class_ref.respond_to?(:run)
|
110
110
|
# Action is available, now execute it
|
111
|
-
return self.execute_action(method_sym, class_ref, arguments)
|
111
|
+
return self.execute_action(method_sym, class_ref, arguments, custom_dir: custom_dir)
|
112
112
|
else
|
113
113
|
UI.user_error!("Action '#{method_sym}' of class '#{class_name}' was found, but has no `run` method.")
|
114
114
|
end
|
@@ -147,7 +147,8 @@ module Fastlane
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
def execute_action(method_sym, class_ref, arguments, custom_dir:
|
150
|
+
def execute_action(method_sym, class_ref, arguments, custom_dir: nil)
|
151
|
+
custom_dir ||= '..'
|
151
152
|
collector.did_launch_action(method_sym)
|
152
153
|
|
153
154
|
verify_supported_os(method_sym, class_ref)
|
data/lib/fastlane/version.rb
CHANGED
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: 1.86.
|
4
|
+
version: 1.86.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -907,7 +907,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
907
907
|
version: '0'
|
908
908
|
requirements: []
|
909
909
|
rubyforge_project:
|
910
|
-
rubygems_version: 2.
|
910
|
+
rubygems_version: 2.4.0
|
911
911
|
signing_key:
|
912
912
|
specification_version: 4
|
913
913
|
summary: The easiest way to automate building and releasing your iOS and Android apps
|