juggernaut 0.5.5 → 0.5.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.
@@ -5,7 +5,7 @@ require 'json'
5
5
  $:.unshift(File.dirname(__FILE__))
6
6
 
7
7
  module Juggernaut
8
- VERSION = '0.5.5'
8
+ VERSION = '0.5.6'
9
9
 
10
10
  class JuggernautError < StandardError #:nodoc:
11
11
  end
@@ -78,9 +78,9 @@ module Juggernaut
78
78
  add_new_connection(subscriber)
79
79
  end
80
80
 
81
- def to_s
81
+ def to_json
82
82
  {
83
- :id => @id.to_s,
83
+ :id => @id,
84
84
  :session_id => @session_id
85
85
  }.to_json
86
86
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: juggernaut
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5
4
+ version: 0.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex MacCaw
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-03 00:00:00 +01:00
12
+ date: 2008-08-07 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency