message_train 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d2b0ce1dabae635f1cca2912833c427dc6c7589
|
4
|
+
data.tar.gz: 17bfda09b56467dfbc83c1b3959ae55b8c93235c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60bf458eee0d608e754d973a4efada29c5e514e5718989b7acc5997a2eff2e4ee498696f6eb909a28f98452992db402864032e9848fa93fedfd1ca0d7e13462
|
7
|
+
data.tar.gz: ec2ae9038e3e0759f55ca94916ae7390c3cc780a79b14ce07ad0b3214348e7295995c009e0ab99c25b2952d8b23ad2d93a8cca40a3c778a855ffbb4dc3e467ff
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.4
|
@@ -67,9 +67,11 @@ module MessageTrain
|
|
67
67
|
updated_at = boxes.collect do |x|
|
68
68
|
x.conversations && x.conversations.maximum(:updated_at)
|
69
69
|
end.compact.max
|
70
|
+
logger.debug("updated_at #{updated_at.inspect}")
|
70
71
|
updated_at && parts << [
|
71
72
|
updated_at
|
72
73
|
]
|
74
|
+
logger.debug("parts #{parts.inspect}")
|
73
75
|
parts
|
74
76
|
end
|
75
77
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
- unless boxes.empty?
|
2
2
|
- cache boxes_dropdown_cache_key(boxes), 'message-train' do
|
3
|
-
= dropdown_nav_item "#{:box_title_in.l} #{badge(boxes.first.unread_count.to_s) unless boxes.first.unread_count
|
3
|
+
= dropdown_nav_item "#{:box_title_in.l} #{badge(boxes.first.unread_count.to_s) unless boxes.first.unread_count == 0}".html_safe, '#' do
|
4
4
|
- boxes.each do |box|
|
5
5
|
= box_nav_item box
|
data/message_train.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: message_train 0.6.
|
5
|
+
# stub: message_train 0.6.4 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "message_train"
|
9
|
-
s.version = "0.6.
|
9
|
+
s.version = "0.6.4"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|