rubyfb 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ v0.5.7 ==
2
+ arel-2.0.7 compatibility - use node.expr for limit/offset clauses
3
+ activesupport-3.0.3+ compatibility require_library_or_gem location changed
4
+
1
5
  v0.5.6 ==
2
6
  Fix rubyforge issue #28870 - by simplifying the Exception class ;)
3
7
  Fix rubyforge issue #28860 - rubyfb_adapter.rb and local files as proposed by Leonid Myravjev (asm)
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'echoe'
2
- e = Echoe.new('rubyfb', '0.5.6') do |p|
2
+ e = Echoe.new('rubyfb', '0.5.7') do |p|
3
3
  p.description = "Firebird SQL access library"
4
4
  p.url = "http://rubyforge.org/projects/rubyfb"
5
5
  p.author = "George Georgiev"
@@ -1,5 +1,7 @@
1
1
  # Author: Ken Kunz <kennethkunz@gmail.com>
2
2
  require 'active_record/connection_adapters/abstract_adapter'
3
+ require 'active_support/core_ext/kernel/requires'
4
+
3
5
  if defined?(Arel) then
4
6
  require 'arel/visitors/rubyfb'
5
7
  end
@@ -10,11 +10,11 @@ module Arel
10
10
  end
11
11
 
12
12
  def fb_limit limit
13
- "first #{limit}" if limit
13
+ "first #{limit.expr}" if limit
14
14
  end
15
15
 
16
16
  def fb_offset offset
17
- "skip #{offset}" if offset
17
+ "skip #{offset.expr}" if offset
18
18
  end
19
19
  end
20
20
  end
data/rubyfb.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{rubyfb}
5
- s.version = "0.5.6"
5
+ s.version = "0.5.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["George Georgiev"]
9
- s.date = %q{2011-01-29}
9
+ s.date = %q{2011-02-14}
10
10
  s.description = %q{Firebird SQL access library}
11
11
  s.email = %q{georgiev@heatbs.com}
12
12
  s.extensions = ["ext/extconf.rb"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyfb
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 6
10
- version: 0.5.6
9
+ - 7
10
+ version: 0.5.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - George Georgiev
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-29 00:00:00 +02:00
18
+ date: 2011-02-14 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21