actionpack 5.1.0.rc2 → 5.1.0

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: e39f685ae0790d0a921d6c8671f476b177f76b5c
4
- data.tar.gz: a5df75af538dd2eddccbb78c9af25812095198bd
3
+ metadata.gz: 73f26fd5389b123c074da9c0bec43de2bc47de1d
4
+ data.tar.gz: 8f7a0d8f644f5302de48979cfbba4cd9537eb78b
5
5
  SHA512:
6
- metadata.gz: dc81f45547b89eb5d37c9bb0ccf95440693d323634beaaec56797bbfe6e706dd4913a5c8ae0bc92c82af526c829d9632e767570060607a6d12861172e67ae0f5
7
- data.tar.gz: a7d302843440b69b5596f99f5b1341697f577999599aca6563d7dc8a6d7f7f25beadc85928f4497eea8fac8f8da29101f8b0a6c699e9610ced9baf26d2a823fc
6
+ metadata.gz: eb2d730bed1d27cb463ddba65d6298b27ae7c32dd054539252e6c28d4cc3fc937f09b5e3d2068b93377a5f7048e39911c1a71c678eae222d74fdf3b35e14ac77
7
+ data.tar.gz: bcca5cc72a65050c2325bf29580169b6cfbfbb25114ad8f8d4ff19f699f28fb26bb0256fc0ded1b8e865b012f3c3db783fe7803df9fb614c332bdd8b78d2be95
@@ -1,4 +1,4 @@
1
- ## Rails 5.1.0.rc2 (April 20, 2017) ##
1
+ ## Rails 5.1.0 (April 27, 2017) ##
2
2
 
3
3
  * Raise exception when calling `to_h` and `to_hash` in an unpermitted Parameters.
4
4
 
@@ -64,9 +64,6 @@
64
64
 
65
65
  *Jon Moss*
66
66
 
67
-
68
- ## Rails 5.1.0.rc1 (March 20, 2017) ##
69
-
70
67
  * Fix `NameError` raised in `ActionController::Renderer#with_defaults`
71
68
 
72
69
  *Hiroyuki Ishii*
@@ -91,9 +88,6 @@
91
88
 
92
89
  *Andrew White*
93
90
 
94
-
95
- ## Rails 5.1.0.beta1 (February 23, 2017) ##
96
-
97
91
  * Prefer `remove_method` over `undef_method` when reloading routes
98
92
 
99
93
  When `undef_method` is used it prevents access to other implementations of that
@@ -85,7 +85,7 @@ module ActionDispatch
85
85
 
86
86
  def set_binary_encoding(params)
87
87
  action = params[:action]
88
- if controller_class.binary_params_for?(action)
88
+ if binary_params_for?(action)
89
89
  ActionDispatch::Request::Utils.each_param_value(params) do |param|
90
90
  param.force_encoding ::Encoding::ASCII_8BIT
91
91
  end
@@ -93,6 +93,12 @@ module ActionDispatch
93
93
  params
94
94
  end
95
95
 
96
+ def binary_params_for?(action)
97
+ controller_class.binary_params_for?(action)
98
+ rescue NameError
99
+ false
100
+ end
101
+
96
102
  def parse_formatted_parameters(parsers)
97
103
  return yield if content_length.zero? || content_mime_type.nil?
98
104
 
@@ -8,7 +8,7 @@ module ActionPack
8
8
  MAJOR = 5
9
9
  MINOR = 1
10
10
  TINY = 0
11
- PRE = "rc2"
11
+ PRE = nil
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
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.1.0.rc2
4
+ version: 5.1.0
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-04-21 00:00:00.000000000 Z
11
+ date: 2017-04-27 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.1.0.rc2
19
+ version: 5.1.0
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.1.0.rc2
26
+ version: 5.1.0
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.1.0.rc2
95
+ version: 5.1.0
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.1.0.rc2
102
+ version: 5.1.0
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.1.0.rc2
109
+ version: 5.1.0
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.1.0.rc2
116
+ version: 5.1.0
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,13 +298,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
298
298
  version: 2.2.2
299
299
  required_rubygems_version: !ruby/object:Gem::Requirement
300
300
  requirements:
301
- - - ">"
301
+ - - ">="
302
302
  - !ruby/object:Gem::Version
303
- version: 1.3.1
303
+ version: '0'
304
304
  requirements:
305
305
  - none
306
306
  rubyforge_project:
307
- rubygems_version: 2.6.10
307
+ rubygems_version: 2.6.11
308
308
  signing_key:
309
309
  specification_version: 4
310
310
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).