smartcard 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- 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/smartcard.gemspec +5 -5
- metadata +3 -3
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/smartcard.gemspec
CHANGED
@@ -1,16 +1,16 @@
|
|
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.
|
7
|
+
s.version = "0.2.3"
|
8
8
|
|
9
9
|
s.specification_version = 2 if s.respond_to? :specification_version=
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.authors = ["Victor Costan"]
|
13
|
-
s.date = %q{
|
13
|
+
s.date = %q{2008-01-10}
|
14
14
|
s.description = %q{Interface with ISO 7816 smart cards.}
|
15
15
|
s.email = %q{victor@costan.us}
|
16
16
|
s.extensions = ["ext/smartcard_pcsc/extconf.rb"]
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.homepage = %q{http://www.costan.us/smartcard}
|
20
20
|
s.require_paths = ["lib", "ext"]
|
21
21
|
s.rubyforge_project = %q{smartcard}
|
22
|
-
s.rubygems_version = %q{0.
|
22
|
+
s.rubygems_version = %q{1.0.1}
|
23
23
|
s.summary = %q{Interface with ISO 7816 smart cards.}
|
24
24
|
s.test_files = ["test/test_all.rb"]
|
25
25
|
end
|
@@ -62,4 +62,4 @@ end
|
|
62
62
|
# if $0 == __FILE__
|
63
63
|
# Rake.application = Rake::Application.new
|
64
64
|
# Rake.application.run
|
65
|
-
# end
|
65
|
+
# end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smartcard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Victor Costan
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2008-01-10 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements: []
|
67
67
|
|
68
68
|
rubyforge_project: smartcard
|
69
|
-
rubygems_version: 0.
|
69
|
+
rubygems_version: 1.0.1
|
70
70
|
signing_key:
|
71
71
|
specification_version: 2
|
72
72
|
summary: Interface with ISO 7816 smart cards.
|