jdbc-jtds 1.2.8 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE.txt +1 -5
- data/README.txt +14 -0
- data/lib/jdbc/jtds.rb +6 -12
- data/lib/jtds-1.3.0.jar +0 -0
- metadata +38 -44
- data/README.md +0 -29
- data/lib/jtds-1.2.8.jar +0 -0
data/LICENSE.txt
CHANGED
@@ -1,5 +1 @@
|
|
1
|
-
jTDS
|
2
|
-
|
3
|
-
If you modify jTDS and redistribute your modifications, the LGPL applies, basically meaning that you'll have to make the modified version publicly available under the LGPL license too. This ensures that all users of the software have access to all future improvements.
|
4
|
-
|
5
|
-
jTDS was initially based on software released under a BSD license by CDS Networks, Inc. and/or Craig Spannring, the author of the original FreeTDS JDBC driver from which jTDS is derived. Between releases 0.8.1 and 0.9 jTDS was completely rewritten so the original BSD license no longer applies.
|
1
|
+
This gem bundles the jTDS driver for Java. jTDS is made available under the terms of the GNU Lesser General Public License, see http://jtds.sourceforge.net/license.html for more details.
|
data/README.txt
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
= jdbc-jtds
|
2
|
+
|
3
|
+
* https://github.com/jruby/activerecord-jdbc-adapter/
|
4
|
+
|
5
|
+
== DESCRIPTION:
|
6
|
+
|
7
|
+
This is a jTDS JDBC driver gem for JRuby.
|
8
|
+
|
9
|
+
Use
|
10
|
+
|
11
|
+
require 'jdbc/jtds'
|
12
|
+
|
13
|
+
to make the driver accessible to JDBC and ActiveRecord code running in JRuby.
|
14
|
+
|
data/lib/jdbc/jtds.rb
CHANGED
@@ -1,12 +1,9 @@
|
|
1
|
-
warn "Jdbc-JTDS is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true)
|
2
|
-
|
3
1
|
module Jdbc
|
4
2
|
module JTDS
|
5
|
-
|
6
|
-
VERSION = DRIVER_VERSION
|
3
|
+
VERSION = "1.3.0"
|
7
4
|
|
8
5
|
def self.driver_jar
|
9
|
-
"jtds-#{
|
6
|
+
"jtds-#{VERSION}.jar"
|
10
7
|
end
|
11
8
|
|
12
9
|
def self.load_driver(method = :load)
|
@@ -16,12 +13,9 @@ module Jdbc
|
|
16
13
|
def self.driver_name
|
17
14
|
'net.sourceforge.jtds.jdbc.Driver'
|
18
15
|
end
|
19
|
-
|
20
|
-
if defined?(JRUBY_VERSION) && # enable backwards-compat behavior :
|
21
|
-
( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
|
22
|
-
Java::JavaLang::Boolean.get_boolean("jdbc.jtds.autoload") )
|
23
|
-
warn "autoloading JDBC driver on require 'jdbc/jtds'" if $VERBOSE
|
24
|
-
load_driver :require
|
25
|
-
end
|
26
16
|
end
|
27
17
|
end
|
18
|
+
|
19
|
+
if $VERBOSE && (JRUBY_VERSION.nil? rescue true)
|
20
|
+
warn "Jdbc-JTDS is only for use with JRuby"
|
21
|
+
end
|
data/lib/jtds-1.3.0.jar
ADDED
Binary file
|
metadata
CHANGED
@@ -1,62 +1,56 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdbc-jtds
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 1.3.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Nick Sieger, Ola Bini and JRuby contributors
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2013-08-24 00:00:00 Z
|
12
|
+
date: 2010-04-21 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
15
|
-
|
16
|
-
description: Install this gem `require 'jdbc/jtds'` and invoke `Jdbc::JDTS.load_driver` within JRuby to load the driver.
|
14
|
+
description: Install this gem and require 'jtds' within JRuby to load the driver.
|
17
15
|
email: nick@nicksieger.com, ola.bini@gmail.com
|
18
16
|
executables: []
|
19
|
-
|
20
17
|
extensions: []
|
21
|
-
|
22
18
|
extra_rdoc_files: []
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
- lib/jdbc/jtds.rb
|
19
|
+
files:
|
20
|
+
- Rakefile
|
21
|
+
- README.txt
|
22
|
+
- LICENSE.txt
|
23
|
+
- lib/jtds-1.3.0.jar
|
24
|
+
- lib/jdbc/jtds.rb
|
30
25
|
homepage: https://github.com/jruby/activerecord-jdbc-adapter
|
31
26
|
licenses: []
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options:
|
29
|
+
- --main
|
30
|
+
- README.txt
|
31
|
+
require_paths:
|
32
|
+
- lib
|
33
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
segments:
|
38
|
+
- 0
|
39
|
+
hash: 2
|
40
|
+
version: !binary |-
|
41
|
+
MA==
|
40
42
|
none: false
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
version: "0"
|
48
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
43
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: !binary |-
|
48
|
+
MA==
|
49
49
|
none: false
|
50
|
-
requirements:
|
51
|
-
- - ">="
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: "0"
|
54
50
|
requirements: []
|
55
|
-
|
56
51
|
rubyforge_project: jruby-extras
|
57
52
|
rubygems_version: 1.8.24
|
58
|
-
signing_key:
|
53
|
+
signing_key:
|
59
54
|
specification_version: 3
|
60
|
-
summary:
|
55
|
+
summary: JTDS/JavaDB JDBC driver for Java and JTDS/ActiveRecord-JDBC.
|
61
56
|
test_files: []
|
62
|
-
|
data/README.md
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# jdbc-jtds
|
2
|
-
|
3
|
-
jTDS - SQL Server and Sybase JDBC driver gem for JRuby
|
4
|
-
|
5
|
-
Open source JDBC 3.0 type 4 driver for Microsoft SQL Server (6.5 up to 2012) and Sybase ASE.
|
6
|
-
jTDS is a complete implementation of the JDBC 3.0 spec and the fastest JDBC driver for MS SQL Server.
|
7
|
-
|
8
|
-
For more information see http://jtds.sourceforge.net/
|
9
|
-
|
10
|
-
## Usage
|
11
|
-
|
12
|
-
To make the driver (Java class) accessible to JDBC and ActiveRecord code running in JRuby :
|
13
|
-
|
14
|
-
require 'jdbc/jtds'
|
15
|
-
Jdbc::JDTS.load_driver
|
16
|
-
|
17
|
-
For backwards compatibility with older (**1.2.5**) versions of the gem use :
|
18
|
-
|
19
|
-
require 'jdbc/jtds'
|
20
|
-
Jdbc::JDTS.load_driver(:require) if Jdbc::JDTS.respond_to?(:load_driver)
|
21
|
-
|
22
|
-
NOTE: jTDS **1.3.0** requires Java 7 or newer, if you're on older Java please use **1.2.x**.
|
23
|
-
|
24
|
-
## Copyright
|
25
|
-
|
26
|
-
Copyright (c) 2012 [The JRuby Team](https://github.com/jruby).
|
27
|
-
|
28
|
-
jTDS is made available under the terms of the GNU Lesser General Public License,
|
29
|
-
see *LICENSE.txt* and http://jtds.sourceforge.net/license.html for more details.
|
data/lib/jtds-1.2.8.jar
DELETED
Binary file
|