responders 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,4 @@
1
- == 0.5.1
2
-
3
- * ALso copy locale file on rails generator responders_install
4
-
5
- == 0.5.0
1
+ == 0.5
6
2
 
7
3
  * Added Railtie and better Rails 3 support
8
4
 
@@ -13,11 +13,12 @@ to be used with Rails 2.3 together with Inherited Resources, please check this b
13
13
  flash:
14
14
  actions:
15
15
  create:
16
- notice: "{resource_name} was successfully created"
16
+ notice: "{{resource_name}} was successfully created."
17
17
  update:
18
- notice: "{resource_name} was successfully updated"
18
+ notice: "{{resource_name}} was successfully updated."
19
19
  destroy:
20
- alert: "{resource_name} could not be destroyed"
20
+ notice: "{{resource_name}} was successfully destroyed."
21
+ alert: "{{resource_name}} could not be destroyed."
21
22
 
22
23
  In case the resource contains errors, you should use the failure key on I18n. This is
23
24
  useful to dry up flash messages from your controllers. If you need a specific message
@@ -7,7 +7,7 @@ class RespondersInstallGenerator < Rails::Generators::Base
7
7
 
8
8
  def create_responder_initializer
9
9
  create_file "config/initializers/responders.rb", <<-FILE
10
- class ApplicationResponder
10
+ class ApplicationResponder < ActionController::Responder
11
11
  include Responders::FlashResponder
12
12
  include Responders::HttpCacheResponder
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Responders
2
- VERSION = "0.5.2".freeze
2
+ VERSION = "0.5.3".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: responders
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 5
8
+ - 3
9
+ version: 0.5.3
5
10
  platform: ruby
6
11
  authors:
7
12
  - "Jos\xC3\xA9 Valim"
@@ -9,7 +14,7 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-02 00:00:00 +01:00
17
+ date: 2010-03-04 00:00:00 +01:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
@@ -48,18 +53,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
48
53
  requirements:
49
54
  - - ">="
50
55
  - !ruby/object:Gem::Version
56
+ segments:
57
+ - 0
51
58
  version: "0"
52
- version:
53
59
  required_rubygems_version: !ruby/object:Gem::Requirement
54
60
  requirements:
55
61
  - - ">="
56
62
  - !ruby/object:Gem::Version
63
+ segments:
64
+ - 0
57
65
  version: "0"
58
- version:
59
66
  requirements: []
60
67
 
61
68
  rubyforge_project:
62
- rubygems_version: 1.3.5
69
+ rubygems_version: 1.3.6
63
70
  signing_key:
64
71
  specification_version: 3
65
72
  summary: A set of Rails 3 responders to dry up your application