avo-setup 0.0.16 → 0.0.17

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.
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
@@ -8,13 +8,6 @@ module Avo
8
8
  def generate_layout
9
9
  copy_file "stylesheet.css", "public/stylesheets/#{file_name}.css" if options.stylesheet?
10
10
  template "layout.html.erb", "app/views/layouts/#{file_name}.html.erb"
11
- if yes?("Would you like to install Devise?")
12
- gem("devise")
13
- generate("devise:install")
14
- model_name = ask("What would you like the user model to be called? [user]")
15
- model_name = "user" if model_name.blank?
16
- generate("devise", model_name)
17
- end
18
11
  end
19
12
 
20
13
  private
@@ -1 +1,19 @@
1
- hopalkee
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title><%%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
5
+ <%%= stylesheet_link_tag "<%= file_name %>" %>
6
+ <%%= javascript_include_tag :defaults %>
7
+ <%%= csrf_meta_tag %>
8
+ <%%= yield(:head) %>
9
+ </head>
10
+ <body>
11
+ <div id="container">
12
+ <%% flash.each do |name, msg| %>
13
+ <%%= content_tag :div, msg, :id => "flash_#{name}" %>
14
+ <%% end %>
15
+ <%%= content_tag :h1, yield(:title) if show_title? %>
16
+ <%%= yield %>
17
+ </div>
18
+ </body>
19
+ </html>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 16
9
- version: 0.0.16
8
+ - 17
9
+ version: 0.0.17
10
10
  platform: ruby
11
11
  authors:
12
12
  - Avocado