mv-mysql 2.0.0 → 2.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -11
  3. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e34b3bf792fc0af5fe6f7a8eba9fff0e45d72a8
4
- data.tar.gz: 16d472ac7b1df90e0b572d09d51c9e1e58829581
3
+ metadata.gz: d5ca9da93b16a59710ffc1d4c2bf5de9c8aac25f
4
+ data.tar.gz: 88d232eb43849333adc5ce44024ff19098346363
5
5
  SHA512:
6
- metadata.gz: 5d101f8c2604d4ead2d404f46818b7322d8960a7de257a3d5693cf0eca28be55c69e84dc7f76afd2ffa18c2c197d7412c811cf8f7caf71f362a5582a69c5bdf0
7
- data.tar.gz: 60a0f244a35b978908d16706228329a24134717aff78d5fec0d2974fd03091ab898dbfb70b959752a09e4d0867aafc9b957be3aead20918af6a30dc15e7cc97f
6
+ metadata.gz: cfd2ec34508e35d53227dd4ad8cf24e13448056bb8c2535d5e9a8c0f842d51dd419ec4b7475d2a5783031e27d587e3a3d673be4fbb25b00fc41c0a0f27cf9842
7
+ data.tar.gz: f8417bfcc539c632683c7bc4020f66bbaa0deeb8f177d78ded1809a7c952abe91608eeea67ad73c79e9a4c766ecd4ffedade134400d5b75096140d8c07b394e7
data/README.md CHANGED
@@ -7,6 +7,8 @@
7
7
 
8
8
  mv-mysql is the MySQL driver for Migration Validators project (details here: https://github.com/vprokopchuk256/mv-core)
9
9
 
10
+ # Validators
11
+
10
12
  ### uniqueness
11
13
 
12
14
  Examples:
@@ -228,17 +230,6 @@ mv-mysql is the MySQL driver for Migration Validators project (details here: htt
228
230
  * `:allow_blank` - ignore validation for blank values. Default value: `false`
229
231
  * `:as` - defines the way how constraint will be implemented. Possible values: `[:trigger]`
230
232
 
231
- Options:
232
-
233
- * `:with` - regular expression that column value should be matched to
234
- * `:message` - message that should be shown if validation failed
235
- * `:on` - validation event. Possible values `[:save, :update, :create]`. Default value: `:save`
236
- * `:create_tigger_name` - name of the 'before insert' trigger
237
- * `:update_tigger_name` - name of the 'before update' trigger
238
- * `:allow_nil` - ignore validation for nil values. Default value: `false`
239
- * `:allow_blank` - ignore validation for blank values. Default value: `false`
240
- * `:as` - defines the way how constraint will be implemented. Possible values: `[:trigger]`
241
-
242
233
  ## Contributing to mv-mysql
243
234
 
244
235
  * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mv-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valeriy Prokopchuk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ~>
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.0'
125
- description: Migration Validators project mysql driver
125
+ description: MySQL constraints in migrations similiar to ActiveRecord validations
126
126
  email: vprokopchuk@gmail.com
127
127
  executables: []
128
128
  extensions: []
@@ -174,5 +174,5 @@ rubyforge_project:
174
174
  rubygems_version: 2.4.4
175
175
  signing_key:
176
176
  specification_version: 4
177
- summary: Migration Validators project. MySQL driver
177
+ summary: MySQL constraints in migrations similiar to ActiveRecord validations
178
178
  test_files: []