nesta-plugin-diskcached 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md ADDED
@@ -0,0 +1,7 @@
1
+ # 0.0.2
2
+
3
+ * Removing debug print statement --- oops!
4
+
5
+ # 0.0.1
6
+
7
+ * Initial release.
data/doc/Nesta/App.html CHANGED
@@ -122,7 +122,7 @@
122
122
  </div>
123
123
 
124
124
  <div id="footer">
125
- Generated on Thu Aug 23 01:20:42 2012 by
125
+ Generated on Thu Aug 23 01:24:03 2012 by
126
126
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
127
127
  0.8.2.1 (ruby-1.9.3).
128
128
  </div>
@@ -253,12 +253,12 @@ present.</p>
253
253
  <pre class="lines">
254
254
 
255
255
 
256
+ 63
256
257
  64
257
- 65
258
- 66</pre>
258
+ 65</pre>
259
259
  </td>
260
260
  <td>
261
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 64</span>
261
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 63</span>
262
262
 
263
263
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_diskcached'>diskcached</span>
264
264
  <span class='id identifier rubyid_from_environment'>from_environment</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>diskcached</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_from_yaml'>from_yaml</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>diskcached</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='kw'>true</span>
@@ -314,6 +314,7 @@ present.</p>
314
314
  <pre class="lines">
315
315
 
316
316
 
317
+ 71
317
318
  72
318
319
  73
319
320
  74
@@ -325,11 +326,10 @@ present.</p>
325
326
  80
326
327
  81
327
328
  82
328
- 83
329
- 84</pre>
329
+ 83</pre>
330
330
  </td>
331
331
  <td>
332
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 72</span>
332
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 71</span>
333
333
 
334
334
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_diskcached_dir'>diskcached_dir</span>
335
335
  <span class='id identifier rubyid_default'>default</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Env</span><span class='period'>.</span><span class='id identifier rubyid_root'>root</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>diskcached</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
@@ -396,12 +396,12 @@ present.</p>
396
396
  <pre class="lines">
397
397
 
398
398
 
399
+ 89
399
400
  90
400
- 91
401
- 92</pre>
401
+ 91</pre>
402
402
  </td>
403
403
  <td>
404
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 90</span>
404
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 89</span>
405
405
 
406
406
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_diskcached_timeout'>diskcached_timeout</span>
407
407
  <span class='id identifier rubyid_from_environment'>from_environment</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>diskcached_timeout</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='id identifier rubyid_from_yaml'>from_yaml</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>diskcached_timeout</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span> <span class='op'>||</span> <span class='int'>3600</span>
@@ -416,7 +416,7 @@ present.</p>
416
416
  </div>
417
417
 
418
418
  <div id="footer">
419
- Generated on Thu Aug 23 01:20:42 2012 by
419
+ Generated on Thu Aug 23 01:24:02 2012 by
420
420
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
421
421
  0.8.2.1 (ruby-1.9.3).
422
422
  </div>
@@ -193,15 +193,15 @@
193
193
  <pre class="lines">
194
194
 
195
195
 
196
+ 45
196
197
  46
197
198
  47
198
199
  48
199
200
  49
200
- 50
201
- 51</pre>
201
+ 50</pre>
202
202
  </td>
203
203
  <td>
204
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 46</span>
204
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 45</span>
205
205
 
