activerecord-odbc-adapter-openedge 2.3 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.markdown +14 -9
- data/lib/active_record/connection_adapters/odbc_adapter.rb +12 -1
- metadata +15 -18
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: da43eb5256dc156488dd91bdb9c48de4511da490
|
4
|
+
data.tar.gz: 3a5edcbae40061b9cff45fda3f111cbee2b3a3bb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 057f77a07a9dc73e7756df2eeba9e28621df3fcbca813e2dc1d092d158aa6563e843bc46f9a24142c2ec2f28bbfc3c303684d1789b4ae48b82774e34e852b511
|
7
|
+
data.tar.gz: e1815db96c8575b123c1005c1955b9e72fa19dedcc4877d5908eec03b06d1be463418865b5eb17d4e858d21c966a65deb013889c59cb8a063957a2959fa22140
|
data/README.markdown
CHANGED
@@ -2,11 +2,16 @@
|
|
2
2
|
|
3
3
|
(C) 2008 OpenLink Software
|
4
4
|
|
5
|
+
# Pushing the gem
|
6
|
+
- change version
|
7
|
+
- gem build activerecord-odbc-adapter.gemspec
|
8
|
+
- gem push activerecord-odbc-adapter-openedge-2.3.gem
|
9
|
+
|
10
|
+
|
11
|
+
# Status
|
12
|
+
|
13
|
+
**22-Nov-2008**
|
5
14
|
|
6
|
-
# Status
|
7
|
-
|
8
|
-
**22-Nov-2008**
|
9
|
-
|
10
15
|
Added new install information
|
11
16
|
|
12
17
|
**23-Apr-2008**
|
@@ -48,7 +53,7 @@ its own adapter.
|
|
48
53
|
|
49
54
|
It currently supports Ingres r3, Informix 9.3 or later, Oracle 10g,
|
50
55
|
MySQL 5 and OpenLink's Virtuoso
|
51
|
-
(Open Source Edition[http://virtuoso.openlinksw.com]),
|
56
|
+
(Open Source Edition[http://virtuoso.openlinksw.com]),
|
52
57
|
SQL Server 2000/2005, Sybase ASE 15, DB2 v9, Progress v8/9/10 and PostgreSQL 8.2.
|
53
58
|
|
54
59
|
Testing to date has been limited to the ROR 'Expenses' sample
|
@@ -111,10 +116,10 @@ There are 3 ways to install the ODBC Adapter package: either as a gem
|
|
111
116
|
one of the following, depending on whether you want the adapter to be
|
112
117
|
available system-wide or just within a particular Rails project.
|
113
118
|
|
114
|
-
# Installation as a Gem (recommended)
|
115
|
-
|
116
|
-
* If you haven't done so already first add github to rubygems with:
|
117
|
-
|
119
|
+
# Installation as a Gem (recommended)
|
120
|
+
|
121
|
+
* If you haven't done so already first add github to rubygems with:
|
122
|
+
|
118
123
|
gem sources -a http://gems.github.com
|
119
124
|
|
120
125
|
* Install the odbc-rails gem by running:
|
@@ -62,7 +62,6 @@ begin
|
|
62
62
|
# - supports DSN-based or DSN-less connections
|
63
63
|
# e.g. "DSN=virt5;UID=rails;PWD=rails"
|
64
64
|
# "DRIVER={OpenLink Virtuoso};HOST=carlmbp;UID=rails;PWD=rails"
|
65
|
-
# Driver={Adaptive Server Anywhere 9.0};CommLinks=TCPIP,SharedMemory;EngineName=<database_name>;UID=DBA;PWD=SQL
|
66
65
|
connstr_keyval_pairs = connstr.split(';')
|
67
66
|
driver = ODBC::Driver.new
|
68
67
|
driver.name = 'odbc'
|
@@ -395,6 +394,16 @@ begin
|
|
395
394
|
:supports_count_distinct => true,
|
396
395
|
:boolean_col_surrogate => "SMALLINT"
|
397
396
|
}
|
397
|
+
},
|
398
|
+
:advantage => {
|
399
|
+
:any_version => {
|
400
|
+
:primary_key => "INT NOT NULL IDENTITY PRIMARY KEY",
|
401
|
+
:has_autoincrement_col => true,
|
402
|
+
:supports_migrations => true,
|
403
|
+
:supports_schema_names => false,
|
404
|
+
:supports_count_distinct => true,
|
405
|
+
:boolean_col_surrogate => "SMALLINT"
|
406
|
+
}
|
398
407
|
}
|
399
408
|
}
|
400
409
|
|
@@ -1606,6 +1615,8 @@ begin
|
|
1606
1615
|
elsif dbmsName =~ /visualfoxpro/i
|
1607
1616
|
# Try to access Visual Fox Pro database as a PostgreSQL database, works for simple queries.
|
1608
1617
|
symbl = :postgresql
|
1618
|
+
elsif dbmsName =~ /advantage/i
|
1619
|
+
symbl = :advantage
|
1609
1620
|
else
|
1610
1621
|
raise ActiveRecord::ActiveRecordError, "ODBCAdapter: Unsupported database (#{dbmsName})"
|
1611
1622
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-odbc-adapter-openedge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 2.3.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Carl Blakeley
|
@@ -96,45 +95,43 @@ files:
|
|
96
95
|
- README.markdown
|
97
96
|
homepage: http://odbc-rails.rubyforge.org
|
98
97
|
licenses: []
|
98
|
+
metadata: {}
|
99
99
|
post_install_message:
|
100
100
|
rdoc_options:
|
101
|
-
- --title
|
101
|
+
- "--title"
|
102
102
|
- OpenLink ODBC Adapter for Ruby on Rails
|
103
|
-
- --line-numbers
|
104
|
-
- --inline-source
|
105
|
-
- --main
|
103
|
+
- "--line-numbers"
|
104
|
+
- "--inline-source"
|
105
|
+
- "--main"
|
106
106
|
- README.markdown
|
107
|
-
- --exclude
|
107
|
+
- "--exclude"
|
108
108
|
- lib/odbc_adapter.rb
|
109
|
-
- --exclude
|
109
|
+
- "--exclude"
|
110
110
|
- pack_odbc.rb
|
111
|
-
- --exclude
|
111
|
+
- "--exclude"
|
112
112
|
- vendor
|
113
|
-
- --exclude
|
113
|
+
- "--exclude"
|
114
114
|
- support
|
115
|
-
- --exclude
|
115
|
+
- "--exclude"
|
116
116
|
- test
|
117
|
-
- --include
|
117
|
+
- "--include"
|
118
118
|
- active_record/connection_adapters/*.rb
|
119
119
|
require_paths:
|
120
120
|
- lib
|
121
121
|
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
122
|
requirements:
|
124
|
-
- -
|
123
|
+
- - ">="
|
125
124
|
- !ruby/object:Gem::Version
|
126
125
|
version: '0'
|
127
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
127
|
requirements:
|
130
|
-
- -
|
128
|
+
- - ">="
|
131
129
|
- !ruby/object:Gem::Version
|
132
130
|
version: '0'
|
133
131
|
requirements: []
|
134
132
|
rubyforge_project:
|
135
|
-
rubygems_version: 1.
|
133
|
+
rubygems_version: 2.1.11
|
136
134
|
signing_key:
|
137
135
|
specification_version: 2
|
138
136
|
summary: ODBC Data Adapter for ActiveRecord
|
139
137
|
test_files: []
|
140
|
-
has_rdoc: true
|