activerecord-jdbc-adapter 1.3.14 → 1.3.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4739f3c7b3060fa31587fc71df2cc0694e01b112
4
+ data.tar.gz: a2eb0b13a9c4e91ec04114dfa3b6ccf4837c1caf
5
+ SHA512:
6
+ metadata.gz: 5c7a8e8d16adaa14b6ff45722f50ac83284b9cfb7e1fd01656369ed863b09a0174f5e3d5da082f39ce531417bcdbdc84259bc6683e2ee024d07bc0f03f4d1efa
7
+ data.tar.gz: 31745bff9b3d93c76adcfe18a6073e48115aa2f0de2b923ec5c396f3ce855357d36c29b174ef003d421cc92cccc903469bd0d53dea5aa4c664b7ea7a60f8e6f3
data/Gemfile CHANGED
@@ -20,7 +20,7 @@ if defined?(JRUBY_VERSION) && JRUBY_VERSION < '1.7.0'
20
20
  gem 'jruby-openssl', :platform => :jruby
21
21
  end
22
22
 
23
- gem 'rake', '~> 10.3.2', :require => nil
23
+ gem 'rake', '~> 10.4.2', :require => nil
24
24
  gem 'appraisal', '~> 0.5.2', :require => nil
25
25
 
26
26
  # appraisal ignores group block declarations :
data/History.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.3.15 (03/09/15)
2
+
3
+ - [informix] adapter undefined method 'column_types' with Rails 4.x (#622)
4
+ - improve connection factory Ruby interface impls to match Java method-name (#621)
5
+ - [sqlite] truncate_fake - as due compatibility with do not want a truncate method
6
+ - truncate support 4 all (introduced in AR 4.2 but we let it work in all versions)
7
+ - [postgres] do not double load array_parser (on 4.2)
8
+ - [postgres] connection.truncate impl (AR 4.2 compat)
9
+ - [mysql] back-port missing truncate connection method (since AR 4.2)
10
+ - auto setup type-casting compat (pre 4.2 emulation) 4 all
11
+ - [postgres] backport bigserial key and bigint native type support
12
+
1
13
  ## 1.3.14 (01/28/15)
2
14
 
3
15
  - [mysql] Fixed an undefined exception error in type_to_sql for MySQL (#616)
@@ -583,6 +583,10 @@ module ArJdbc
583
583
  tables.each { |table| drop_table("#{table}") }
584
584
  end
585
585
 
586
+ def truncate(table_name, name = nil)
587
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)} IMMEDIATE", name
588
+ end
589
+
586
590
  # @override
587
591
  def supports_views?; true end
588
592
 
@@ -415,6 +415,10 @@ module ArJdbc
415
415
  @connection.tables(nil, current_schema)
416
416
  end
417
417
 
418
+ def truncate(table_name, name = nil)
419
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)}", name
420
+ end
421
+
418
422
  # @return [String] the current schema name
419
423
  def current_schema
420
424
  @current_schema ||=
@@ -194,6 +194,11 @@ module ArJdbc
194
194
  execute "ALTER TABLE #{name} RENAME TO #{new_name}"
195
195
  end
196
196
 
197
+ # @note AR API since 4.2
198
+ def truncate(table_name, name = nil)
199
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)}", name
200
+ end
201
+
197
202
  def last_insert_id
198
203
  identity = select_value("CALL IDENTITY()")
199
204
  Integer(identity.nil? ? 0 : identity)
@@ -1,10 +1,10 @@
1
- require 'arjdbc/jdbc/serialized_attributes_helper'
1
+ require 'arjdbc/util/serialized_attributes'
2
2
 
3
3
  module ArJdbc
4
4
  module Informix
5
-
5
+
6
6
  @@_lob_callback_added = nil
7
-
7
+
8
8
  def self.extended(base)
9
9
  unless @@_lob_callback_added
10
10
  ActiveRecord::Base.class_eval do
@@ -13,10 +13,10 @@ module ArJdbc
13
13
  lob_columns.each do |column|
14
14
  value = ::ArJdbc::SerializedAttributesHelper.dump_column_value(self, column)
15
15
  next if value.nil? || (value == '')
16
-
16
+
17
17
  connection.write_large_object(
18
- column.type == :binary, column.name,
19
- self.class.table_name, self.class.primary_key,
18
+ column.type == :binary, column.name,
19
+ self.class.table_name, self.class.primary_key,
20
20
  quote_value(id), value
21
21
  )
22
22
  end
@@ -28,16 +28,25 @@ module ArJdbc
28
28
  end
29
29
  end
30
30
 
31
+ # @see ActiveRecord::ConnectionAdapters::JdbcColumn#column_types
31
32
  def self.column_selector
32
- [ /informix/i, lambda { |cfg, column| column.extend(::ArJdbc::Informix::Column) } ]
33
+ [ /informix/i, lambda { |cfg, column| column.extend(ColumnMethods) } ]
33
34
  end
34
35
 
36
+ JdbcConnection = ::ActiveRecord::ConnectionAdapters::InformixJdbcConnection
37
+
38
+ # @see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_connection_class
35
39
  def self.jdbc_connection_class
36
40
  ::ActiveRecord::ConnectionAdapters::InformixJdbcConnection
37
41
  end
38
42
 
39
- module Column
40
-
43
+ # @see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_column_class
44
+ def jdbc_column_class
45
+ ::ActiveRecord::ConnectionAdapters::InformixColumn
46
+ end
47
+
48
+ module ColumnMethods
49
+
41
50
  private
42
51
  # TODO: Test all Informix column types.
43
52
  def simplified_type(field_type)
@@ -47,7 +56,7 @@ module ArJdbc
47
56
  super
48
57
  end
49
58
  end
50
-
59
+
51
60
  end
52
61
 
53
62
  def modify_types(types)
@@ -126,18 +135,28 @@ module ArJdbc
126
135
  def remove_index(table_name, options = {})
127
136
  @connection.execute_update("DROP INDEX #{index_name(table_name, options)}")
128
137
  end
129
-
138
+
130
139
  def select(sql, *rest)
131
140
  # Informix does not like "= NULL", "!= NULL", or "<> NULL".
132
- execute(sql.gsub(/(!=|<>)\s*null/i, "IS NOT NULL").gsub(/=\s*null/i, "IS NULL"), *rest)
141
+ super(sql.gsub(/(!=|<>)\s*null/i, "IS NOT NULL").gsub(/=\s*null/i, "IS NULL"), *rest)
133
142
  end
134
-
143
+
135
144
  private
136
-
145
+
137
146
  def db_major_version
138
- @@db_major_version ||=
147
+ @@db_major_version ||=
139
148
  select_one("SELECT dbinfo('version', 'major') version FROM systables WHERE tabid = 1")['version'].to_i
140
149
  end
141
-
150
+
142
151
  end # module Informix
143
152
  end # module ::ArJdbc
153
+
154
+ module ActiveRecord::ConnectionAdapters
155
+ class InformixColumn < JdbcColumn
156
+ include ::ArJdbc::Informix::ColumnMethods
157
+ end
158
+
159
+ class InformixAdapter < JdbcAdapter
160
+ include ::ArJdbc::Informix
161
+ end
162
+ end
@@ -930,8 +930,5 @@ module ActiveRecord
930
930
  end
931
931
 
932
932
  end
933
- module Jdbc
934
- autoload :TypeCast, 'arjdbc/jdbc/type_cast'
935
- end
936
933
  end
937
934
  end
@@ -1,5 +1,8 @@
1
1
  module ActiveRecord
2
2
  module ConnectionAdapters
3
+ module Jdbc
4
+ autoload :TypeCast, 'arjdbc/jdbc/type_cast'
5
+ end
3
6
  # The base class for all of {JdbcAdapter}'s returned columns.
4
7
  # Instances of {JdbcColumn} will get extended with "column-spec" modules
5
8
  # (similar to how {JdbcAdapter} gets spec modules in) if the adapter spec
@@ -22,7 +25,7 @@ module ActiveRecord
22
25
  end
23
26
  end
24
27
  # super <= 4.1: (name, default, sql_type = nil, null = true)
25
- # super master: (name, default, cast_type, sql_type = nil, null = true)
28
+ # super >= 4.2: (name, default, cast_type, sql_type = nil, null = true)
26
29
  super(name, default_value(default), *args)
27
30
  init_column(name, default, *args)
28
31
  end
@@ -61,6 +64,8 @@ module ActiveRecord
61
64
 
62
65
  class << self
63
66
 
67
+ include Jdbc::TypeCast if ::ActiveRecord::VERSION::STRING >= '4.2'
68
+
64
69
  if ActiveRecord::VERSION::MAJOR > 3 && ActiveRecord::VERSION::STRING < '4.2'
65
70
 
66
71
  # @private provides compatibility between AR 3.x/4.0 API
@@ -78,7 +78,7 @@ module ActiveRecord
78
78
  @data_source = data_source
79
79
  end
80
80
 
81
- def new_connection
81
+ def newConnection
82
82
  @data_source.connection
83
83
  end
84
84
  end
@@ -110,7 +110,7 @@ module ActiveRecord
110
110
  @driver = driver
111
111
  end
112
112
 
113
- def new_connection
113
+ def newConnection
114
114
  @driver.connection(@url, @username, @password)
115
115
  end
116
116
  end
@@ -1,15 +1,17 @@
1
+ require 'active_record/connection_adapters/column'
2
+
1
3
  module ActiveRecord::ConnectionAdapters
2
4
  module Jdbc
3
5
  # Type casting methods taken from AR 4.1's Column class.
4
6
  # @private Simply to quickly "hack-in" 4.2 compatibility.
5
7
  module TypeCast
6
8
 
7
- TRUE_VALUES = [true, 1, '1', 't', 'T', 'true', 'TRUE', 'on', 'ON'].to_set
8
- FALSE_VALUES = [false, 0, '0', 'f', 'F', 'false', 'FALSE', 'off', 'OFF'].to_set
9
+ TRUE_VALUES = Column::TRUE_VALUES
10
+ FALSE_VALUES = Column::FALSE_VALUES
9
11
 
10
12
  #module Format
11
- ISO_DATE = /\A(\d{4})-(\d\d)-(\d\d)\z/
12
- ISO_DATETIME = /\A(\d{4})-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)(\.\d+)?\z/
13
+ ISO_DATE = Column::Format::ISO_DATE
14
+ ISO_DATETIME = Column::Format::ISO_DATETIME
13
15
  #end
14
16
 
15
17
  # Used to convert from BLOBs to Strings
@@ -589,6 +589,10 @@ module ArJdbc
589
589
  "#{quote_table_name(table_name)}.#{quote_column_name((primary_column || columns.first).name)}"
590
590
  end
591
591
 
592
+ def truncate(table_name, name = nil)
593
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)}", name
594
+ end
595
+
592
596
  # Support for executing a stored procedure.
593
597
  def exec_proc(proc_name, *variables)
594
598
  vars =
@@ -482,7 +482,11 @@ module ArJdbc
482
482
  end
483
483
 
484
484
  def current_database
485
- select_one("SELECT DATABASE() as db")["db"]
485
+ select_one("SELECT DATABASE() as db")['db']
486
+ end
487
+
488
+ def truncate(table_name, name = nil)
489
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)}", name
486
490
  end
487
491
 
488
492
  # @override
@@ -761,26 +765,6 @@ module ActiveRecord
761
765
  class Column < JdbcColumn
762
766
  include ::ArJdbc::MySQL::Column
763
767
 
764
- def initialize(name, default, sql_type = nil, null = true, collation = nil, strict = false, extra = '')
765
- if name.is_a?(Hash)
766
- super # first arg: config
767
- else
768
- @strict = strict; @collation = collation; @extra = extra
769
- super(name, default, sql_type, null)
770
- # base 4.1: (name, default, sql_type = nil, null = true)
771
- end
772
- end
773
-
774
- def initialize(name, default, cast_type, sql_type = nil, null = true, collation = nil, strict = false, extra = '')
775
- if name.is_a?(Hash)
776
- super # first arg: config
777
- else
778
- @strict = strict; @collation = collation; @extra = extra
779
- super(name, default, cast_type, sql_type, null)
780
- # base 4.2: (name, default, cast_type, sql_type = nil, null = true)
781
- end
782
- end if ActiveRecord::VERSION::STRING >= '4.2'
783
-
784
768
  # @note {#ArJdbc::MySQL::Column} uses this to check for boolean emulation
785
769
  def adapter
786
770
  MysqlAdapter
@@ -10,6 +10,8 @@ module ArJdbc
10
10
  # @see ActiveRecord::ConnectionAdapters::JdbcColumn
11
11
  module Column
12
12
 
13
+ attr_reader :collation, :strict, :extra
14
+
13
15
  def initialize(name, default, sql_type = nil, null = true, collation = nil, strict = false, extra = '')
14
16
  if name.is_a?(Hash)
15
17
  super # first arg: config
@@ -27,11 +29,11 @@ module ArJdbc
27
29
  @strict = strict; @collation = collation; @extra = extra
28
30
  super(name, default, cast_type, sql_type, null)
29
31
  # base 4.2: (name, default, cast_type, sql_type = nil, null = true)
32
+ #assert_valid_default(default) done with #extract_default
33
+ #@default = null || ( strict ? nil : '' ) if blob_or_text_column?
30
34
  end
31
35
  end if AR42
32
36
 
33
- attr_reader :collation, :strict, :extra
34
-
35
37
  def extract_default(default)
36
38
  if blob_or_text_column?
37
39
  return null || strict ? nil : '' if default.blank?
@@ -56,6 +58,13 @@ module ArJdbc
56
58
  collation && !collation.match(/_ci$/)
57
59
  end
58
60
 
61
+ def ==(other)
62
+ collation == other.collation &&
63
+ strict == other.strict &&
64
+ extra == other.extra &&
65
+ super
66
+ end if AR42
67
+
59
68
  def simplified_type(field_type)
60
69
  if adapter && adapter.emulate_booleans?
61
70
  return :boolean if field_type.downcase.index('tinyint(1)')
@@ -125,7 +134,9 @@ module ArJdbc
125
134
  else
126
135
  super
127
136
  end
128
- end
137
+ end unless AR42 # on AR 4.2 limit is delegated to cast_type.limit
138
+
139
+ private
129
140
 
130
141
  # MySQL misreports NOT NULL column default when none is given.
131
142
  # We can't detect this for columns which may have a legitimate ''
@@ -135,11 +146,12 @@ module ArJdbc
135
146
  # Test whether the column has default '', is not null, and is not
136
147
  # a type allowing default ''.
137
148
  def missing_default_forged_as_empty_string?(default)
138
- type != :string && !null && default == ''
149
+ type != :string && ! null && default == ''
139
150
  end
140
151
 
152
+ def attributes_for_hash; super + [collation, strict, extra] end
153
+
141
154
  def adapter; end
142
- private :adapter
143
155
 
144
156
  end
145
157
 
@@ -498,6 +498,10 @@ module ArJdbc
498
498
  # @override
499
499
  def supports_views?; true end
500
500
 
501
+ def truncate(table_name, name = nil)
502
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)}", name
503
+ end
504
+
501
505
  def explain(arel, binds = [])
502
506
  sql = "EXPLAIN PLAN FOR #{to_sql(arel, binds)}"
503
507
  return if sql =~ /FROM all_/
@@ -238,6 +238,8 @@ module ArJdbc
238
238
  }) if AR4_COMPAT
239
239
 
240
240
  NATIVE_DATABASE_TYPES.update(
241
+ :bigserial => "bigserial",
242
+ :bigint => { :name => "bigint" },
241
243
  :bit => { :name => "bit" },
242
244
  :bit_varying => { :name => "bit varying" }
243
245
  ) if AR42_COMPAT
@@ -1169,6 +1171,10 @@ module ArJdbc
1169
1171
  end
1170
1172
  end
1171
1173
 
1174
+ def truncate(table_name, name = nil)
1175
+ execute "TRUNCATE TABLE #{quote_table_name(table_name)}", name
1176
+ end
1177
+
1172
1178
  def index_name_exists?(table_name, index_name, default)
1173
1179
  exec_query(<<-SQL, 'SCHEMA').rows.first[0].to_i > 0
1174
1180
  SELECT COUNT(*)
@@ -24,11 +24,14 @@ module ArJdbc
24
24
  require 'pg_array_parser'
25
25
  include PgArrayParser
26
26
  rescue LoadError
27
- require 'arjdbc/postgresql/base/array_parser'
27
+ if AR42_COMPAT
28
+ require 'active_record/connection_adapters/postgresql/array_parser'
29
+ else
30
+ require 'arjdbc/postgresql/base/array_parser'
31
+ end
28
32
  include ActiveRecord::ConnectionAdapters::PostgreSQL::ArrayParser
29
33
  end if AR4_COMPAT
30
34
 
31
- include ActiveRecord::ConnectionAdapters::Jdbc::TypeCast if AR42_COMPAT
32
35
  include Cast
33
36
 
34
37
  end
@@ -267,6 +267,11 @@ module ArJdbc
267
267
  table_name && tables(nil, table_name).any?
268
268
  end
269
269
 
270
+ def truncate_fake(table_name, name = nil)
271
+ execute "DELETE FROM #{quote_table_name(table_name)}; VACUUM", name
272
+ end
273
+ # NOTE: not part of official AR (4.2) alias truncate truncate_fake
274
+
270
275
  # Returns 62. SQLite supports index names up to 64 characters.
271
276
  # The rest is used by Rails internally to perform temporary rename operations.
272
277
  # @return [Fixnum]
@@ -1,5 +1,5 @@
1
1
  module ArJdbc
2
- VERSION = "1.3.14"
2
+ VERSION = "1.3.15"
3
3
  # @deprecated
4
4
  module Version
5
5
  # @private 1.2.x compatibility
metadata CHANGED
@@ -1,254 +1,252 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbc-adapter
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.3.14
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.15
6
5
  platform: ruby
7
- authors:
8
- - Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
9
- autorequire:
6
+ authors:
7
+ - Nick Sieger, Ola Bini, Karol Bucek and JRuby contributors
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
-
13
- date: 2015-01-28 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: activerecord
17
- version_requirements: &id001 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: "2.2"
23
- requirement: *id001
24
- prerelease: false
25
- type: :runtime
26
- description: "AR-JDBC is a database adapter for Rails' ActiveRecord component designed to be used with JRuby built upon Java's JDBC API for database access. Provides (ActiveRecord) built-in adapters: MySQL, PostgreSQL and SQLite3 as well as adapters for popular databases such as Oracle, SQLServer, DB2, FireBird and even Java (embed) databases: Derby, HSQLDB and H2. It allows to connect to virtually any JDBC-compliant database with your JRuby on Rails application."
27
- email:
28
- - nick@nicksieger.com
29
- - ola.bini@gmail.com
30
- - self@kares.org
11
+ date: 2015-03-09 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '2.2'
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - '>='
23
+ - !ruby/object:Gem::Version
24
+ version: '2.2'
25
+ prerelease: false
26
+ type: :runtime
27
+ description: 'AR-JDBC is a database adapter for Rails'' ActiveRecord component designed
28
+ to be used with JRuby built upon Java''s JDBC API for database access. Provides
29
+ (ActiveRecord) built-in adapters: MySQL, PostgreSQL and SQLite3 as well as adapters
30
+ for popular databases such as Oracle, SQLServer, DB2, FireBird and even Java (embed)
31
+ databases: Derby, HSQLDB and H2. It allows to connect to virtually any JDBC-compliant
32
+ database with your JRuby on Rails application.'
33
+ email:
34
+ - nick@nicksieger.com
35
+ - ola.bini@gmail.com
36
+ - self@kares.org
31
37
  executables: []
32
-
33
38
  extensions: []
34
-
35
39
  extra_rdoc_files: []
36
-
37
- files:
38
- - .gitignore
39
- - .travis.yml
40
- - .yardopts
41
- - Appraisals
42
- - CONTRIBUTING.md
43
- - Gemfile
44
- - History.md
45
- - LICENSE.txt
46
- - README.md
47
- - RUNNING_TESTS.md
48
- - Rakefile
49
- - Rakefile.jdbc
50
- - activerecord-jdbc-adapter.gemspec
51
- - lib/active_record/connection_adapters/as400_adapter.rb
52
- - lib/active_record/connection_adapters/db2_adapter.rb
53
- - lib/active_record/connection_adapters/derby_adapter.rb
54
- - lib/active_record/connection_adapters/firebird_adapter.rb
55
- - lib/active_record/connection_adapters/h2_adapter.rb
56
- - lib/active_record/connection_adapters/hsqldb_adapter.rb
57
- - lib/active_record/connection_adapters/informix_adapter.rb
58
- - lib/active_record/connection_adapters/jdbc_adapter.rb
59
- - lib/active_record/connection_adapters/jndi_adapter.rb
60
- - lib/active_record/connection_adapters/mariadb_adapter.rb
61
- - lib/active_record/connection_adapters/mssql_adapter.rb
62
- - lib/active_record/connection_adapters/mysql2_adapter.rb
63
- - lib/active_record/connection_adapters/mysql_adapter.rb
64
- - lib/active_record/connection_adapters/oracle_adapter.rb
65
- - lib/active_record/connection_adapters/postgresql_adapter.rb
66
- - lib/active_record/connection_adapters/sqlite3_adapter.rb
67
- - lib/active_record/connection_adapters/sqlserver_adapter.rb
68
- - lib/activerecord-jdbc-adapter.rb
69
- - lib/arel/visitors/compat.rb
70
- - lib/arel/visitors/db2.rb
71
- - lib/arel/visitors/derby.rb
72
- - lib/arel/visitors/firebird.rb
73
- - lib/arel/visitors/h2.rb
74
- - lib/arel/visitors/hsqldb.rb
75
- - lib/arel/visitors/sql_server.rb
76
- - lib/arjdbc.rb
77
- - lib/arjdbc/db2.rb
78
- - lib/arjdbc/db2/adapter.rb
79
- - lib/arjdbc/db2/as400.rb
80
- - lib/arjdbc/db2/column.rb
81
- - lib/arjdbc/db2/connection_methods.rb
82
- - lib/arjdbc/derby.rb
83
- - lib/arjdbc/derby/active_record_patch.rb
84
- - lib/arjdbc/derby/adapter.rb
85
- - lib/arjdbc/derby/connection_methods.rb
86
- - lib/arjdbc/derby/schema_creation.rb
87
- - lib/arjdbc/discover.rb
88
- - lib/arjdbc/firebird.rb
89
- - lib/arjdbc/firebird/adapter.rb
90
- - lib/arjdbc/firebird/connection_methods.rb
91
- - lib/arjdbc/h2.rb
92
- - lib/arjdbc/h2/adapter.rb
93
- - lib/arjdbc/h2/connection_methods.rb
94
- - lib/arjdbc/hsqldb.rb
95
- - lib/arjdbc/hsqldb/adapter.rb
96
- - lib/arjdbc/hsqldb/connection_methods.rb
97
- - lib/arjdbc/hsqldb/explain_support.rb
98
- - lib/arjdbc/hsqldb/schema_creation.rb
99
- - lib/arjdbc/informix.rb
100
- - lib/arjdbc/informix/adapter.rb
101
- - lib/arjdbc/informix/connection_methods.rb
102
- - lib/arjdbc/jdbc.rb
103
- - lib/arjdbc/jdbc/adapter.rb
104
- - lib/arjdbc/jdbc/adapter_java.jar
105
- - lib/arjdbc/jdbc/adapter_require.rb
106
- - lib/arjdbc/jdbc/arel_support.rb
107
- - lib/arjdbc/jdbc/base_ext.rb
108
- - lib/arjdbc/jdbc/callbacks.rb
109
- - lib/arjdbc/jdbc/column.rb
110
- - lib/arjdbc/jdbc/connection.rb
111
- - lib/arjdbc/jdbc/connection_methods.rb
112
- - lib/arjdbc/jdbc/driver.rb
113
- - lib/arjdbc/jdbc/extension.rb
114
- - lib/arjdbc/jdbc/java.rb
115
- - lib/arjdbc/jdbc/jdbc.rake
116
- - lib/arjdbc/jdbc/quoted_primary_key.rb
117
- - lib/arjdbc/jdbc/railtie.rb
118
- - lib/arjdbc/jdbc/rake_tasks.rb
119
- - lib/arjdbc/jdbc/serialized_attributes_helper.rb
120
- - lib/arjdbc/jdbc/type_cast.rb
121
- - lib/arjdbc/jdbc/type_converter.rb
122
- - lib/arjdbc/mimer.rb
123
- - lib/arjdbc/mimer/adapter.rb
124
- - lib/arjdbc/mssql.rb
125
- - lib/arjdbc/mssql/adapter.rb
126
- - lib/arjdbc/mssql/column.rb
127
- - lib/arjdbc/mssql/connection_methods.rb
128
- - lib/arjdbc/mssql/explain_support.rb
129
- - lib/arjdbc/mssql/limit_helpers.rb
130
- - lib/arjdbc/mssql/lock_methods.rb
131
- - lib/arjdbc/mssql/utils.rb
132
- - lib/arjdbc/mysql.rb
133
- - lib/arjdbc/mysql/adapter.rb
134
- - lib/arjdbc/mysql/bulk_change_table.rb
135
- - lib/arjdbc/mysql/column.rb
136
- - lib/arjdbc/mysql/connection_methods.rb
137
- - lib/arjdbc/mysql/explain_support.rb
138
- - lib/arjdbc/mysql/schema_creation.rb
139
- - lib/arjdbc/oracle.rb
140
- - lib/arjdbc/oracle/adapter.rb
141
- - lib/arjdbc/oracle/column.rb
142
- - lib/arjdbc/oracle/connection_methods.rb
143
- - lib/arjdbc/postgresql.rb
144
- - lib/arjdbc/postgresql/adapter.rb
145
- - lib/arjdbc/postgresql/base/array_parser.rb
146
- - lib/arjdbc/postgresql/base/oid.rb
147
- - lib/arjdbc/postgresql/column.rb
148
- - lib/arjdbc/postgresql/connection_methods.rb
149
- - lib/arjdbc/postgresql/explain_support.rb
150
- - lib/arjdbc/postgresql/oid_types.rb
151
- - lib/arjdbc/postgresql/schema_creation.rb
152
- - lib/arjdbc/railtie.rb
153
- - lib/arjdbc/sqlite3.rb
154
- - lib/arjdbc/sqlite3/adapter.rb
155
- - lib/arjdbc/sqlite3/connection_methods.rb
156
- - lib/arjdbc/sqlite3/explain_support.rb
157
- - lib/arjdbc/sybase.rb
158
- - lib/arjdbc/sybase/adapter.rb
159
- - lib/arjdbc/tasks.rb
160
- - lib/arjdbc/tasks/database_tasks.rb
161
- - lib/arjdbc/tasks/databases.rake
162
- - lib/arjdbc/tasks/databases3.rake
163
- - lib/arjdbc/tasks/databases4.rake
164
- - lib/arjdbc/tasks/db2_database_tasks.rb
165
- - lib/arjdbc/tasks/derby_database_tasks.rb
166
- - lib/arjdbc/tasks/h2_database_tasks.rb
167
- - lib/arjdbc/tasks/hsqldb_database_tasks.rb
168
- - lib/arjdbc/tasks/jdbc_database_tasks.rb
169
- - lib/arjdbc/tasks/mssql_database_tasks.rb
170
- - lib/arjdbc/tasks/oracle/enhanced_structure_dump.rb
171
- - lib/arjdbc/tasks/oracle_database_tasks.rb
172
- - lib/arjdbc/util/quoted_cache.rb
173
- - lib/arjdbc/util/serialized_attributes.rb
174
- - lib/arjdbc/util/table_copier.rb
175
- - lib/arjdbc/version.rb
176
- - lib/generators/jdbc/USAGE
177
- - lib/generators/jdbc/jdbc_generator.rb
178
- - lib/jdbc_adapter.rb
179
- - lib/jdbc_adapter/rake_tasks.rb
180
- - lib/jdbc_adapter/version.rb
181
- - pom.xml
182
- - rails_generators/jdbc_generator.rb
183
- - rails_generators/templates/config/initializers/jdbc.rb
184
- - rails_generators/templates/lib/tasks/jdbc.rake
185
- - rakelib/01-tomcat.rake
186
- - rakelib/02-test.rake
187
- - rakelib/bundler_ext.rb
188
- - rakelib/compile.rake
189
- - rakelib/db.rake
190
- - rakelib/rails.rake
191
- - src/java/arjdbc/ArJdbcModule.java
192
- - src/java/arjdbc/db2/DB2Module.java
193
- - src/java/arjdbc/db2/DB2RubyJdbcConnection.java
194
- - src/java/arjdbc/derby/DerbyModule.java
195
- - src/java/arjdbc/derby/DerbyRubyJdbcConnection.java
196
- - src/java/arjdbc/h2/H2Module.java
197
- - src/java/arjdbc/h2/H2RubyJdbcConnection.java
198
- - src/java/arjdbc/hsqldb/HSQLDBModule.java
199
- - src/java/arjdbc/informix/InformixRubyJdbcConnection.java
200
- - src/java/arjdbc/jdbc/AdapterJavaService.java
201
- - src/java/arjdbc/jdbc/Callable.java
202
- - src/java/arjdbc/jdbc/JdbcConnectionFactory.java
203
- - src/java/arjdbc/jdbc/RubyJdbcConnection.java
204
- - src/java/arjdbc/jdbc/SQLBlock.java
205
- - src/java/arjdbc/mssql/MSSQLModule.java
206
- - src/java/arjdbc/mssql/MSSQLRubyJdbcConnection.java
207
- - src/java/arjdbc/mssql/MssqlRubyJdbcConnection.java
208
- - src/java/arjdbc/mysql/MySQLModule.java
209
- - src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java
210
- - src/java/arjdbc/oracle/OracleModule.java
211
- - src/java/arjdbc/oracle/OracleRubyJdbcConnection.java
212
- - src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java
213
- - src/java/arjdbc/postgresql/PostgresqlRubyJdbcConnection.java
214
- - src/java/arjdbc/sqlite3/SQLite3Module.java
215
- - src/java/arjdbc/sqlite3/SQLite3RubyJdbcConnection.java
216
- - src/java/arjdbc/sqlite3/Sqlite3RubyJdbcConnection.java
217
- - src/java/arjdbc/util/CallResultSet.java
218
- - src/java/arjdbc/util/QuotingUtils.java
40
+ files:
41
+ - .gitignore
42
+ - .travis.yml
43
+ - .yardopts
44
+ - Appraisals
45
+ - CONTRIBUTING.md
46
+ - Gemfile
47
+ - History.md
48
+ - LICENSE.txt
49
+ - README.md
50
+ - RUNNING_TESTS.md
51
+ - Rakefile
52
+ - Rakefile.jdbc
53
+ - activerecord-jdbc-adapter.gemspec
54
+ - lib/active_record/connection_adapters/as400_adapter.rb
55
+ - lib/active_record/connection_adapters/db2_adapter.rb
56
+ - lib/active_record/connection_adapters/derby_adapter.rb
57
+ - lib/active_record/connection_adapters/firebird_adapter.rb
58
+ - lib/active_record/connection_adapters/h2_adapter.rb
59
+ - lib/active_record/connection_adapters/hsqldb_adapter.rb
60
+ - lib/active_record/connection_adapters/informix_adapter.rb
61
+ - lib/active_record/connection_adapters/jdbc_adapter.rb
62
+ - lib/active_record/connection_adapters/jndi_adapter.rb
63
+ - lib/active_record/connection_adapters/mariadb_adapter.rb
64
+ - lib/active_record/connection_adapters/mssql_adapter.rb
65
+ - lib/active_record/connection_adapters/mysql2_adapter.rb
66
+ - lib/active_record/connection_adapters/mysql_adapter.rb
67
+ - lib/active_record/connection_adapters/oracle_adapter.rb
68
+ - lib/active_record/connection_adapters/postgresql_adapter.rb
69
+ - lib/active_record/connection_adapters/sqlite3_adapter.rb
70
+ - lib/active_record/connection_adapters/sqlserver_adapter.rb
71
+ - lib/activerecord-jdbc-adapter.rb
72
+ - lib/arel/visitors/compat.rb
73
+ - lib/arel/visitors/db2.rb
74
+ - lib/arel/visitors/derby.rb
75
+ - lib/arel/visitors/firebird.rb
76
+ - lib/arel/visitors/h2.rb
77
+ - lib/arel/visitors/hsqldb.rb
78
+ - lib/arel/visitors/sql_server.rb
79
+ - lib/arjdbc.rb
80
+ - lib/arjdbc/db2.rb
81
+ - lib/arjdbc/db2/adapter.rb
82
+ - lib/arjdbc/db2/as400.rb
83
+ - lib/arjdbc/db2/column.rb
84
+ - lib/arjdbc/db2/connection_methods.rb
85
+ - lib/arjdbc/derby.rb
86
+ - lib/arjdbc/derby/active_record_patch.rb
87
+ - lib/arjdbc/derby/adapter.rb
88
+ - lib/arjdbc/derby/connection_methods.rb
89
+ - lib/arjdbc/derby/schema_creation.rb
90
+ - lib/arjdbc/discover.rb
91
+ - lib/arjdbc/firebird.rb
92
+ - lib/arjdbc/firebird/adapter.rb
93
+ - lib/arjdbc/firebird/connection_methods.rb
94
+ - lib/arjdbc/h2.rb
95
+ - lib/arjdbc/h2/adapter.rb
96
+ - lib/arjdbc/h2/connection_methods.rb
97
+ - lib/arjdbc/hsqldb.rb
98
+ - lib/arjdbc/hsqldb/adapter.rb
99
+ - lib/arjdbc/hsqldb/connection_methods.rb
100
+ - lib/arjdbc/hsqldb/explain_support.rb
101
+ - lib/arjdbc/hsqldb/schema_creation.rb
102
+ - lib/arjdbc/informix.rb
103
+ - lib/arjdbc/informix/adapter.rb
104
+ - lib/arjdbc/informix/connection_methods.rb
105
+ - lib/arjdbc/jdbc.rb
106
+ - lib/arjdbc/jdbc/adapter.rb
107
+ - lib/arjdbc/jdbc/adapter_java.jar
108
+ - lib/arjdbc/jdbc/adapter_require.rb
109
+ - lib/arjdbc/jdbc/arel_support.rb
110
+ - lib/arjdbc/jdbc/base_ext.rb
111
+ - lib/arjdbc/jdbc/callbacks.rb
112
+ - lib/arjdbc/jdbc/column.rb
113
+ - lib/arjdbc/jdbc/connection.rb
114
+ - lib/arjdbc/jdbc/connection_methods.rb
115
+ - lib/arjdbc/jdbc/driver.rb
116
+ - lib/arjdbc/jdbc/extension.rb
117
+ - lib/arjdbc/jdbc/java.rb
118
+ - lib/arjdbc/jdbc/jdbc.rake
119
+ - lib/arjdbc/jdbc/quoted_primary_key.rb
120
+ - lib/arjdbc/jdbc/railtie.rb
121
+ - lib/arjdbc/jdbc/rake_tasks.rb
122
+ - lib/arjdbc/jdbc/serialized_attributes_helper.rb
123
+ - lib/arjdbc/jdbc/type_cast.rb
124
+ - lib/arjdbc/jdbc/type_converter.rb
125
+ - lib/arjdbc/mimer.rb
126
+ - lib/arjdbc/mimer/adapter.rb
127
+ - lib/arjdbc/mssql.rb
128
+ - lib/arjdbc/mssql/adapter.rb
129
+ - lib/arjdbc/mssql/column.rb
130
+ - lib/arjdbc/mssql/connection_methods.rb
131
+ - lib/arjdbc/mssql/explain_support.rb
132
+ - lib/arjdbc/mssql/limit_helpers.rb
133
+ - lib/arjdbc/mssql/lock_methods.rb
134
+ - lib/arjdbc/mssql/utils.rb
135
+ - lib/arjdbc/mysql.rb
136
+ - lib/arjdbc/mysql/adapter.rb
137
+ - lib/arjdbc/mysql/bulk_change_table.rb
138
+ - lib/arjdbc/mysql/column.rb
139
+ - lib/arjdbc/mysql/connection_methods.rb
140
+ - lib/arjdbc/mysql/explain_support.rb
141
+ - lib/arjdbc/mysql/schema_creation.rb
142
+ - lib/arjdbc/oracle.rb
143
+ - lib/arjdbc/oracle/adapter.rb
144
+ - lib/arjdbc/oracle/column.rb
145
+ - lib/arjdbc/oracle/connection_methods.rb
146
+ - lib/arjdbc/postgresql.rb
147
+ - lib/arjdbc/postgresql/adapter.rb
148
+ - lib/arjdbc/postgresql/base/array_parser.rb
149
+ - lib/arjdbc/postgresql/base/oid.rb
150
+ - lib/arjdbc/postgresql/column.rb
151
+ - lib/arjdbc/postgresql/connection_methods.rb
152
+ - lib/arjdbc/postgresql/explain_support.rb
153
+ - lib/arjdbc/postgresql/oid_types.rb
154
+ - lib/arjdbc/postgresql/schema_creation.rb
155
+ - lib/arjdbc/railtie.rb
156
+ - lib/arjdbc/sqlite3.rb
157
+ - lib/arjdbc/sqlite3/adapter.rb
158
+ - lib/arjdbc/sqlite3/connection_methods.rb
159
+ - lib/arjdbc/sqlite3/explain_support.rb
160
+ - lib/arjdbc/sybase.rb
161
+ - lib/arjdbc/sybase/adapter.rb
162
+ - lib/arjdbc/tasks.rb
163
+ - lib/arjdbc/tasks/database_tasks.rb
164
+ - lib/arjdbc/tasks/databases.rake
165
+ - lib/arjdbc/tasks/databases3.rake
166
+ - lib/arjdbc/tasks/databases4.rake
167
+ - lib/arjdbc/tasks/db2_database_tasks.rb
168
+ - lib/arjdbc/tasks/derby_database_tasks.rb
169
+ - lib/arjdbc/tasks/h2_database_tasks.rb
170
+ - lib/arjdbc/tasks/hsqldb_database_tasks.rb
171
+ - lib/arjdbc/tasks/jdbc_database_tasks.rb
172
+ - lib/arjdbc/tasks/mssql_database_tasks.rb
173
+ - lib/arjdbc/tasks/oracle/enhanced_structure_dump.rb
174
+ - lib/arjdbc/tasks/oracle_database_tasks.rb
175
+ - lib/arjdbc/util/quoted_cache.rb
176
+ - lib/arjdbc/util/serialized_attributes.rb
177
+ - lib/arjdbc/util/table_copier.rb
178
+ - lib/arjdbc/version.rb
179
+ - lib/generators/jdbc/USAGE
180
+ - lib/generators/jdbc/jdbc_generator.rb
181
+ - lib/jdbc_adapter.rb
182
+ - lib/jdbc_adapter/rake_tasks.rb
183
+ - lib/jdbc_adapter/version.rb
184
+ - pom.xml
185
+ - rails_generators/jdbc_generator.rb
186
+ - rails_generators/templates/config/initializers/jdbc.rb
187
+ - rails_generators/templates/lib/tasks/jdbc.rake
188
+ - rakelib/01-tomcat.rake
189
+ - rakelib/02-test.rake
190
+ - rakelib/bundler_ext.rb
191
+ - rakelib/compile.rake
192
+ - rakelib/db.rake
193
+ - rakelib/rails.rake
194
+ - src/java/arjdbc/ArJdbcModule.java
195
+ - src/java/arjdbc/db2/DB2Module.java
196
+ - src/java/arjdbc/db2/DB2RubyJdbcConnection.java
197
+ - src/java/arjdbc/derby/DerbyModule.java
198
+ - src/java/arjdbc/derby/DerbyRubyJdbcConnection.java
199
+ - src/java/arjdbc/h2/H2Module.java
200
+ - src/java/arjdbc/h2/H2RubyJdbcConnection.java
201
+ - src/java/arjdbc/hsqldb/HSQLDBModule.java
202
+ - src/java/arjdbc/informix/InformixRubyJdbcConnection.java
203
+ - src/java/arjdbc/jdbc/AdapterJavaService.java
204
+ - src/java/arjdbc/jdbc/Callable.java
205
+ - src/java/arjdbc/jdbc/JdbcConnectionFactory.java
206
+ - src/java/arjdbc/jdbc/RubyJdbcConnection.java
207
+ - src/java/arjdbc/jdbc/SQLBlock.java
208
+ - src/java/arjdbc/mssql/MSSQLModule.java
209
+ - src/java/arjdbc/mssql/MSSQLRubyJdbcConnection.java
210
+ - src/java/arjdbc/mssql/MssqlRubyJdbcConnection.java
211
+ - src/java/arjdbc/mysql/MySQLModule.java
212
+ - src/java/arjdbc/mysql/MySQLRubyJdbcConnection.java
213
+ - src/java/arjdbc/oracle/OracleModule.java
214
+ - src/java/arjdbc/oracle/OracleRubyJdbcConnection.java
215
+ - src/java/arjdbc/postgresql/PostgreSQLRubyJdbcConnection.java
216
+ - src/java/arjdbc/postgresql/PostgresqlRubyJdbcConnection.java
217
+ - src/java/arjdbc/sqlite3/SQLite3Module.java
218
+ - src/java/arjdbc/sqlite3/SQLite3RubyJdbcConnection.java
219
+ - src/java/arjdbc/sqlite3/Sqlite3RubyJdbcConnection.java
220
+ - src/java/arjdbc/util/CallResultSet.java
221
+ - src/java/arjdbc/util/QuotingUtils.java
219
222
  homepage: https://github.com/jruby/activerecord-jdbc-adapter
220
- licenses:
221
- - BSD
222
- post_install_message:
223
- rdoc_options:
224
- - --main
225
- - README.md
226
- - -SHN
227
- - -f
228
- - darkfish
229
- require_paths:
230
- - lib
231
- required_ruby_version: !ruby/object:Gem::Requirement
232
- none: false
233
- requirements:
234
- - - ">="
235
- - !ruby/object:Gem::Version
236
- hash: 2
237
- segments:
238
- - 0
239
- version: "0"
240
- required_rubygems_version: !ruby/object:Gem::Requirement
241
- none: false
242
- requirements:
243
- - - ">="
244
- - !ruby/object:Gem::Version
245
- version: "0"
223
+ licenses:
224
+ - BSD
225
+ metadata: {}
226
+ post_install_message:
227
+ rdoc_options:
228
+ - --main
229
+ - README.md
230
+ - -SHN
231
+ - -f
232
+ - darkfish
233
+ require_paths:
234
+ - lib
235
+ required_ruby_version: !ruby/object:Gem::Requirement
236
+ requirements:
237
+ - - '>='
238
+ - !ruby/object:Gem::Version
239
+ version: '0'
240
+ required_rubygems_version: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - '>='
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
246
245
  requirements: []
247
-
248
246
  rubyforge_project: jruby-extras
249
- rubygems_version: 1.8.24
250
- signing_key:
251
- specification_version: 3
247
+ rubygems_version: 2.4.5
248
+ signing_key:
249
+ specification_version: 4
252
250
  summary: JDBC adapter for ActiveRecord, for use within JRuby on Rails.
253
251
  test_files: []
254
-
252
+ has_rdoc: