fb_adapter 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
data/fb_adapter.gemspec
CHANGED
@@ -4,8 +4,8 @@ require 'rubygems'
|
|
4
4
|
spec = Gem::Specification.new do |s|
|
5
5
|
s.author = "Brent Rowland"
|
6
6
|
s.name = "fb_adapter"
|
7
|
-
s.version = "0.5.
|
8
|
-
s.date = "2008-
|
7
|
+
s.version = "0.5.7"
|
8
|
+
s.date = "2008-12-02"
|
9
9
|
s.summary = "ActiveRecord Firebird Adapter"
|
10
10
|
s.requirements = "Firebird library fb"
|
11
11
|
s.require_path = 'lib'
|
@@ -52,7 +52,7 @@ module ActiveRecord
|
|
52
52
|
def default
|
53
53
|
if @default
|
54
54
|
sql = "SELECT CAST(#{@default} AS #{column_def}) FROM RDB$DATABASE"
|
55
|
-
connection = ActiveRecord::Base.
|
55
|
+
connection = ActiveRecord::Base.connection
|
56
56
|
if connection
|
57
57
|
type_cast connection.select_one(sql)['cast']
|
58
58
|
else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fb_adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brent Rowland
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-12-02 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -46,7 +46,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
46
46
|
requirements:
|
47
47
|
- Firebird library fb
|
48
48
|
rubyforge_project: fblib
|
49
|
-
rubygems_version: 1.
|
49
|
+
rubygems_version: 1.3.1
|
50
50
|
signing_key:
|
51
51
|
specification_version: 2
|
52
52
|
summary: ActiveRecord Firebird Adapter
|