cable 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.0
1
+ 0.9.1
@@ -9,48 +9,49 @@
9
9
  <tbody>
10
10
 
11
11
  <%% @<%= plural_table_name %>.each do |<%= singular_table_name %>| %>
12
- <tr>
13
- <td><strong><%%= link_to <%= singular_table_name %>.title, [:admin, <%= singular_table_name %>], :target => "_blank" %></strong></td>
14
- <td style="text-align:right;"><%%= link_to 'Edit', edit_admin_<%= singular_table_name %>_path(<%= singular_table_name %>) %> <%%= link_to 'Destroy', [:admin, <%= singular_table_name %>], :confirm => 'Are you sure?', :method => :delete %></td>
15
- </tr>
16
- <%% unless <%= singular_table_name %>.menu.blank? %>
17
- <tr>
18
- <td><strong>Template:</strong>
19
- <td><%%= <%= singular_table_name %>.menu.template.titleize unless <%= singular_table_name %>.menu.blank? %></td>
20
- </tr>
21
- <%% end %>
12
+ <tr>
13
+ <td><strong><%%= link_to <%= singular_table_name %>.title, [:admin, <%= singular_table_name %>], :target => "_blank" %></strong></td>
14
+ <td style="text-align:right;"><%%= link_to 'Edit', edit_admin_<%= singular_table_name %>_path(<%= singular_table_name %>) %> <%%= link_to 'Destroy', [:admin, <%= singular_table_name %>], :confirm => 'Are you sure?', :method => :delete %></td>
15
+ </tr>
16
+ <%% unless <%= singular_table_name %>.menu.blank? %>
17
+ <tr>
18
+ <td><strong>Template:</strong>
19
+ <td><%%= <%= singular_table_name %>.menu.template.titleize unless <%= singular_table_name %>.menu.blank? %></td>
20
+ </tr>
21
+ <%% end %>
22
22
 
23
- <%% if <%= singular_table_name %>.respond_to?(:blocks) %>
24
- <tr>
25
- <td colspan=1>
26
- <strong>Blocks:</strong>
27
- </td>
28
- <td>
29
- <%% unless <%= singular_table_name %>.blocks.empty? %>
30
- <%%= <%= singular_table_name %>.blocks.each do |block| %>
31
- <strong><%%= link_to block.title, [:admin, block] %></strong> => <%%= block.region.titleize %><br />
32
- <%% end %>
33
- <%% end %>
34
- </td>
35
- </tr>
36
- <%% end %>
23
+ <%% if <%= singular_table_name %>.respond_to?(:blocks) %>
24
+ <tr>
25
+ <td colspan=1>
26
+ <strong>Blocks:</strong>
27
+ </td>
28
+ <td>
29
+ <%% unless <%= singular_table_name %>.blocks.empty? %>
30
+ <%%= <%= singular_table_name %>.blocks.each do |block| %>
31
+ <strong><%%= link_to block.title, [:admin, block] %></strong> => <%%= block.region.titleize %><br />
32
+ <%% end %>
33
+ <%% end %>
34
+ </td>
35
+ </tr>
36
+ <%% end %>
37
37
 
38
- <%% if <%= singular_table_name %>.respond_to?(:teaser) %>
39
- <tr>
40
- <td><strong>Teaser:</strong></td>
41
- <td><%%= <%= singular_table_name %>.teaser unless <%= singular_table_name %>.teaser.blank? %></td>
42
- </tr>
43
- <%% end %>
38
+ <%% if <%= singular_table_name %>.respond_to?(:teaser) %>
39
+ <tr>
40
+ <td><strong>Teaser:</strong></td>
41
+ <td><%%= <%= singular_table_name %>.teaser unless <%= singular_table_name %>.teaser.blank? %></td>
42
+ </tr>
43
+ <%% end %>
44
44
 
45
- <%% unless <%= singular_table_name %>.menu.blank? %>
46
- <tr>
47
- <td style="border-bottom:2px solid #333;">
48
- <strong>URL:</strong>
49
- </td>
50
- <td style="border-bottom:2px solid #333;">
51
- <%%= <%= singular_table_name %>.menu.url unless <%= singular_table_name %>.menu.blank? %></td>
52
- </td>
53
- </tr>
45
+ <%% unless <%= singular_table_name %>.menu.blank? %>
46
+ <tr>
47
+ <td style="border-bottom:2px solid #333;">
48
+ <strong>URL:</strong>
49
+ </td>
50
+ <td style="border-bottom:2px solid #333;">
51
+ <%%= <%= singular_table_name %>.menu.url unless <%= singular_table_name %>.menu.blank? %></td>
52
+ </td>
53
+ </tr>
54
+ <%% end %>
54
55
  <%% end %>
55
56
  </tbody>
56
57
  </table>
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cable
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.0
5
+ version: 0.9.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Spencer Markowski
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2011-03-07 00:00:00 -05:00
15
+ date: 2011-03-14 00:00:00 -04:00
16
16
  default_executable:
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency