livedata 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/lib/live_data/channel.rb +6 -1
- data/lib/live_data/group.rb +2 -1
- data/lib/live_data/user.rb +2 -1
- data/lib/live_data/version.rb +1 -1
- data/lib/live_data.rb +1 -0
- metadata +1 -1
data/CHANGELOG
CHANGED
data/lib/live_data/channel.rb
CHANGED
@@ -4,7 +4,11 @@ module LiveData
|
|
4
4
|
# Channel is used to maintain users, groups and user-group relation
|
5
5
|
class Channel
|
6
6
|
|
7
|
-
attr :users,
|
7
|
+
attr :users, true
|
8
|
+
attr :groups, true
|
9
|
+
attr :user_in_groups, true
|
10
|
+
attr :group_have_users, true
|
11
|
+
attr :name, true
|
8
12
|
|
9
13
|
# Create a new channel
|
10
14
|
def initialize( name = nil )
|
@@ -100,3 +104,4 @@ module LiveData
|
|
100
104
|
end
|
101
105
|
end
|
102
106
|
end
|
107
|
+
|
data/lib/live_data/group.rb
CHANGED
data/lib/live_data/user.rb
CHANGED
data/lib/live_data/version.rb
CHANGED
data/lib/live_data.rb
CHANGED