actionpack 5.0.6 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionpack might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36ebe6351d7d3fc521ab17c65636ba5707c6203b
4
- data.tar.gz: c7f89e333165e242adce7ed431be7a8b6704d2d5
3
+ metadata.gz: 9b47ff685b4857b1be20d423a6d94c7de1e114ac
4
+ data.tar.gz: 7de77d497e0a2f9bd67b0bc3896b496d05f21f90
5
5
  SHA512:
6
- metadata.gz: 7ddeedfc9f84845405e58bd620461a4a77f39cc24e63cf45a6783ce291aacb210fc792c1b46de6b8ae75dffad298090314025e2feb4277a4e789fbbd803fbb72
7
- data.tar.gz: 686119bc0bb68925f02839ac8b76e085c697011e2b9b39e5827e33451e2ea690d5f64743c10317601f8b3c9d0ca03898404d07effd804477de638a5281c2365e
6
+ metadata.gz: 0d70ec9df049acabff0019df1be3a8dec5c9c59284dc6e397c75e678b6e1a803e2e4723e543096337667cc139f31c7eed0093b3648b56a632beb1bf95ce4f4bd
7
+ data.tar.gz: fed9165f9a1cb9d57b63b8ae1be31517ef5257ce117c3542e4dce7bd311af4c9f5acc1573eb424b7a6238f30a1e0bf8583feccc4050d1a5b7774ea7d5331893a
@@ -1,3 +1,11 @@
1
+ ## Rails 5.0.7 (March 29, 2018) ##
2
+
3
+ * Remove deprecation on `ActionController::Parameters#to_hash` when the instance is
4
+ permitted.
5
+
6
+ *Edouard Chin*
7
+
8
+
1
9
  ## Rails 5.0.6 (September 07, 2017) ##
2
10
 
3
11
  * No changes.
@@ -289,7 +289,7 @@ module ActionController
289
289
  # safe_params = params.permit(:name)
290
290
  # safe_params.to_hash # => {"name"=>"Senjougahara Hitagi"}
291
291
  def to_hash
292
- if self.class.raise_on_unfiltered_parameters
292
+ if self.class.raise_on_unfiltered_parameters || permitted?
293
293
  to_h.to_hash
294
294
  else
295
295
  message = <<-DEPRECATE.squish
@@ -7,7 +7,7 @@ module ActionPack
7
7
  module VERSION
8
8
  MAJOR = 5
9
9
  MINOR = 0
10
- TINY = 6
10
+ TINY = 7
11
11
  PRE = nil
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.6
4
+ version: 5.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-08 00:00:00.000000000 Z
11
+ date: 2018-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 5.0.6
19
+ version: 5.0.7
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 5.0.6
26
+ version: 5.0.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rack
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -92,28 +92,28 @@ dependencies:
92
92
  requirements:
93
93
  - - '='
94
94
  - !ruby/object:Gem::Version
95
- version: 5.0.6
95
+ version: 5.0.7
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 5.0.6
102
+ version: 5.0.7
103
103
  - !ruby/object:Gem::Dependency
104
104
  name: activemodel
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 5.0.6
109
+ version: 5.0.7
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - '='
115
115
  - !ruby/object:Gem::Version
116
- version: 5.0.6
116
+ version: 5.0.7
117
117
  description: Web apps on Rails. Simple, battle-tested conventions for building and
118
118
  testing MVC web applications. Works with any Rack-compatible server.
119
119
  email: david@loudthinking.com
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  requirements:
299
299
  - none
300
300
  rubyforge_project:
301
- rubygems_version: 2.6.13
301
+ rubygems_version: 2.6.14
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).