actionpack 5.1.4 → 5.1.5.rc1

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
- SHA1:
3
- metadata.gz: 85dc188ae1e7ed19f6c1409f13cfe436eaf142ac
4
- data.tar.gz: 40b27e97b125b37721f47cfce1732c4889f889a0
2
+ SHA256:
3
+ metadata.gz: 7d1e469fc027f91857b61a914687c297704f2fc39493cf95220bf06309563fa1
4
+ data.tar.gz: bc7ee636932e2f4e47f22b03ecb57ceaae0f5e72da6bf487f110adade7cf253e
5
5
  SHA512:
6
- metadata.gz: 290bee22ac3d4866472152b68a4a474525030619b74e2fc4a3ea2ab58250bd68b7e8003edb27af290c111efdbd846e986fa6327305892b9230cf5f7b603fc0f1
7
- data.tar.gz: 717b382b37b6a10cc5eabe65ca66f4966012c5814f51137ceccd8fea4440c53cef9c02fcc7459d828db73d5e3e7d4a045b3cb881ea0e3ee90ff54f2dc799a41c
6
+ metadata.gz: 55539c9ffec41591eff83148c50fbf0654e5b6335ec0ecd10cddc1362e13008065a633fdb7bf7fd5ef9c459d0ab21c739990233a9222884bd2a3acd8537d82e6
7
+ data.tar.gz: ff588ce4392800905f83bf25b7a9c3e5b779b38380a6ae805eae161c2f014593a9350bc23d1e220cfebdf7d1e95d3f7b2b33c5df738d191b74ae5c6bfb9b0d8e
@@ -1,3 +1,15 @@
1
+ ## Rails 5.1.5.rc1 (February 01, 2018) ##
2
+
3
+ * Fix optimized url helpers when using relative url root
4
+
5
+ Fixes #31220.
6
+
7
+ *Andrew White*
8
+
9
+ * Ensure dev and prod puma configs do not clobber `ActionDispatch::SystemTesting` defaults. Adds workers: 0 and daemon: false
10
+
11
+ *Max Schwenk*
12
+
1
13
  ## Rails 5.1.4 (September 07, 2017) ##
2
14
 
3
15
  * Make `take_failed_screenshot` work within engine.
@@ -111,7 +123,7 @@
111
123
  * Don't include default headers in `ActionController::Metal` responses
112
124
 
113
125
  The commit e16afe6 introduced an unintentional change of behavior where the default
114
- headers were included in responses from `ActionController::Metai` based controllers.
126
+ headers were included in responses from `ActionController::Metal` based controllers.
115
127
  This is now reverted to the previous behavior of having no default headers.
116
128
 
117
129
  Fixes #25820.
@@ -203,6 +203,16 @@ module ActionDispatch
203
203
  if args.size == arg_size && !inner_options && optimize_routes_generation?(t)
204
204
  options = t.url_options.merge @options
205
205
  options[:path] = optimized_helper(args)
206
+
207
+ original_script_name = options.delete(:original_script_name)
208
+ script_name = t._routes.find_script_name(options)
209
+
210
+ if original_script_name
211
+ script_name = original_script_name + script_name
212
+ end
213
+
214
+ options[:script_name] = script_name
215
+
206
216
  url_strategy.call options
207
217
  else
208
218
  super
@@ -1,3 +1,5 @@
1
+ gem "capybara", "~> 2.13"
2
+
1
3
  require "capybara/dsl"
2
4
  require "capybara/minitest"
3
5
  require "action_controller"
@@ -21,6 +21,8 @@ module ActionDispatch
21
21
  app,
22
22
  Port: port,
23
23
  Threads: "0:1",
24
+ workers: 0,
25
+ daemon: false,
24
26
  Silent: self.class.silence_puma
25
27
  )
26
28
  end
@@ -7,8 +7,8 @@ module ActionPack
7
7
  module VERSION
8
8
  MAJOR = 5
9
9
  MINOR = 1
10
- TINY = 4
11
- PRE = nil
10
+ TINY = 5
11
+ PRE = "rc1"
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.4
4
+ version: 5.1.5.rc1
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-02-01 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.4
19
+ version: 5.1.5.rc1
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.4
26
+ version: 5.1.5.rc1
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.4
95
+ version: 5.1.5.rc1
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.4
102
+ version: 5.1.5.rc1
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.4
109
+ version: 5.1.5.rc1
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.4
116
+ version: 5.1.5.rc1
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
@@ -286,7 +286,9 @@ files:
286
286
  homepage: http://rubyonrails.org
287
287
  licenses:
288
288
  - MIT
289
- metadata: {}
289
+ metadata:
290
+ source_code_uri: https://github.com/rails/rails/tree/v5.1.5.rc1/actionpack
291
+ changelog_uri: https://github.com/rails/rails/blob/v5.1.5.rc1/actionpack/CHANGELOG.md
290
292
  post_install_message:
291
293
  rdoc_options: []
292
294
  require_paths:
@@ -298,13 +300,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
298
300
  version: 2.2.2
299
301
  required_rubygems_version: !ruby/object:Gem::Requirement
300
302
  requirements:
301
- - - ">="
303
+ - - ">"
302
304
  - !ruby/object:Gem::Version
303
- version: '0'
305
+ version: 1.3.1
304
306
  requirements:
305
307
  - none
306
308
  rubyforge_project:
307
- rubygems_version: 2.6.13
309
+ rubygems_version: 2.7.3
308
310
  signing_key:
309
311
  specification_version: 4
310
312
  summary: Web-flow and rendering framework putting the VC in MVC (part of Rails).