active_conformity 0.2.14 → 0.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -2
- data/lib/active_conformity/conformable_extensions.rb +8 -0
- data/lib/active_conformity/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 071f3c54359ec32df8a9b27db0513a0c129cb9fe
|
4
|
+
data.tar.gz: f1c3e64afb59ae754d56268463efa25e5fb55046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46f5eb607af67167008f043ae01122e24a5e33776296a2f3d66868c2391cb7def4b01e4637d2bcabe2340a1944e975f3bcfd23523b4ad3301d04d9b7b4345fc1
|
7
|
+
data.tar.gz: fbb9b54be3e53c9c81f14cea3ee554f3bc6d1bacabc2692bf25a2726d553280507d545b34e0bbb6e6f63906ff9b8abb8350b5878112f1fb11bd5d872955bea02
|
data/README.md
CHANGED
@@ -117,12 +117,11 @@ diesel_engine.add_conformity_set!( {size: {:numericality => { :greater_than => 9
|
|
117
117
|
diesel_engine.remove_coformity_rule!(:size)
|
118
118
|
|
119
119
|
```
|
120
|
-
|
120
|
+
Additionally, if you want to remove all of the conformity sets for a conformable, you can do the following:
|
121
121
|
|
122
122
|
```ruby
|
123
123
|
diesel_engine.remove_rules!
|
124
124
|
```
|
125
|
-
Again this method can be used with or without a bang!
|
126
125
|
|
127
126
|
##
|
128
127
|
## Development
|