mv-postgresql 2.2.6 → 2.2.7
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 +4 -4
- data/README.md +11 -7
- 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: 82b8121afe7ad50145f9c730560ddb28dc2801ea
|
4
|
+
data.tar.gz: 928deca212c92867436157ccd8eb647fc7789bdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fff0e3da1a822508e0ba8b99ed2fead3f6b28a9a0b3210d4128c0d7ccdb6398fc28d8e2cd9a7909b638f96a12db05d3c1d918e95fe9dbb811a27ba3f18face3
|
7
|
+
data.tar.gz: e1e370f148e9cda24113911cb83a5a8bc3c5cc82637becb6f1f2d6dfd6a1643189f89d5daa168dabb3bbcae50444736fe63296ad66ff1a3c29419c85853f2f11
|
data/README.md
CHANGED
@@ -210,7 +210,7 @@ allow `NULL`:
|
|
210
210
|
* `is` - exact length of the value
|
211
211
|
* `maximum` - maximum allowed length
|
212
212
|
* `minimum` - minimum allowed length
|
213
|
-
* `message` - message that should be shown if validation failed and specific message is not defined
|
213
|
+
* `message` - message that should be shown if validation failed and specific message is not defined. Ignored unless `:as == :trigger`
|
214
214
|
* `too_long` - message that will be shown if value longer than allowed. Ignored unless maximum value is defined
|
215
215
|
* `too_short` - message that will be shown if value shorter than allowed. Ignored unless minimum value is defined
|
216
216
|
* `on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
@@ -318,7 +318,7 @@ allow `NULL`:
|
|
318
318
|
Options:
|
319
319
|
|
320
320
|
* `in` - range or array that column value should be contained in.
|
321
|
-
* `message` - message that should be shown if validation failed
|
321
|
+
* `message` - message that should be shown if validation failed. Ignored unless `:as == :trigger`
|
322
322
|
* `on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
323
323
|
* `create_tigger_name` - Name of the 'before insert' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :create]`
|
324
324
|
* `update_tigger_name` - Name of the 'before update' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :update]`
|
@@ -438,7 +438,7 @@ allow `NULL`:
|
|
438
438
|
Options:
|
439
439
|
|
440
440
|
* `:in` - range or array that column value should NOT be contained in.
|
441
|
-
* `:message` - message that should be shown if validation failed
|
441
|
+
* `:message` - message that should be shown if validation failed. Ignored unless `:as == :trigger`
|
442
442
|
* `:on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
443
443
|
* `:create_tigger_name` - Name of the 'before insert' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :create]`
|
444
444
|
* `:update_tigger_name` - Name of the 'before update' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :update]`
|
@@ -537,7 +537,7 @@ allow `NULL`:
|
|
537
537
|
|
538
538
|
Options:
|
539
539
|
|
540
|
-
* `message` - message that should be shown if validation failed
|
540
|
+
* `message` - message that should be shown if validation failed. Ignored unless `:as == :trigger`
|
541
541
|
* `on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
542
542
|
* `create_tigger_name` - Name of the 'before insert' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :create]`
|
543
543
|
* `update_tigger_name` - Name of the 'before update' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :update]`
|
@@ -638,7 +638,7 @@ allow `NULL`:
|
|
638
638
|
|
639
639
|
Options:
|
640
640
|
|
641
|
-
* `message` - message that should be shown if validation failed
|
641
|
+
* `message` - message that should be shown if validation failed. Ignored unless `:as == :trigger`
|
642
642
|
* `on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
643
643
|
* `create_tigger_name` - Name of the 'before insert' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :create]`
|
644
644
|
* `update_tigger_name` - Name of the 'before update' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :update]`
|
@@ -730,7 +730,7 @@ allow `NULL`:
|
|
730
730
|
Options:
|
731
731
|
|
732
732
|
* `with` - regular expression that column value should be matched to
|
733
|
-
* `message` - message that should be shown if validation failed
|
733
|
+
* `message` - message that should be shown if validation failed. Ignored unless `:as == :trigger`
|
734
734
|
* `on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
735
735
|
* `create_tigger_name` - Name of the 'before insert' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :create]`
|
736
736
|
* `update_tigger_name` - Name of the 'before update' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :update]`
|
@@ -830,7 +830,7 @@ allow `NULL`:
|
|
830
830
|
Options:
|
831
831
|
|
832
832
|
* `statement` - db expression that column value should be matched to
|
833
|
-
* `message` - message that should be shown if validation failed
|
833
|
+
* `message` - message that should be shown if validation failed. Ignored unless `:as == :trigger`
|
834
834
|
* `on` - validation event. Possible values `[:save, :update, :create]`. Ignored unless `:as == :trigger`. Default value: `:save`
|
835
835
|
* `create_tigger_name` - Name of the 'before insert' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :create]`
|
836
836
|
* `update_tigger_name` - Name of the 'before update' trigger that will be created if `:as == :trigger` && `:on` in `[:save, :update]`
|
@@ -872,6 +872,10 @@ allow `NULL`:
|
|
872
872
|
|
873
873
|
* Suppress exception while running db:schema:load
|
874
874
|
|
875
|
+
**(2.2.6)** (12 Sep, 2016)
|
876
|
+
|
877
|
+
* Escape single quotes in the custom validation statement body
|
878
|
+
|
875
879
|
## Contributing
|
876
880
|
|
877
881
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|