revent 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/revent/as_r.rb +1 -1
- data/lib/revent/r_r.rb +5 -5
- metadata +2 -2
data/lib/revent/as_r.rb
CHANGED
@@ -18,7 +18,7 @@ module Revent
|
|
18
18
|
TYPE_ERROR = 2
|
19
19
|
|
20
20
|
attr_writer :me
|
21
|
-
attr_accessor :
|
21
|
+
attr_accessor :session # Something that you want to associate with this connection
|
22
22
|
attr_writer :cons
|
23
23
|
|
24
24
|
def post_init
|
data/lib/revent/r_r.rb
CHANGED
@@ -12,7 +12,7 @@ module Revent
|
|
12
12
|
TYPE_ERROR = 2
|
13
13
|
|
14
14
|
attr_writer :me
|
15
|
-
attr_accessor :
|
15
|
+
attr_accessor :session # Something that you want to associate with this connection
|
16
16
|
attr_writer :cons # Only used for Revent::RRServer
|
17
17
|
|
18
18
|
def post_init
|
@@ -134,12 +134,12 @@ module Revent
|
|
134
134
|
|
135
135
|
# Utilities ------------------------------------------------------------------
|
136
136
|
|
137
|
-
def
|
138
|
-
@revent_con.
|
137
|
+
def session
|
138
|
+
@revent_con.session
|
139
139
|
end
|
140
140
|
|
141
|
-
def
|
142
|
-
@revent_con.
|
141
|
+
def session=(value)
|
142
|
+
@revent_con.session = value
|
143
143
|
end
|
144
144
|
|
145
145
|
def remote_ip
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: revent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ngoc DAO Thanh
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-03-07 00:00:00 +09:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|