acts_as_metadata 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/metadata/metadata_type.rb +1 -1
- data/lib/metadata/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -19,7 +19,7 @@ class MetadataType < ActiveRecord::Base
|
|
19
19
|
attr_accessible :tag, :name, :description, :models, :mandatory,
|
20
20
|
:default, :format, :datatype, :values, :multiple,
|
21
21
|
:models_json, :values_json, :default_json
|
22
|
-
validates :tag, :presence => true, :format => {:with => /^[a-z]+[a-z0-
|
22
|
+
validates :tag, :presence => true, :format => {:with => /^[a-z]+[a-z0-9_]*$/},
|
23
23
|
:exclusion => { :in => %w(format errors callback action categorie accept attributes host key layout notify open render save template type id parent_id lft rgt test select),
|
24
24
|
:message => "this name is reserved"}
|
25
25
|
validates :datatype, :presence => true
|
data/lib/metadata/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_metadata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|