actionpack 5.2.0.rc2 → 5.2.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
  SHA256:
3
- metadata.gz: be25f732c4dc857ef43fc18191e3e301a79e8d2ba7180d41835e9f4e45039c33
4
- data.tar.gz: 729cf837049928a5242dffe6b5813f15d1d815f45adea221a5f9085db1a43dc4
3
+ metadata.gz: 7210d67baf838b6439c73d158313c6fc688fd653005214068ca3af0919ddd204
4
+ data.tar.gz: a4798ec67b96081357d6e4c8c41c014499939328d5844d600c56d6f5a1b8e091
5
5
  SHA512:
6
- metadata.gz: 61fc74b5642072debdd41474e99abd83dc29380f46042596f77b469d8757368e20cb228e37ce898a683be9a79193b355c15dc36536f7ca51712b48b91d0e9390
7
- data.tar.gz: 8e91bd18e519108f6de49f20147600128020b51da0b341c22bdbaecd0fc8a244263fe89ae0f77a33e7a23584f97c44480b4267f228a0c2c031eb5e1c134a7b30
6
+ metadata.gz: 9f136ee0d9b4ab35c7e5475d3424a9417428e0920065ac4af34c7de15b85a74d9b0edc80e966ca485ad572c04c1540fea665b0bd61c2dc267ad682efc67ce630
7
+ data.tar.gz: 4cbe8646e8ecd95f1fcaa92badfe7f854593950501a4148236ff304fc62ee97317428733c16e7db38daaae2a1b2543f632e19d219543ad8cdbaa5f80cb019923
@@ -1,4 +1,4 @@
1
- ## Rails 5.2.0.rc2 (March 20, 2018) ##
1
+ ## Rails 5.2.0 (April 09, 2018) ##
2
2
 
3
3
  * Check exclude before flagging cookies as secure.
4
4
 
@@ -61,9 +61,6 @@
61
61
 
62
62
  *Dominic Cleal*
63
63
 
64
-
65
- ## Rails 5.2.0.rc1 (January 30, 2018) ##
66
-
67
64
  * Add `Referrer-Policy` header to default headers set.
68
65
 
69
66
  *Guillermo Iguaran*
@@ -104,14 +101,6 @@
104
101
 
105
102
  *Andrew White*
106
103
 
107
-
108
- ## Rails 5.2.0.beta2 (November 28, 2017) ##
109
-
110
- * No changes.
111
-
112
-
113
- ## Rails 5.2.0.beta1 (November 27, 2017) ##
114
-
115
104
  * Add DSL for configuring Content-Security-Policy header.
116
105
 
117
106
  The DSL allows you to configure a global Content-Security-Policy
@@ -3,12 +3,15 @@
3
3
  module ActionDispatch
4
4
  module Routing
5
5
  class Endpoint # :nodoc:
6
- def dispatcher?; false; end
7
- def redirect?; false; end
8
- def engine?; rack_app.respond_to?(:routes); end
9
- def matches?(req); true; end
10
- def app; self; end
11
- def rack_app; app; end
6
+ def dispatcher?; false; end
7
+ def redirect?; false; end
8
+ def matches?(req); true; end
9
+ def app; self; end
10
+ def rack_app; app; end
11
+
12
+ def engine?
13
+ rack_app.is_a?(Class) && rack_app < Rails::Engine
14
+ end
12
15
  end
13
16
  end
14
17
  end
@@ -10,7 +10,7 @@ module ActionPack
10
10
  MAJOR = 5
11
11
  MINOR = 2
12
12
  TINY = 0
13
- PRE = "rc2"
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  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.2.0.rc2
4
+ version: 5.2.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: 2018-03-20 00:00:00.000000000 Z
11
+ date: 2018-04-09 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.2.0.rc2
19
+ version: 5.2.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.2.0.rc2
26
+ version: 5.2.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.2.0.rc2
95
+ version: 5.2.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.2.0.rc2
102
+ version: 5.2.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.2.0.rc2
109
+ version: 5.2.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.2.0.rc2
116
+ version: 5.2.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
@@ -293,8 +293,8 @@ homepage: http://rubyonrails.org
293
293
  licenses:
294
294
  - MIT
295
295
  metadata:
296
- source_code_uri: https://github.com/rails/rails/tree/v5.2.0.rc2/actionpack
297
- changelog_uri: https://github.com/rails/rails/blob/v5.2.0.rc2/actionpack/CHANGELOG.md
296
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.0/actionpack
297
+ changelog_uri: https://github.com/rails/rails/blob/v5.2.0/actionpack/CHANGELOG.md
298
298
  post_install_message:
299
299
  rdoc_options: []
300
300
  require_paths:
@@ -306,9 +306,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
306
306
  version: 2.2.2
307
307
  required_rubygems_version: !ruby/object:Gem::Requirement
308
308
  requirements:
309
- - - ">"
309
+ - - ">="
310
310
  - !ruby/object:Gem::Version
311
- version: 1.3.1
311
+ version: '0'
312
312
  requirements:
313
313
  - none
314
314
  rubyforge_project: