flexi_generators 0.2.6 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.8
@@ -1,111 +1,109 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{flexi_generators}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Leandro de Oliveira"]
12
- s.date = %q{2010-10-30}
12
+ s.date = %q{2011-04-14}
13
13
  s.description = %q{Generates authentication and custom scaffold templates.}
14
14
  s.email = %q{ol.leandro@gmail.com}
15
15
  s.extra_rdoc_files = [
16
16
  "README.textile"
17
17
  ]
18
18
  s.files = [
19
- ".gitignore",
20
- "README.textile",
21
- "Rakefile",
22
- "VERSION",
23
- "flexi_generators.gemspec",
24
- "init.rb",
25
- "lib/flexi_generators.rb",
26
- "lib/generators/flexi_auth/USAGE",
27
- "lib/generators/flexi_auth/flexi_auth_generator.rb",
28
- "lib/generators/flexi_auth/templates/authentication.rb",
29
- "lib/generators/flexi_auth/templates/authlogic_session.rb",
30
- "lib/generators/flexi_auth/templates/fixtures.yml",
31
- "lib/generators/flexi_auth/templates/migration.rb",
32
- "lib/generators/flexi_auth/templates/sessions_controller.rb",
33
- "lib/generators/flexi_auth/templates/sessions_helper.rb",
34
- "lib/generators/flexi_auth/templates/tests/testunit/sessions_controller.rb",
35
- "lib/generators/flexi_auth/templates/tests/testunit/user.rb",
36
- "lib/generators/flexi_auth/templates/tests/testunit/users_controller.rb",
37
- "lib/generators/flexi_auth/templates/user.rb",
38
- "lib/generators/flexi_auth/templates/users_controller.rb",
39
- "lib/generators/flexi_auth/templates/users_helper.rb",
40
- "lib/generators/flexi_auth/templates/views/erb/_error_messages.html.erb",
41
- "lib/generators/flexi_auth/templates/views/erb/application.html.erb",
42
- "lib/generators/flexi_auth/templates/views/erb/edit.html.erb",
43
- "lib/generators/flexi_auth/templates/views/erb/index.html.erb",
44
- "lib/generators/flexi_auth/templates/views/erb/login.html.erb",
45
- "lib/generators/flexi_auth/templates/views/erb/new.html.erb",
46
- "lib/generators/flexi_auth/templates/views/erb/show.html.erb",
47
- "lib/generators/flexi_prepare/USAGE",
48
- "lib/generators/flexi_prepare/flexi_prepare_generator.rb",
49
- "lib/generators/flexi_prepare/templates/add.png",
50
- "lib/generators/flexi_prepare/templates/admin_home_controller.rb",
51
- "lib/generators/flexi_prepare/templates/admin_home_index.html.erb",
52
- "lib/generators/flexi_prepare/templates/application.css",
53
- "lib/generators/flexi_prepare/templates/application.html.erb",
54
- "lib/generators/flexi_prepare/templates/application_helper.rb",
55
- "lib/generators/flexi_prepare/templates/back.png",
56
- "lib/generators/flexi_prepare/templates/bg.png",
57
- "lib/generators/flexi_prepare/templates/bg2.png",
58
- "lib/generators/flexi_prepare/templates/boxheader.gif",
59
- "lib/generators/flexi_prepare/templates/btn-bg-hover.png",
60
- "lib/generators/flexi_prepare/templates/btn-bg.png",
61
- "lib/generators/flexi_prepare/templates/custom_field_error.rb",
62
- "lib/generators/flexi_prepare/templates/delete.png",
63
- "lib/generators/flexi_prepare/templates/edit.png",
64
- "lib/generators/flexi_prepare/templates/inflector_portuguese.rb",
65
- "lib/generators/flexi_prepare/templates/login.css",
66
- "lib/generators/flexi_prepare/templates/login.html.erb",
67
- "lib/generators/flexi_prepare/templates/logo.png",
68
- "lib/generators/flexi_prepare/templates/menu.png",
69
- "lib/generators/flexi_prepare/templates/messages/Thumbs.db",
70
- "lib/generators/flexi_prepare/templates/messages/error.png",
71
- "lib/generators/flexi_prepare/templates/messages/info.png",
72
- "lib/generators/flexi_prepare/templates/messages/success.png",
73
- "lib/generators/flexi_prepare/templates/messages/tip.png",
74
- "lib/generators/flexi_prepare/templates/messages/warning.png",
75
- "lib/generators/flexi_prepare/templates/pt-BR.yml",
76
- "lib/generators/flexi_prepare/templates/show.png",
77
- "lib/generators/flexi_prepare/templates/site.css",
78
- "lib/generators/flexi_prepare/templates/site.html.erb",
79
- "lib/generators/flexi_prepare/templates/site_controller.rb",
80
- "lib/generators/flexi_prepare/templates/site_helper.rb",
81
- "lib/generators/flexi_prepare/templates/site_index.html.erb",
82
- "lib/generators/flexi_prepare/templates/users.png",
83
- "lib/generators/flexi_scaffold/USAGE",
84
- "lib/generators/flexi_scaffold/flexi_scaffold_generator.rb",
85
- "lib/generators/flexi_scaffold/templates/controller.rb",
86
- "lib/generators/flexi_scaffold/templates/fixtures.yml",
87
- "lib/generators/flexi_scaffold/templates/helper.rb",
88
- "lib/generators/flexi_scaffold/templates/migration.rb",
89
- "lib/generators/flexi_scaffold/templates/model.rb",
90
- "lib/generators/flexi_scaffold/templates/tests/controller.rb",
91
- "lib/generators/flexi_scaffold/templates/tests/helper.rb",
92
- "lib/generators/flexi_scaffold/templates/tests/model.rb",
93
- "lib/generators/flexi_scaffold/templates/views/erb/_error_messages.html.erb",
94
- "lib/generators/flexi_scaffold/templates/views/erb/_form.html.erb",
95
- "lib/generators/flexi_scaffold/templates/views/erb/edit.html.erb",
96
- "lib/generators/flexi_scaffold/templates/views/erb/index.html.erb",
97
- "lib/generators/flexi_scaffold/templates/views/erb/new.html.erb",
98
- "lib/generators/flexi_scaffold/templates/views/erb/show.html.erb",
99
- "template.rb"
19
+ "README.textile",
20
+ "Rakefile",
21
+ "VERSION",
22
+ "flexi_generators.gemspec",
23
+ "init.rb",
24
+ "lib/flexi_generators.rb",
25
+ "lib/generators/flexi_auth/USAGE",
26
+ "lib/generators/flexi_auth/flexi_auth_generator.rb",
27
+ "lib/generators/flexi_auth/templates/authentication.rb",
28
+ "lib/generators/flexi_auth/templates/authlogic_session.rb",
29
+ "lib/generators/flexi_auth/templates/fixtures.yml",
30
+ "lib/generators/flexi_auth/templates/migration.rb",
31
+ "lib/generators/flexi_auth/templates/sessions_controller.rb",
32
+ "lib/generators/flexi_auth/templates/sessions_helper.rb",
33
+ "lib/generators/flexi_auth/templates/tests/testunit/sessions_controller.rb",
34
+ "lib/generators/flexi_auth/templates/tests/testunit/user.rb",
35
+ "lib/generators/flexi_auth/templates/tests/testunit/users_controller.rb",
36
+ "lib/generators/flexi_auth/templates/user.rb",
37
+ "lib/generators/flexi_auth/templates/users_controller.rb",
38
+ "lib/generators/flexi_auth/templates/users_helper.rb",
39
+ "lib/generators/flexi_auth/templates/views/erb/_error_messages.html.erb",
40
+ "lib/generators/flexi_auth/templates/views/erb/application.html.erb",
41
+ "lib/generators/flexi_auth/templates/views/erb/edit.html.erb",
42
+ "lib/generators/flexi_auth/templates/views/erb/index.html.erb",
43
+ "lib/generators/flexi_auth/templates/views/erb/login.html.erb",
44
+ "lib/generators/flexi_auth/templates/views/erb/new.html.erb",
45
+ "lib/generators/flexi_auth/templates/views/erb/show.html.erb",
46
+ "lib/generators/flexi_prepare/USAGE",
47
+ "lib/generators/flexi_prepare/flexi_prepare_generator.rb",
48
+ "lib/generators/flexi_prepare/templates/add.png",
49
+ "lib/generators/flexi_prepare/templates/admin_home_controller.rb",
50
+ "lib/generators/flexi_prepare/templates/admin_home_index.html.erb",
51
+ "lib/generators/flexi_prepare/templates/application.css",
52
+ "lib/generators/flexi_prepare/templates/application.html.erb",
53
+ "lib/generators/flexi_prepare/templates/application_helper.rb",
54
+ "lib/generators/flexi_prepare/templates/back.png",
55
+ "lib/generators/flexi_prepare/templates/bg.png",
56
+ "lib/generators/flexi_prepare/templates/bg2.png",
57
+ "lib/generators/flexi_prepare/templates/boxheader.gif",
58
+ "lib/generators/flexi_prepare/templates/btn-bg-hover.png",
59
+ "lib/generators/flexi_prepare/templates/btn-bg.png",
60
+ "lib/generators/flexi_prepare/templates/custom_field_error.rb",
61
+ "lib/generators/flexi_prepare/templates/delete.png",
62
+ "lib/generators/flexi_prepare/templates/edit.png",
63
+ "lib/generators/flexi_prepare/templates/inflector_portuguese.rb",
64
+ "lib/generators/flexi_prepare/templates/login.css",
65
+ "lib/generators/flexi_prepare/templates/login.html.erb",
66
+ "lib/generators/flexi_prepare/templates/logo.png",
67
+ "lib/generators/flexi_prepare/templates/menu.png",
68
+ "lib/generators/flexi_prepare/templates/messages/Thumbs.db",
69
+ "lib/generators/flexi_prepare/templates/messages/error.png",
70
+ "lib/generators/flexi_prepare/templates/messages/info.png",
71
+ "lib/generators/flexi_prepare/templates/messages/success.png",
72
+ "lib/generators/flexi_prepare/templates/messages/tip.png",
73
+ "lib/generators/flexi_prepare/templates/messages/warning.png",
74
+ "lib/generators/flexi_prepare/templates/pt-BR.yml",
75
+ "lib/generators/flexi_prepare/templates/routes.rb",
76
+ "lib/generators/flexi_prepare/templates/show.png",
77
+ "lib/generators/flexi_prepare/templates/site.css",
78
+ "lib/generators/flexi_prepare/templates/site.html.erb",
79
+ "lib/generators/flexi_prepare/templates/site_controller.rb",
80
+ "lib/generators/flexi_prepare/templates/site_helper.rb",
81
+ "lib/generators/flexi_prepare/templates/site_index.html.erb",
82
+ "lib/generators/flexi_prepare/templates/users.png",
83
+ "lib/generators/flexi_scaffold/USAGE",
84
+ "lib/generators/flexi_scaffold/flexi_scaffold_generator.rb",
85
+ "lib/generators/flexi_scaffold/templates/controller.rb",
86
+ "lib/generators/flexi_scaffold/templates/fixtures.yml",
87
+ "lib/generators/flexi_scaffold/templates/helper.rb",
88
+ "lib/generators/flexi_scaffold/templates/migration.rb",
89
+ "lib/generators/flexi_scaffold/templates/model.rb",
90
+ "lib/generators/flexi_scaffold/templates/tests/controller.rb",
91
+ "lib/generators/flexi_scaffold/templates/tests/helper.rb",
92
+ "lib/generators/flexi_scaffold/templates/tests/model.rb",
93
+ "lib/generators/flexi_scaffold/templates/views/erb/_error_messages.html.erb",
94
+ "lib/generators/flexi_scaffold/templates/views/erb/_form.html.erb",
95
+ "lib/generators/flexi_scaffold/templates/views/erb/edit.html.erb",
96
+ "lib/generators/flexi_scaffold/templates/views/erb/index.html.erb",
97
+ "lib/generators/flexi_scaffold/templates/views/erb/new.html.erb",
98
+ "lib/generators/flexi_scaffold/templates/views/erb/show.html.erb",
99
+ "template.rb"
100
100
  ]
