fastlane 0.12.0 → 0.12.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: b6af986f5285287dc4be0672d7567284e404ad1f
4
- data.tar.gz: 349556bcb8ecd9755d3276a1691c14e3fe423e43
3
+ metadata.gz: 41ca963a21db94ad0c7034c004bc6cf91e20c7a0
4
+ data.tar.gz: a0b2d1a2e25095c2c170209162899b94c67eb13c
5
5
  SHA512:
6
- metadata.gz: c28b00dfefe71736fefdedc38cf21f224113e2f66a7f2b9ec80c9c08012251c167fd05e5c3e53a8183b3a086ccc421b055e4cde9cd8202f39f9d6ebcaa00d080
7
- data.tar.gz: 26a97d1667f249374d9cdc7338a3344305fb8698dc613c8a5483a4eeb508357e0b4a891e50ce694741d9ffb374c893872a2b9f2bac5c6b3c7bc36e4b0564c0cd
6
+ metadata.gz: 42de646ad4a1dda39e7b26e491c5b028f4bcfaad0b540b9d96e3ee8794ed2f3e437fe3e0f9671b8dbc2f94182ab888c4b409eff0795d57926046dd3e28e05a43
7
+ data.tar.gz: b8c88f09aab6620d7bb3d0e191aac59fb2a1769981b2b92a93af8f199dcaa2dabe6184d45e24c02da9736261ac8a4148f78a03b5a345b40cf25cdf96fdbfd7a7
@@ -18,16 +18,7 @@ module Fastlane
18
18
  Dir.chdir(FastlaneFolder.path || Dir.pwd) do
19
19
  # This should be executed in the fastlane folder
20
20
 
21
- values = params.first
22
- unless values.kind_of?Hash
23
- # Old syntax
24
- values = {}
25
- params.each do |val|
26
- values[val] = true
27
- end
28
- end
29
-
30
- Cert.config = FastlaneCore::Configuration.create(Cert::Options.available_options, (values || {}))
21
+ Cert.config = params # we alread have the finished config
31
22
 
32
23
  Cert::CertRunner.run
33
24
  cert_file_path = ENV["CER_FILE_PATH"]
@@ -62,6 +62,7 @@ module Fastlane
62
62
  FastlaneCore::ConfigItem.new(key: :xcodeproj,
63
63
  env_name: "FL_BUILD_NUMBER_PROJECT",
64
64
  description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
65
+ optional: true,
65
66
  verify_block: Proc.new do |value|
66
67
  raise "Please pass the path to the project, not the workspace".red if value.include?"workspace"
67
68
  raise "Could not find Xcode project".red if (not File.exists?(value) and not Helper.is_test?)
@@ -1,34 +1,25 @@
1
1
  module Fastlane
2
2
  module Actions
3
- module SharedValues
4
-
5
- end
6
-
7
3
  class PemAction < Action
8
4
  def self.run(params)
9
5
  require 'pem'
10
6
  require 'pem/options'
11
7
  require 'pem/manager'
12
8
 
13
- values = params.first
14
-
15
9
  begin
16
10
  FastlaneCore::UpdateChecker.start_looking_for_update('pem') unless Helper.is_test?
17
11
 
18
- success_block = values[:new_profile]
19
- values.delete(:new_profile) # as it's not in the configs
12
+ success_block = params[:new_profile]
20
13
 
21
- PEM.config = FastlaneCore::Configuration.create(PEM::Options.available_options, (values || {}))
14
+ PEM.config = params
22
15
  profile_path = PEM::Manager.start
23
16
 
24
17
  if profile_path
25
- success_block.call(File.expand_path(profile_path))
18
+ success_block.call(File.expand_path(profile_path)) if success_block
26
19
  end
27
20
  ensure
28
21
  FastlaneCore::UpdateChecker.show_update_status('pem', PEM::VERSION)
29
22
  end
30
- rescue => ex
31
- puts ex
32
23
  end
33
24
 
34
25
  def self.description
@@ -51,7 +42,15 @@ module Fastlane
51
42
  def self.available_options
52
43
  require 'pem'
53
44
  require 'pem/options'
54
- PEM::Options.available_options
45
+
46
+ unless @options
47
+ @options = PEM::Options.available_options
48
+ @options << FastlaneCore::ConfigItem.new(key: :new_profile,
49
+ env_name: "",
50
+ description: "Block that is called if there is a new profile",
51
+ optional: true)
52
+ end
53
+ @options
55
54
  end
56
55
 
57
56
  def self.is_supported?(platform)
@@ -6,26 +6,16 @@ module Fastlane
6
6
  end
7
7
 
8
8
  class SighAction < Action
9
- def self.run(params)
9
+ def self.run(values)
10
10
  require 'sigh'
11
11
  require 'sigh/options'
12
12
  require 'sigh/manager'
13
13
  require 'credentials_manager/appfile_config'
14
14
 
15
- values = params.first
16
-
17
- unless values.kind_of?Hash
18
- # Old syntax
19
- values = {}
20
- params.each do |val|
21
- values[val] = true
22
- end
23
- end
24
-
25
15
  begin
26
16
  FastlaneCore::UpdateChecker.start_looking_for_update('sigh') unless Helper.is_test?
27
17
 
28
- Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (values || {}))
18
+ Sigh.config = values # we alread have the finished config
29
19
 
30
20
  path = Sigh::Manager.start
31
21
 
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '0.12.0'
2
+ VERSION = '0.12.1'
3
3
  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: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - '>='
158
158
  - !ruby/object:Gem::Version
159
- version: 0.9.1
159
+ version: 0.9.2
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - '>='
165
165
  - !ruby/object:Gem::Version
166
- version: 0.9.1
166
+ version: 0.9.2
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: snapshot
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - '>='
200
200
  - !ruby/object:Gem::Version
201
- version: 0.5.3
201
+ version: 0.5.4
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - '>='
207
207
  - !ruby/object:Gem::Version
208
- version: 0.5.3
208
+ version: 0.5.4
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: sigh
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -240,14 +240,14 @@ dependencies:
240
240
  requirements:
241
241
  - - '>='
242
242
  - !ruby/object:Gem::Version
243
- version: 0.1.6
243
+ version: 0.1.7
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - '>='
249
249
  - !ruby/object:Gem::Version
250
- version: 0.1.6
250
+ version: 0.1.7
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: bundler
253
253
  requirement: !ruby/object:Gem::Requirement