activerecord-fb-adapter 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[![Build Status](https://travis-ci.org/rowland/activerecord-fb-adapter.png?branch=master)](https://travis-ci.org/rowland/activerecord-fb-adapter)
|
4
4
|
|
5
5
|
<img src="/project_logo.png" align="left" hspace="10">
|
6
|
-
This is the ActiveRecord adapter for working with the [Firebird SQL Server](http://firebirdsql.org/). It currently supports Rails 3.2.x and 4.x. Although this adapter may not yet have feature parity with the 1st tier databases supported by Rails, it has been used in production by different people
|
6
|
+
This is the ActiveRecord adapter for working with the [Firebird SQL Server](http://firebirdsql.org/). It currently supports Rails 3.2.x and 4.x. Although this adapter may not yet have feature parity with the 1st tier databases supported by Rails, it has been used in production by different people without issues and may be considered stable. It uses under the hood the [Ruby Firebird Extension Library](https://github.com/rowland/fb).
|
7
7
|
|
8
8
|
## What's supported
|
9
9
|
|
@@ -23,6 +23,10 @@ module ActiveRecord
|
|
23
23
|
end
|
24
24
|
end if ActiveRecord::VERSION::STRING < "4.2.0"
|
25
25
|
|
26
|
+
def quote_string(string) # :nodoc:
|
27
|
+
string.gsub(/'/, "''")
|
28
|
+
end
|
29
|
+
|
26
30
|
def quote_column_name(column_name) # :nodoc:
|
27
31
|
name = ar_to_fb_case(column_name.to_s).gsub('"', '')
|
28
32
|
@connection.dialect == 1 ? %Q(#{name}) : %Q("#{name}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-fb-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fb
|