101
101
  s.homepage = %q{http://github.com/leandroo/flexi_generators}
102
- s.rdoc_options = ["--charset=UTF-8"]
103
102
  s.require_paths = ["lib"]
104
- s.rubygems_version = %q{1.3.7}
103
+ s.rubygems_version = %q{1.7.2}
105
104
  s.summary = %q{My useful Rails generator scripts.}
106
105
 
107
106
  if s.respond_to? :specification_version then
108
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
109
107
  s.specification_version = 3
110
108
 
111
109
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -12,7 +12,7 @@ class <%= session_plural_class_name %>Controller < ApplicationController
12
12
  @<%= session_singular_name %> = <%= session_class_name %>.new(params[:<%= session_singular_name %>])
13
13
  if @<%= session_singular_name %>.save
14
14
  flash[:notice] = "Bem-vindo!"
15
- redirect_to admin_home_url
15
+ redirect_to_target_or_default(admin_home_url)
16
16
  else
17
17
  flash.now[:error] = "Usuário/E-mail ou senha inválidos."
18
18
  render :action => 'new'
@@ -1,57 +1,57 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
5
- <title><%%= "Área administrativa - #{ yield(:title) }" %></title>
6
- <%%= stylesheet_link_tag 'application' %>
7
- <%%= javascript_include_tag :defaults %>
8
- <%%= yield(:head) %>
9
- <%%= csrf_meta_tag %>
10
- </head>
11
- <body>
12
- <div class="top_nav">
13
- <%% if logged_in? %>
14
- <%%= current_<%= user_singular_name %>.username %> | <%%= current_<%= user_singular_name %>.email %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %>
15
- <%% else %>
16
- <%%= link_to "» Entrar", login_path, :class => 'login' %>
17
- <%% end %>
18
- </div>
19
- <div id="header">
20
- <%%= link_to image_tag("logo.png"), admin_home_url %>
21
- </div>
22
- <div id="container">
23
- <div id="sidenav">
24
- <div class="menu">
25
- <%%= menu do |m| %>
26
- <%%= m.<%= user_plural_name %> admin_<%= user_plural_name %>_path do %>
27
- <%%= image_tag 'users.png' %> <%= user_plural_class_name %>
28
- <%% end %>
29
- <%%= m.menu1 "#menu" do %>
30
- <%%= image_tag 'menu.png' %> Menu 1
31
- <%% end %>
32
- <%%= m.menu2 "#menu" do %>
33
- <%%= image_tag 'menu.png' %> Menu 2
34
- <%% end %>
35
- <%%= m.menu3 "#menu" do %>
36
- <%%= image_tag 'menu.png' %> Menu 3
37
- <%% end %>
38
- <%%= m.menu4 "#menu" do %>
39
- <%%= image_tag 'menu.png' %> Menu 4
40
- <%% end %>
41
- <%% end %>
42
- </div>
43
- </div>
44
- <div id="main">
45
- <div class="box-header">
46
- <%% if show_title? %>
47
- <h2><%%= yield(:title) %></h2>
48
- <%% end %>
49
- </div>
50
- <div class="box">
51
- <%%= raw flash_messages %>
52
- <%%= yield %>
53
- </div>
54
- </div>
55
- </div>
56
- </body>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
5
+ <title><%%= "Área administrativa - #{ yield(:title) }" %></title>
6
+ <%%= stylesheet_link_tag 'application' %>
7
+ <%%= javascript_include_tag :defaults %>
8
+ <%%= yield(:head) %>
9
+ <%%= csrf_meta_tag %>
10
+ </head>
11
+ <body>
12
+ <div class="top_nav">
13
+ <%% if logged_in? %>
14
+ <%%= current_<%= user_singular_name %>.username %> | <%%= current_<%= user_singular_name %>.email %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %>
15
+ <%% else %>
16
+ <%%= link_to "» Entrar", login_path, :class => 'login' %>
17
+ <%% end %>
18
+ </div>
19
+ <div id="header">
20
+ <%%= link_to image_tag("logo.png"), admin_home_url %>
21
+ </div>
22
+ <div id="container">
23
+ <div id="sidenav">
24
+ <div class="menu">
25
+ <%%= menu do |m| %>
26
+ <%%= m.<%= user_plural_name %> admin_<%= user_plural_name %>_path do %>
27
+ <%%= image_tag 'users.png' %> <%= user_plural_class_name %>
28
+ <%% end %>
29
+ <%%= m.menu1 "#menu" do %>
30
+ <%%= image_tag 'menu.png' %> Menu 1
31
+ <%% end %>
32
+ <%%= m.menu2 "#menu" do %>
33
+ <%%= image_tag 'menu.png' %> Menu 2
34
+ <%% end %>
35
+ <%%= m.menu3 "#menu" do %>
36
+ <%%= image_tag 'menu.png' %> Menu 3
37
+ <%% end %>
38
+ <%%= m.menu4 "#menu" do %>
39
+ <%%= image_tag 'menu.png' %> Menu 4
40
+ <%% end %>
41
+ <%% end %>
42
+ </div>
43
+ </div>
44
+ <div id="main">
45
+ <div class="box-header">
46
+ <%% if show_title? %>
47
+ <h2><%%= yield(:title) %></h2>
48
+ <%% end %>
49
+ </div>
50
+ <div class="box">
51
+ <%%= raw flash_messages %>
52
+ <%%= yield %>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </body>
57
57
  </html>
@@ -5,6 +5,7 @@ class FlexiPrepareGenerator < Rails::Generators::Base
5
5
  remove_file "app/views/layouts/application.html.erb"
6
6
  remove_file "app/helpers/application_helper.rb"
7
7
  remove_file "public/index.html"
8
+ remove_file "config/routes.rb"
8
9
 
9
10
  copy_file "pt-BR.yml", "config/locales/pt-BR.yml"
10
11
  copy_file "inflector_portuguese.rb", "config/initializers/inflector_portuguese.rb"
@@ -35,14 +36,14 @@ class FlexiPrepareGenerator < Rails::Generators::Base
35
36
  copy_file "site_helper.rb", "app/helpers/site_helper.rb"
36
37
  copy_file "application_helper.rb", "app/helpers/application_helper.rb"
37
38
 
38
-
39
+ template "routes.rb", "config/routes.rb"
39
40
  template "login.html.erb", "app/views/layouts/login.html.erb"
40
41
  template "site.html.erb", "app/views/layouts/site.html.erb"
41
42
  template "site_index.html.erb", "app/views/site/index.html.erb"
42
43
  template "admin_home_index.html.erb", "app/views/admin/home/index.html.erb"
43
44
 
44
45
  gem 'menu_builder', '=0.3.3'
45
- gem 'will_paginate', '~> 3.0.beta'
46
+ gem 'will_paginate', '~> 3.0.pre2'
46
47
 
47
48
  route 'root :to => "site#index"'
48
49
  route 'namespace :admin do
@@ -52,5 +53,10 @@ class FlexiPrepareGenerator < Rails::Generators::Base
52
53
  inject_into_file "config/application.rb", "\tconfig.i18n.default_locale = 'pt-BR'\n", :after => "class Application < Rails::Application\n"
53
54
  inject_into_file "config/application.rb", "\tconfig.time_zone = 'Brasilia'\n", :after => "class Application < Rails::Application\n"
54
55
  end
56
+
57
+ private
55
58
 
56
- end
59
+ def app_name
60
+ File.basename(Rails.root).camelize
61
+ end
62
+ end
@@ -273,6 +273,5 @@ div#header{ width: 900px; margin: 0 auto; }
273
273
  border-color:#E17984;
274
274
  color:#9E0B0F;
275
275
  }
