<?xml version="1.0" encoding="UTF-8"?>
<ticket>
  <assigned-user-id type="integer">1366</assigned-user-id>
  <attachments-count type="integer">1</attachments-count>
  <closed type="boolean">true</closed>
  <created-at type="datetime">2009-01-04T18:09:18+00:00</created-at>
  <creator-id type="integer">41860</creator-id>
  <milestone-due-on type="datetime" nil="true"></milestone-due-on>
  <milestone-id type="integer">9903</milestone-id>
  <number type="integer">1693</number>
  <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
  <priority type="integer">1010</priority>
  <project-id type="integer">8994</project-id>
  <raw-data type="binary" nil="true" encoding="base64"></raw-data>
  <state>resolved</state>
  <tag>2.2-stable active_support cache patch</tag>
  <title>Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
  <updated-at type="datetime">2009-06-23T22:50:16+01:00</updated-at>
  <user-id type="integer">17393</user-id>
  <user-name>Repository</user-name>
  <creator-name>Roman Shterenzon</creator-name>
  <assigned-user-name>Pratik</assigned-user-name>
  <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
  <milestone-title>2.x</milestone-title>
  <original-body>While this options is supported for the MemCache Store, this support is missing in FileStore.
Fortunately it's quite simple to implement.
I also modified the documentation where relevant.
Please see the attached patch.</original-body>
  <latest-body>While this options is supported for the MemCache Store, this support is missing in FileStore.
Fortunately it's quite simple to implement.
I also modified the documentation where relevant.
Please see the attached patch.</latest-body>
  <original-body-html>&lt;div&gt;&lt;p&gt;While this options is supported for the MemCache Store, this
support is missing in FileStore. Fortunately it's quite simple to
implement. I also modified the documentation where relevant. Please
see the attached patch.&lt;/p&gt;&lt;/div&gt;</original-body-html>
  <versions type="array">
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">0</attachments-count>
      <body>While this options is supported for the MemCache Store, this support is missing in FileStore.
Fortunately it's quite simple to implement.
I also modified the documentation where relevant.
Please see the attached patch.</body>
      <body-html>&lt;div&gt;&lt;p&gt;While this options is supported for the MemCache Store, this
support is missing in FileStore. Fortunately it's quite simple to
implement. I also modified the documentation where relevant. Please
see the attached patch.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-04T18:09:18+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable cache patch</tag>
      <title>[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-01-04T18:09:22+00:00</updated-at>
      <user-id type="integer">41860</user-id>
      <user-name>Roman Shterenzon</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Please review and tell me if there are any problems with this patch. Thanks!</body>
      <body-html>&lt;div&gt;&lt;p&gt;Please review and tell me if there are any problems with this
patch. Thanks!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-27T18:47:58+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- 
:tag: 2.2-stable cache patch
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-01-27T18:48:01+00:00</updated-at>
      <user-id type="integer">41860</user-id>
      <user-name>Roman Shterenzon</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Curious what the performance effects are.</body>
      <body-html>&lt;div&gt;&lt;p&gt;Curious what the performance effects are.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-29T03:19:28+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 424
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-01-29T03:19:31+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer" nil="true"></assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>According to my benchmark on my VMWare Linux it added 7 microseconds to every read from cache.
IMHO it's tolerable.</body>
      <body-html>&lt;div&gt;&lt;p&gt;According to my benchmark on my VMWare Linux it added 7
microseconds to every read from cache. IMHO it's tolerable.&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-01-29T09:46:22+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-01-29T09:46:27+00:00</updated-at>
      <user-id type="integer">41860</user-id>
      <user-name>Roman Shterenzon</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name nil="true"></assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">424</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Please note, that my changed code (due to avoidance of rescue clause using the File.exist?) is about order of magnitude faster (~8) for non-existent files than the current version.
Would you be so kind to look at this again? Thanks!</body>
      <body-html>&lt;div&gt;&lt;p&gt;Please note, that my changed code (due to avoidance of rescue
clause using the File.exist?) is about order of magnitude faster
(~8) for non-existent files than the current version. Would you be
so kind to look at this again? Thanks!&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-02T18:24:48+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-02-02T18:24:51+00:00</updated-at>
      <user-id type="integer">41860</user-id>
      <user-name>Roman Shterenzon</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Joshua Peek</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Pratik, thoughts?</body>
      <body-html>&lt;div&gt;&lt;p&gt;Pratik, thoughts?&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-05T21:17:52+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- 
:assigned_user: 424
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-02-05T21:17:54+00:00</updated-at>
      <user-id type="integer">424</user-id>
      <user-name>Joshua Peek</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body></body>
      <body-html></body-html>
      <closed type="boolean">false</closed>
      <created-at type="datetime">2009-02-16T19:23:48+00:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- 
:title: &quot;[PATCH] Support for options[:expires_in] for ActiveSupport::Cache::FileStore&quot;
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>new</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-02-16T19:23:51+00:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>Resolved in b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0</body>
      <body-html>&lt;div&gt;&lt;p&gt;Resolved in b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-06-21T17:41:58+01:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- 
:state: new
</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-06-21T17:42:02+01:00</updated-at>
      <user-id type="integer">1366</user-id>
      <user-name>Pratik</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>(from [b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0]) Add expiry support File cache store [#1693 state:resolved] [Roman Shterenzon, Pratik Naik]
http://github.com/rails/rails/commit/b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from &lt;a href=
&quot;/projects/8994/changesets/b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0&quot;
title=
&quot;Changeset [b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0]&quot;&gt;[b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0]&lt;/a&gt;)
Add expiry support File cache store [&lt;a href=
&quot;/projects/8994/tickets/1693&quot; title=&quot;Ticket #1693&quot;&gt;#1693&lt;/a&gt;
state:resolved] [Roman Shterenzon, Pratik Naik] &lt;a href=
&quot;http://github.com/rails/rails/commit/b5775c2b3efb3ae5ef9074d26f6fc3e302a4f6f0&quot;&gt;
http://github.com/rails/rails/commit/b5775c2b3efb3ae5ef9074d26f6fc3...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-06-21T21:15:40+01:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-06-21T21:15:42+01:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
    <version type="Ticket::Version">
      <assigned-user-id type="integer">1366</assigned-user-id>
      <attachments-count type="integer">1</attachments-count>
      <body>(from [4fca7aab84bedbafce76328bd2ca5224ddbe5db9]) Add expiry support File cache store [#1693 state:resolved] [Roman Shterenzon, Pratik Naik]
http://github.com/rails/rails/commit/4fca7aab84bedbafce76328bd2ca5224ddbe5db9</body>
      <body-html>&lt;div&gt;&lt;p&gt;(from &lt;a href=
&quot;/projects/8994/changesets/4fca7aab84bedbafce76328bd2ca5224ddbe5db9&quot;
title=
&quot;Changeset [4fca7aab84bedbafce76328bd2ca5224ddbe5db9]&quot;&gt;[4fca7aab84bedbafce76328bd2ca5224ddbe5db9]&lt;/a&gt;)
Add expiry support File cache store [&lt;a href=
&quot;/projects/8994/tickets/1693&quot; title=&quot;Ticket #1693&quot;&gt;#1693&lt;/a&gt;
state:resolved] [Roman Shterenzon, Pratik Naik] &lt;a href=
&quot;http://github.com/rails/rails/commit/4fca7aab84bedbafce76328bd2ca5224ddbe5db9&quot;&gt;
http://github.com/rails/rails/commit/4fca7aab84bedbafce76328bd2ca52...&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</body-html>
      <closed type="boolean">true</closed>
      <created-at type="datetime">2009-06-23T22:50:14+01:00</created-at>
      <creator-id type="integer">41860</creator-id>
      <diffable-attributes type="yaml">--- {}

</diffable-attributes>
      <milestone-id type="integer">9903</milestone-id>
      <number type="integer">1693</number>
      <permalink>patch-support-for-optionsexpires_in-for-activesupportcachefilestore</permalink>
      <priority type="integer">0</priority>
      <project-id type="integer">8994</project-id>
      <state>resolved</state>
      <tag>2.2-stable active_support cache patch</tag>
      <title>Support for options[:expires_in] for ActiveSupport::Cache::FileStore</title>
      <updated-at type="datetime">2009-06-23T22:50:16+01:00</updated-at>
      <user-id type="integer">17393</user-id>
      <user-name>Repository</user-name>
      <creator-name>Roman Shterenzon</creator-name>
      <assigned-user-name>Pratik</assigned-user-name>
      <url>http://rails.lighthouseapp.com/projects/8994/tickets/1693</url>
      <milestone-title>2.x</milestone-title>
    </version>
  </versions>
  <attachments type="array">
    <attachment type="Attachment">
      <code>74359b1a0800a6dc8db657769ffd822751040f9b</code>
      <content-type>text/plain</content-type>
      <created-at type="datetime">2009-01-06T16:12:45+00:00</created-at>
      <filename>cache_fix.diff</filename>
      <height type="integer" nil="true"></height>
      <id type="integer">75762</id>
      <size type="integer">4071</size>
      <uploader-id type="integer">41860</uploader-id>
      <width type="integer" nil="true"></width>
      <url>http://rails.lighthouseapp.com/attachments/75762/cache_fix.diff</url>
    </attachment>
  </attachments>
</ticket>
