beso 0.3.4 → 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/beso/job.rb +1 -1
  2. data/lib/beso/version.rb +1 -1
  3. metadata +1 -1
data/lib/beso/job.rb CHANGED
@@ -33,7 +33,7 @@ module Beso
33
33
 
34
34
  condition = "#{@table}.#{@timestamp} >= ?"
35
35
 
36
- relation = model_class.where( condition, @since ).instance_exec &@scope
36
+ relation = model_class.instance_exec( &@scope ).where( condition, @since )
37
37
 
38
38
  return nil if relation.empty?
39
39
 
data/lib/beso/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Beso
2
- VERSION = '0.3.4'
2
+ VERSION = '0.3.5'
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.4
4
+ version: 0.3.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: