activerecord-jdbc-alt-adapter 52.2.2-java → 52.2.3-java
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 +4 -4
- data/activerecord-jdbc-alt-adapter.gemspec +1 -1
- data/lib/activerecord-jdbc-alt-adapter.rb +1 -0
- data/lib/arjdbc/mssql/adapter.rb +11 -0
- data/lib/arjdbc/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afa74b6cea1f8d613568c65eafa0e35b2f40518f81c75616d9780eb9d7331807
|
|
4
|
+
data.tar.gz: 8fa023e378edad7552c2209326646d62381832fd18273b38d00158810da01009
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a94794211883f5c3c39a75211990e09492e1dc7d3535aa0a103b5b7175d5a885813fccc1ad5555973a12b6b73d1b81162f15d39244744dace487c4ce1c9f16d
|
|
7
|
+
data.tar.gz: 3d648085d101929af897bded31b1534f243930bf56847b36cd586b5a7172b24e5ac18393001176fcc2c71a92b5ed18755d6ea0a2d1e53c28955ecb111a9ae95f
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
|
|
|
11
11
|
gem.license = 'BSD-2-Clause'
|
|
12
12
|
gem.summary = 'ActiveRecord JDBC adapter, for use within JRuby on Rails and SQL Server'
|
|
13
13
|
gem.description = "" <<
|
|
14
|
-
"Fork of the ActiveRecord JDBC adapter with support for SQL Server
|
|
14
|
+
"Fork of the ActiveRecord JDBC adapter with support for SQL Server and Azure SQL, " <<
|
|
15
15
|
"for more information and help look at the README file in the github repository. " <<
|
|
16
16
|
"AR-JDBC is a database adapter for Rails' ActiveRecord component designed " <<
|
|
17
17
|
"to be used with JRuby built upon Java's JDBC API for database access. " <<
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require 'arjdbc'
|
data/lib/arjdbc/mssql/adapter.rb
CHANGED
|
@@ -85,6 +85,12 @@ module ActiveRecord
|
|
|
85
85
|
::ActiveRecord::ConnectionAdapters::MSSQLColumn
|
|
86
86
|
end
|
|
87
87
|
|
|
88
|
+
# Does this adapter support DDL rollbacks in transactions? That is, would
|
|
89
|
+
# CREATE TABLE or ALTER TABLE get rolled back by a transaction?
|
|
90
|
+
def supports_ddl_transactions?
|
|
91
|
+
true
|
|
92
|
+
end
|
|
93
|
+
|
|
88
94
|
# Does this adapter support creating foreign key constraints?
|
|
89
95
|
def supports_foreign_keys?
|
|
90
96
|
true
|
|
@@ -100,6 +106,11 @@ module ActiveRecord
|
|
|
100
106
|
true
|
|
101
107
|
end
|
|
102
108
|
|
|
109
|
+
# Does this adapter support index sort order?
|
|
110
|
+
def supports_index_sort_order?
|
|
111
|
+
true
|
|
112
|
+
end
|
|
113
|
+
|
|
103
114
|
# Also known as filtered index
|
|
104
115
|
def supports_partial_index?
|
|
105
116
|
true
|
data/lib/arjdbc/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-jdbc-alt-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 52.2.
|
|
4
|
+
version: 52.2.3
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -30,8 +30,8 @@ dependencies:
|
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 5.2.3
|
|
33
|
-
description: 'Fork of the ActiveRecord JDBC adapter with support for SQL Server
|
|
34
|
-
SQL, for more information and help look at the README file in the github repository.
|
|
33
|
+
description: 'Fork of the ActiveRecord JDBC adapter with support for SQL Server and
|
|
34
|
+
Azure SQL, for more information and help look at the README file in the github repository.
|
|
35
35
|
AR-JDBC is a database adapter for Rails'' ActiveRecord component designed to be
|
|
36
36
|
used with JRuby built upon Java''s JDBC API for database access. Provides (ActiveRecord)
|
|
37
37
|
built-in adapters: MySQL, PostgreSQL and SQLite3 as well as adapters for popular
|
|
@@ -76,6 +76,7 @@ files:
|
|
|
76
76
|
- lib/active_record/connection_adapters/sqlite3_adapter.rb
|
|
77
77
|
- lib/active_record/connection_adapters/sqlserver_adapter.rb
|
|
78
78
|
- lib/activerecord-jdbc-adapter.rb
|
|
79
|
+
- lib/activerecord-jdbc-alt-adapter.rb
|
|
79
80
|
- lib/arel/visitors/compat.rb
|
|
80
81
|
- lib/arel/visitors/db2.rb
|
|
81
82
|
- lib/arel/visitors/derby.rb
|