activerecord-jdbcmssql-adapter 1.2.2.1 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc ADDED
@@ -0,0 +1,21 @@
1
+ = activerecord-jdbcmssql-adapter
2
+
3
+ * https://github.com/jruby/activerecord-jdbc-adapter/
4
+
5
+ == DESCRIPTION:
6
+
7
+ This is an ActiveRecord driver for MS-SQL using JDBC running under JRuby.
8
+
9
+ == SQL Azure
10
+
11
+ To use this driver with SQL Azure you will need to follow these steps:
12
+ 1. Add the official Microsoft SQL Server JDBC driver to your classpath. The quick way is to include http://rubygems.org/gems/jdbc-mssql-azure in your gemfile.
13
+ If you want to include the jar manually it can be downloaded here http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19847
14
+ 2. Configure your database.yml as follows:
15
+
16
+ production:
17
+ adapter: jdbcmssql
18
+ driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
19
+ url: 'jdbc:sqlserver://mydatabase.database.windows.net;databaseName=my_database'
20
+ username: foo@mydatabase.database.windows.net
21
+ password: bar
data/Rakefile CHANGED
@@ -1,3 +1,3 @@
1
- require 'bundler'
1
+ require 'bundler/gem_helper'
2
2
  Bundler::GemHelper.install_tasks
3
3
  require File.expand_path '../../rakelib/bundler_ext', __FILE__
@@ -1 +1,4 @@
1
- require 'arjdbc/mssql'
1
+ require 'jdbc/jtds'
2
+ # NOTE: the adapter has only support for working with the
3
+ # open-source jTDS driver (won't work with MS's driver) !
4
+ Jdbc::JTDS.load_driver(:require) if Jdbc::JTDS.respond_to?(:load_driver)
metadata CHANGED
@@ -1,81 +1,93 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: activerecord-jdbcmssql-adapter
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.2.2.1
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 1.2.5
6
6
  platform: ruby
7
- authors:
8
- - Nick Sieger, Ola Bini and JRuby contributors
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: 2012-10-19 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
16
- name: activerecord-jdbc-adapter
17
- version_requirements: &id001 !ruby/object:Gem::Requirement
18
- none: false
19
- requirements:
20
- - - ~>
21
- - !ruby/object:Gem::Version
22
- version: 1.2.2.1
23
- requirement: *id001
24
- prerelease: false
25
- type: :runtime
26
- - !ruby/object:Gem::Dependency
27
- name: jdbc-jtds
28
- version_requirements: &id002 !ruby/object:Gem::Requirement
29
- none: false
30
- requirements:
31
- - - ~>
32
- - !ruby/object:Gem::Version
33
- version: 1.2.0
34
- requirement: *id002
35
- prerelease: false
36
- type: :runtime
12
+ date: 2013-01-02 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activerecord-jdbc-adapter
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: 1.2.5
21
+ none: false
22
+ requirement: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 1.2.5
27
+ none: false
28
+ prerelease: false
29
+ type: :runtime
30
+ - !ruby/object:Gem::Dependency
31
+ name: jdbc-jtds
32
+ version_requirements: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ! '>='
35
+ - !ruby/object:Gem::Version
36
+ version: 1.2.5
37
+ - - !binary |-
38
+ PA==
39
+ - !ruby/object:Gem::Version
40
+ version: 1.4.0
41
+ none: false
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 1.2.5
47
+ - - !binary |-
48
+ PA==
49
+ - !ruby/object:Gem::Version
50
+ version: 1.4.0
51
+ none: false
52
+ prerelease: false
53
+ type: :runtime
37
54
  description: Install this gem to use MS-SQL with JRuby on Rails.
38
55
  email: nick@nicksieger.com, ola.bini@gmail.com
39
56
  executables: []
40
-
41
57
  extensions: []
42
-
43
58
  extra_rdoc_files: []
44
-
45
- files:
46
- - Rakefile
47
- - README.txt
48
- - LICENSE.txt
49
- - lib/active_record/connection_adapters/jdbcmssql_adapter.rb
59
+ files:
60
+ - Rakefile
61
+ - README.rdoc
62
+ - LICENSE.txt
63
+ - lib/active_record/connection_adapters/jdbcmssql_adapter.rb
50
64
  homepage: https://github.com/jruby/activerecord-jdbc-adapter
51
65
  licenses: []
52
-
53
- post_install_message:
66
+ post_install_message:
54
67
  rdoc_options: []
55
-
56
- require_paths:
57
- - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
68
+ require_paths:
69
+ - lib
70
+ required_ruby_version: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ! '>='
73
+ - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
76
+ hash: 2
77
+ version: !binary |-
78
+ MA==
59
79
  none: false
60
- requirements:
61
- - - ">="
62
- - !ruby/object:Gem::Version
63
- hash: 2
64
- segments:
65
- - 0
66
- version: "0"
67
- required_rubygems_version: !ruby/object:Gem::Requirement
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ! '>='
83
+ - !ruby/object:Gem::Version
84
+ version: !binary |-
85
+ MA==
68
86
  none: false
69
- requirements:
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: "0"
73
87
  requirements: []
74
-
75
88
  rubyforge_project: jruby-extras
76
89
  rubygems_version: 1.8.24
77
- signing_key:
90
+ signing_key:
78
91
  specification_version: 3
79
92
  summary: MS_SQL JDBC adapter for JRuby on Rails.
80
93
  test_files: []
81
-
data/README.txt DELETED
@@ -1,7 +0,0 @@
1
- = activerecord-jdbcmssql-adapter
2
-
3
- * https://github.com/jruby/activerecord-jdbc-adapter/
4
-
5
- == DESCRIPTION:
6
-
7
- This is an ActiveRecord driver for MS-SQL using JDBC running under JRuby.