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 CHANGED
@@ -1,3 +1,5 @@
1
+ * v0.2.3
2
+ 1. Make the live data compartable to ruby 1.8.x
1
3
  * v0.2.2
2
4
  1. New method set_read_time in User class.
3
5
  2. handle read & write locking in User class.
@@ -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, :groups, :user_in_groups, :group_have_users, :name
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
+
@@ -18,7 +18,8 @@ module LiveData
18
18
  # group2.read # { :title => "Greeti..... }
19
19
  class Group
20
20
 
21
- attr :users, :name
21
+ attr :users, true
22
+ attr :name, true
22
23
 
23
24
  # Create a group
24
25
  def initialize( name = nil, channel = nil )
@@ -5,7 +5,8 @@ module LiveData
5
5
  IntegerPackCode = "I"
6
6
  ReadTime = 30
7
7
 
8
- attr :groups, :name
8
+ attr :groups, true
9
+ attr :name, true
9
10
 
10
11
  # Create a user object
11
12
  def initialize( name = nil, channel = nil )
@@ -1,4 +1,4 @@
1
1
 
2
2
  module LiveData
3
- VERSION = '0.2.2'
3
+ VERSION = '0.2.3'
4
4
  end
data/lib/live_data.rb CHANGED
@@ -35,3 +35,4 @@ module LiveData
35
35
  end
36
36
 
37
37
  end
38
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: livedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mohammed Siddick. E