active_tools 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_tools/active_record/with_permalink.rb +2 -1
- data/lib/active_tools/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: 35b5f97ee5ecc8e3963a023e8364de243e8f4490
|
4
|
+
data.tar.gz: 3486f436c95d814d036d10c5d308e607334c8f71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa9a896cc121bf17c70b3bec62a7c66ea2980e4eea84d7255bcf7068a0895acd34221a43b33de4b9191539d3ee48d1165dc2cc8a01bf005d327182abeb730d9c
|
7
|
+
data.tar.gz: c70a5459085b61c6ce0d3c993b8f84134708827772d9fe12d87209b98e7ada010294c764987e926cd6fd4e15ad22fe0dbc55825d2f11aad9c1df2194aa9f54e4
|
@@ -20,7 +20,8 @@ module ActiveTools
|
|
20
20
|
|
21
21
|
validates_presence_of column_name
|
22
22
|
validates_uniqueness_of column_name, uniqueness_options
|
23
|
-
|
23
|
+
validates_length_of column_name, :maximum => 255
|
24
|
+
|
24
25
|
before_validation do
|
25
26
|
self.with_permalink_options.each do |column_name, options|
|
26
27
|
eval <<-EOV
|
data/lib/active_tools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Valery Kvon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|