cert 0.2.0 → 0.2.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 +4 -4
- data/README.md +1 -1
- data/lib/cert/developer_center.rb +7 -4
- data/lib/cert/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1613b46cf5a0b4f57ac5e90ba9b08551c03bb78c
|
4
|
+
data.tar.gz: 635914b5ce20080fd08c25d8536d4b471a1c59af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d5ccf6591453392d977741fc12ff51e4151f7f4b4a35a7d85f7797a46f053714ef308767e811ebd5bad37ef4e406e41f0ee8f7d4389b9f232a405346db35af4
|
7
|
+
data.tar.gz: ed9086fc6162cf754b612b0e0019be63ebc5b99836f38f123245e6c4577bbb4ea392d263e2b6d5df621736fb1a6eac7408099ccd2f2f4564aa0e91990890fd03
|
data/README.md
CHANGED
@@ -127,7 +127,7 @@ This will result in `sigh` always using the correct signing certificate, which i
|
|
127
127
|
|
128
128
|
|
129
129
|
## How is my password stored?
|
130
|
-
```cert``` uses the [password manager](https://github.com/
|
130
|
+
```cert``` uses the [password manager](https://github.com/fastlane/CredentialsManager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/fastlane/CredentialsManager) for more information.
|
131
131
|
|
132
132
|
# Tips
|
133
133
|
|
@@ -126,7 +126,10 @@ module Cert
|
|
126
126
|
|
127
127
|
raise "Something went wrong when downloading the certificate" unless data
|
128
128
|
|
129
|
-
|
129
|
+
# write data to file
|
130
|
+
dataWritten = File.open(output_path, "wb") do |f|
|
131
|
+
f.write(data)
|
132
|
+
end
|
130
133
|
|
131
134
|
if dataWritten == 0
|
132
135
|
raise "Can't write to #{output_path}"
|
@@ -174,9 +177,9 @@ module Cert
|
|
174
177
|
|
175
178
|
raise "Something went wrong with request to #{url}" unless certs
|
176
179
|
certs.each do |current_cert|
|
177
|
-
if current_cert['typeString'] == certTypeName
|
178
|
-
# The other profiles are push profiles
|
179
|
-
# We only care about the distribution profile
|
180
|
+
if current_cert['typeString'] == certTypeName and current_cert['canDownload']
|
181
|
+
# The other profiles are push profiles or ones we are not allowed to download
|
182
|
+
# We only care about the distribution profile that we can download
|
180
183
|
available << current_cert # mostly we only care about the 'certificateId'
|
181
184
|
end
|
182
185
|
end
|
data/lib/cert/version.rb
CHANGED
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.2.
|
4
|
+
version: 0.2.1
|
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-05-
|
11
|
+
date: 2015-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|