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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0d2b0ce1dabae635f1cca2912833c427dc6c7589
4
- data.tar.gz: 17bfda09b56467dfbc83c1b3959ae55b8c93235c
3
+ metadata.gz: 9a18fd0a7b79a7768c4e1f3bf80b2be99b8b4555
4
+ data.tar.gz: 613c48f41533b0a5434371eb71557a2defe84fc2
5
5
  SHA512:
6
- metadata.gz: d60bf458eee0d608e754d973a4efada29c5e514e5718989b7acc5997a2eff2e4ee498696f6eb909a28f98452992db402864032e9848fa93fedfd1ca0d7e13462
7
- data.tar.gz: ec2ae9038e3e0759f55ca94916ae7390c3cc780a79b14ce07ad0b3214348e7295995c009e0ab99c25b2952d8b23ad2d93a8cca40a3c778a855ffbb4dc3e467ff
6
+ metadata.gz: d82da70824bc93962e19beb5f1b5bd142bad7602f5788d457ca2c638c060766f04e031d3b36c9d6671e8c827c5335a75db65c7c941c61aab743f11fddeb394e9
7
+ data.tar.gz: 1de3038cb1291acbb9111ad74b6a0d6b46eb8a40713eb56c8bb2310756ab312f757006843a34a5136172c0a6a727795d721a7ef4dc32d41e8c4316e796364787
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.4
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
 
@@ -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.4 ruby lib
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.4"
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"]
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.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren