schema_plus_compatibility 0.2.0 → 0.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: e562ca76fbfc4b9802d6546d1d70dd59f5f19f9c
4
- data.tar.gz: d2dfef42ed2d63926e4e56341d41dcc205e0b287
3
+ metadata.gz: 513c8ac223d3622a0c5bd83bff572171a87d8c94
4
+ data.tar.gz: 86a8768b81b2db8e7db42cad2b64aaedcfee7a9a
5
5
  SHA512:
6
- metadata.gz: 75f2becf7f5cccb910c3f6d3d9f0c2692f1344731778daa0f989929775c02a6ea2790a06fcca0aed2886435e275dd7fd692a87b02b05ddf180a3ea7f263ac7cd
7
- data.tar.gz: 812dee55b0f698949d8e20a5db998cafcf845a545589da133a88fbead38a07de2161dd6fd2f1290ba9666a6c3f2839ec0e08fc869fa1542e36d1f0e4c7f6ea6a
6
+ metadata.gz: 3648d072155a2c58ca05b28c22144a08145d9292c7cad46b325ca992d1b2731e18be8b268fe1b73f941cf61732584ef345267b1cbe71d12777e4dcd1aae506fd
7
+ data.tar.gz: 26c30d4ac51c95c7a0c55ae42473d7fec8e0286a72e9492db57b03f077c0eccc264eebbae95fc63f32133ec6a28f8ce3681f161ec24d73fd71a59c296017ee2d
@@ -13,6 +13,9 @@ gemfile:
13
13
  - gemfiles/activerecord-5.0/Gemfile.mysql2
14
14
  - gemfiles/activerecord-5.0/Gemfile.postgresql
15
15
  - gemfiles/activerecord-5.0/Gemfile.sqlite3
16
+ - gemfiles/activerecord-5.1/Gemfile.mysql2
17
+ - gemfiles/activerecord-5.1/Gemfile.postgresql
18
+ - gemfiles/activerecord-5.1/Gemfile.sqlite3
16
19
  env: POSTGRESQL_DB_USER=postgres MYSQL_DB_USER=travis
17
20
  addons:
18
21
  postgresql: '9.4'
data/README.md CHANGED
@@ -47,12 +47,14 @@ SchemaPlus::Compatibility is tested on:
47
47
  <!-- These lines are auto-generated by schema_dev based on schema_dev.yml -->
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
+ * ruby **2.3.1** with activerecord **5.1**, using **mysql2**, **sqlite3** or **postgresql**
50
51
 
51
52
  <!-- SCHEMA_DEV: MATRIX - end -->
52
53
 
53
- ## History
54
+ ## Release Notes
54
55
 
55
- * 0.2.0 - replace the ill-defined `connection.tables_without_deprecation` with `connection.tables_only` which truly returns solely tables.
56
+ * 0.3.0 - Allow AR 5.1
57
+ * 0.2.0 - Replace the ill-defined `connection.tables_without_deprecation` with `connection.tables_only` which truly returns solely tables.
56
58
  * 0.1.0 - Initial release
57
59
 
58
60
  ## Development & Testing
@@ -1,3 +1,3 @@
1
1
  eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
2
 
3
- gem "activerecord", "~> 5.0.0"
3
+ gem "activerecord", "~> 5.0.1"
@@ -0,0 +1,3 @@
1
+ eval File.read File.expand_path('../../Gemfile.base', __FILE__)
2
+
3
+ gem "activerecord", "~> 5.1.0"
@@ -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.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -3,6 +3,7 @@ ruby:
3
3
  activerecord:
4
4
  - 4.2
5
5
  - 5.0
6
+ - 5.1
6
7
  db:
7
8
  - mysql2
8
9
  - 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.1"
21
+ gem.add_dependency "activerecord", ">= 4.2", "< 5.2"
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.2.0
4
+ version: 0.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: 2016-09-11 00:00:00.000000000 Z
12
+ date: 2017-07-27 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.1'
23
+ version: '5.2'
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.1'
33
+ version: '5.2'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: schema_monkey
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -152,6 +152,10 @@ files:
152
152
  - gemfiles/activerecord-5.0/Gemfile.mysql2
153
153
  - gemfiles/activerecord-5.0/Gemfile.postgresql
154
154
  - gemfiles/activerecord-5.0/Gemfile.sqlite3
155
+ - gemfiles/activerecord-5.1/Gemfile.base
156
+ - gemfiles/activerecord-5.1/Gemfile.mysql2
157
+ - gemfiles/activerecord-5.1/Gemfile.postgresql
158
+ - gemfiles/activerecord-5.1/Gemfile.sqlite3
155
159
  - lib/schema_plus/compatibility.rb
156
160
  - lib/schema_plus/compatibility/active_record/connection_adapters/abstract_adapter.rb
157
161
  - lib/schema_plus/compatibility/active_record/connection_adapters/mysql2_adapter.rb