responders 0.2 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,4 +1,4 @@
1
- == 0.2
1
+ == 0.4
2
2
 
3
3
  * Added Responders::FlashResponder.flash_keys and default to [ :notice, :alert ]
4
4
  * Added support to respond_with(@resource, :notice => "Yes!", :alert => "No!")
data/README.rdoc CHANGED
@@ -36,6 +36,10 @@ A set of responders modules to dry up your Rails 3 app:
36
36
 
37
37
  == Configuring your own responder
38
38
 
39
+ The first step is instal responders gem and configure it in your application:
40
+
41
+ sudo gem install responders
42
+
39
43
  Responders only provides a set of modules, to use them, you have to create your own
40
44
  responder. This can be done in an initializer for example:
41
45
 
@@ -46,7 +50,8 @@ responder. This can be done in an initializer for example:
46
50
 
47
51
  == Generator
48
52
 
49
- This gem also includes a responders controller generator, so your scaffold can be customized to use respond_with instead of default respond_to blocks just by configuring your environment:
53
+ This gem also includes a responders controller generator, so your scaffold can be customized
54
+ to use respond_with instead of default respond_to blocks just by configuring your environment:
50
55
 
51
56
  config.generators do |g|
52
57
  g.scaffold_controller = :responders_controller
@@ -1,3 +1,3 @@
1
1
  module Responders
2
- VERSION = "0.2".freeze
3
- end
2
+ VERSION = "0.4".freeze
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.2"
4
+ version: "0.4"
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jos\xC3\xA9 Valim"