smartcard 0.2.2-mswin32 → 0.2.3-mswin32
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.
- data/CHANGELOG +2 -0
- data/LICENSE +0 -1
- data/ext/smartcard_pcsc/pcsc_card.c +1 -1
- data/ext/smartcard_pcsc/pcsc_io_request.c +1 -1
- data/ext/smartcard_pcsc/pcsc_reader_states.c +1 -1
- data/lib/smartcard/pcsc.so +0 -0
- data/smartcard.gemspec +11 -16
- metadata +35 -42
data/CHANGELOG
CHANGED
data/LICENSE
CHANGED
@@ -287,7 +287,7 @@ static VALUE PCSC_Card_transmit(VALUE self, VALUE rbSendData, VALUE rbSendIoRequ
|
|
287
287
|
return Qnil;
|
288
288
|
}
|
289
289
|
if(_PCSC_IoRequest_lowlevel_get(rbRecvIoRequest, &recv_io_request) == 0) {
|
290
|
-
rb_raise(rb_eArgError, "
|
290
|
+
rb_raise(rb_eArgError, "third argument (recv io request) is not an IoRequest instance");
|
291
291
|
return Qnil;
|
292
292
|
}
|
293
293
|
|
@@ -106,7 +106,7 @@ void Init_PCSC_IoRequest() {
|
|
106
106
|
int _PCSC_IoRequest_lowlevel_get(VALUE rbIoRequest, SCARD_IO_REQUEST **io_request) {
|
107
107
|
struct SCardIoRequestEx *request;
|
108
108
|
|
109
|
-
if(
|
109
|
+
if(!RTEST(rbIoRequest)) {
|
110
110
|
*io_request = NULL;
|
111
111
|
return 1;
|
112
112
|
}
|
@@ -311,7 +311,7 @@ void Init_PCSC_ReaderStates() {
|
|
311
311
|
int _PCSC_ReaderStates_lowlevel_get(VALUE rbReaderStates, SCARD_READERSTATE **reader_states, size_t *reader_states_count) {
|
312
312
|
struct PCSCReaderStates *states;
|
313
313
|
|
314
|
-
if(
|
314
|
+
if(!RTEST(rbReaderStates)) {
|
315
315
|
*reader_states = NULL;
|
316
316
|
*reader_states_count = 0;
|
317
317
|
return 1;
|
data/lib/smartcard/pcsc.so
CHANGED
Binary file
|
data/smartcard.gemspec
CHANGED
@@ -1,26 +1,21 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Smartcard-0.2.
|
2
|
+
# Gem::Specification for Smartcard-0.2.3
|
3
3
|
# Originally generated by Echoe
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = %q{smartcard}
|
7
|
-
s.version = "0.2.
|
8
|
-
s.
|
9
|
-
|
10
|
-
s.
|
11
|
-
|
12
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
|
-
s.authors = ["Victor Costan"]
|
14
|
-
s.date = %q{2007-12-03}
|
15
|
-
s.description = %q{Interface with ISO 7816 smart cards.}
|
7
|
+
s.version = "0.2.3"
|
8
|
+
s.date = %q{2008-01-10}
|
9
|
+
s.summary = %q{Interface with ISO 7816 smart cards.}
|
10
|
+
s.require_paths = ["lib", "ext"]
|
16
11
|
s.email = %q{victor@costan.us}
|
17
|
-
s.files = ["CHANGELOG", "ext/smartcard_pcsc/extconf.rb", "ext/smartcard_pcsc/pcsc.h", "ext/smartcard_pcsc/pcsc_card.c", "ext/smartcard_pcsc/pcsc_constants.c", "ext/smartcard_pcsc/pcsc_context.c", "ext/smartcard_pcsc/pcsc_io_request.c", "ext/smartcard_pcsc/pcsc_main.c", "ext/smartcard_pcsc/pcsc_multi_strings.c", "ext/smartcard_pcsc/pcsc_namespace.c", "ext/smartcard_pcsc/pcsc_reader_states.c", "ext/smartcard_pcsc/pcsc_surrogate_reader.h", "ext/smartcard_pcsc/pcsc_surrogate_wintypes.h", "lib/smartcard.rb", "LICENSE", "README", "test/test_all.rb", "tests/ts_pcsc_ext.rb", "Manifest", "smartcard.gemspec", "lib/smartcard/pcsc.so"]
|
18
|
-
s.has_rdoc = true
|
19
12
|
s.homepage = %q{http://www.costan.us/smartcard}
|
20
|
-
s.require_paths = ["lib", "ext"]
|
21
13
|
s.rubyforge_project = %q{smartcard}
|
22
|
-
s.
|
23
|
-
s.
|
14
|
+
s.description = %q{Interface with ISO 7816 smart cards.}
|
15
|
+
s.has_rdoc = true
|
16
|
+
s.platform = %q{mswin32}
|
17
|
+
s.authors = ["Victor Costan"]
|
18
|
+
s.files = ["CHANGELOG", "ext/smartcard_pcsc/extconf.rb", "ext/smartcard_pcsc/pcsc.h", "ext/smartcard_pcsc/pcsc_card.c", "ext/smartcard_pcsc/pcsc_constants.c", "ext/smartcard_pcsc/pcsc_context.c", "ext/smartcard_pcsc/pcsc_io_request.c", "ext/smartcard_pcsc/pcsc_main.c", "ext/smartcard_pcsc/pcsc_multi_strings.c", "ext/smartcard_pcsc/pcsc_namespace.c", "ext/smartcard_pcsc/pcsc_reader_states.c", "ext/smartcard_pcsc/pcsc_surrogate_reader.h", "ext/smartcard_pcsc/pcsc_surrogate_wintypes.h", "lib/smartcard.rb", "LICENSE", "README", "test/test_all.rb", "tests/ts_pcsc_ext.rb", "Manifest", "smartcard.gemspec", "lib/smartcard/pcsc.so"]
|
24
19
|
s.test_files = ["test/test_all.rb"]
|
25
20
|
end
|
26
21
|
|
@@ -62,4 +57,4 @@ end
|
|
62
57
|
# if $0 == __FILE__
|
63
58
|
# Rake.application = Rake::Application.new
|
64
59
|
# Rake.application.run
|
65
|
-
# end
|
60
|
+
# end
|
metadata
CHANGED
@@ -1,26 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.9.4
|
3
|
+
specification_version: 1
|
2
4
|
name: smartcard
|
3
5
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
6
|
+
version: 0.2.3
|
7
|
+
date: 2008-01-10 00:00:00 -05:00
|
8
|
+
summary: Interface with ISO 7816 smart cards.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
- ext
|
12
|
+
email: victor@costan.us
|
13
|
+
homepage: http://www.costan.us/smartcard
|
14
|
+
rubyforge_project: smartcard
|
15
|
+
description: Interface with ISO 7816 smart cards.
|
16
|
+
autorequire:
|
17
|
+
default_executable:
|
18
|
+
bindir: bin
|
19
|
+
has_rdoc: true
|
20
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">"
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.0.0
|
25
|
+
version:
|
5
26
|
platform: mswin32
|
27
|
+
signing_key:
|
28
|
+
cert_chain:
|
29
|
+
post_install_message:
|
6
30
|
authors:
|
7
31
|
- Victor Costan
|
8
|
-
autorequire:
|
9
|
-
bindir: bin
|
10
|
-
cert_chain: []
|
11
|
-
|
12
|
-
date: 2007-12-03 00:00:00 -05:00
|
13
|
-
default_executable:
|
14
|
-
dependencies: []
|
15
|
-
|
16
|
-
description: Interface with ISO 7816 smart cards.
|
17
|
-
email: victor@costan.us
|
18
|
-
executables: []
|
19
|
-
|
20
|
-
extensions: []
|
21
|
-
|
22
|
-
extra_rdoc_files: []
|
23
|
-
|
24
32
|
files:
|
25
33
|
- CHANGELOG
|
26
34
|
- ext/smartcard_pcsc/extconf.rb
|
@@ -43,32 +51,17 @@ files:
|
|
43
51
|
- Manifest
|
44
52
|
- smartcard.gemspec
|
45
53
|
- lib/smartcard/pcsc.so
|
46
|
-
|
47
|
-
|
48
|
-
post_install_message:
|
54
|
+
test_files:
|
55
|
+
- test/test_all.rb
|
49
56
|
rdoc_options: []
|
50
57
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
- !ruby/object:Gem::Version
|
58
|
-
version: "0"
|
59
|
-
version:
|
60
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
61
|
-
requirements:
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: "0"
|
65
|
-
version:
|
58
|
+
extra_rdoc_files: []
|
59
|
+
|
60
|
+
executables: []
|
61
|
+
|
62
|
+
extensions: []
|
63
|
+
|
66
64
|
requirements: []
|
67
65
|
|
68
|
-
|
69
|
-
|
70
|
-
signing_key:
|
71
|
-
specification_version: 2
|
72
|
-
summary: Interface with ISO 7816 smart cards.
|
73
|
-
test_files:
|
74
|
-
- test/test_all.rb
|
66
|
+
dependencies: []
|
67
|
+
|