activerecord-databasevalidations 0.3.1 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +11 -11
- data/CHANGELOG.md +5 -0
- data/activerecord-databasevalidations.gemspec +3 -1
- data/gemfiles/Gemfile.activerecord-edge +4 -0
- data/{Gemfile.activerecord50 → gemfiles/Gemfile.activerecord50} +1 -1
- data/{Gemfile.activerecord51 → gemfiles/Gemfile.activerecord51} +1 -1
- data/gemfiles/Gemfile.activerecord52 +4 -0
- data/lib/active_record/database_validations/version.rb +1 -1
- metadata +10 -17
- data/Gemfile.activerecord40 +0 -5
- data/Gemfile.activerecord41 +0 -5
- data/Gemfile.activerecord42 +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 16b7e2657966158be5c02fd634d034b0ff7a63adbd82341f0abcab9e41d87fed
|
4
|
+
data.tar.gz: cf06bf1331a19a0bc11736212277ad595ecc2469900eae210d754fbc76cc2a83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '078c2e682da2fa04f716c950ff7ab2608335ee0142b3b507d4e3c7249688187d914c1d1d12c5101ad4f46125c9628c3aafb0aa39606abea34d3354a59c4b974c'
|
7
|
+
data.tar.gz: aaf055985a320538354863a635bb879e40e733cc75d0abccc586134e8d78b019a7b27aef9f74cc1bbc247aee113dfa1fbb490d089e5929befde7d06dcb3f4125
|
data/.travis.yml
CHANGED
@@ -3,23 +3,23 @@ language: ruby
|
|
3
3
|
cache: bundler
|
4
4
|
|
5
5
|
rvm:
|
6
|
-
- 2.
|
7
|
-
- 2.2.4
|
6
|
+
- 2.2.2
|
8
7
|
- 2.3.0
|
8
|
+
- 2.4.1
|
9
|
+
- 2.5.0
|
9
10
|
|
10
11
|
gemfile:
|
11
|
-
- Gemfile.
|
12
|
-
- Gemfile.
|
13
|
-
- Gemfile.
|
14
|
-
- Gemfile.
|
15
|
-
- Gemfile.activerecord51
|
12
|
+
- gemfiles/Gemfile.activerecord50
|
13
|
+
- gemfiles/Gemfile.activerecord51
|
14
|
+
- gemfiles/Gemfile.activerecord52
|
15
|
+
- gemfiles/Gemfile.activerecord-edge
|
16
16
|
|
17
17
|
matrix:
|
18
18
|
exclude:
|
19
|
-
- rvm: 2.
|
20
|
-
gemfile: Gemfile.
|
21
|
-
- rvm: 2.
|
22
|
-
gemfile: Gemfile.
|
19
|
+
- rvm: 2.2.2
|
20
|
+
gemfile: gemfiles/Gemfile.activerecord-edge
|
21
|
+
- rvm: 2.3.0
|
22
|
+
gemfile: gemfiles/Gemfile.activerecord-edge
|
23
23
|
|
24
24
|
before_script:
|
25
25
|
- mysql -e 'create database database_validations;'
|
data/CHANGELOG.md
CHANGED
@@ -18,7 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.
|
21
|
+
spec.required_ruby_version = '>= 2.2.2'
|
22
|
+
|
23
|
+
spec.add_runtime_dependency "activerecord", ">= 5.0"
|
22
24
|
spec.add_runtime_dependency "rejectu"
|
23
25
|
|
24
26
|
spec.add_development_dependency "bundler", "~> 1.5"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-databasevalidations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willem van Bergen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '5.2'
|
19
|
+
version: '5.0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '5.2'
|
26
|
+
version: '5.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rejectu
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,15 +106,14 @@ files:
|
|
112
106
|
- ".travis.yml"
|
113
107
|
- CHANGELOG.md
|
114
108
|
- Gemfile
|
115
|
-
- Gemfile.activerecord40
|
116
|
-
- Gemfile.activerecord41
|
117
|
-
- Gemfile.activerecord42
|
118
|
-
- Gemfile.activerecord50
|
119
|
-
- Gemfile.activerecord51
|
120
109
|
- LICENSE.txt
|
121
110
|
- README.md
|
122
111
|
- Rakefile
|
123
112
|
- activerecord-databasevalidations.gemspec
|
113
|
+
- gemfiles/Gemfile.activerecord-edge
|
114
|
+
- gemfiles/Gemfile.activerecord50
|
115
|
+
- gemfiles/Gemfile.activerecord51
|
116
|
+
- gemfiles/Gemfile.activerecord52
|
124
117
|
- lib/active_model/validations/basic_multilingual_plane.rb
|
125
118
|
- lib/active_model/validations/bytesize.rb
|
126
119
|
- lib/active_model/validations/not_null.rb
|
@@ -156,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
156
149
|
requirements:
|
157
150
|
- - ">="
|
158
151
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
152
|
+
version: 2.2.2
|
160
153
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
161
154
|
requirements:
|
162
155
|
- - ">="
|
@@ -164,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
157
|
version: '0'
|
165
158
|
requirements: []
|
166
159
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.6
|
160
|
+
rubygems_version: 2.7.6
|
168
161
|
signing_key:
|
169
162
|
specification_version: 4
|
170
163
|
summary: Add validations to your ActiveRecord models based on MySQL database constraints.
|
data/Gemfile.activerecord40
DELETED
data/Gemfile.activerecord41
DELETED
data/Gemfile.activerecord42
DELETED