validation_profiler 1.3.3 → 1.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/validation_profiler/class_methods.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: e81208909d259403e8b90697aeed8ef8bcd0d66e
|
4
|
+
data.tar.gz: c26fabf37e6cc9ff74a90bde7e5b88161e303058
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8245b2cc2d4aac5a32f9fc96adb0284bfc05a4c1df509e84b0339bcc79f5e8b77c019a476683257c7cdd407305f5cd31e217618c05b6f18a55720467edfa56
|
7
|
+
data.tar.gz: b75cc8fa44bf2265728f75101e9117c47787e107d6acb84d0cb7a235156f392528b6f69e745f0c1ceca09d942335a40aef64ce8e90b248febbe6a0f997b23737
|
@@ -8,7 +8,7 @@ class Class
|
|
8
8
|
# @param attributes [Hash] [Optional] A has containing the validation rule options
|
9
9
|
def validates(field, rule, attributes = {})
|
10
10
|
|
11
|
-
puts "[
|
11
|
+
puts "[ValidationProfile] - Method depreciated. Please use 'extend ValidationProfiler' in your validation profile class to access the 'validates' method."
|
12
12
|
|
13
13
|
if !self.class_variable_defined?(:@@validation_rules)
|
14
14
|
self.class_variable_set(:@@validation_rules, [])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validation_profiler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sage One
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|