276
- /* Errors */
277
- .field_with_errors{ margin:0;padding:0;}
278
- .field_with_errors input { background-color:#FFEBEB; }
276
+ /* Field Errors */
277
+ input.field_with_errors { background-color:#FFEBEB; border-color: #E17984; }
@@ -11,7 +11,7 @@
11
11
  <body>
12
12
  <div class="top_nav">
13
13
  <%% if logged_in? %>
14
- <%%= current_user.username %> | <%%= current_user.email %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %>
14
+ <%%= current_user.username %> | <%%= current_user.email %> | <%%= link_to "» Site", root_path, :target => '_blank' %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %>
15
15
  <%% else %>
16
16
  <%%= link_to "» Entrar", login_path, :class => 'login' %>
17
17
  <%% end %>
@@ -1,12 +1,12 @@
1
- #Personalizando mensagens de erro
1
+ #Personalizando campos com erro
2
2
  ActionView::Base.field_error_proc = Proc.new do |html_tag, instance|
3
- error_style = "background-color:#FFEBEB;border-color:#E17984;"
4
- if html_tag =~ /<(input|textarea|select)[^>]+style=/
5
- style_attribute = html_tag =~ /style=['"]/
6
- html_tag.insert(style_attribute + 7, "#{error_style}; ")
3
+ error_class = "field_with_errors"
4
+ if html_tag =~ /<(input|textarea|select)[^>]+class=/
5
+ class_attribute = html_tag =~ /class=['"]/
6
+ html_tag.insert(class_attribute + 7, "#{error_class}; ")
7
7
  elsif html_tag =~ /<(input|textarea|select)/
8
8
  first_whitespace = html_tag =~ /\s/
9
- html_tag[first_whitespace] = " style='#{error_style}' "
9
+ html_tag[first_whitespace] = " class='#{error_class}' "
10
10
  end
11
11
  html_tag
12
12
  end
@@ -189,16 +189,18 @@ pt-BR:
189
189
  messages:
190
190
  taken: "já está em uso"
191
191
  record_invalid: "A validação falhou: %{errors}"
192
+
192
193
  models:
193
- user: Usuários
194
+ user: "Usuários"
195
+
194
196
  attributes:
195
197
  user:
196
- username: Usuário
197
- email: E-mail
198
- password: Senha
199
- password_confirmation: Confirmar Senha
198
+ username: "Usuário"
199
+ email: "E-mail"
200
+ password: "Senha"
201
+ password_confirmation: "Confirmar Senha"
200
202
 
201
203
  authlogic:
202
204
  error_messages:
203
- email_invalid: endereço de e-mail invávildo
204
- login_invalid: use somente letras, números, espaços e .-_@
205
+ email_invalid: "endereço de e-mail invávildo"
206
+ login_invalid: "use somente letras, números, espaços e .-_@"
@@ -0,0 +1,3 @@
1
+ <%= app_name %>::Application.routes.draw do
2
+
3
+ end
@@ -40,7 +40,8 @@ class FlexiScaffoldGenerator < Rails::Generators::Base
40
40
 
41
41
  def create_controller
42
42
  template "controller.rb", "app/controllers/admin/#{plural_name}_controller.rb"
43
- inject_into_file "config/routes.rb", "\n\tresources #{plural_name.to_sym.inspect}", :after => 'match "home" => "home#index"'
43
+ inject_into_file "config/routes.rb", "\n\tresources #{plural_name.to_sym.inspect}",
44
+ :after => 'namespace :admin do'
44
45
  template "tests/controller.rb", "test/functional/#{plural_name}_controller_test.rb"
45
46
  template 'helper.rb', "app/helpers/#{plural_name}_helper.rb"
46
47
  template "tests/helper.rb", "test/unit/helpers/#{plural_name}_controller_test.rb"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexi_generators
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: false
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 6
10
- version: 0.2.6
9
+ - 8
10
+ version: 0.2.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Leandro de Oliveira
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-10-30 00:00:00 -02:00
19
- default_executable:
18
+ date: 2011-04-14 00:00:00 Z
20
19
  dependencies: []
21
20
 
22
21
  description: Generates authentication and custom scaffold templates.
@@ -28,7 +27,6 @@ extensions: []
28
27
  extra_rdoc_files:
29
28
  - README.textile
30
29
  files:
31
- - .gitignore
32
30
  - README.textile
33
31
  - Rakefile
34
32
  - VERSION
@@ -85,6 +83,7 @@ files:
85
83
  - lib/generators/flexi_prepare/templates/messages/tip.png
86
84
  - lib/generators/flexi_prepare/templates/messages/warning.png
87
85
  - lib/generators/flexi_prepare/templates/pt-BR.yml
86
+ - lib/generators/flexi_prepare/templates/routes.rb
88
87
  - lib/generators/flexi_prepare/templates/show.png
89
88
  - lib/generators/flexi_prepare/templates/site.css
90
89
  - lib/generators/flexi_prepare/templates/site.html.erb
@@ -109,13 +108,12 @@ files:
109
108
  - lib/generators/flexi_scaffold/templates/views/erb/new.html.erb
110
109
  - lib/generators/flexi_scaffold/templates/views/erb/show.html.erb
111
110
  - template.rb
112
- has_rdoc: true
113
111
  homepage: http://github.com/leandroo/flexi_generators
114
112
  licenses: []
115
113
 
116
114
  post_install_message:
117
- rdoc_options:
118
- - --charset=UTF-8
115
+ rdoc_options: []
116
+
119
117
  require_paths:
120
118
  - lib
121
119
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -139,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
137
  requirements: []
140
138
 
141
139
  rubyforge_project:
142
- rubygems_version: 1.3.7
140
+ rubygems_version: 1.7.2
143
141
  signing_key:
144
142
  specification_version: 3
145
143
  summary: My useful Rails generator scripts.
data/.gitignore DELETED
@@ -1,2 +0,0 @@
1
- rdoc
2
- pkg