responders 1.1.0 → 1.1.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/generators/responders/install_generator.rb +6 -2
- data/lib/responders/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad1b6b744c9aa55914a6e164cc801dc529a25851
|
4
|
+
data.tar.gz: 92b9dbeee18cd3d9952091699514eec067859efc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 815b226588f75862a3aeabe3c1f754ec27224ac89de67570533a064fe2de15b9e3c58cecdf8a103be1c7887c686a8a0432fbd4100d14ba611ae62140a31974f0
|
7
|
+
data.tar.gz: d4869f4248824bd15ce3ea2291a3908dd0d643fe670b3a29506da17bc0c70fa9411d48f068d84a8ffe33ed3f7543b6469f65fbad186421edf4ccd7facd1b8d69
|
data/CHANGELOG.md
CHANGED
@@ -11,9 +11,13 @@ class ApplicationResponder < ActionController::Responder
|
|
11
11
|
include Responders::FlashResponder
|
12
12
|
include Responders::HttpCacheResponder
|
13
13
|
|
14
|
-
#
|
15
|
-
#
|
14
|
+
# Redirects resources to the collection path (index action) instead
|
15
|
+
# of the resource path (show action) for POST/PUT/DELETE requests.
|
16
16
|
# include Responders::CollectionResponder
|
17
|
+
|
18
|
+
# Allows to use a callable object as the redirect location with respond_with,
|
19
|
+
# eg a route that requires persisted objects when the validation may fail.
|
20
|
+
# include Responders::LocationResponder
|
17
21
|
end
|
18
22
|
RUBY
|
19
23
|
end
|
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: 1.1.
|
4
|
+
version: 1.1.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: 2014-
|
11
|
+
date: 2014-08-18 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: '3.2'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '
|
22
|
+
version: '4.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3.2'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '
|
32
|
+
version: '4.2'
|
33
33
|
description: A set of Rails responders to dry up your application
|
34
34
|
email: contact@plataformatec.com.br
|
35
35
|
executables: []
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project: responders
|
85
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.3.0
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: A set of Rails responders to dry up your application
|
@@ -98,3 +98,4 @@ test_files:
|
|
98
98
|
- test/views/addresses/edit.html.erb
|
99
99
|
- test/views/addresses/new.html.erb
|
100
100
|
- test/views/locations/new.html.erb
|
101
|
+
has_rdoc:
|