active_tools 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f43a9ebc2dd27494d5cbed87234480cb4cdf0ba3
4
- data.tar.gz: 64d747b58c0a83634bab4323b48fad8ea7841a1a
3
+ metadata.gz: 35b5f97ee5ecc8e3963a023e8364de243e8f4490
4
+ data.tar.gz: 3486f436c95d814d036d10c5d308e607334c8f71
5
5
  SHA512:
6
- metadata.gz: c4f0be6b3636377cd5b8112d902751687f1a5f1e0b65a48021785e30cb82470deb6820bbd8c5128efabd0cff267d9621cf5342f86f5f3f3c62cef1c5c863996a
7
- data.tar.gz: beb00d742899400207972944b2287c97412b6f9d463c6310145dc3b1c3420492619895e187e045c51b8b88c0bfa3353966233e1e91489e6fec7375e20d8907a2
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
@@ -1,3 +1,3 @@
1
1
  module ActiveTools
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-05 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails