Capcode 0.8.5 → 0.8.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,6 +12,9 @@ Capcode is a web microframework
12
12
 
13
13
  == FEATURES/PROBLEMS:
14
14
 
15
+ === 0.8.6
16
+ * HUGE bug correction
17
+
15
18
  === 0.8.5
16
19
  * Capcode now work with Phusion Passenger \o/
17
20
  * Add WebDAV renderer (need rack_dav) (see examples render-webdav.rb and auth-webdav.rb)
@@ -335,7 +335,7 @@ If the regexp in the route does not match, all arguments will be
335
335
  358:
336
336
  359: <span class="ruby-comment cmt"># Check authz</span>
337
337
  360: <span class="ruby-identifier">authz_options</span> = <span class="ruby-keyword kw">nil</span>
338
- 361: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">Capcode</span>.<span class="ruby-identifier">__auth__</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
338
+ 361: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">Capcode</span>.<span class="ruby-identifier">__auth__</span> <span class="ruby-keyword kw">and</span> <span class="ruby-constant">Capcode</span>.<span class="ruby-identifier">__auth__</span>.<span class="ruby-identifier">size</span> <span class="ruby-operator">&gt;</span> <span class="ruby-value">0</span>
339
339
  362: <span class="ruby-identifier">authz_options</span> = <span class="ruby-constant">Capcode</span>.<span class="ruby-identifier">__auth__</span>[<span class="ruby-ivar">@request</span>.<span class="ruby-identifier">path</span>]<span class="ruby-operator">||</span><span class="ruby-keyword kw">nil</span>
340
340
  363: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">authz_options</span>.<span class="ruby-identifier">nil?</span>
341
341
  364: <span class="ruby-identifier">route</span> = <span class="ruby-keyword kw">nil</span>
@@ -1 +1 @@
1
- Fri, 09 Oct 2009 22:12:30 +0200
1
+ Fri, 09 Oct 2009 23:23:19 +0200
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Thu Oct 08 19:57:54 +0200 2009</td>
59
+ <td>Fri Oct 09 23:23:13 +0200 2009</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -91,6 +91,12 @@ href="http://www.algorithmique.net/capcode">www.algorithmique.net/capcode</a>/
91
91
  <a href="../classes/Capcode.html">Capcode</a> is a web microframework
92
92
  </p>
93
93
  <h2>FEATURES/PROBLEMS:</h2>
94
+ <h3>0.8.6</h3>
95
+ <ul>
96
+ <li>HUGE bug correction
97
+
98
+ </li>
99
+ </ul>
94
100
  <h3>0.8.5</h3>
95
101
  <ul>
96
102
  <li><a href="../classes/Capcode.html">Capcode</a> now work with Phusion
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Fri Oct 09 14:43:52 +0200 2009</td>
59
+ <td>Fri Oct 09 23:00:41 +0200 2009</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
@@ -358,7 +358,7 @@ module Capcode
358
358
 
359
359
  # Check authz
360
360
  authz_options = nil
361
- if Capcode.__auth__.size > 0
361
+ if Capcode.__auth__ and Capcode.__auth__.size > 0
362
362
  authz_options = Capcode.__auth__[@request.path]||nil
363
363
  if authz_options.nil?
364
364
  route = nil
@@ -1,3 +1,3 @@
1
1
  module Capcode
2
- CAPCOD_VERION="0.8.5"
2
+ CAPCOD_VERION="0.8.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Capcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Gr\xC3\xA9goire Lejeune"