schema_plus_compatibility 0.3.0 → 0.4.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: 513c8ac223d3622a0c5bd83bff572171a87d8c94
4
- data.tar.gz: 86a8768b81b2db8e7db42cad2b64aaedcfee7a9a
3
+ metadata.gz: a5ceaa033aa920b14ce2cfad3f2220f129ee03e4
4
+ data.tar.gz: 5deb3dbd52fb673a8e34da6ce6f99f01865abf12
5
5
  SHA512:
6
- metadata.gz: 3648d072155a2c58ca05b28c22144a08145d9292c7cad46b325ca992d1b2731e18be8b268fe1b73f941cf61732584ef345267b1cbe71d12777e4dcd1aae506fd
7
- data.tar.gz: 26c30d4ac51c95c7a0c55ae42473d7fec8e0286a72e9492db57b03f077c0eccc264eebbae95fc63f32133ec6a28f8ce3681f161ec24d73fd71a59c296017ee2d
6
+ metadata.gz: 7bec96a573f370ae099968382ce3faacbdd0199a6c5426f5683a52c4ed8bfbd2be153b954192284e0958ce31bb60e22055625483c9821106512031ada8884f51
7
+ data.tar.gz: 6fb3beca1cf10c1c734cc9d9d35eb474972c822488ebb80689b0eb30e3194a2feb40aab1710cea62f8f21182560e44201ec1859c7c551121a2176572fea5286b
@@ -16,6 +16,9 @@ gemfile:
16
16
  - gemfiles/activerecord-5.1/Gemfile.mysql2
17
17
  - gemfiles/activerecord-5.1/Gemfile.postgresql
18
18
  - gemfiles/activerecord-5.1/Gemfile.sqlite3
19
+ - gemfiles/activerecord-5.2/Gemfile.mysql2
20
+ - gemfiles/activerecord-5.2/Gemfile.postgresql
21
+ - gemfiles/activerecord-5.2/Gemfile.sqlite3
19
22
  env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
20
23
  addons:
21
24
  postgresql: '9.4'
data/README.md CHANGED
@@ -48,11 +48,13 @@ SchemaPlus::Compatibility is tested on:
48
48
  * ruby **2.3.1** with activerecord **4.2**, using **mysql2**, **sqlite3** or **postgresql**
49
49
  * ruby **2.3.1** with activerecord **5.0**, using **mysql2**, **sqlite3** or **postgresql**
50
50
  * ruby **2.3.1** with activerecord **5.1**, using **mysql2**, **sqlite3** or **postgresql**
51
+ * ruby **2.3.1** with activerecord **5.2**, using **mysql2**, **sqlite3** or **postgresql**
51
52
 
52
53
  <!-- SCHEMA_DEV: MATRIX - end -->
53
54
 
54
55
  ## Release Notes
55
56
 
57
+ * 0.4.0 - Allow AR 5.2
56
58
  * 0.3.0 - Allow AR 5.1
57
59
  * 0.2.0 - Replace the ill-defined `connection.tables_without_deprecation` with `connection.tables_only` which truly returns solely tables.
58
60
  * 0.1.0 - Initial release
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", ">= 5.2.0.beta0", "< 5.3"
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "mysql2"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcmysql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "pg"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcpostgresql-adapter'
10
+ end
@@ -0,0 +1,10 @@
1
+ require "pathname"
2
+ eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding)
3
+
4
+ platform :ruby do
5
+ gem "sqlite3"
6
+ end
7
+
8
+ platform :jruby do
9
+ gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2'
10
+ end
@@ -1,5 +1,5 @@
1
1
  module SchemaPlus
2
2
  module Compatibility
3
- VERSION = "0.3.0"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -4,6 +4,7 @@ activerecord:
4
4
  - 4.2
5
5
  - 5.0
6
6
  - 5.1
7
+ - 5.2
7
8
  db:
8
9
  - mysql2
9
10
  - sqlite3
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
18
18
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
19
19
  gem.require_paths = ["lib"]
20
20
 
21
- gem.add_dependency "activerecord", ">= 4.2", "< 5.2"
21
+ gem.add_dependency "activerecord", ">= 4.2", "< 5.3"
22
22
  gem.add_dependency "schema_monkey", "~> 2.1"
23
23
 
24
24
  gem.add_development_dependency "bundler", "~> 1.7"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_plus_compatibility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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-07-27 00:00:00.000000000 Z
12
+ date: 2018-06-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '4.2'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '5.2'
23
+ version: '5.3'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '4.2'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '5.2'
33
+ version: '5.3'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: schema_monkey
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +156,10 @@ files:
156
156
  - gemfiles/activerecord-5.1/Gemfile.mysql2
157
157
  - gemfiles/activerecord-5.1/Gemfile.postgresql
158
158
  - gemfiles/activerecord-5.1/Gemfile.sqlite3
159
+ - gemfiles/activerecord-5.2/Gemfile.base
160
+ - gemfiles/activerecord-5.2/Gemfile.mysql2
161
+ - gemfiles/activerecord-5.2/Gemfile.postgresql
162
+ - gemfiles/activerecord-5.2/Gemfile.sqlite3
159
163
  - lib/schema_plus/compatibility.rb
160
164
  - lib/schema_plus/compatibility/active_record/connection_adapters/abstract_adapter.rb
161
165
  - lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb