activerecord-jdbc-alt-adapter 51.3.3-java → 51.3.4-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 +16 -0
- data/lib/arjdbc/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8a3c0428b4f948977af84376216125a83a330607ae740a9a4d85518e47a124bc
|
|
4
|
+
data.tar.gz: e3d3d39df6e9081ec13518feb7da1d6dc35a4bf357a8a383fa55e9ffe938319e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19dcc8bfc27295e6f4330cf07691be49d3a1e6abdd11ed822c2da92de9ce6a9191e04319cd3b5e4cf05e0a76ba07a4b65603d423c514ebbe327998f73f9f6905
|
|
7
|
+
data.tar.gz: 528335a89635de9ea73accb6b46eb5160ee464e01203e4fb4eebe3e481a2143f14c2f31bd0ed0ce5d630c90928d814605d00d9b1429bfa2b500c2394e46e8a58
|
|
@@ -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,16 @@ 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
|
+
|
|
114
|
+
# Also known as filtered index
|
|
115
|
+
def supports_partial_index?
|
|
116
|
+
true
|
|
117
|
+
end
|
|
118
|
+
|
|
103
119
|
# Does this adapter support views?
|
|
104
120
|
def supports_views?
|
|
105
121
|
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: 51.3.
|
|
4
|
+
version: 51.3.4
|
|
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-
|
|
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.1.7
|
|
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
|
|
@@ -270,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
270
271
|
version: '0'
|
|
271
272
|
requirements: []
|
|
272
273
|
rubyforge_project:
|
|
273
|
-
rubygems_version: 2.7.
|
|
274
|
+
rubygems_version: 2.7.9
|
|
274
275
|
signing_key:
|
|
275
276
|
specification_version: 4
|
|
276
277
|
summary: ActiveRecord JDBC adapter, for use within JRuby on Rails and SQL Server
|