cert 0.1.9 → 0.2.0

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: f5e773ae9f705bc353317a9121e29ad8cbeaef91
4
- data.tar.gz: f15ca9f1cdca17ae450a2b74b700783c7f0299c5
3
+ metadata.gz: 302850811f77c5a8ce271230f50e3bd432956e47
4
+ data.tar.gz: de082bbf128e9f94b3f372c8d369dc4f1be95f31
5
5
  SHA512:
6
- metadata.gz: 238917f129ba54779f9165456fa86d6a6c15f2832e30da354727908adf1e1b800d8baa5ecce1da745f343ccf3daa59e3830a7583630b9d80174585f7acba175b
7
- data.tar.gz: 057c411e78a5983907a6d89ab12cc65330c217624d560ec913363202d011ad3070f47f870febbd964cbb22b8e0274ac37ab3aa8043d98368605914cca71ab67e
6
+ metadata.gz: 45a630b1de478c35ed1f34aa956854bd4516085fd3fb68d6bbe8b546e280462d68f2b02afde076630ddeaf7759e95e02244c94979bcf1e919e42fdd96d21a15b
7
+ data.tar.gz: ab718b2614aee45d932eeb7708d104dcd5f371d92ae1a4e0d782232d0e8aabb45c2aebb2c092bd0cc8b22dcf8a422b611b306b23f5076a1361f9cae22658b905
data/README.md CHANGED
@@ -100,6 +100,7 @@ In case you prefer environment variables:
100
100
  - ```CERT_USERNAME```
101
101
  - ```CERT_TEAM_ID```
102
102
  - ```CERT_KEYCHAIN_PATH``` The path to a specific Keychain if you don't want to use the default one
103
+ - ```CERT_SIGNING_REQUEST_PATH``` Path to your own signing request file
103
104
  - ```FASTLANE_TEAM_NAME``` (the Team Name, e.g. `Felix Krause`)
104
105
 
105
106
  ## Use with [`sigh`](https://github.com/KrauseFx/sigh)
data/lib/cert/options.rb CHANGED
@@ -32,6 +32,14 @@ module Cert
32
32
  optional: true,
33
33
  verify_block: Proc.new do |value|
34
34
  raise "Keychain not found at path '#{value}'".red unless File.exists?value
35
+ end),
36
+ FastlaneCore::ConfigItem.new(key: :signing_request_path,
37
+ short_option: "-s",
38
+ env_name: "CERT_SIGNING_REQUEST_PATH",
39
+ description: "Path to a signing request file (optional)",
40
+ optional: true,
41
+ verify_block: Proc.new do |value|
42
+ raise "File not found at path '#{value}'".red unless File.exists?value
35
43
  end)
36
44
  ]
37
45
  end
@@ -3,6 +3,8 @@ require 'openssl'
3
3
  module Cert
4
4
  class SigningRequest
5
5
  def self.get_path
6
+ return Cert.config[:signing_request_path] if Cert.config[:signing_request_path]
7
+
6
8
  self.generate
7
9
  end
8
10
 
data/lib/cert/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cert
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cert
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
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-04-22 00:00:00.000000000 Z
11
+ date: 2015-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.0
19
+ version: 0.7.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.6.0
26
+ version: 0.7.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement