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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afe9de77cd0ac2f430924b58d84e0cf582e3011c
4
- data.tar.gz: e8771d1fb3bd0b9e0036a70b5aaf667528451e2a
3
+ metadata.gz: ad1b6b744c9aa55914a6e164cc801dc529a25851
4
+ data.tar.gz: 92b9dbeee18cd3d9952091699514eec067859efc
5
5
  SHA512:
6
- metadata.gz: cd38360684067e7b60ab94a362f438676b69ab4bb956ffdea5197f1831a4bdfadbc1bfd373395ca235124af57c863094935390362e333995a8614a3ad3fff98b
7
- data.tar.gz: ddf8300eb26872a38e79fe55ca308120d9b3c0f0ec3e80aaf44a8337f2ea54d4b515151adccda351b59fb519db182e49e202793be6634c21f831bc0e891009ce
6
+ metadata.gz: 815b226588f75862a3aeabe3c1f754ec27224ac89de67570533a064fe2de15b9e3c58cecdf8a103be1c7887c686a8a0432fbd4100d14ba611ae62140a31974f0
7
+ data.tar.gz: d4869f4248824bd15ce3ea2291a3908dd0d643fe670b3a29506da17bc0c70fa9411d48f068d84a8ffe33ed3f7543b6469f65fbad186421edf4ccd7facd1b8d69
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## 1.1.0
2
2
 
3
+ * Lock Rails requirement to < 4.2.
4
+
5
+ ## 1.1.0
6
+
3
7
  * Support Rails 4.1.
4
8
  * Allow callable objects as the location.
5
9
 
@@ -11,9 +11,13 @@ class ApplicationResponder < ActionController::Responder
11
11
  include Responders::FlashResponder
12
12
  include Responders::HttpCacheResponder
13
13
 
14
- # Uncomment this responder if you want your resources to redirect to the collection
15
- # path (index action) instead of the resource path for POST/PUT/DELETE requests.
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
@@ -1,3 +1,3 @@
1
1
  module Responders
2
- VERSION = "1.1.0".freeze
2
+ VERSION = "1.1.1".freeze
3
3
  end
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.0
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-05-27 00:00:00.000000000 Z
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: '5'
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: '5'
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.2.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: