message_train 0.6.4 → 0.6.5
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/app/helpers/message_train/boxes_helper.rb +2 -4
- data/message_train.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a18fd0a7b79a7768c4e1f3bf80b2be99b8b4555
|
4
|
+
data.tar.gz: 613c48f41533b0a5434371eb71557a2defe84fc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d82da70824bc93962e19beb5f1b5bd142bad7602f5788d457ca2c638c060766f04e031d3b36c9d6671e8c827c5335a75db65c7c941c61aab743f11fddeb394e9
|
7
|
+
data.tar.gz: 1de3038cb1291acbb9111ad74b6a0d6b46eb8a40713eb56c8bb2310756ab312f757006843a34a5136172c0a6a727795d721a7ef4dc32d41e8c4316e796364787
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
@@ -64,14 +64,12 @@ module MessageTrain
|
|
64
64
|
'boxes-dropdown',
|
65
65
|
@box_user
|
66
66
|
]
|
67
|
-
updated_at = boxes.collect do |x|
|
67
|
+
updated_at = (boxes.collect do |x|
|
68
68
|
x.conversations && x.conversations.maximum(:updated_at)
|
69
|
-
end.compact.max
|
70
|
-
logger.debug("updated_at #{updated_at.inspect}")
|
69
|
+
end + [0]).compact.max
|
71
70
|
updated_at && parts << [
|
72
71
|
updated_at
|
73
72
|
]
|
74
|
-
logger.debug("parts #{parts.inspect}")
|
75
73
|
parts
|
76
74
|
end
|
77
75
|
|
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.5 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.5"
|
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"]
|