fastlane 0.1.17 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 990a4c33219bf6ede28910783bb7c1d69cf43aac
4
- data.tar.gz: 6cc51c2c95034b0175d065dc728a7679d5235676
3
+ metadata.gz: c08d6deb51fb737343ca2c4ae1ce4bb55d847413
4
+ data.tar.gz: ab06affaf917a58a9a96b869961b00e6ce800878
5
5
  SHA512:
6
- metadata.gz: 8b0694deae169ac03823891331f17405bf5643211362d38c586035fbbf43c2544c6fddc31a0aeb44e1acde2f2ebd9f664f84f643eaf3855801380bef9af0c1c7
7
- data.tar.gz: 00a3bf1a20ab0e651ef24c68d3ef57a6cd3493d9613a8efe413a51f5f3ba4947c5507f5017f744036da7e61fe5360602b5b849b019f1ef837b5ff006c969c8f1
6
+ metadata.gz: bad73425aa485e3ee0a037b9d27fcf47f9de96d6079663056f596f99371eab435b3676940e6a381baf6cccc291d6a65b826f8280579cd39d31333b4e5f440f8d
7
+ data.tar.gz: ec15de6387730d65926ca9f49f857552d317d9f3174614647bb3deea7da4c9c9836a6309b26e9ceb496eac87f71f687d124e8dfc6a33ba4727fee3fb4e2b3ff8
data/README.md CHANGED
@@ -182,7 +182,6 @@ The `cert` action can be used to make sure to have the latest signing certificat
182
182
 
183
183
  ```ruby
184
184
  cert
185
- sigh :force
186
185
  ```
187
186
 
188
187
  `fastlane` will automatically pass the signing certificate to use to `sigh`.
@@ -8,21 +8,30 @@ module Fastlane
8
8
  class CertAction
9
9
  def self.run(params)
10
10
  require 'cert'
11
+ require 'cert/options'
11
12
 
12
13
  return if Helper.test?
13
14
 
14
15
  Dir.chdir(FastlaneFolder.path || Dir.pwd) do
15
16
  # This should be executed in the fastlane folder
16
17
 
18
+ values = params.first
19
+ if params.kind_of?Array
20
+ # Old syntax
21
+ values = {}
22
+ params.each do |val|
23
+ values[val] = true
24
+ end
25
+ end
26
+
27
+ Cert.config = FastlaneCore::Configuration.create(Cert::Options.available_options, (values || {}))
28
+
17
29
  Cert::CertRunner.run
18
30
  cert_file_path = ENV["CER_FILE_PATH"]
19
31
  certificate_id = ENV["CER_CERTIFICATE_ID"]
20
32
  Actions.lane_context[SharedValues::CERT_FILE_PATH] = cert_file_path
21
33
  Actions.lane_context[SharedValues::CERT_CERTIFICATE_ID] = certificate_id
22
34
 
23
- installed = Cert::CertChecker.is_installed?cert_file_path
24
- raise "Could not find the newly generated certificate installed" unless installed
25
-
26
35
  Helper.log.info("Use signing certificate '#{certificate_id}' from now on!".green)
27
36
 
28
37
  ENV["SIGH_CERTIFICATE_ID"] = certificate_id
@@ -12,7 +12,16 @@ module Fastlane
12
12
  require 'sigh/manager'
13
13
  require 'credentials_manager/appfile_config'
14
14
 
15
- Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (params.first || {}))
15
+ values = params.first
16
+ if params.kind_of?Array
17
+ # Old syntax
18
+ values = {}
19
+ params.each do |val|
20
+ values[val] = true
21
+ end
22
+ end
23
+
24
+ Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (values || {}))
16
25
 
17
26
  path = Sigh::Manager.start
18
27
 
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '0.1.17'
2
+ VERSION = '0.1.18'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-08 00:00:00.000000000 Z
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - '>='
172
172
  - !ruby/object:Gem::Version
173
- version: 0.1.0
173
+ version: 0.1.3
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '>='
179
179
  - !ruby/object:Gem::Version
180
- version: 0.1.0
180
+ version: 0.1.3
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: bundler
183
183
  requirement: !ruby/object:Gem::Requirement