ratchetio 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,7 @@ module Ratchetio
|
|
10
10
|
:headers => ratchetio_request_headers,
|
11
11
|
:GET => request.GET.to_hash,
|
12
12
|
# leaving out POST for now
|
13
|
+
:session => ratchetio_session_data,
|
13
14
|
:method => request.method,
|
14
15
|
}
|
15
16
|
end
|
@@ -87,6 +88,14 @@ module Ratchetio
|
|
87
88
|
headers
|
88
89
|
end
|
89
90
|
|
91
|
+
def ratchetio_session_data
|
92
|
+
if session.respond_to?(:to_hash)
|
93
|
+
session.to_hash
|
94
|
+
else
|
95
|
+
session.data
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
90
99
|
end
|
91
100
|
end
|
92
101
|
end
|
data/lib/ratchetio/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ratchetio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Rails plugin to catch and send exceptions to Ratchet.io
|
15
15
|
email:
|