openssl-additions 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openssl/yaml_serialization.rb +11 -16
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c002f0205350fca421c6edb69f29e96cb17691b2878211542ead695aeb59fe8f
|
4
|
+
data.tar.gz: ecdbaf9fc58ab1d58a04df73ebdd14c59e4ed3efe72e86fee3bad7d00d18cbdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fba57730fb6e4967ab67b97c94a7c82fd907b2b0dfbcbdbbeb059f79e3d745eb16e40ce6e90c71b3ffdf12234f13335e237ccd5386581cdefe338751f46f4d0
|
7
|
+
data.tar.gz: 2ba9996f6dcdc468d8bff817d5a8c8ebc6e8b97eb5146c11ded5fdacd2081f5a9223d0598638879879e42ba2b7fc6c92a6c20501d69d734f5e12cdf40b261182
|
@@ -1,22 +1,17 @@
|
|
1
1
|
require "openssl"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
coder
|
6
|
-
|
7
|
-
|
8
|
-
def init_with(coder)
|
9
|
-
self.__send__(:initialize, coder['der'])
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
class OpenSSL::PKey::PKey
|
14
|
-
def encode_with(coder)
|
15
|
-
coder['der'] = self.to_der
|
16
|
-
end
|
3
|
+
module OpenSSL::YamlSerialization
|
4
|
+
module DER
|
5
|
+
def encode_with(coder)
|
6
|
+
coder['der'] = self.to_der
|
7
|
+
end
|
17
8
|
|
18
|
-
|
19
|
-
|
9
|
+
def init_with(coder)
|
10
|
+
self.__send__(:initialize, coder['der'])
|
11
|
+
end
|
20
12
|
end
|
21
13
|
end
|
22
14
|
|
15
|
+
OpenSSL::X509::Certificate.prepend(OpenSSL::YamlSerialization::DER)
|
16
|
+
OpenSSL::X509::Name.prepend(OpenSSL::YamlSerialization::DER)
|
17
|
+
OpenSSL::PKey::PKey.prepend(OpenSSL::YamlSerialization::DER)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openssl-additions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
|
-
rubygems_version: 3.0.
|
194
|
+
rubygems_version: 3.0.3
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: Quality-of-life improvements to the core openssl ruby library
|