activerecord-jdbcmssql-adapter 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2006-2007 Nick Sieger <nick@nicksieger.com>
2
+ Copyright (c) 2006-2007 Ola Bini <ola@ologix.com>
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining
5
+ a copy of this software and associated documentation files (the
6
+ "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish,
8
+ distribute, sublicense, and/or sell copies of the Software, and to
9
+ permit persons to whom the Software is furnished to do so, subject to
10
+ the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest.txt ADDED
@@ -0,0 +1,7 @@
1
+ Manifest.txt
2
+ Rakefile
3
+ README.txt
4
+ LICENSE.txt
5
+ lib/active_record
6
+ lib/active_record/connection_adapters
7
+ lib/active_record/connection_adapters/jdbcmssql_adapter.rb
data/README.txt ADDED
@@ -0,0 +1,7 @@
1
+ = activerecord-jdbcmssql-adapter
2
+
3
+ * http://jruby-extras.rubyforge.org/activerecord-jdbc-adapter/
4
+
5
+ == DESCRIPTION:
6
+
7
+ This is an ActiveRecord driver for MS-SQL using JDBC running under JRuby.
data/Rakefile ADDED
@@ -0,0 +1,40 @@
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
8
+
9
+ require File.dirname(__FILE__) + "/../../lib/arjdbc/version"
10
+ $LOAD_PATH << File.dirname(__FILE__) + "/../../drivers/jtds/lib"
11
+ require "jdbc/jtds"
12
+
13
+ begin
14
+ require 'hoe'
15
+ Hoe.plugin :gemcutter
16
+ hoe = Hoe.spec("activerecord-jdbcmssql-adapter") do |p|
17
+ p.version = ArJdbc::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 = "MS-SQL JDBC adapter for JRuby on Rails."
23
+ p.description = "Install this gem to use MS-SQL with JRuby on Rails."
24
+ driver = 'jdbc-jtds'
25
+ version = Jdbc::JTDS::VERSION
26
+ compat_version = "~> #{version.split(/\./)[0..1].join('.')}.0"
27
+ puts "#{p.name}: current #{driver} version #{version}, compat #{compat_version}"
28
+ p.extra_deps += [
29
+ ['activerecord-jdbc-adapter', "= #{ArJdbc::Version::VERSION}"],
30
+ [driver, compat_version]]
31
+ end
32
+ task :gemspec do
33
+ File.open("#{hoe.name}.gemspec", "w") {|f| f << hoe.spec.to_ruby }
34
+ end
35
+ task :package => :gemspec
36
+ rescue LoadError
37
+ puts "You really need Hoe installed to be able to package this gem"
38
+ rescue => e
39
+ puts "ignoring error while loading hoe: #{e.to_s}"
40
+ end
@@ -0,0 +1 @@
1
+ require 'arjdbc/mssql'
metadata ADDED
@@ -0,0 +1,130 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord-jdbcmssql-adapter
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 1
8
+ - 0
9
+ version: 1.1.0
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-09 00:00:00 -06:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: activerecord-jdbc-adapter
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - "="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 1
31
+ - 0
32
+ version: 1.1.0
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: jdbc-jtds
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ segments:
44
+ - 1
45
+ - 2
46
+ - 0
47
+ version: 1.2.0
48
+ type: :runtime
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rubyforge
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ segments:
59
+ - 2
60
+ - 0
61
+ - 4
62
+ version: 2.0.4
63
+ type: :development
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: hoe
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ segments:
74
+ - 2
75
+ - 6
76
+ - 2
77
+ version: 2.6.2
78
+ type: :development
79
+ version_requirements: *id004
80
+ description: Install this gem to use MS-SQL with JRuby on Rails.
81
+ email: nick@nicksieger.com, ola.bini@gmail.com
82
+ executables: []
83
+
84
+ extensions: []
85
+
86
+ extra_rdoc_files:
87
+ - Manifest.txt
88
+ - README.txt
89
+ - LICENSE.txt
90
+ files:
91
+ - Manifest.txt
92
+ - Rakefile
93
+ - README.txt
94
+ - LICENSE.txt
95
+ - lib/active_record/connection_adapters/jdbcmssql_adapter.rb
96
+ has_rdoc: true
97
+ homepage: http://jruby-extras.rubyforge.org/ActiveRecord-JDBC
98
+ licenses: []
99
+
100
+ post_install_message:
101
+ rdoc_options:
102
+ - --main
103
+ - README.txt
104
+ require_paths:
105
+ - lib
106
+ required_ruby_version: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ segments:
112
+ - 0
113
+ version: "0"
114
+ required_rubygems_version: !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ segments:
120
+ - 0
121
+ version: "0"
122
+ requirements: []
123
+
124
+ rubyforge_project: jruby-extras
125
+ rubygems_version: 1.3.7
126
+ signing_key:
127
+ specification_version: 3
128
+ summary: MS-SQL JDBC adapter for JRuby on Rails.
129
+ test_files: []
130
+