jdbc-jtds 1.2.5

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.
data/LICENSE.txt ADDED
@@ -0,0 +1 @@
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/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/jdbc
6
+ lib/jtds-1.2.5.jar
7
+ lib/jdbc/jtds.rb
data/README.txt ADDED
@@ -0,0 +1,14 @@
1
+ = jdbc-jtds
2
+
3
+ * http://jruby-extras.rubyforge.org/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/Rakefile ADDED
@@ -0,0 +1,30 @@
1
+ MANIFEST = FileList["Manifest.txt", "Rakefile", "README.txt", "LICENSE.txt", "lib/**/*"]
2
+
3
+ file "Manifest.txt" => :manifest
4
+ task :manifest do
5
+ File.open("Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
6
+ end
7
+ Rake::Task['manifest'].invoke # Always regen manifest, so Hoe has up-to-date list of files
8
+
9
+ $LOAD_PATH << "lib"
10
+ require "jdbc/jtds"
11
+ begin
12
+ require 'hoe'
13
+ Hoe.plugin :gemcutter
14
+ Hoe.spec("jdbc-jtds") do |p|
15
+ version = Jdbc::JTDS::VERSION
16
+ version += '.' + ENV['DRIVER_REV'] if ENV['DRIVER_REV']
17
+ p.version = version
18
+ p.rubyforge_name = "jruby-extras"
19
+ p.url = "http://jruby-extras.rubyforge.org/ActiveRecord-JDBC"
20
+ p.author = "Nick Sieger, Ola Bini and JRuby contributors"
21
+ p.email = "nick@nicksieger.com, ola.bini@gmail.com"
22
+ p.summary = "jTDS JDBC driver for Java and jTDS/ActiveRecord-JDBC."
23
+ p.changes = "Updated to jTDS version #{Jdbc::JTDS::VERSION}."
24
+ p.description = "Install this gem and require 'jtds' within JRuby to load the driver."
25
+ end.spec.dependencies.delete_if { |dep| dep.name == "hoe" }
26
+ rescue LoadError
27
+ puts "You really need Hoe installed to be able to package this gem"
28
+ rescue => e
29
+ puts "ignoring error while loading hoe: #{e.to_s}"
30
+ end
data/lib/jdbc/jtds.rb ADDED
@@ -0,0 +1,10 @@
1
+ module Jdbc
2
+ module JTDS
3
+ VERSION = "1.2.5"
4
+ end
5
+ end
6
+ if RUBY_PLATFORM =~ /java/
7
+ require "jtds-#{Jdbc::JTDS::VERSION}.jar"
8
+ else
9
+ warn "jdbc-jtds is only for use with JRuby"
10
+ end
Binary file
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jdbc-jtds
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 2
8
+ - 5
9
+ version: 1.2.5
10
+ platform: ruby
11
+ authors:
12
+ - Nick Sieger, Ola Bini and JRuby contributors
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-12-06 00:00:00 -06:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rubyforge
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 2
30
+ - 0
31
+ - 4
32
+ version: 2.0.4
33
+ type: :development
34
+ version_requirements: *id001
35
+ description: Install this gem and require 'jtds' within JRuby to load the driver.
36
+ email: nick@nicksieger.com, ola.bini@gmail.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files:
42
+ - Manifest.txt
43
+ - README.txt
44
+ - LICENSE.txt
45
+ files:
46
+ - Manifest.txt
47
+ - Rakefile
48
+ - README.txt
49
+ - LICENSE.txt
50
+ - lib/jtds-1.2.5.jar
51
+ - lib/jdbc/jtds.rb
52
+ has_rdoc: true
53
+ homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
54
+ licenses: []
55
+
56
+ post_install_message:
57
+ rdoc_options:
58
+ - --main
59
+ - README.txt
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
69
+ version: "0"
70
+ required_rubygems_version: !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ requirements: []
79
+
80
+ rubyforge_project: jruby-extras
81
+ rubygems_version: 1.3.7
82
+ signing_key:
83
+ specification_version: 3
84
+ summary: jTDS JDBC driver for Java and jTDS/ActiveRecord-JDBC.
85
+ test_files: []
86
+