openssl-extensions 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -62,7 +62,15 @@ module OpenSSLExtensions::X509::Certificate
|
|
62
62
|
def ==(other)
|
63
63
|
to_pem == other.to_pem
|
64
64
|
end
|
65
|
+
alias_method :eql?, :==
|
65
66
|
|
67
|
+
##
|
68
|
+
# Override the default Object#hash to identify uniqueness of the
|
69
|
+
# Certificate. This uses a hash of the certificate PEM.
|
70
|
+
#
|
71
|
+
def hash
|
72
|
+
to_pem.hash
|
73
|
+
end
|
66
74
|
end
|
67
75
|
|
68
76
|
OpenSSL::X509::Certificate.send(:include, OpenSSLExtensions::X509::Certificate)
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openssl-extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Nathaniel Bibler
|
@@ -14,16 +15,18 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-12 00:00:00 -04:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rspec
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 62196421
|
27
30
|
segments:
|
28
31
|
- 2
|
29
32
|
- 0
|
@@ -63,16 +66,20 @@ rdoc_options: []
|
|
63
66
|
require_paths:
|
64
67
|
- lib
|
65
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
66
70
|
requirements:
|
67
71
|
- - ">="
|
68
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
69
74
|
segments:
|
70
75
|
- 0
|
71
76
|
version: "0"
|
72
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
73
79
|
requirements:
|
74
80
|
- - ">="
|
75
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 23
|
76
83
|
segments:
|
77
84
|
- 1
|
78
85
|
- 3
|
@@ -81,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
88
|
requirements: []
|
82
89
|
|
83
90
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.3.
|
91
|
+
rubygems_version: 1.3.7
|
85
92
|
signing_key:
|
86
93
|
specification_version: 3
|
87
94
|
summary: Helper methods and extensions for OpenSSL to make the interface more intuitive.
|