schema_validations 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -3
- data/README.md +6 -1
- data/gemfiles/{activerecord-4.2 → activerecord-5.1}/Gemfile.base +1 -1
- data/gemfiles/{activerecord-4.2 → activerecord-5.1}/Gemfile.mysql2 +1 -1
- data/gemfiles/{activerecord-4.2 → activerecord-5.1}/Gemfile.postgresql +0 -0
- data/gemfiles/{activerecord-4.2 → activerecord-5.1}/Gemfile.sqlite3 +0 -0
- data/lib/schema_validations/version.rb +1 -1
- data/schema_dev.yml +1 -1
- data/schema_validations.gemspec +1 -1
- metadata +10 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08517658c327fcc14b2a8eecb1ea7fe539d930a8
|
4
|
+
data.tar.gz: 1f5ce946a61da403f0cc19373c094d4e8c1f4c76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6716d0a366f6f1ab1747997e283d40b5068d274408485c6ba0f89e54889f3a58131df86df54ba96b485261c8a03b87ed794821545358ae1490c001324f4187d0
|
7
|
+
data.tar.gz: a35e99b160e8cf3f7925b8e962b91b0f0ceb9d2f39aeeca3cacf7b0a05b22d9525287f789d0e3344087efb2b45ec7f7fef0ef38225ec1d41c80aa29f41d3f8cf
|
data/.travis.yml
CHANGED
@@ -7,12 +7,12 @@ sudo: false
|
|
7
7
|
rvm:
|
8
8
|
- 2.3.1
|
9
9
|
gemfile:
|
10
|
-
- gemfiles/activerecord-4.2/Gemfile.mysql2
|
11
|
-
- gemfiles/activerecord-4.2/Gemfile.postgresql
|
12
|
-
- gemfiles/activerecord-4.2/Gemfile.sqlite3
|
13
10
|
- gemfiles/activerecord-5.0/Gemfile.mysql2
|
14
11
|
- gemfiles/activerecord-5.0/Gemfile.postgresql
|
15
12
|
- gemfiles/activerecord-5.0/Gemfile.sqlite3
|
13
|
+
- gemfiles/activerecord-5.1/Gemfile.mysql2
|
14
|
+
- gemfiles/activerecord-5.1/Gemfile.postgresql
|
15
|
+
- gemfiles/activerecord-5.1/Gemfile.sqlite3
|
16
16
|
env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
|
17
17
|
addons:
|
18
18
|
postgresql: '9.4'
|
data/README.md
CHANGED
@@ -174,8 +174,8 @@ As of version 1.2.0, SchemaValidations supports and is tested on:
|
|
174
174
|
|
175
175
|
<!-- SCHEMA_DEV: MATRIX - begin -->
|
176
176
|
<!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
|
177
|
-
* ruby **2.3.1** with activerecord **4.2**, using **mysql2**, **postgresql** or **sqlite3**
|
178
177
|
* ruby **2.3.1** with activerecord **5.0**, using **mysql2**, **postgresql** or **sqlite3**
|
178
|
+
* ruby **2.3.1** with activerecord **5.1**, using **mysql2**, **postgresql** or **sqlite3**
|
179
179
|
|
180
180
|
<!-- SCHEMA_DEV: MATRIX - end -->
|
181
181
|
|
@@ -187,6 +187,11 @@ Earlier versions of SchemaValidations supported:
|
|
187
187
|
|
188
188
|
## Release Notes
|
189
189
|
|
190
|
+
### 2.3.0
|
191
|
+
|
192
|
+
* Works with AR 5.1.
|
193
|
+
* No longer testing rails 4.2
|
194
|
+
|
190
195
|
### 2.2.1
|
191
196
|
|
192
197
|
* Bug fix: don't create presence validation for `null: false` with a
|
File without changes
|
File without changes
|
data/schema_dev.yml
CHANGED
data/schema_validations.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.require_paths = ["lib"]
|
22
22
|
|
23
23
|
s.add_dependency("schema_plus_columns")
|
24
|
-
s.add_dependency("activerecord", "
|
24
|
+
s.add_dependency("activerecord", "~> 5.0")
|
25
25
|
s.add_dependency("valuable")
|
26
26
|
|
27
27
|
s.add_development_dependency("schema_dev", "~> 3.6")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schema_validations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronen Barzel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-07-24 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: schema_plus_columns
|
@@ -29,22 +29,16 @@ dependencies:
|
|
29
29
|
name: activerecord
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: 4.2.1
|
35
|
-
- - "<"
|
32
|
+
- - "~>"
|
36
33
|
- !ruby/object:Gem::Version
|
37
|
-
version: '5.
|
34
|
+
version: '5.0'
|
38
35
|
type: :runtime
|
39
36
|
prerelease: false
|
40
37
|
version_requirements: !ruby/object:Gem::Requirement
|
41
38
|
requirements:
|
42
|
-
- - "
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 4.2.1
|
45
|
-
- - "<"
|
39
|
+
- - "~>"
|
46
40
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
41
|
+
version: '5.0'
|
48
42
|
- !ruby/object:Gem::Dependency
|
49
43
|
name: valuable
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,14 +169,14 @@ files:
|
|
175
169
|
- README.md
|
176
170
|
- Rakefile
|
177
171
|
- gemfiles/Gemfile.base
|
178
|
-
- gemfiles/activerecord-4.2/Gemfile.base
|
179
|
-
- gemfiles/activerecord-4.2/Gemfile.mysql2
|
180
|
-
- gemfiles/activerecord-4.2/Gemfile.postgresql
|
181
|
-
- gemfiles/activerecord-4.2/Gemfile.sqlite3
|
182
172
|
- gemfiles/activerecord-5.0/Gemfile.base
|
183
173
|
- gemfiles/activerecord-5.0/Gemfile.mysql2
|
184
174
|
- gemfiles/activerecord-5.0/Gemfile.postgresql
|
185
175
|
- gemfiles/activerecord-5.0/Gemfile.sqlite3
|
176
|
+
- gemfiles/activerecord-5.1/Gemfile.base
|
177
|
+
- gemfiles/activerecord-5.1/Gemfile.mysql2
|
178
|
+
- gemfiles/activerecord-5.1/Gemfile.postgresql
|
179
|
+
- gemfiles/activerecord-5.1/Gemfile.sqlite3
|
186
180
|
- init.rb
|
187
181
|
- lib/schema_validations.rb
|
188
182
|
- lib/schema_validations/active_record/type.rb
|