acts_as_chattable 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/acts_as_chattable.gemspec +2 -2
- data/coverage/.resultset.json +3 -3
- data/lib/acts_as_chattable/model.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5539087813210da9805baf0b0defe4d4c3734042
|
4
|
+
data.tar.gz: 4775660f1815a3df61f9284fdce422fed208f4a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6182d5da09698f4da338ca3be5cb394362e783c61e99f9fa54af84eb9acca7e38bfc8eb78c28dd0d5778fcc88838d56157ee74f89944848d219fa6fc5a0b7aa9
|
7
|
+
data.tar.gz: e98702a1f97c04abae176398799f92c6d4e069d00f49b471010f41048771c0683327e38f6f3db6867758be1d0959477d793dfddd85f4ee6cf9d3f93cb21f348d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/acts_as_chattable.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "acts_as_chattable"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Bruscella"]
|
12
|
-
s.date = "2013-08-
|
12
|
+
s.date = "2013-08-13"
|
13
13
|
s.email = "ben@logicbox.com.au"
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"README.md"
|
data/coverage/.resultset.json
CHANGED
@@ -311,7 +311,7 @@
|
|
311
311
|
null,
|
312
312
|
null,
|
313
313
|
1,
|
314
|
-
|
314
|
+
133,
|
315
315
|
null,
|
316
316
|
null,
|
317
317
|
1,
|
@@ -319,7 +319,7 @@
|
|
319
319
|
null,
|
320
320
|
null,
|
321
321
|
1,
|
322
|
-
|
322
|
+
132,
|
323
323
|
null,
|
324
324
|
null,
|
325
325
|
null
|
@@ -338,6 +338,6 @@
|
|
338
338
|
null
|
339
339
|
]
|
340
340
|
},
|
341
|
-
"timestamp":
|
341
|
+
"timestamp": 1376370366
|
342
342
|
}
|
343
343
|
}
|
@@ -68,7 +68,7 @@ module ActsAsChattable
|
|
68
68
|
ActsAsChattable::Message.where("(received_messageable_id = #{self.id} AND sent_messageable_id = #{friend.id})
|
69
69
|
OR
|
70
70
|
(sent_messageable_id = #{self.id} AND received_messageable_id = #{friend.id})")
|
71
|
-
.order('id DESC')
|
71
|
+
.order('id DESC')
|
72
72
|
end
|
73
73
|
|
74
74
|
# @return [ActiveRecord::Relation] returns all messages from inbox
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_chattable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Bruscella
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|