Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Move generators to proper folder.

  • Loading branch information...
commit 6b7ac454d88e37b66b1644215951ee4bd289cb50 1 parent c117dfd
José Valim josevalim authored
0  lib/generators/USAGE → lib/generators/rails/USAGE
View
File renamed without changes
0  lib/generators/responders_controller_generator.rb → ...nerators/rails/responders_controller_generator.rb
View
File renamed without changes
0  lib/generators/templates/controller.rb → lib/generators/rails/templates/controller.rb
View
File renamed without changes
8 lib/generators/responders_install_generator.rb
View
@@ -3,13 +3,13 @@ class RespondersInstallGenerator < Rails::Generators::Base
def create_responder_initializer
create_file "config/initializers/responders.rb", <<-FILE
-class #{Rails.application.class.name}Responder
- include FlashResponder
- include HttpCacheResponder
+class ApplicationResponder
+ include Responders::FlashResponder
+ include Responders::HttpCacheResponder
end
ApplicationController.respond_to :html
-ApplicationController.responder = #{Rails.application.class.name}Responder
+ApplicationController.responder = ApplicationResponder
FILE
end
end
10 responders.gemspec
View
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{responders}
- s.version = "0.4.3"
+ s.version = "0.5.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Jos\303\251 Valim"]
- s.date = %q{2010-02-05}
+ s.date = %q{2010-02-06}
s.description = %q{A set of Rails 3 responders to dry up your application}
s.email = %q{contact@plataformatec.com.br}
s.extra_rdoc_files = [
@@ -20,10 +20,10 @@ Gem::Specification.new do |s|
"MIT-LICENSE",
"README.rdoc",
"Rakefile",
- "lib/generators/USAGE",
- "lib/generators/responders_controller_generator.rb",
+ "lib/generators/rails/USAGE",
+ "lib/generators/rails/responders_controller_generator.rb",
+ "lib/generators/rails/templates/controller.rb",
"lib/generators/responders_install_generator.rb",
- "lib/generators/templates/controller.rb",
"lib/responders.rb",
"lib/responders/flash_responder.rb",
"lib/responders/http_cache_responder.rb",
Please sign in to comment.
Something went wrong with that request. Please try again.