Skip to content

Commit

Permalink
Move generators to proper folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Feb 6, 2010
1 parent c117dfd commit 6b7ac45
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions lib/generators/responders_install_generator.rb
Expand Up @@ -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 changes: 5 additions & 5 deletions responders.gemspec
Expand Up @@ -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 = [
Expand All @@ -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",
Expand Down

0 comments on commit 6b7ac45

Please sign in to comment.