jdbc-mssqlserver 4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.markdown +18 -0
- data/lib/jdbc/mssqlserver.rb +26 -0
- data/lib/jdbc/mssqlserver/version.rb +6 -0
- data/lib/sqljdbc4.jar +0 -0
- metadata +51 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 3a5c4db0a38ca63ff8e14050e6d8804794edb469
|
4
|
+
data.tar.gz: 11690553fd354477f97e0ec8dd0c127881888cc2
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a690a2a7179b2a50543c67c9453572d6b592935d2dbf8bdd5a4f678f6185b9d396a599d7cfbe42c3f567d1a1f78fd918c4a6739a90c5f27f0eb4cc3a194d1be9
|
7
|
+
data.tar.gz: 38a80d85b3340bfb891817ac83d35efffdc386ffd60ad78276b9b80e27c4efb908c8da54a0dcd3fe20a6f6886db315dd18192f61da1d6ea5a7a8222143f8af71
|
data/README.markdown
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# Microsoft Sql Server JDBC Driver
|
2
|
+
|
3
|
+
This is a Microsoft Sql Server JDBC driver packaged as gem for convenient installation in JRuby.
|
4
|
+
|
5
|
+
The do_sqlserver driver extension should automatically download and install this
|
6
|
+
gem for you, by virtue of the RubyGems requirement system.
|
7
|
+
|
8
|
+
If you want to load this driver directly:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'jdbc/mssqlserver'
|
12
|
+
```
|
13
|
+
|
14
|
+
to make the driver accessible to JDBC and DataObjects code running in JRuby.
|
15
|
+
|
16
|
+
## Copyright and Licensing
|
17
|
+
|
18
|
+
This gem bundles the Microsoft JDBC Driver for SQL Server, http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx
|
@@ -0,0 +1,26 @@
|
|
1
|
+
warn "Jdbc-MsSqlServer is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true)
|
2
|
+
require 'jdbc/mssqlserver/version'
|
3
|
+
|
4
|
+
module Jdbc
|
5
|
+
module MsSqlServer
|
6
|
+
|
7
|
+
def self.driver_jar
|
8
|
+
"sqljdbc#{DRIVER_VERSION}.jar"
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.load_driver(method = :load)
|
12
|
+
send method, driver_jar
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.driver_name
|
16
|
+
'com.microsoft.sqlserver.jdbc.SQLServerDriver'
|
17
|
+
end
|
18
|
+
|
19
|
+
if defined?(JRUBY_VERSION) && # enable backwards-compat behavior :
|
20
|
+
( Java::JavaLang::Boolean.get_boolean("jdbc.driver.autoload") ||
|
21
|
+
Java::JavaLang::Boolean.get_boolean("jdbc.mssqlserver.autoload") )
|
22
|
+
warn "autoloading JDBC driver on require 'jdbc/mssqlserver'" if $VERBOSE
|
23
|
+
load_driver :require
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/lib/sqljdbc4.jar
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jdbc-mssqlserver
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: '4'
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Jordan Yaker
|
8
|
+
- Supportify, Inc.
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-06-16 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Microsoft JDBC Driver for SQL Server, packaged as a Gem
|
15
|
+
email: ''
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files:
|
19
|
+
- README.markdown
|
20
|
+
files:
|
21
|
+
- README.markdown
|
22
|
+
- lib/jdbc/mssqlserver.rb
|
23
|
+
- lib/jdbc/mssqlserver/version.rb
|
24
|
+
- lib/sqljdbc4.jar
|
25
|
+
homepage: http://msdn.microsoft.com/en-us/sqlserver/aa937724.aspx
|
26
|
+
licenses: []
|
27
|
+
metadata: {}
|
28
|
+
post_install_message:
|
29
|
+
rdoc_options:
|
30
|
+
- --main
|
31
|
+
- README.markdown
|
32
|
+
require_paths:
|
33
|
+
- lib
|
34
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
requirements: []
|
45
|
+
rubyforge_project:
|
46
|
+
rubygems_version: 2.1.9
|
47
|
+
signing_key:
|
48
|
+
specification_version: 4
|
49
|
+
summary: Microsoft JDBC Driver for SQL Server
|
50
|
+
test_files: []
|
51
|
+
has_rdoc:
|