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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4d32813f578be832c807834e301af6646a5de2e8
4
- data.tar.gz: 8f6d05bc4a8ee9230d2db146823ffa87ac2b16a1
3
+ metadata.gz: 08517658c327fcc14b2a8eecb1ea7fe539d930a8
4
+ data.tar.gz: 1f5ce946a61da403f0cc19373c094d4e8c1f4c76
5
5
  SHA512:
6
- metadata.gz: e41b110b12a186b3cacce1280ae74279e83b8b8be5296cdcedd43fe27fa258609ce79226b6b8c9cf0b034ac78633c319d696a76c6cc67d119119defb396edabd
7
- data.tar.gz: ae10f5ffc2434e9e0f4470225fed144f37bc217864f487c8b391df20836d43f42029136a75213b4117623199ec967a97f8f97f87bb804038885becdb2f090e22
6
+ metadata.gz: 6716d0a366f6f1ab1747997e283d40b5068d274408485c6ba0f89e54889f3a58131df86df54ba96b485261c8a03b87ed794821545358ae1490c001324f4187d0
7
+ data.tar.gz: a35e99b160e8cf3f7925b8e962b91b0f0ceb9d2f39aeeca3cacf7b0a05b22d9525287f789d0e3344087efb2b45ec7f7fef0ef38225ec1d41c80aa29f41d3f8cf
@@ -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
@@ -1,3 +1,3 @@
1
1
  eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
2
 
3
- gem "activerecord", "~> 4.2.6"
3
+ gem "activerecord", "~> 5.1.0"
@@ -2,7 +2,7 @@ require "pathname"
2
2
  eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
3
 
4
4
  platform :ruby do
5
- gem "mysql2", '>= 0.3.18', '< 0.5'
5
+ gem "mysql2"
6
6
  end
7
7
 
8
8
  platform :jruby do
@@ -1,3 +1,3 @@
1
1
  module SchemaValidations
2
- VERSION = "2.2.1"
2
+ VERSION = "2.3.0"
3
3
  end
@@ -1,8 +1,8 @@
1
1
  ruby:
2
2
  - 2.3.1
3
3
  activerecord:
4
- - 4.2
5
4
  - 5.0
5
+ - 5.1
6
6
  db:
7
7
  - mysql2
8
8
  - postgresql
@@ -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", ">= 4.2.1", "< 5.1")
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.2.1
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-02-08 00:00:00.000000000 Z
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.1'
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.1'
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