fastlane 1.86.0 → 1.86.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9c9b5874340da8868b5536d71f394c40aea0705
4
- data.tar.gz: 8fadb3ff20ccc551f5d0933089dea99dab1974da
3
+ metadata.gz: 4c36464d6cc1f31bcc0d5a3d012a7614e7b6ac1a
4
+ data.tar.gz: a2a4331e9aaa4d5765b894b580761a7dc4581297
5
5
  SHA512:
6
- metadata.gz: 104f28cc136ea24e172200213dffdf3c5bf300ef1cce035f1f72c77fb140d3c621a1e8f0e392cc1e5fe313bf1a37d3545dc7f7e87c00b5da95254a8147c29676
7
- data.tar.gz: 5777323ac3e25f85a78a587a5ffeffeaab262288700d821c1e31f5c9238cbb0b6076030d98309dbcef271b27927cd33bddd770d9206f13081fbb4e6d92b216be
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)
@@ -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 = Helper.backticks("cat #{fastfile_path.shellescape} | grep \"^\s*lane \:\" | awk -F ':' '{print $2}' | awk -F ' ' '{print $1}'")
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
- self.runner.trigger_action_by_name(method_sym, *arguments)
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
@@ -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)
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '1.86.0'.freeze
2
+ VERSION = '1.86.1'.freeze
3
3
  DESCRIPTION = "The easiest way to automate building and releasing your iOS and Android apps"
4
4
  end
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.0
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.6.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