mailboxer 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/notification.rb +1 -1
- data/mailboxer.gemspec +1 -1
- metadata +3 -3
data/app/models/notification.rb
CHANGED
@@ -78,7 +78,7 @@ class Notification < ActiveRecord::Base
|
|
78
78
|
#Returns if the participant have read the Notification
|
79
79
|
def is_unread?(participant)
|
80
80
|
return false if participant.nil?
|
81
|
-
return self.receipt_for(participant).first.read
|
81
|
+
return !self.receipt_for(participant).first.read
|
82
82
|
end
|
83
83
|
|
84
84
|
#Returns if the participant have trashed the Notification
|
data/mailboxer.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "mailboxer"
|
3
|
-
s.version = "0.2.
|
3
|
+
s.version = "0.2.3"
|
4
4
|
s.authors = ["Eduardo Casanova Cuesta"]
|
5
5
|
s.summary = "Messaging system for rails apps."
|
6
6
|
s.description = "A Rails engine that allows any model to act as messageable, permitting it interchange messages with any other messageable model." +
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailboxer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 3
|
10
|
+
version: 0.2.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Eduardo Casanova Cuesta
|