jstp 1.3.2 → 1.3.4

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.
Files changed (3) hide show
  1. data/lib/jstp/engine.rb +5 -1
  2. data/lib/jstp/version.rb +1 -1
  3. metadata +3 -3
@@ -26,7 +26,11 @@ module JSTP
26
26
  @config.logger.debug exception.backtrace.to_s
27
27
  end
28
28
  else
29
- raise ClientNotFoundError, "Client #{message.token.first} is not registered in this server"
29
+ if respond_to? :client_not_found
30
+ client_not_found message.token.first, message
31
+ else
32
+ raise ClientNotFoundError, "Client #{message.token.first} is not registered in this server"
33
+ end
30
34
  end
31
35
  else
32
36
  if the_class.ancestors.include? JSTP::Controller
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module JSTP
3
- VERSION = "1.3.2"
3
+ VERSION = "1.3.4"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jstp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-02-20 00:00:00.000000000 Z
14
+ date: 2013-02-22 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: em-websocket
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  requirements: []
201
201
  rubyforge_project:
202
- rubygems_version: 1.8.25
202
+ rubygems_version: 1.8.23
203
203
  signing_key:
204
204
  specification_version: 3
205
205
  summary: Reference implementation for the sketch protocol JSTP