activoate 0.6.8 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -1,4 +1,4 @@
1
- # Activoate 0.5.0 #
1
+ # Activoate 0.6.8 #
2
2
 
3
3
  We're setting up this repository, more info soon!
4
4
 
@@ -1,3 +1,3 @@
1
1
  module Activoate
2
- VERSION = "0.6.8"
2
+ VERSION = "0.7.2"
3
3
  end
@@ -5,10 +5,10 @@ module Activoate
5
5
 
6
6
  argument :layout_name, :type => :string, :default => 'activo'
7
7
 
8
- class_option :app_name, :type => :string, :default => 'Web App', :desc => 'Specify the application name'
9
- class_option :engine, :type => :string, :default => Activoate::Engine.config.engine, :desc => 'Specify the template engine'
10
- class_option :formtastic, :type => :string, :default => Activoate::Engine.config.formtastic, :desc => 'Specify the template engine'
11
- class_option :layout_type, :type => :string, :default => 'admin', :desc => 'Layout type, admin or sign'
8
+ class_option :app_name, :type => :string, :default => 'Web App', :desc => 'Specify the application name'
9
+ class_option :engine, :type => :string, :default => Activoate::Engine.config.engine, :desc => 'Specify the template engine'
10
+ class_option :formtastic, :type => :string, :default => Activoate::Engine.config.formtastic, :desc => 'Specify the template engine'
11
+ class_option :layout_type, :type => :string, :default => 'admin', :desc => 'Layout type, admin or sign'
12
12
 
13
13
  def copy_layout
14
14
  return if options.no_layout
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activoate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.8
4
+ version: 0.7.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-13 00:00:00.000000000Z
12
+ date: 2011-12-14 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70202012783000 !ruby/object:Gem::Requirement
16
+ requirement: &70288578976680 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70202012783000
24
+ version_requirements: *70288578976680
25
25
  description: Helps to use Activo 2 theme on Rails 3 applications and provides handy
26
26
  helpers and generators to use with formtastic/attrtastic
27
27
  email:
@@ -142,9 +142,6 @@ files:
142
142
  - lib/generators/activoate/activoated/templates/view_text.html.erb
143
143
  - lib/generators/activoate/install/install_generator.rb
144
144
  - lib/generators/activoate/install/templates/layout_admin.html.erb
145
- - lib/templates/web_app_theme/theme/layout_admin.html.erb
146
- - lib/templates/web_app_theme/theme/layout_sign.html.erb
147
- - lib/templates/web_app_theme/theme/web_app_theme.css.erb
148
145
  homepage: https://github.com/wcdcompany/activoate
149
146
  licenses: []
150
147
  post_install_message:
@@ -1,57 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title><%= options.app_name %></title>
5
- <%%= stylesheet_link_tag 'activo-2' %>
6
- <%%= javascript_include_tag 'activo-2' %>
7
- <%%= csrf_meta_tag %>
8
- </head>
9
- <body>
10
- <div id="container">
11
- <div id="header">
12
- <a href="/" title="<%= options.app_name %>">
13
- <div class="logo"></div>
14
- </a>
15
- <div id="user-navigation">
16
- <ul class="wat-cf">
17
- <li>
18
- <%%= link_to image_tag('web-app-theme/session/home.png', :alt => 'Home', :title => 'Home'), '#' %>
19
- </li>
20
- <li>
21
- <%%= link_to image_tag('web-app-theme/session/account.png', :alt => 'Profile', :title => 'Profile'), '#' %>
22
- </li>
23
- <li>
24
- <%%= link_to image_tag('web-app-theme/session/config.png', :alt => 'Settings', :title => 'Settings'), '#' %>
25
- </li>
26
- <li>
27
- <%%= link_to image_tag('web-app-theme/session/logout.png', :alt => 'Logout', :title => 'Logout'), '#' %>
28
- </li>
29
- </ul>
30
- </div>
31
- <div id="main-navigation">
32
- <ul class="wat-cf"></ul>
33
- </div>
34
- </div>
35
- <div id="wrapper" class="wat-cf">
36
- <div class="flash">
37
- <%% flash.each do |type, message| -%>
38
- <div class="message <%%= type %>">
39
- <p><%%= message %></p>
40
- </div>
41
- <%% end -%>
42
- </div>
43
- <div id="main">
44
- <%%= yield %>
45
- <div id="footer">
46
- <div class="block">
47
- <p>Copyright &copy; <%%= Time.now.year %> <%= options.app_name %>.</p>
48
- </div>
49
- </div>
50
- </div>
51
- <div id="sidebar">
52
- <%%= yield :sidebar %>
53
- </div>
54
- </div>
55
- </div>
56
- </body>
57
- </html>
@@ -1,15 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title><%= options.app_name %></title>
5
- <%%= stylesheet_link_tag "web_app_theme" %>
6
- <%%= csrf_meta_tag %>
7
- </head>
8
- <body>
9
- <div id="container">
10
- <div id="box">
11
- <%%= yield %>
12
- </div>
13
- </div>
14
- </body>
15
- </html>
@@ -1,9 +0,0 @@
1
- /*
2
- * This css will include all web-app-theme css you need
3
- *
4
- *= require web-app-theme/base
5
- *= require web-app-theme/themes/<%= options.theme %>/style.css
6
- *= require_self
7
- */
8
-
9
- /* Write here your css for overriding the theme's rules */