ixtlan-core 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ module Ixtlan
10
10
  updated_at_date = new(:updated_at => updated_at).updated_at
11
11
  # try different ways to use the date
12
12
  # TODO maybe there is a nicer way ??
13
- first(:conditions => ["id = ? and updated_at <= ? and updated_at >= ?", args[0], updated_at, updated_at_date - 0.001]) || first(:conditions => ["id = ? and updated_at <= ? and updated_at >= ?", args[0], updated_at_date, updated_at_date - 0.001])
13
+ first(:conditions => ["id = ? and updated_at <= ? and updated_at >= ?", args[0], updated_at + 0.0005, updated_at_date - 0.0005]) || first(:conditions => ["id = ? and updated_at <= ? and updated_at >= ?", args[0], updated_at_date + 0.0005, updated_at_date - 0.0005])
14
14
  # TODO make it work with different PKs
15
15
  end
16
16
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ixtlan-core
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.7.3
5
+ version: 0.7.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - mkristian
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-01-30 00:00:00 +05:30
14
- default_executable:
13
+ date: 2012-05-13 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: slf4r
@@ -122,7 +121,6 @@ files:
122
121
  - spec/configuration_manager_spec.rb
123
122
  - features/step_definitions/simple_steps.rb
124
123
  - features/headers.feature
125
- has_rdoc: true
126
124
  homepage: http://github.com/mkristian/ixtlan-core
127
125
  licenses:
128
126
  - MIT-LICENSE
@@ -147,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
145
  requirements: []
148
146
 
149
147
  rubyforge_project:
150
- rubygems_version: 1.5.1
148
+ rubygems_version: 1.8.9
151
149
  signing_key:
152
150
  specification_version: 3
153
151
  summary: cache header control, dynamic configuration, and optimistic find on model via updated_at timestamp