message_train 0.6.5 → 0.6.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a18fd0a7b79a7768c4e1f3bf80b2be99b8b4555
4
- data.tar.gz: 613c48f41533b0a5434371eb71557a2defe84fc2
3
+ metadata.gz: 33ddfafe50e968dbebb7d0f65a55def458397731
4
+ data.tar.gz: 43acb5695c306986fa89f1c7f6029bd076b2544a
5
5
  SHA512:
6
- metadata.gz: d82da70824bc93962e19beb5f1b5bd142bad7602f5788d457ca2c638c060766f04e031d3b36c9d6671e8c827c5335a75db65c7c941c61aab743f11fddeb394e9
7
- data.tar.gz: 1de3038cb1291acbb9111ad74b6a0d6b46eb8a40713eb56c8bb2310756ab312f757006843a34a5136172c0a6a727795d721a7ef4dc32d41e8c4316e796364787
6
+ metadata.gz: 88f7f70f312809905d60ad876686053e5c959487d3d7a2a30cc69164ff98fe96ef83cab703ba06bb75c917245fa04aa63cdf68e781f7af68f2ebd5423d35071c
7
+ data.tar.gz: e8521a53a2d8e1ba10b01ac3cf8f8ebacb0d715129bb3a9eb2a77c854ab902af885a1d40489c0c21999fb4226fc5bcc67ed0155573ab99621bde24554bff59bd
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.5
1
+ 0.6.6
@@ -64,12 +64,14 @@ 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 + [0]).compact.max
69
+ end.compact
70
+ logger.debug("updated_at #{updated_at.inspect}")
70
71
  updated_at && parts << [
71
- updated_at
72
+ updated_at.max
72
73
  ]
74
+ logger.debug("parts #{parts.inspect}")
73
75
  parts
74
76
  end
75
77
 
@@ -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 ruby lib
5
+ # stub: message_train 0.6.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "message_train"
9
- s.version = "0.6.5"
9
+ s.version = "0.6.6"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren