activerecord-databasevalidations 0.3.1 → 0.4.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8999070427c2a970512966469469db85bf257c57
4
- data.tar.gz: a046eb206c0cf82a467ed08c725644007b9ce57b
2
+ SHA256:
3
+ metadata.gz: 16b7e2657966158be5c02fd634d034b0ff7a63adbd82341f0abcab9e41d87fed
4
+ data.tar.gz: cf06bf1331a19a0bc11736212277ad595ecc2469900eae210d754fbc76cc2a83
5
5
  SHA512:
6
- metadata.gz: 427c779f06110f0a377bd40377e09bdcbdbb1681d58b1ebfba957e5586eaf9f33473e8ca5306ec481d3e4677fbd8a79865af3204779de65af84a91618548e449
7
- data.tar.gz: '05518682e31a3fb8c7e37023c854284fef7e69b3d2f348dc00a5c1d5b1de23bfe58c02b3ddc6fca0453d461699fa5d25491c7e5ebd6b2a87a2a2912ed578db36'
6
+ metadata.gz: '078c2e682da2fa04f716c950ff7ab2608335ee0142b3b507d4e3c7249688187d914c1d1d12c5101ad4f46125c9628c3aafb0aa39606abea34d3354a59c4b974c'
7
+ data.tar.gz: aaf055985a320538354863a635bb879e40e733cc75d0abccc586134e8d78b019a7b27aef9f74cc1bbc247aee113dfa1fbb490d089e5929befde7d06dcb3f4125
@@ -3,23 +3,23 @@ language: ruby
3
3
  cache: bundler
4
4
 
5
5
  rvm:
6
- - 2.1.8
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.activerecord40
12
- - Gemfile.activerecord41
13
- - Gemfile.activerecord42
14
- - Gemfile.activerecord50
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.1.8
20
- gemfile: Gemfile.activerecord50
21
- - rvm: 2.1.8
22
- gemfile: Gemfile.activerecord51
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;'
@@ -1,3 +1,8 @@
1
+ # 0.4.0 (March 20, 2018)
2
+
3
+ * Rails 5.2 support
4
+ * Drop support to Rails 4
5
+ * Drop support to Ruby < 2.2
1
6
 
2
7
  # 0.2.6 (March 23, 2016)
3
8
 
@@ -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.add_runtime_dependency "activerecord", ">= 4.0", "< 5.2"
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"
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+ gemspec path: '..'
3
+
4
+ gem 'activerecord', github: 'rails/rails', branch: 'master'
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+ gemspec path: '..'
3
3
 
4
4
  gem 'activerecord', '~> 5.0.0'
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+ gemspec path: '..'
3
3
 
4
4
  gem 'activerecord', '~> 5.1.0'
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+ gemspec path: '..'
3
+
4
+ gem 'activerecord', github: 'rails/rails', branch: '5-2-stable'
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module DatabaseValidations
3
- VERSION = "0.3.1"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
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.3.1
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: 2017-10-03 00:00:00.000000000 Z
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: '4.0'
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: '4.0'
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: '0'
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.12
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.
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
3
-
4
- gem 'activerecord', '~> 4.0.0'
5
- gem 'mysql2', '< 0.4'
@@ -1,5 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
3
-
4
- gem 'activerecord', '~> 4.1.0'
5
- gem 'mysql2', '< 0.4'
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
3
-
4
- gem 'activerecord', '~> 4.2.0'