stage 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/stage/version.rb CHANGED
@@ -2,7 +2,7 @@ module Stage #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -13,8 +13,8 @@
13
13
  <td><%%= <%= resource_name %>.<%= attr.first %> %></td>
14
14
  <% end -%>
15
15
  <td><%%= link_to 'Show', url(:<%= resource_name %>, <%= resource_name %>) %></td>
16
- <td><%%= link_to 'Edit', url(:edit_<%= resource_name %>, @<%= resource_name %>) %></td>
17
- <td><%%= link_to 'Destroy', url(:delete_<%= resource_name %>, @<%= resource_name %>), :confirm => 'Are you sure?', :method => :delete %></td>
16
+ <td><%%= link_to 'Edit', url(:edit_<%= resource_name %>, <%= resource_name %>) %></td>
17
+ <td><%%= link_to 'Destroy', url(:delete_<%= resource_name %>, <%= resource_name %>) %></td>
18
18
  </tr>
19
19
  <%% end %>
20
20
  </table>
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>stage</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/stage"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/stage" class="numbers">0.1.2</a>
36
+ <a href="http://rubyforge.org/projects/stage" class="numbers">0.1.3</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;stage&#8217;</h1>
39
39
 
@@ -181,7 +181,7 @@
181
181
  <span class="keyword">if</span> <span class="attribute">@action_name</span> <span class="punct">==</span> <span class="punct">&quot;</span><span class="string">show</span><span class="punct">&quot;</span>
182
182
  <span class="attribute">@page</span><span class="punct">.</span><span class="ident">title</span>
183
183
  <span class="keyword">else</span>
184
- <span class="ident">text_field</span> <span class="symbol">:title</span>
184
+ <span class="ident">text_field</span> <span class="symbol">:name</span> <span class="punct">=&gt;</span> <span class="punct">&quot;</span><span class="string">page[title]</span><span class="punct">&quot;</span>
185
185
  <span class="keyword">end</span>
186
186
  <span class="keyword">end</span>
187
187
 
@@ -189,7 +189,7 @@
189
189
  <span class="keyword">if</span> <span class="attribute">@action_name</span> <span class="punct">==</span> <span class="punct">&quot;</span><span class="string">show</span><span class="punct">&quot;</span>
190
190
  <span class="attribute">@page</span><span class="punct">.</span><span class="ident">content</span>
191
191
  <span class="keyword">else</span>
192
- <span class="ident">text_field</span> <span class="symbol">:content</span>
192
+ <span class="ident">text_field</span> <span class="symbol">:name</span> <span class="punct">=&gt;</span> <span class="punct">&quot;</span><span class="string">page[content]</span><span class="punct">&quot;</span>
193
193
  <span class="keyword">end</span>
194
194
  <span class="keyword">end</span>
195
195
  <span class="keyword">end</span>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-04-18 00:00:00 -04:00
12
+ date: 2008-04-20 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15