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: f4ab226f5d819a919fe1b0afc3f83923a724c556
4
- data.tar.gz: ce97206bf833214ec3643fc9f138e38f100a26e3
3
+ metadata.gz: 0d2b0ce1dabae635f1cca2912833c427dc6c7589
4
+ data.tar.gz: 17bfda09b56467dfbc83c1b3959ae55b8c93235c
5
5
  SHA512:
6
- metadata.gz: d797f7244555754691efb47115a3e34b7a148374c0d02e5be42c70e612a9c98cf54af4b5a0f9d7fbf2793de2bf3af19d6d1b3eafb5ae0310e8427e928bcf17de
7
- data.tar.gz: 22647248d1871fd1fff640a0c234f38e199b9eaf4ac3743a5b6cd021900c79016b13a06c5c45d76591eb7b0e867950e8c876fa830ab279e4c5d88f41acc32c57
6
+ metadata.gz: d60bf458eee0d608e754d973a4efada29c5e514e5718989b7acc5997a2eff2e4ee498696f6eb909a28f98452992db402864032e9848fa93fedfd1ca0d7e13462
7
+ data.tar.gz: ec2ae9038e3e0759f55ca94916ae7390c3cc780a79b14ce07ad0b3214348e7295995c009e0ab99c25b2952d8b23ad2d93a8cca40a3c778a855ffbb4dc3e467ff
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.3
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.to_i == 0}".html_safe, '#' do
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
@@ -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.3 ruby lib
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.3"
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"]
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.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren