cocoapods-keys 2.2.0 → 2.2.1

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
  SHA256:
3
- metadata.gz: b6c9529f911bc1da54b3bf5acecaab6c1e10922f0a662bf3e0301e336667c685
4
- data.tar.gz: 83217559e14d12d768810cc1e294c3eafebbdac70a349091b80d914a031f22b7
3
+ metadata.gz: 86d06ce794bdfa758b1001238ec11e6ae635274623f72ca9722ff33b7b11ae4c
4
+ data.tar.gz: bd2d607a2b0956d7c2e0fc620fc2bd115861dbc041fe297c474a1b63c33b49b1
5
5
  SHA512:
6
- metadata.gz: befbe6c59cfe87a18bef30ef6b175efdb282e018728e521a36c305047901cc6cb1ceb0e203acdbabfa6d10cbf8a789faeb0b6d55556fdcbf2f06efaf5070ee7d
7
- data.tar.gz: f2b9a7a591e40a8b689e6989a9e00cd23e2ed8d8ea65b8bfcadb7b8768b3ce84c2e38f42fb47c176ffe9fc619868ead02fa15d456f3747f1daf80f46d3118c06
6
+ metadata.gz: fea1b50b535fedd2326333f297620ec467d2de7416a7bae36af2cfe7414f85edf9b69b30cc08648adcd4294718e14ccab7c3d37cbffca2f687290f3e2d452fc8
7
+ data.tar.gz: dfb7ce7bd1ff9648f802357c32acf44579ae76b1e035d1b526f73b7b1b901b314ab3eacd9fc739b0d137e3c61455dfb6f23a1f9c85e2084b56a3f542860e7a0a
@@ -1,5 +1,9 @@
1
1
  ## Master
2
2
 
3
+ ## 2.2.1
4
+
5
+ * Fixed Keys.m generation when there are empty-string keys. [rogerluan]
6
+
3
7
  ## 2.2.0
4
8
 
5
9
  * Revised template which doesn't allow for secrets to appear in the binaries in modern Xcode builds. [ashfurrow]
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-keys (2.2.0)
4
+ cocoapods-keys (2.1.0)
5
5
  dotenv
6
6
  osx_keychain
7
7
 
@@ -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.7.4)
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.17.3
119
+ 1.16.4
@@ -1,3 +1,3 @@
1
1
  module CocoaPodsKeys
2
- VERSION = '2.2.0'.freeze
2
+ VERSION = '2.2.1'.freeze
3
3
  end
@@ -21,7 +21,11 @@
21
21
  if (!(self = [super init])) { return nil; }
22
22
 
23
23
  <% @keys.each do |key, value| %>
24
- char <%= key %>CString[<%= @indexed_keys[key].length + 1 %>] = { <%= key_data_arrays[key] %>, '\0' };
24
+ <% if @indexed_keys[key].length > 0 %>
25
+ char <%= key %>CString[<%= @indexed_keys[key].length + 1 %>] = { <%= key_data_arrays[key] %>, '\0' };
26
+ <% else %>
27
+ char <%= key %>CString[<%= @indexed_keys[key].length + 1 %>] = { '\0' };
28
+ <% end %>
25
29
  _<%= key %> = <% if @indexed_keys.length > 0 %>
26
30
  <% if @indexed_keys[key].length > 0 %>
27
31
  [NSString stringWithCString:<%= key %>CString encoding:NSUTF8StringEncoding];
@@ -32,7 +36,7 @@
32
36
  @"";
33
37
  <% end %>
34
38
  <% end %>
35
-
39
+
36
40
  return self;
37
41
  }
38
42
 
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.2.0
4
+ version: 2.2.1
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: 2020-03-26 00:00:00.000000000 Z
12
+ date: 2020-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: osx_keychain
@@ -163,7 +163,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubygems_version: 3.1.2
166
+ rubyforge_project:
167
+ rubygems_version: 2.7.6
167
168
  signing_key:
168
169
  specification_version: 4
169
170
  summary: CocoaPods Keys will store sensitive data in your Mac's keychain. Then on