dust-generators 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/dust/version.rb CHANGED
@@ -2,7 +2,7 @@ class Dust
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- PATCH = 1
5
+ PATCH = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
@@ -67,7 +67,7 @@ class DustAlbumsGenerator < Rails::Generator::Base
67
67
 
68
68
  def css(m)
69
69
  m.template "stylesheets/dust_album.css", "public/stylesheets/dust_#{parent_singular_name}.css"
70
- m.template "stylesheets/uploadify.css", "public/stylesheets/uploadify.css"
70
+ m.template "stylesheets/uploadify.css", "public/stylesheets/#{parent_singular_name}_uploadify.css"
71
71
  m.template "stylesheets/dust_album_app.css", "public/stylesheets/dust_#{parent_singular_name}_app.css"
72
72
  end
73
73
 
@@ -1,4 +1,4 @@
1
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
1
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
2
2
 
3
3
  <%% form_for @<%=parent_singular_name%>, :validations => true do |f| %>
4
4
  <%%= f.error_messages %>
@@ -1,5 +1,5 @@
1
1
  <%% title "Edit <%=parent_class_name%>" %>
2
2
 
3
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
3
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
4
4
 
5
5
  <%%= render :partial => 'form' %>
@@ -1,7 +1,7 @@
1
1
  <%% title "<%=parent_plural_class_name%>" %>
2
2
  <%% heading "<%=parent_plural_class_name%>" %>
3
3
 
4
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
4
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
5
5
 
6
6
  <div class="button_bar">
7
7
  <%%= render :partial => 'search' %>
@@ -1,4 +1,4 @@
1
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
1
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
2
2
 
3
3
  <script type="text/javascript" charset="utf-8">
4
4
  $(document).ready(function() {
@@ -1,6 +1,6 @@
1
1
  <%% title "New <%=parent_class_name%>" %>
2
2
 
3
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
3
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
4
4
 
5
5
  <%%= render :partial => 'form' %>
6
6
 
@@ -1,6 +1,6 @@
1
1
  <%% title h(@<%=parent_singular_name%>.title) %>
2
2
 
3
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
3
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
4
4
 
5
5
 
6
6
  <%% content_for :head do %>
@@ -1,4 +1,4 @@
1
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
1
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
2
2
 
3
3
  <%% form_for @<%=child_singular_name%>, :validations => true do |f| %>
4
4
  <%%= f.error_messages %>
@@ -1,6 +1,6 @@
1
1
  <%% title "<%=child_plural_class_name%>" %>
2
2
 
3
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
3
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
4
4
  <%%= javascript( 'uploadify/jquery.uploadify.v2.1.0' ) %>
5
5
 
6
6
  <script type="text/javascript" charset="utf-8">
@@ -1,6 +1,6 @@
1
1
  <%% title "New <%=child_class_name%>" %>
2
2
 
3
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
3
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
4
4
 
5
5
  <%%= render :partial => 'form' %>
6
6
 
@@ -1,6 +1,6 @@
1
1
  <%% title "<%=child_class_name%>" %>
2
2
 
3
- <%%= stylesheet( 'dust_<%=parent_singular_name%>','uploadify') %>
3
+ <%%= stylesheet( 'dust_<%=parent_singular_name%>','<%=parent_singular_name%>_uploadify') %>
4
4
 
5
5
  <p>
6
6
  <strong>Title:</strong>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - rossnelson
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-04-23 00:00:00 -05:00
17
+ date: 2011-04-25 00:00:00 -05:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -302,7 +302,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
302
302
  requirements:
303
303
  - - ">="
304
304
  - !ruby/object:Gem::Version
305
- hash: 1594558476600847053
305
+ hash: 526107892463700164
306
306
  segments:
307
307
  - 0
308
308
  version: "0"