message_train 0.2.10 → 0.2.11

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: decee4e0c9ea1965a48bf2a7d2ccdea9150fcb3e
4
- data.tar.gz: bcc2ba68147278062971b4188b9bed4238b4cde4
3
+ metadata.gz: eb586d74fbf9c24076d07818708532037b483571
4
+ data.tar.gz: aaa8b03e7bde1ca8ee2a8c9e6ac2dd0d11c673ff
5
5
  SHA512:
6
- metadata.gz: 62b6a74481815e2f2eb4dbe44ce29d1f4210cc0f7ee3cb86960aa13694ff8fb82a896791535462e823ead1c1cedb1ec1b9e9ae3061c1429e0e7d18609c8d3e25
7
- data.tar.gz: a0e245d0b2285bcb71dc331fd2edefde4455b48384bcaf3b3d9d1897a057dac64acad095591ad756afdd0af2290ef93b8a0d3f86bac82ad9c2a897c87da13bc4
6
+ metadata.gz: aa4b29668e21da1e9c2a8e64afb726c3599d7066da39383180aa5725d75166c2cfca15c61b66a3fd1a75fb4ec2864ba888f3e14c44d2626aa2cf41f55348776e
7
+ data.tar.gz: 5e04811f6248ff63895602d9f2507faa2cc51a774fbbf439a42c2200833bbe2fd9786e6cd98e87367d1da99fa5b0239dd235f227eb2eba593f5f1fa8f1a89d65
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.10
1
+ 0.2.11
@@ -1,4 +1,4 @@
1
1
  - unless boxes.empty?
2
- = dropdown_nav_item "#{:box_title_in.l} #{badge boxes.first.unread_count.to_s}".html_safe, '#' do
2
+ = dropdown_nav_item "#{:box_title_in.l} #{badge(boxes.first.unread_count.to_s) unless boxes.first.unread_count == 0}".html_safe, '#' do
3
3
  - boxes.each do |box|
4
4
  = box_nav_item box
@@ -1,6 +1,6 @@
1
1
  - unless collective_boxes.empty?
2
2
  - collective_boxes.each do |key, boxes|
3
3
  - if show[key]
4
- = dropdown_nav_item "#{key.to_s.humanize} #{badge total_unread_count[key].to_s}".html_safe, '#' do
4
+ = dropdown_nav_item "#{key.to_s.humanize} #{badge(total_unread_count[key].to_s) unless total_unread_count[key] == 0}".html_safe, '#' do
5
5
  - boxes.each do |box|
6
6
  = collective_nav_item box, box_user
@@ -2,16 +2,16 @@
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.2.10 ruby lib
5
+ # stub: message_train 0.2.11 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "message_train"
9
- s.version = "0.2.10"
9
+ s.version = "0.2.11"
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"]
13
13
  s.authors = ["Karen Lundgren"]
14
- s.date = "2016-01-11"
14
+ s.date = "2016-01-15"
15
15
  s.description = "Rails 4 Engine providing private/public messaging for any object, such as Users or Groups"
16
16
  s.email = "karen.e.lundgren@gmail.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: message_train
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-11 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails