Remove most PG specific type subclasses
The latest version of the PG gem can actually convert the primitives for us in C code, which gives a pretty substantial speed up. A few cases were only there to add the `infinity` method, which I just put on the range type (which is the only place it was used). Floats also needed to parse `Infinity` and `NaN`, but it felt reasonable enough to put that on the generic form.
Showing
... | @@ -85,7 +85,7 @@ platforms :ruby do | ... | @@ -85,7 +85,7 @@ platforms :ruby do |
gem 'sqlite3', '~> 1.3.6' | gem 'sqlite3', '~> 1.3.6' | ||
group :db do | group :db do | ||
gem 'pg', '>= 0.15.0' | gem 'pg', '>= 0.18.0' | ||
gem 'mysql', '>= 2.9.0' | gem 'mysql', '>= 2.9.0' | ||
gem 'mysql2', '>= 0.3.13' | gem 'mysql2', '>= 0.3.13' | ||
end | end | ||
... | ... |
想要评论请 注册 或 登录