Skip to content

Commit

Permalink
bump version and build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Ouellette committed May 24, 2013
1 parent 16c5eb8 commit 6917992
Show file tree
Hide file tree
Showing 31 changed files with 650 additions and 30 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
@@ -1,4 +1,4 @@
### 1.1.3 -- 2013 May 24 ###
### 1.2.0 -- 2013 May 24 ###

- [new] TMDiskCache: added method `enumerateObjectsWithBlock:completionBlock:`
- [new] TMDiskCache: added method `enumerateObjectsWithBlock:`
Expand Down
4 changes: 2 additions & 2 deletions TMCache.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'TMCache'
s.version = '1.1.3'
s.version = '1.2.0'
s.source_files = 'TMCache/*.{h,m}'
s.homepage = 'https://github.com/tumblr/TMCache'
s.summary = 'Fast parallel object cache for iOS and OS X.'
Expand All @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
'--company-id', 'com.tumblr',
'--project-name', 'TMCache',
'--project-company', 'Tumblr',
'--project-version', '1.1.3',
'--project-version', '1.2.0',
'--docset-min-xcode-version', '4.3',
'--docset-bundle-name', '%PROJECT %VERSION',
'--docset-bundle-id', '%COMPANYID.%PROJECTID',
Expand Down
4 changes: 2 additions & 2 deletions build_docs.sh
Expand Up @@ -4,7 +4,7 @@ appledoc \
--company-id com.tumblr \
--project-name TMCache \
--project-company Tumblr \
--project-version 1.1.3 \
--project-version 1.2.0 \
--docset-min-xcode-version 4.3 \
--docset-bundle-id %COMPANYID.%PROJECTID \
--docset-bundle-name "%PROJECT %VERSION" \
Expand All @@ -19,5 +19,5 @@ appledoc \
--output ./docs \
.

mv docs/docset docs/com.tumblr.TMCache-1.1.3.docset
mv docs/docset docs/com.tumblr.TMCache-1.2.0.docset
rm docs/docset-installed.txt
Binary file not shown.
Binary file not shown.
Expand Up @@ -7,11 +7,11 @@
<key>CFBundleIdentifier</key>
<string>com.tumblr.TMCache</string>
<key>CFBundleName</key>
<string>TMCache 1.1.3</string>
<string>TMCache 1.2.0</string>
<key>CFBundleShortVersionString</key>
<string>1.1.3</string>
<string>1.2.0</string>
<key>CFBundleVersion</key>
<string>1.1.3</string>
<string>1.2.0</string>



Expand Down
Expand Up @@ -1198,7 +1198,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2013 Tumblr. All rights reserved. (Last updated: 2013-05-23)</span><br />
<p><span class="copyright">&copy; 2013 Tumblr. All rights reserved. (Last updated: 2013-05-24)</span><br />

<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 840)</a>.</span></p>

Expand Down
Expand Up @@ -74,6 +74,10 @@ <h1 class="hideInXcode">TMDiskCache Class Reference</h1>

<option value="instance_methods">Instance Methods</option>

<option value="//api/name/enumerateObjectsWithBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- enumerateObjectsWithBlock:</option>

<option value="//api/name/enumerateObjectsWithBlock:completionBlock:">&nbsp;&nbsp;&nbsp;&nbsp;- enumerateObjectsWithBlock:completionBlock:</option>

<option value="//api/name/fileURLForKey:">&nbsp;&nbsp;&nbsp;&nbsp;- fileURLForKey:</option>

<option value="//api/name/fileURLForKey:block:">&nbsp;&nbsp;&nbsp;&nbsp;- fileURLForKey:block:</option>
Expand Down Expand Up @@ -180,6 +184,10 @@ <h1 class="hideInXcode">TMDiskCache Class Reference</h1>

<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>

<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/enumerateObjectsWithBlock:">enumerateObjectsWithBlock:</a></span></li>

<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/enumerateObjectsWithBlock:completionBlock:">enumerateObjectsWithBlock:completionBlock:</a></span></li>

<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileURLForKey:">fileURLForKey:</a></span></li>

<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/fileURLForKey:block:">fileURLForKey:block:</a></span></li>
Expand Down Expand Up @@ -485,6 +493,15 @@ <h3 class="subsubtitle task-title">Asynchronous Methods</h3>
</span>


</li><li>
<span class="tooltip">
<code><a href="#//api/name/enumerateObjectsWithBlock:completionBlock:">&ndash;&nbsp;enumerateObjectsWithBlock:completionBlock:</a></code>
<span class="tooltip"><p>Loops through all objects in the cache (reads and writes are suspended during the enumeration). Data is not actually
read from disk, the <code>object</code> parameter of the block will be <code>nil</code> but the <code>fileURL</code> will be available.
This method returns immediately.</p></span>
</span>


</li>
</ul>

Expand Down Expand Up @@ -557,6 +574,15 @@ <h3 class="subsubtitle task-title">Synchronous Methods</h3>
</span>


</li><li>
<span class="tooltip">
<code><a href="#//api/name/enumerateObjectsWithBlock:">&ndash;&nbsp;enumerateObjectsWithBlock:</a></code>
<span class="tooltip"><p>Loops through all objects in the cache (reads and writes are suspended during the enumeration). Data is not actually
read from disk, the <code>object</code> parameter of the block will be <code>nil</code> but the <code>fileURL</code> will be available.
This method blocks the calling thread until all objects have been enumerated.</p></span>
</span>


</li>
</ul>

Expand Down Expand Up @@ -1060,6 +1086,115 @@ <h4 class="method-subtitle">Declared In</h4>
<a title="Instance Methods" name="instance_methods"></a>
<h2 class="subtitle subtitle-methods">Instance Methods</h2>

<div class="section-method">
<a name="//api/name/enumerateObjectsWithBlock:" title="enumerateObjectsWithBlock:"></a>
<h3 class="subsubtitle method-title">enumerateObjectsWithBlock:</h3>



<div class="method-subsection brief-description">
<p>Loops through all objects in the cache (reads and writes are suspended during the enumeration). Data is not actually
read from disk, the <code>object</code> parameter of the block will be <code>nil</code> but the <code>fileURL</code> will be available.
This method blocks the calling thread until all objects have been enumerated.</p>
</div>



<div class="method-subsection method-declaration"><code>- (void)enumerateObjectsWithBlock:(TMDiskCacheObjectBlock)<em>block</em></code></div>



<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>

<dl class="argument-def parameter-def">
<dt><em>block</em></dt>
<dd><p>A block to be executed for every object in the cache.</p></dd>
</dl>

</div>







<div class="method-subsection discussion-section">
<h4 class="method-subtitle">Discussion</h4>
<div class="warning"><p><strong>Warning:</strong> Do not call this method within the event blocks (<a href="#//api/name/didRemoveObjectBlock">didRemoveObjectBlock</a>, etc.)</p>

<pre><code> Instead use the asynchronous version, enumerateObjectsWithBlock:completionBlock:.
</code></pre></div>
</div>







<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">TMDiskCache.h</code><br />
</div>


</div>

<div class="section-method">
<a name="//api/name/enumerateObjectsWithBlock:completionBlock:" title="enumerateObjectsWithBlock:completionBlock:"></a>
<h3 class="subsubtitle method-title">enumerateObjectsWithBlock:completionBlock:</h3>



<div class="method-subsection brief-description">
<p>Loops through all objects in the cache (reads and writes are suspended during the enumeration). Data is not actually
read from disk, the <code>object</code> parameter of the block will be <code>nil</code> but the <code>fileURL</code> will be available.
This method returns immediately.</p>
</div>



<div class="method-subsection method-declaration"><code>- (void)enumerateObjectsWithBlock:(TMDiskCacheObjectBlock)<em>block</em> completionBlock:(TMDiskCacheBlock)<em>completionBlock</em></code></div>



<div class="method-subsection arguments-section parameters">
<h4 class="method-subtitle parameter-title">Parameters</h4>

<dl class="argument-def parameter-def">
<dt><em>block</em></dt>
<dd><p>A block to be executed for every object in the cache.</p></dd>
</dl>

<dl class="argument-def parameter-def">
<dt><em>completionBlock</em></dt>
<dd><p>An optional block to be executed after the enumeration is complete.</p></dd>
</dl>

</div>













<div class="method-subsection declared-in-section">
<h4 class="method-subtitle">Declared In</h4>
<code class="declared-in-ref">TMDiskCache.h</code><br />
</div>


</div>

<div class="section-method">
<a name="//api/name/fileURLForKey:" title="fileURLForKey:"></a>
<h3 class="subsubtitle method-title">fileURLForKey:</h3>
Expand Down Expand Up @@ -2012,7 +2147,7 @@ <h4 class="method-subtitle">Declared In</h4>
<div id="footer">
<hr />
<div class="footer-copyright">
<p><span class="copyright">&copy; 2013 Tumblr. All rights reserved. (Last updated: 2013-05-23)</span><br />
<p><span class="copyright">&copy; 2013 Tumblr. All rights reserved. (Last updated: 2013-05-24)</span><br />

<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 840)</a>.</span></p>

Expand Down

0 comments on commit 6917992

Please sign in to comment.