cocoapods-keys 2.0.7 → 2.1.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
- SHA256:
3
- metadata.gz: d212c192545c118db8780995809a10adf90973c52eb10672a09f0b3bdc82aaf8
4
- data.tar.gz: cc3c43a86c1dfc8dae80a2c07a707b6b632129503b86c38d0e70144e3bb315d7
2
+ SHA1:
3
+ metadata.gz: b910f42524934e5ca46ff37fb36c23bce9846bed
4
+ data.tar.gz: 1458df4292c8c09cff10d8092aa7b0e9965fc1dd
5
5
  SHA512:
6
- metadata.gz: b344a3a7f80c9d5eda7e16abd3463ff136a2ed56565846e83f366eea71e3b30395d7ec0c452320b00d7e1bff16da03a2e9d20a1edd3e112eb1b5187c861d51c3
7
- data.tar.gz: db05659e7d4796bd55be7aa0c25f6335b0cc90a4400c55fa6767ad451768ac8b0090b27e9f29ca10bbaa0b3c712fc1af03ff9db71865c9c6b78da1fa73a0465e
6
+ metadata.gz: a427fd01d8dfd2903c50d7a2721f1475601400e068a3a1dcb6bf172dd19d6542fcbdca5f7979e81c03a0c9aac2df7bb7c01968d14404982d19a4dd313df3cbd5
7
+ data.tar.gz: 53442f6c071284a8f1690cb3968a4c53197d5d02006350d2be68b6546115731148d74be7a9decebf49fcf1b1857cb6d8861b2b00e6db10ba78b43f5e3cb2813c
@@ -1,5 +1,9 @@
1
1
  ## Master
2
2
 
3
+ ## 2.1.0
4
+
5
+ * Add the ability to manually specify keys when running `pod keys generate`. [fwal]
6
+
3
7
  ## 2.0.7
4
8
 
5
9
  * Fix keys not recorded in YML on first run. [ileitch]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-keys (2.0.7)
4
+ cocoapods-keys (2.1.0)
5
5
  dotenv
6
6
  osx_keychain
7
7
 
@@ -11,7 +11,7 @@ GEM
11
11
  CFPropertyList (2.3.5)
12
12
  RubyInline (3.12.4)
13
13
  ZenTest (~> 4.3)
14
- ZenTest (4.11.1)
14
+ ZenTest (4.11.2)
15
15
  activesupport (4.2.9)
16
16
  i18n (~> 0.7)
17
17
  minitest (~> 5.1)
@@ -53,7 +53,7 @@ GEM
53
53
  colored (1.2)
54
54
  colored2 (3.1.2)
55
55
  diff-lcs (1.3)
56
- dotenv (2.5.0)
56
+ dotenv (2.6.0)
57
57
  escape (0.0.4)
58
58
  fourflusher (0.3.2)
59
59
  fuzzy_match (2.0.4)
@@ -116,4 +116,4 @@ DEPENDENCIES
116
116
  rubocop
117
117
 
118
118
  BUNDLED WITH
119
- 1.16.3
119
+ 1.16.4
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsKeys
2
- VERSION = '2.0.7'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  end
@@ -16,14 +16,19 @@ module Pod
16
16
 
17
17
  self.arguments = [CLAide::Argument.new('project_name', false)]
18
18
 
19
+ def self.options
20
+ [['--keys=key1,key2...', 'An array of keys to add if no keyring is found']].concat(super)
21
+ end
22
+
19
23
  def initialize(argv)
20
24
  @project_name = argv.shift_argument
25
+ @keys = argv.option('keys', '').split(',')
21
26
  super
22
27
  end
23
28
 
24
29
  def run
25
30
  Dotenv.load
26
- keyring = get_current_keyring
31
+ keyring = get_current_keyring || CocoaPodsKeys::Keyring.new(@project_name, '/', @keys)
27
32
 
28
33
  if keyring
29
34
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-keys
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-01-04 00:00:00.000000000 Z
12
+ date: 2019-02-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: osx_keychain
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
164
  version: '0'
165
165
  requirements: []
166
166
  rubyforge_project:
167
- rubygems_version: 2.7.6
167
+ rubygems_version: 2.5.2.3
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: CocoaPods Keys will store sensitive data in your Mac's keychain. Then on