responders 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/action_controller/respond_with.rb +1 -1
- data/lib/responders/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 431f0a44fbe19c180fcb3407c98e602b442df62da7953f9fd9042936647a8123
|
4
|
+
data.tar.gz: b1dfd4a515da5c78606b465e8f2519f9d29a99e92d1f64ea96600387b854b575
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43091ab389a80f9efe1aa892fe1d5e3422e3e902e4eb5bf71d4669de4859650d074b1c9f7f41c973469e6a25267c3ac67288923361e3e6f9effefaa8ab7c5dcc
|
7
|
+
data.tar.gz: e9056690162f985909b0245850249a8a779510c9e42ef59dd9dd5609de54d6f14fbbd0cf304fead80c52454730c9485b18938c20a35bdfa3dea7ff18eb3d8828
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -241,7 +241,7 @@ end
|
|
241
241
|
|
242
242
|
## Examples
|
243
243
|
|
244
|
-
Want more examples ? Check out
|
244
|
+
Want more examples ? Check out these blog posts:
|
245
245
|
|
246
246
|
* [Embracing REST with mind, body and soul](http://blog.plataformatec.com.br/2009/08/embracing-rest-with-mind-body-and-soul/)
|
247
247
|
* [Three reasons to love ActionController::Responder](http://weblog.rubyonrails.org/2009/8/31/three-reasons-love-responder/)
|
@@ -192,7 +192,7 @@ module ActionController #:nodoc:
|
|
192
192
|
# need to render a template which is outside of controller's path or you
|
193
193
|
# want to override the default http <tt>:status</tt> code, e.g.
|
194
194
|
#
|
195
|
-
#
|
195
|
+
# respond_with(resource, render: { template: 'path/to/template', status: 422 })
|
196
196
|
def respond_with(*resources, &block)
|
197
197
|
if self.class.mimes_for_respond_to.empty?
|
198
198
|
raise "In order to use respond_with, first you need to declare the " \
|
data/lib/responders/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: responders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Valim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 4.2.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '6.0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 4.2.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '6.0'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: actionpack
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
version: 4.2.0
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '6.0'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -49,7 +49,7 @@ dependencies:
|
|
49
49
|
version: 4.2.0
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '
|
52
|
+
version: '6.0'
|
53
53
|
description: A set of Rails responders to dry up your application
|
54
54
|
email: contact@plataformatec.com.br
|
55
55
|
executables: []
|
@@ -74,7 +74,7 @@ files:
|
|
74
74
|
- lib/responders/locales/en.yml
|
75
75
|
- lib/responders/location_responder.rb
|
76
76
|
- lib/responders/version.rb
|
77
|
-
homepage:
|
77
|
+
homepage: https://github.com/plataformatec/responders
|
78
78
|
licenses:
|
79
79
|
- MIT
|
80
80
|
metadata: {}
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project: responders
|
97
|
-
rubygems_version: 2.6
|
97
|
+
rubygems_version: 2.7.6
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: A set of Rails responders to dry up your application
|