certstore_c 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/certstore_c.gemspec +2 -2
- data/ext/certstore/certstore.c +2 -0
- data/ext/certstore/certstore.h +4 -4
- data/ext/certstore/loader.c +5 -2
- data/lib/certstore/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9b6d92fc9d0350ef8d2829558727e60d13ab466eddc01c07bf3385c5bd2240e
|
4
|
+
data.tar.gz: d58995f2d11ff578f6939440ce205b5c00e0b533e7f85323e3d58e95ec8f0f99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de0d1745f8f9822f95ac7076ed1fbc76c5fe5c2e68c2c82a2e851b52e15dd472e15f525399e5e3612a666de1262669c002ad90be52b04e5ddbab0e8c7a295ebb
|
7
|
+
data.tar.gz: 28f5917ee7fe7e10240b3a22aff123ef6a8aa96cc3931e4585c0e6a5c2f7f04a23d62a56f49df16d4fc15a50723c5f76e385e173911f86a586c1e289b6d45d9d
|
data/certstore_c.gemspec
CHANGED
@@ -6,8 +6,8 @@ require "certstore/version"
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "certstore_c"
|
8
8
|
spec.version = Certstore::VERSION
|
9
|
-
spec.authors = ["Hiroshi Hatake"]
|
10
|
-
spec.email = ["cosmo0920.wp@gmail.com"]
|
9
|
+
spec.authors = ["Hiroshi Hatake", "Takuro Ashie"]
|
10
|
+
spec.email = ["cosmo0920.wp@gmail.com", "ashie@clear-code.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{Windows CertStore loader and ruby-openssl extension for TLS connection.}
|
13
13
|
spec.description = spec.summary
|
data/ext/certstore/certstore.c
CHANGED
data/ext/certstore/certstore.h
CHANGED
@@ -31,11 +31,11 @@
|
|
31
31
|
|
32
32
|
#include <wincrypt.h>
|
33
33
|
|
34
|
-
VALUE rb_mCertstore;
|
35
|
-
VALUE rb_cCertLoader;
|
36
|
-
VALUE rb_eCertLoaderError;
|
34
|
+
extern VALUE rb_mCertstore;
|
35
|
+
extern VALUE rb_cCertLoader;
|
36
|
+
extern VALUE rb_eCertLoaderError;
|
37
37
|
|
38
38
|
void handle_error_code(VALUE self, DWORD errCode);
|
39
|
-
void Init_certstore_loader(VALUE
|
39
|
+
void Init_certstore_loader(VALUE certstore);
|
40
40
|
|
41
41
|
#endif // _WINEVT_H
|
data/ext/certstore/loader.c
CHANGED
@@ -11,6 +11,9 @@
|
|
11
11
|
|
12
12
|
#include <certstore.h>
|
13
13
|
|
14
|
+
VALUE rb_cCertLoader;
|
15
|
+
VALUE rb_eCertLoaderError;
|
16
|
+
|
14
17
|
struct CertstoreLoader
|
15
18
|
{
|
16
19
|
HCERTSTORE hStore;
|
@@ -502,9 +505,9 @@ error:
|
|
502
505
|
}
|
503
506
|
|
504
507
|
void
|
505
|
-
Init_certstore_loader(VALUE
|
508
|
+
Init_certstore_loader(VALUE certstore)
|
506
509
|
{
|
507
|
-
rb_cCertLoader = rb_define_class_under(
|
510
|
+
rb_cCertLoader = rb_define_class_under(certstore, "Loader", rb_cObject);
|
508
511
|
rb_eCertLoaderError =
|
509
512
|
rb_define_class_under(rb_cCertLoader, "LoaderError", rb_eStandardError);
|
510
513
|
|
data/lib/certstore/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: certstore_c
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hiroshi Hatake
|
8
|
+
- Takuro Ashie
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2020-05-15 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: bundler
|
@@ -89,6 +90,7 @@ dependencies:
|
|
89
90
|
description: Windows CertStore loader and ruby-openssl extension for TLS connection.
|
90
91
|
email:
|
91
92
|
- cosmo0920.wp@gmail.com
|
93
|
+
- ashie@clear-code.com
|
92
94
|
executables: []
|
93
95
|
extensions:
|
94
96
|
- ext/certstore/extconf.rb
|
@@ -138,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
140
|
version: '0'
|
139
141
|
requirements: []
|
140
142
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.7.
|
143
|
+
rubygems_version: 2.7.6.2
|
142
144
|
signing_key:
|
143
145
|
specification_version: 4
|
144
146
|
summary: Windows CertStore loader and ruby-openssl extension for TLS connection.
|