activesupport 6.0.1 → 6.0.2.rc1

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: 89999be252d7cdb9b27994ea4a149baabf876606a5899e8c7dfe5309278bf57a
4
- data.tar.gz: c79f2634e9a995e6c0ad95ca68f3a04905153502560e2a25de871cb4c4782e4f
3
+ metadata.gz: c35751435bf6b8ea8c0e7cedff5faefd17d4705611bde8bcdc4084fa6fd6bafd
4
+ data.tar.gz: 344effe21fcb3d7b96bb296d204d1c263eb192cfedfd95a2df0b2863ebdf3741
5
5
  SHA512:
6
- metadata.gz: 9aed32dcff5ff2bbeaeb386f289292c3a18d8bf3dde6d5a72eff792f41216041853fbbbefe01aa35aef16330f13a54bca4744235bdee5a90783e34bc8b48c1f6
7
- data.tar.gz: 6ceefce5d0753a5a91df29b365579b8e84be9b252b5abe5c7e3f5183dad8a9389a0de2fc50f6668147d6b9def2efe9e6dc1dc48e221dda19767586a37a9d3d3f
6
+ metadata.gz: 5ecce6010ef9f38738b014a8920d33418404a2c249a1419a697d1622de7ae012961f44abaa5fffad8979994ffa939ec09a99594419658f9f01094927fdf4cc3a
7
+ data.tar.gz: 591c2737dbe3f382f0bc874a9ee91edd3f7ee3b5995c6ef0423c0c5685ca41100da6c3dac3f57a57a9912d3023f359d2ad59b23a2c3162bd235c7a8e3ca83f1a
@@ -1,3 +1,14 @@
1
+ ## Rails 6.0.2.rc1 (November 27, 2019) ##
2
+
3
+ * Eager load translations during initialization.
4
+
5
+ *Diego Plentz*
6
+
7
+ * Use per-thread CPU time clock on `ActiveSupport::Notifications`.
8
+
9
+ *George Claghorn*
10
+
11
+
1
12
  ## Rails 6.0.1 (November 5, 2019) ##
2
13
 
3
14
  * `ActiveSupport::SafeBuffer` supports `Enumerator` methods.
@@ -37,7 +48,7 @@
37
48
 
38
49
  *Allen Hsu*, *Andrew Hodgkinson*
39
50
 
40
- * Don't use `Process#clock_gettime(CLOCK_PROCESS_CPUTIME_ID)` on Solaris
51
+ * Don't use `Process#clock_gettime(CLOCK_THREAD_CPUTIME_ID)` on Solaris.
41
52
 
42
53
  *Iain Beeston*
43
54
 
@@ -332,7 +343,7 @@
332
343
 
333
344
  *Jan Habermann*, *Xavier Noria*
334
345
 
335
- * Deprecate `ActiveSupport::Multibyte::Unicode#pack_graphemes(array)` and `ActiveSuppport::Multibyte::Unicode#unpack_graphemes(string)`
346
+ * Deprecate `ActiveSupport::Multibyte::Unicode#pack_graphemes(array)` and `ActiveSupport::Multibyte::Unicode#unpack_graphemes(string)`
336
347
  in favor of `array.flatten.pack("U*")` and `string.scan(/\X/).map(&:codepoints)`, respectively.
337
348
 
338
349
  *Francesco Rodríguez*
@@ -350,7 +361,7 @@
350
361
 
351
362
  *Edouard Chin*
352
363
 
353
- * Deprecate `ActiveSupport::Multibyte::Unicode#normalize` and `ActiveSuppport::Multibyte::Chars#normalize`
364
+ * Deprecate `ActiveSupport::Multibyte::Unicode#normalize` and `ActiveSupport::Multibyte::Chars#normalize`
354
365
  in favor of `String#unicode_normalize`
355
366
 
356
367
  *Francesco Rodríguez*
@@ -9,8 +9,8 @@ module ActiveSupport
9
9
  module VERSION
10
10
  MAJOR = 6
11
11
  MINOR = 0
12
- TINY = 1
13
- PRE = nil
12
+ TINY = 2
13
+ PRE = "rc1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
@@ -12,6 +12,10 @@ module I18n
12
12
  config.i18n.load_path = []
13
13
  config.i18n.fallbacks = ActiveSupport::OrderedOptions.new
14
14
 
15
+ if I18n.respond_to?(:eager_load!)
16
+ config.eager_load_namespaces << I18n
17
+ end
18
+
15
19
  # Set the i18n configuration after initialization since a lot of
16
20
  # configuration is still usually done in application initializers.
17
21
  config.after_initialize do |app|
@@ -56,7 +56,7 @@ module ActiveSupport
56
56
  attr_reader :name, :time, :end, :transaction_id, :payload, :children
57
57
 
58
58
  def self.clock_gettime_supported? # :nodoc:
59
- defined?(Process::CLOCK_PROCESS_CPUTIME_ID) &&
59
+ defined?(Process::CLOCK_THREAD_CPUTIME_ID) &&
60
60
  !Gem.win_platform? &&
61
61
  !RUBY_PLATFORM.match?(/solaris/i)
62
62
  end
@@ -143,7 +143,7 @@ module ActiveSupport
143
143
 
144
144
  if clock_gettime_supported?
145
145
  def now_cpu
146
- Process.clock_gettime(Process::CLOCK_PROCESS_CPUTIME_ID)
146
+ Process.clock_gettime(Process::CLOCK_THREAD_CPUTIME_ID)
147
147
  end
148
148
  else
149
149
  def now_cpu
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: 6.0.1
4
+ version: 6.0.2.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: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -353,10 +353,10 @@ licenses:
353
353
  - MIT
354
354
  metadata:
355
355
  bug_tracker_uri: https://github.com/rails/rails/issues
356
- changelog_uri: https://github.com/rails/rails/blob/v6.0.1/activesupport/CHANGELOG.md
357
- documentation_uri: https://api.rubyonrails.org/v6.0.1/
356
+ changelog_uri: https://github.com/rails/rails/blob/v6.0.2.rc1/activesupport/CHANGELOG.md
357
+ documentation_uri: https://api.rubyonrails.org/v6.0.2.rc1/
358
358
  mailing_list_uri: https://groups.google.com/forum/#!forum/rubyonrails-talk
359
- source_code_uri: https://github.com/rails/rails/tree/v6.0.1/activesupport
359
+ source_code_uri: https://github.com/rails/rails/tree/v6.0.2.rc1/activesupport
360
360
  post_install_message:
361
361
  rdoc_options:
362
362
  - "--encoding"
@@ -370,9 +370,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
370
370
  version: 2.5.0
371
371
  required_rubygems_version: !ruby/object:Gem::Requirement
372
372
  requirements:
373
- - - ">="
373
+ - - ">"
374
374
  - !ruby/object:Gem::Version
375
- version: '0'
375
+ version: 1.3.1
376
376
  requirements: []
377
377
  rubygems_version: 3.0.3
378
378
  signing_key: