acts_as_chattable 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: b3cd148dd17b0b7fb1313c6f727dfd53d3f0e3ac
|
|
4
|
+
data.tar.gz: 7b710c978d6b9de2a7eb8baaa22062b83ce0ae9e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebd8ccc924ee7943568accff637b5f33f0063c6d09ec0d858902404a7b369868afaaf358f749daa108eb2c5a414166ef87e671549f36048f6f82942d644fc182
|
|
7
|
+
data.tar.gz: cfa9535f1be400fbc6348124f6a5dc59bb11dc9a792c3262a3e95c7e3ae1998e9496af1a4deb71d4984c9aace0952f0325c8ebeb5b5d46223bc26eab65e0f423
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
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.3"
|
|
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-11"
|
|
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
|
+
132,
|
|
315
315
|
null,
|
|
316
316
|
null,
|
|
317
317
|
1,
|
|
@@ -319,7 +319,7 @@
|
|
|
319
319
|
null,
|
|
320
320
|
null,
|
|
321
321
|
1,
|
|
322
|
-
|
|
322
|
+
131,
|
|
323
323
|
null,
|
|
324
324
|
null,
|
|
325
325
|
null
|
|
@@ -338,6 +338,6 @@
|
|
|
338
338
|
null
|
|
339
339
|
]
|
|
340
340
|
},
|
|
341
|
-
"timestamp":
|
|
341
|
+
"timestamp": 1376210236
|
|
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').all
|
|
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.3
|
|
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-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|