beso 0.3.1 → 0.3.2

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.
Files changed (3) hide show
  1. data/lib/beso/job.rb +3 -1
  2. data/lib/beso/version.rb +1 -1
  3. metadata +2 -2
@@ -31,7 +31,9 @@ module Beso
31
31
 
32
32
  @since ||= options.delete( :since ) || first_timestamp
33
33
 
34
- relation = model_class.instance_exec( &@scope ).where( "#{@timestamp} >= ?", @since )
34
+ condition = "#{@table}.#{@timestamp} >= ?"
35
+
36
+ relation = model_class.instance_exec( &@scope ).where( condition, @since )
35
37
 
36
38
  return nil if relation.empty?
37
39
 
@@ -1,3 +1,3 @@
1
1
  module Beso
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beso
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.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: 2012-05-14 00:00:00.000000000Z
12
+ date: 2012-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails