tem_ruby 0.11.4 → 0.11.5
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/Rakefile +3 -3
- data/bin/tem_proxy +3 -0
- data/tem_ruby.gemspec +5 -5
- metadata +3 -3
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -10,10 +10,10 @@ Echoe.new('tem_ruby') do |p|
|
|
10
10
|
p.email = 'victor@costan.us'
|
11
11
|
p.summary = 'TEM (Trusted Execution Module) driver, written in and for ruby.'
|
12
12
|
p.url = 'http://tem.rubyforge.org'
|
13
|
-
p.dependencies = ['smartcard >=0.4.
|
13
|
+
p.dependencies = ['smartcard >=0.4.2']
|
14
14
|
|
15
|
-
p.need_tar_gz = !
|
16
|
-
p.need_zip = !
|
15
|
+
p.need_tar_gz = !Gem.win_platform?
|
16
|
+
p.need_zip = !Gem.win_platform?
|
17
17
|
p.rdoc_pattern = /^(lib|bin|tasks|ext)|^BUILD|^README|^CHANGELOG|^TODO|^LICENSE|^COPYING$/
|
18
18
|
end
|
19
19
|
|
data/bin/tem_proxy
CHANGED
@@ -29,6 +29,9 @@ class ServingLogic
|
|
29
29
|
@serving.disconnect if @connected
|
30
30
|
@connected = false
|
31
31
|
end
|
32
|
+
def card_atr
|
33
|
+
@serving.card_atr
|
34
|
+
end
|
32
35
|
def exchange_apdu(apdu)
|
33
36
|
@logger.info "APDU request: #{apdu.map { |n| '%02x' % n }.join(' ')}"
|
34
37
|
response = @serving.exchange_apdu apdu
|
data/tem_ruby.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{tem_ruby}
|
5
|
-
s.version = "0.11.
|
5
|
+
s.version = "0.11.5"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Victor Costan"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-11-01}
|
10
10
|
s.description = %q{TEM (Trusted Execution Module) driver, written in and for ruby.}
|
11
11
|
s.email = %q{victor@costan.us}
|
12
12
|
s.executables = ["tem_bench", "tem_ca", "tem_irb", "tem_proxy", "tem_stat"]
|
@@ -25,11 +25,11 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.specification_version = 3
|
26
26
|
|
27
27
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
-
s.add_runtime_dependency(%q<smartcard>, [">= 0.4.
|
28
|
+
s.add_runtime_dependency(%q<smartcard>, [">= 0.4.2"])
|
29
29
|
else
|
30
|
-
s.add_dependency(%q<smartcard>, [">= 0.4.
|
30
|
+
s.add_dependency(%q<smartcard>, [">= 0.4.2"])
|
31
31
|
end
|
32
32
|
else
|
33
|
-
s.add_dependency(%q<smartcard>, [">= 0.4.
|
33
|
+
s.add_dependency(%q<smartcard>, [">= 0.4.2"])
|
34
34
|
end
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tem_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.5
|
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: 2009-
|
12
|
+
date: 2009-11-01 01:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.4.
|
23
|
+
version: 0.4.2
|
24
24
|
version:
|
25
25
|
description: TEM (Trusted Execution Module) driver, written in and for ruby.
|
26
26
|
email: victor@costan.us
|