responders 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- require 'rails/generators/rails/scaffold_controller/scaffold_controller_generator'
1
+ require 'generators/rails/scaffold_controller/scaffold_controller_generator'
2
2
 
3
3
  module Rails
4
4
  module Generators
@@ -6,7 +6,9 @@ module Rails
6
6
  def self.source_root
7
7
  @source_root ||= File.expand_path("templates", File.dirname(__FILE__))
8
8
  end
9
+
9
10
  protected
11
+
10
12
  def flash?
11
13
  !ApplicationController.responder.ancestors.include?(Responders::FlashResponder)
12
14
  end
@@ -1,5 +1,5 @@
1
1
  class RespondersInstallGenerator < Rails::Generators::Base
2
- desc "Creates an initializer file with default responder configuration"
2
+ desc "Creates an initializer with default responder configuration"
3
3
 
4
4
  def create_responder_initializer
5
5
  create_file "config/initializers/responders.rb", <<-FILE
@@ -1,3 +1,3 @@
1
1
  module Responders
2
- VERSION = "0.4.2".freeze
2
+ VERSION = "0.4.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: responders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jos\xC3\xA9 Valim"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-06 00:00:00 +01:00
12
+ date: 2010-02-05 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies: []
15
15