ecm_cms_navigation 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,7 +15,7 @@ class Ecm::CmsNavigation::Navigation < ActiveRecord::Base
15
15
  before_validation :downcase_name
16
16
 
17
17
  def downcase_name
18
- self.name.downcase!
18
+ self.name.downcase! unless self.name.blank?
19
19
  end
20
20
 
21
21
  def has_navigation_items?
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module CmsNavigation
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ecm_cms_navigation
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Roberto Vasquez Angel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-06-21 00:00:00 Z
13
+ date: 2012-07-08 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails