mcfly 0.0.6 → 0.0.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.
@@ -45,7 +45,8 @@ module Mcfly
45
45
  def mcfly_lookup(name, options = {}, &block)
46
46
  delorean_fn(name, options) do |ts, *args|
47
47
  raise "time cannot be nil" if ts.nil?
48
- self.where("obsoleted_dt >= ? AND created_dt < ?", ts, ts).scoping do
48
+ self.where("#{table_name}.obsoleted_dt >= ? AND " +
49
+ "#{table_name}.created_dt < ?", ts, ts).scoping do
49
50
  block.call(ts, *args)
50
51
  end
51
52
  end
@@ -1,3 +1,3 @@
1
1
  module Mcfly
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mcfly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
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: 2013-08-02 00:00:00.000000000 Z
12
+ date: 2013-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails