activesupport 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 activesupport might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1812312a643d64b718b7d411199d13a71949348238c9b5b31b6bf537cdffd472
4
- data.tar.gz: c3caffc29248cb9137d707e6db92083d1669897a2d323c41735420f259fce54d
3
+ metadata.gz: d0110a46a9c1dae01d77cdc50139933d40baaed4e3d4d2aa316253350239f090
4
+ data.tar.gz: ce05be98e3e753d72533c2002c42ab0ae9ce7bbcfd73b0a8a8a666c275fb4eb2
5
5
  SHA512:
6
- metadata.gz: eec80019150e86c22e14aa189f2976394e650d20a6ab60186aff930ec07453ea17301065e459781169bd1681dc29e337186c39af2fb0aea4eb70c966c8efd56b
7
- data.tar.gz: 5601cb1a255c5021276817cf534279ff90ca971c25065105c070b226742d12fc64b4bd119ee9ccc198c68aa9abe9e1e9df7c33bad7ff4dc647809796514097c7
6
+ metadata.gz: b14730056fae2c1093e60f410cd2391fb18e590edcd7dee4e69a3c5493313154522edeb9e979fa038b3cdd897fb709c32719213e34c9fcaa3d2b8ab4f1c4a0cf
7
+ data.tar.gz: 1bad53bfb9ea8ba7ef6af4a2e4af0f5e272dc712e3c0f8ac2593cb91a35653871eaa6abb6f01ac46f8a946e256241b4a0e00640e5abe4ecac1a43ff06465aceb
@@ -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
  * Caching: MemCache and Redis `read_multi` and `fetch_multi` speedup.
4
4
  Read from the local in-memory cache before consulting the backend.
@@ -21,9 +21,6 @@
21
21
 
22
22
  *Andrew White*
23
23
 
24
-
25
- ## Rails 5.2.0.rc1 (January 30, 2018) ##
26
-
27
24
  * Add support for connection pooling on RedisCacheStore.
28
25
 
29
26
  *fatkodima*
@@ -51,14 +48,6 @@
51
48
 
52
49
  *Dmitri Dolguikh*, *Eugene Kenny*
53
50
 
54
-
55
- ## Rails 5.2.0.beta2 (November 28, 2017) ##
56
-
57
- * No changes.
58
-
59
-
60
- ## Rails 5.2.0.beta1 (November 27, 2017) ##
61
-
62
51
  * Changed default behaviour of `ActiveSupport::SecurityUtils.secure_compare`,
63
52
  to make it not leak length information even for variable length string.
64
53
 
@@ -55,7 +55,14 @@ module ActiveSupport
55
55
  end
56
56
 
57
57
  def read_multi_entries(keys, options)
58
- Hash[keys.map { |name| [name, read_entry(name, options)] }.keep_if { |_name, value| value }]
58
+ values = {}
59
+
60
+ keys.each do |name|
61
+ entry = read_entry(name, options)
62
+ values[name] = entry.value if entry
63
+ end
64
+
65
+ values
59
66
  end
60
67
 
61
68
  def write_entry(key, value, options)
@@ -10,7 +10,7 @@ module ActiveSupport
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
@@ -3,6 +3,7 @@
3
3
  require "openssl"
4
4
  require "base64"
5
5
  require "active_support/core_ext/array/extract_options"
6
+ require "active_support/core_ext/module/attribute_accessors"
6
7
  require "active_support/message_verifier"
7
8
  require "active_support/messages/metadata"
8
9
 
@@ -44,8 +44,15 @@ module ActiveSupport
44
44
  end
45
45
 
46
46
  def after_teardown # :nodoc:
47
- run_callbacks :teardown
47
+ begin
48
+ run_callbacks :teardown
49
+ rescue => e
50
+ error = e
51
+ end
52
+
48
53
  super
54
+ ensure
55
+ raise error if error
49
56
  end
50
57
  end
51
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
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: i18n
@@ -331,8 +331,8 @@ homepage: http://rubyonrails.org
331
331
  licenses:
332
332
  - MIT
333
333
  metadata:
334
- source_code_uri: https://github.com/rails/rails/tree/v5.2.0.rc2/activesupport
335
- changelog_uri: https://github.com/rails/rails/blob/v5.2.0.rc2/activesupport/CHANGELOG.md
334
+ source_code_uri: https://github.com/rails/rails/tree/v5.2.0/activesupport
335
+ changelog_uri: https://github.com/rails/rails/blob/v5.2.0/activesupport/CHANGELOG.md
336
336
  post_install_message:
337
337
  rdoc_options:
338
338
  - "--encoding"
@@ -346,9 +346,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
346
346
  version: 2.2.2
347
347
  required_rubygems_version: !ruby/object:Gem::Requirement
348
348
  requirements:
349
- - - ">"
349
+ - - ">="
350
350
  - !ruby/object:Gem::Version
351
- version: 1.3.1
351
+ version: '0'
352
352
  requirements: []
353
353
  rubyforge_project:
354
354
  rubygems_version: 2.7.6