tem_multi_proxy 0.2.5 → 0.2.6

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 CHANGED
@@ -1,3 +1,5 @@
1
+ v0.2.6. Updated to API for smartcard 0.4.6 (TEM_PORT replaced by SCARD_PORT).
2
+
1
3
  v0.2.5. Added forgotten dependency on tem_ruby, updated documentation.
2
4
 
3
5
  v0.2.4. Updated to API for smartcard 0.4.0.
@@ -90,7 +90,7 @@ class Manager
90
90
  def spawn_proxy_for_reader(reader)
91
91
  proxy_port = alloc_proxy_port reader[:name]
92
92
  proxy_pid = Zerg::Support::Process.spawn 'tem_proxy', [proxy_port.to_s],
93
- :env => {'TEM_PORT' => reader[:name], 'DEBUG' => 'no'},
93
+ :env => {'SCARD_PORT' => reader[:name], 'DEBUG' => 'no'},
94
94
  :pgroup => true
95
95
  @proxy_pids[reader[:name]] = proxy_pid
96
96
  end
@@ -1,4 +1,4 @@
1
- # RPC client for a tem_multi_proxy server.
1
+ # RPC server for a tem_multi_proxy server.
2
2
  #
3
3
  # Author:: Victor Costan
4
4
  # Copyright:: Copyright (C) 2009 Massachusetts Institute of Technology
@@ -11,7 +11,12 @@ require 'set'
11
11
 
12
12
  # :nodoc: namespace
13
13
  module Tem::MultiProxy
14
-
14
+
15
+ # RPC server for a tem_multi_proxy server.
16
+ #
17
+ # The server's RPC interface provides administrative information about the cards
18
+ # connected to it. To communicate with the smart-cards, use the transports in
19
+ # the smartcard gem (see the Smartcard::Iso namespace).
15
20
  class Server
16
21
  DEFAULT_PORT = 9051
17
22
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tem_multi_proxy}
5
- s.version = "0.2.5"
5
+ s.version = "0.2.6"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tem_multi_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Costan