responders 2.4.0 → 2.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0d361bfe3389f2e44b47a078d164fd6cd90bfedb
4
- data.tar.gz: 4c3c731cbd5d2bb82be8566b3ca2c9f81267be9c
2
+ SHA256:
3
+ metadata.gz: 431f0a44fbe19c180fcb3407c98e602b442df62da7953f9fd9042936647a8123
4
+ data.tar.gz: b1dfd4a515da5c78606b465e8f2519f9d29a99e92d1f64ea96600387b854b575
5
5
  SHA512:
6
- metadata.gz: 2105787536e9ea7484910379a1a0912eb0eaa4a7560289ac0f99d7d2f0779c5c7784d52ea69543d75b3a882c0b48d9ba7d6b7f51683c72db4367072489d76d09
7
- data.tar.gz: 44b4014266a8573a5effb2aed8ce5a17c1642d8166411e88822df8a71825efe4f0a463315b22511191c38c02d8a4fb1bb465ef0c813f0c6db316d2196915dd0d
6
+ metadata.gz: 43091ab389a80f9efe1aa892fe1d5e3422e3e902e4eb5bf71d4669de4859650d074b1c9f7f41c973469e6a25267c3ac67288923361e3e6f9effefaa8ab7c5dcc
7
+ data.tar.gz: e9056690162f985909b0245850249a8a779510c9e42ef59dd9dd5609de54d6f14fbbd0cf304fead80c52454730c9485b18938c20a35bdfa3dea7ff18eb3d8828
@@ -1,3 +1,7 @@
1
+ ## 2.4.1
2
+
3
+ * Add support for Rails 6 beta
4
+
1
5
  ## 2.4.0
2
6
 
3
7
  * `respond_with` now accepts a new kwargs called `:render` which goes straight to the `render`
data/README.md CHANGED
@@ -241,7 +241,7 @@ end
241
241
 
242
242
  ## Examples
243
243
 
244
- Want more examples ? Check out this blog posts:
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
- # response_with(resource, render: { template: 'path/to/template', status: 422 })
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 " \
@@ -1,3 +1,3 @@
1
1
  module Responders
2
- VERSION = "2.4.0".freeze
2
+ VERSION = "2.4.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: 2.4.0
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: 2017-04-28 00:00:00.000000000 Z
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: '5.3'
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: '5.3'
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: '5.3'
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: '5.3'
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: http://github.com/plataformatec/responders
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.11
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