206
206
  <span class='kw'>def</span> <span class='id identifier rubyid_erb'>erb</span><span class='lparen'>(</span><span class='id identifier rubyid_template'>template</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_locals'>locals</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
207
207
  <span class='gvar'>$diskcached</span><span class='period'>.</span><span class='id identifier rubyid_cache'>cache</span><span class='lparen'>(</span><span class='const'>Digest</span><span class='op'>::</span><span class='const'>SHA1</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span><span class='op'>+</span><span class='id identifier rubyid_template'>template</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='op'>+</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='op'>+</span><span class='id identifier rubyid_locals'>locals</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>do</span>
@@ -240,15 +240,15 @@
240
240
  <pre class="lines">
241
241
 
242
242
 
243
+ 37
243
244
  38
244
245
  39
245
246
  40
246
247
  41
247
- 42
248
- 43</pre>
248
+ 42</pre>
249
249
  </td>
250
250
  <td>
251
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 38</span>
251
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 37</span>
252
252
 
253
253
  <span class='kw'>def</span> <span class='id identifier rubyid_haml'>haml</span><span class='lparen'>(</span><span class='id identifier rubyid_template'>template</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='id identifier rubyid_locals'>locals</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
254
254
  <span class='gvar'>$diskcached</span><span class='period'>.</span><span class='id identifier rubyid_cache'>cache</span><span class='lparen'>(</span><span class='const'>Digest</span><span class='op'>::</span><span class='const'>SHA1</span><span class='period'>.</span><span class='id identifier rubyid_hexdigest'>hexdigest</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span><span class='op'>+</span><span class='id identifier rubyid_template'>template</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='op'>+</span><span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='op'>+</span><span class='id identifier rubyid_locals'>locals</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span><span class='rparen'>)</span> <span class='kw'>do</span>
@@ -266,7 +266,7 @@
266
266
  </div>
267
267
 
268
268
  <div id="footer">
269
- Generated on Thu Aug 23 01:20:42 2012 by
269
+ Generated on Thu Aug 23 01:24:02 2012 by
270
270
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
271
271
  0.8.2.1 (ruby-1.9.3).
272
272
  </div>
@@ -117,7 +117,7 @@
117
117
  </div>
118
118
 
119
119
  <div id="footer">
120
- Generated on Thu Aug 23 01:20:42 2012 by
120
+ Generated on Thu Aug 23 01:24:02 2012 by
121
121
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
122
122
  0.8.2.1 (ruby-1.9.3).
123
123
  </div>
data/doc/Nesta/Page.html CHANGED
@@ -171,13 +171,13 @@
171
171
  <pre class="lines">
172
172
 
173
173
 
174
+ 97
174
175
  98
175
176
  99
176
- 100
177
- 101</pre>
177
+ 100</pre>
178
178
  </td>
179
179
  <td>
180
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 98</span>
180
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 97</span>
181
181
 
182
182
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_purge_cache'>purge_cache</span>
183
183
  <span class='cvar'>@@cache</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
@@ -193,7 +193,7 @@
193
193
  </div>
194
194
 
195
195
  <div id="footer">
196
- Generated on Thu Aug 23 01:20:42 2012 by
196
+ Generated on Thu Aug 23 01:24:02 2012 by
197
197
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
198
  0.8.2.1 (ruby-1.9.3).
199
199
  </div>
@@ -184,12 +184,12 @@
184
184
  <pre class="lines">
185
185
 
186
186
 
187
+ 23
187
188
  24
188
- 25
189
- 26</pre>
189
+ 25</pre>
190
190
  </td>
191
191
  <td>
192
- <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 24</span>
192
+ <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 23</span>
193
193
 
194
194
  <span class='kw'>def</span> <span class='id identifier rubyid_cache'>cache</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
195
195
  <span class='kw'>yield</span>
@@ -204,7 +204,7 @@
204
204
  </div>
205
205
 
206
206
  <div id="footer">
207
- Generated on Thu Aug 23 01:20:42 2012 by
207
+ Generated on Thu Aug 23 01:24:02 2012 by
208
208
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
209
209
  0.8.2.1 (ruby-1.9.3).
210
210
  </div>
@@ -126,7 +126,7 @@
126
126
 
127
127
  </div>
128
128
  </dt>
129
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.0.1</span><span class='tstring_end'>&quot;</span></span></pre></dd>
129
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>0.0.2</span><span class='tstring_end'>&quot;</span></span></pre></dd>
130
130
 
131
131
  </dl>
132
132
 
@@ -210,15 +210,13 @@
210
210
  14
211
211
  15
212
212
  16
213
- 17
214
- 18</pre>
213
+ 17</pre>
215
214
  </td>
216
215
  <td>
217
216
  <pre class="code"><span class="info file"># File 'lib/nesta-plugin-diskcached/init.rb', line 11</span>
218
217
 
219
218
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_init'>init</span>
220
219
  <span class='kw'>if</span> <span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_diskcached'>diskcached</span>
221
- <span class='const'>STDOUT</span><span class='period'>.</span><span class='id identifier rubyid_puts'>puts</span> <span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_diskcached_dir'>diskcached_dir</span>
222
220
  <span class='gvar'>$diskcached</span> <span class='op'>=</span> <span class='const'>Diskcached</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_diskcached_dir'>diskcached_dir</span><span class='comma'>,</span> <span class='const'>Nesta</span><span class='op'>::</span><span class='const'>Config</span><span class='period'>.</span><span class='id identifier rubyid_diskcached_timeout'>diskcached_timeout</span><span class='rparen'>)</span>
223
221
  <span class='kw'>else</span>
224
222
  <span class='gvar'>$diskcached</span> <span class='op'>=</span> <span class='const'>NoDiskcache</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
@@ -234,7 +232,7 @@
234
232
  </div>
235
233
 
236
234
  <div id="footer">
237
- Generated on Thu Aug 23 01:20:42 2012 by
235
+ Generated on Thu Aug 23 01:24:02 2012 by
238
236
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
239
237
  0.8.2.1 (ruby-1.9.3).
240
238
  </div>
@@ -119,7 +119,7 @@
119
119
  </div>
120
120
 
121
121
  <div id="footer">
122
- Generated on Thu Aug 23 01:20:42 2012 by
122
+ Generated on Thu Aug 23 01:24:02 2012 by
123
123
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
124
124
  0.8.2.1 (ruby-1.9.3).
125
125
  </div>
data/doc/Nesta.html CHANGED
@@ -121,7 +121,7 @@
121
121
  </div>
122
122
 
123
123
  <div id="footer">
124
- Generated on Thu Aug 23 01:20:42 2012 by
124
+ Generated on Thu Aug 23 01:24:02 2012 by
125
125
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
126
126
  0.8.2.1 (ruby-1.9.3).
127
127
  </div>
data/doc/_index.html CHANGED
@@ -205,7 +205,7 @@
205
205
  </div>
206
206
 
207
207
  <div id="footer">
208
- Generated on Thu Aug 23 01:20:41 2012 by
208
+ Generated on Thu Aug 23 01:24:02 2012 by
209
209
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
210
210
  0.8.2.1 (ruby-1.9.3).
211
211
  </div>
data/doc/file.README.html CHANGED
@@ -134,7 +134,7 @@ It really doesn't hurt performance, but is just a bit ugly.</li>
134
134
  </div></div>
135
135
 
136
136
  <div id="footer">
137
- Generated on Thu Aug 23 01:20:41 2012 by
137
+ Generated on Thu Aug 23 01:24:02 2012 by
138
138
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139
139
  0.8.2.1 (ruby-1.9.3).
140
140
  </div>
data/doc/index.html CHANGED
@@ -134,7 +134,7 @@ It really doesn't hurt performance, but is just a bit ugly.</li>
134
134
  </div></div>
135
135
 
136
136
  <div id="footer">
137
- Generated on Thu Aug 23 01:20:41 2012 by
137
+ Generated on Thu Aug 23 01:24:02 2012 by
138
138
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
139
139
  0.8.2.1 (ruby-1.9.3).
140
140
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Thu Aug 23 01:20:41 2012 by
106
+ Generated on Thu Aug 23 01:24:02 2012 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.2.1 (ruby-1.9.3).
109
109
  </div>
@@ -10,7 +10,6 @@ module Nesta
10
10
  # Setup diskcached global right off the bat!
11
11
  def self.init
12
12
  if Nesta::Config.diskcached
13
- STDOUT.puts Nesta::Config.diskcached_dir
14
13
  $diskcached = Diskcached.new(Nesta::Config.diskcached_dir, Nesta::Config.diskcached_timeout)
15
14
  else
16
15
  $diskcached = NoDiskcache.new
@@ -2,7 +2,7 @@ module Nesta
2
2
  module Plugin
3
3
  module Diskcache
4
4
  # Version for gem building.
5
- VERSION = "0.0.1"
5
+ VERSION = "0.0.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nesta-plugin-diskcached
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -84,6 +84,7 @@ extra_rdoc_files: []
84
84
  files:
85
85
  - .gitignore
86
86
  - Gemfile
87
+ - HISTORY.md
87
88
  - LICENSE
88
89
  - README.md
89
90
  - Rakefile