ecm_cms2 4.1.0 → 4.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/ecm/cms/navigation.rb +2 -1
- data/lib/ecm/cms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea7c8fad65ed6ac02fc65cfa1cf67891cb9751d4
|
4
|
+
data.tar.gz: 81e5e04aa9b7653906642c562e57c2bf5f0129e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d71e8df072c2e438c998265a82d324e38493a3276d7d19772250f6a41f999ba3d3e0fcdeef86d24caef7d267a18088ea0bae426fe1035815bc1c0f23a93150a
|
7
|
+
data.tar.gz: 456af7815b7cbc85d2e9307c897bff368aedeee72735bee35fe73897bbdd2930f11a1e68e4a99f9a81fe2d3109d3cf4483bc6397e7fe89ebfbebcec0f5328958
|
@@ -7,7 +7,8 @@ class Ecm::Cms::Navigation < ActiveRecord::Base
|
|
7
7
|
|
8
8
|
# validations
|
9
9
|
validates :locale, inclusion: I18n.available_locales.map(&:to_s),
|
10
|
-
allow_nil: true
|
10
|
+
allow_nil: true,
|
11
|
+
allow_blank: true
|
11
12
|
validates :name, presence: true,
|
12
13
|
uniqueness: { scope: [:locale] }
|
13
14
|
|
data/lib/ecm/cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_cms2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.
|
4
|
+
version: 4.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|