concurrent-ruby-ext 1.1.9-x86-mingw32 → 1.1.10-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d6c073505b29f9bc20b54be96a0c338951e24a197786e0ff3f6e12dea511ae
4
- data.tar.gz: 8a7af6ed872413f350a5bc367f2e2b011fd58fd241caca0dcf188ddcae741c9e
3
+ metadata.gz: fb857e2d692b9730184935b53985ec9f8c480ae39035802bd628c6713a507f7c
4
+ data.tar.gz: 8cfe77c8705932b8e0059b6396b768461a934dd5b3512a828630ba76bacab1e6
5
5
  SHA512:
6
- metadata.gz: 2ead3d555313b15ab6d8ab806129c94c87532194025707b2cc697fa33d9b571770abe1d726f13bcf6f4bffafbf1a75ba29524b8f075afe170292f1f269f6e45e
7
- data.tar.gz: 53d9c7873abbc35dc7b9f01b8b2be75d1d4c79bc25ab918d871e479d622cd0723bd930b8d0a57e4f39ffaeebf90f4c86fdb585519e6628cff52a514f90e0b919
6
+ metadata.gz: a4f85b05e50fe3a670493719c7f0cf4e835b676db4d934679fa8d117fa6273cdf65f9b955f55d746051351fa3a71f4b84788b6eb86bd961bd77afaf856bc5ed3
7
+ data.tar.gz: a4decbdf4d8cb8dadf74b04cfd26eea914770b4bae3eaf0661dadc24c58b487b03d1e9aca5aa639bd894d96335e3eb8e7321193e4bfa719ac2cf727862512fa7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  ## Current
2
2
 
3
+ ## Release v1.1.10
4
+
5
+ concurrent-ruby:
6
+
7
+ * (#951) Set the Ruby compatibility version at 2.2
8
+ * (#939, #933) The `caller_runs` fallback policy no longer blocks reads from the job queue by worker threads
9
+ * (#938, #761, #652) You can now explicitly `prune_pool` a thread pool (Sylvain Joyeux)
10
+ * (#937, #757, #670) We switched the Yahoo stock API for demos to Alpha Vantage (Gustavo Caso)
11
+ * (#932, #931) We changed how `SafeTaskExecutor` handles local jump errors (Aaron Jensen)
12
+ * (#927) You can use keyword arguments in your initialize when using `Async` (Matt Larraz)
13
+ * (#926, #639) We removed timeout from `TimerTask` because it wasn't sound, and now it's a no-op with a warning (Jacob Atzen)
14
+ * (#919) If you double-lock a re-entrant read-write lock, we promote to locked for writing (zp yuan)
15
+ * (#915) `monotonic_time` now accepts an optional unit parameter, as Ruby's `clock_gettime` (Jean Boussier)
16
+
3
17
  ## Release v1.1.9 (5 Jun 2021)
4
18
 
5
19
  concurrent-ruby:
data/README.md CHANGED
@@ -1,8 +1,6 @@
1
1
  # Concurrent Ruby
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/concurrent-ruby.svg)](http://badge.fury.io/rb/concurrent-ruby)
4
- [![Build Status](https://travis-ci.org/ruby-concurrency/concurrent-ruby.svg?branch=master)](https://travis-ci.org/ruby-concurrency/concurrent-ruby)
5
- [![Build status](https://ci.appveyor.com/api/projects/status/iq8aboyuu3etad4w?svg=true)](https://ci.appveyor.com/project/rubyconcurrency/concurrent-ruby)
6
4
  [![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT)
7
5
  [![Gitter chat](https://img.shields.io/badge/IRC%20(gitter)-devs%20%26%20users-brightgreen.svg)](https://gitter.im/ruby-concurrency/concurrent-ruby)
8
6
 
@@ -39,6 +37,8 @@ The design goals of this gem are:
39
37
  appreciate your help. Would you like to contribute? Great! Have a look at
40
38
  [issues with `looking-for-contributor` label](https://github.com/ruby-concurrency/concurrent-ruby/issues?q=is%3Aissue+is%3Aopen+label%3Alooking-for-contributor).** And if you pick something up let us know on the issue.
41
39
 
40
+ You can also get started by triaging issues which may include reproducing bug reports or asking for vital information, such as version numbers or reproduction instructions. If you would like to start triaging issues, one easy way to get started is to [subscribe to concurrent-ruby on CodeTriage](https://www.codetriage.com/ruby-concurrency/concurrent-ruby). [![Open Source Helpers](https://www.codetriage.com/ruby-concurrency/concurrent-ruby/badges/users.svg)](https://www.codetriage.com/ruby-concurrency/concurrent-ruby)
41
+
42
42
  ## Thread Safety
43
43
 
44
44
  *Concurrent Ruby makes one of the strongest thread safety guarantees of any Ruby concurrency
@@ -259,15 +259,11 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m
259
259
 
260
260
  ## Supported Ruby versions
261
261
 
262
- * MRI 2.0 and above
263
- * JRuby 9000
264
- * TruffleRuby are supported.
265
- * Any Ruby interpreter that is compliant with Ruby 2.0 or newer.
266
-
267
- Actually we still support mri 1.9.3 and jruby 1.7.27 but we are looking at ways how to drop the support.
268
- Java 8 is preferred for JRuby but every Java version on which JRuby 9000 runs is supported.
262
+ * MRI 2.2 and above
263
+ * Latest JRuby 9000
264
+ * Latest TruffleRuby
269
265
 
270
- The legacy support for Rubinius is kept but it is no longer maintained, if you would like to help
266
+ The legacy support for Rubinius is kept for the moment but it is no longer maintained and is liable to be removed. If you would like to help
271
267
  please respond to [#739](https://github.com/ruby-concurrency/concurrent-ruby/issues/739).
272
268
 
273
269
  ## Usage
@@ -364,7 +360,7 @@ best practice is to depend on `concurrent-ruby` and let users to decide if they
364
360
 
365
361
  ### Publishing the Gem
366
362
 
367
- * Update`version.rb`
363
+ * Update `version.rb`
368
364
  * Update the CHANGELOG
369
365
  * Update the Yard documentation
370
366
  - Add the new version to `docs-source/signpost.md`. Needs to be done only if there are visible changes in the
@@ -378,22 +374,22 @@ best practice is to depend on `concurrent-ruby` and let users to decide if they
378
374
 
379
375
  ## Maintainers
380
376
 
381
- * [Petr Chalupa](https://github.com/pitr-ch) — Lead maintainer, point-of-contact.
382
- * [Chris Seaton](https://github.com/chrisseaton) —
383
- If Petr is not available Chris can help or poke Petr to pay attention where it is needed.
377
+ * [Chris Seaton](https://github.com/chrisseaton) — Lead maintainer, point-of-contact.
378
+ * [Benoit Daloze](https://github.com/eregon) — If Chris is not available Benoit can help.
384
379
 
385
380
  ### Special Thanks to
386
381
 
387
- * [Jerry D'Antonio](https://github.com/jdantonio) for creating the gem
388
- * [Brian Durand](https://github.com/bdurand) for the `ref` gem
389
- * [Charles Oliver Nutter](https://github.com/headius) for the `atomic` and `thread_safe` gems
390
- * [thedarkone](https://github.com/thedarkone) for the `thread_safe` gem
382
+ * [Jerry D'Antonio](https://github.com/jdantonio) for creating the gem
383
+ * [Brian Durand](https://github.com/bdurand) for the `ref` gem
384
+ * [Charles Oliver Nutter](https://github.com/headius) for the `atomic` and `thread_safe` gems
385
+ * [thedarkone](https://github.com/thedarkone) for the `thread_safe` gem
391
386
 
392
387
  to the past maintainers
393
388
 
394
- * [Michele Della Torre](https://github.com/mighe)
395
- * [Paweł Obrok](https://github.com/obrok)
396
- * [Lucas Allan](https://github.com/lucasallan)
389
+ * [Petr Chalupa](https://github.com/pitr-ch)
390
+ * [Michele Della Torre](https://github.com/mighe)
391
+ * [Paweł Obrok](https://github.com/obrok)
392
+ * [Lucas Allan](https://github.com/lucasallan)
397
393
 
398
394
  and to [Ruby Association](https://www.ruby.or.jp/en/) for sponsoring a project
399
395
  ["Enhancing Ruby’s concurrency tooling"](https://www.ruby.or.jp/en/news/20181106) in 2018.
@@ -2,7 +2,6 @@
2
2
 
3
3
  #include "atomic_boolean.h"
4
4
  #include "atomic_reference.h"
5
- #include "ruby_193_compatible.h"
6
5
 
7
6
  void atomic_boolean_mark(void *value) {
8
7
  rb_gc_mark_maybe((VALUE) value);
@@ -2,7 +2,6 @@
2
2
 
3
3
  #include "atomic_fixnum.h"
4
4
  #include "atomic_reference.h"
5
- #include "ruby_193_compatible.h"
6
5
 
7
6
  void atomic_fixnum_mark(void *value) {
8
7
  rb_gc_mark_maybe((VALUE) value);
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concurrent-ruby-ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.1.10
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Jerry D'Antonio
8
8
  - The Ruby Concurrency Team
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-06-05 00:00:00.000000000 Z
12
+ date: 2022-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 1.1.9
20
+ version: 1.1.10
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 1.1.9
27
+ version: 1.1.10
28
28
  description: |2
29
29
  C extensions to optimize the concurrent-ruby gem when running under MRI.
30
30
  Please see http://concurrent-ruby.com for more information.
@@ -47,18 +47,17 @@ files:
47
47
  - ext/concurrent-ruby-ext/atomic_reference.h
48
48
  - ext/concurrent-ruby-ext/extconf.rb
49
49
  - ext/concurrent-ruby-ext/rb_concurrent.c
50
- - ext/concurrent-ruby-ext/ruby_193_compatible.h
51
- - lib/concurrent-ruby/concurrent/2.3/concurrent_ruby_ext.so
52
50
  - lib/concurrent-ruby/concurrent/2.4/concurrent_ruby_ext.so
53
51
  - lib/concurrent-ruby/concurrent/2.5/concurrent_ruby_ext.so
54
52
  - lib/concurrent-ruby/concurrent/2.6/concurrent_ruby_ext.so
55
53
  - lib/concurrent-ruby/concurrent/2.7/concurrent_ruby_ext.so
56
54
  - lib/concurrent-ruby/concurrent/3.0/concurrent_ruby_ext.so
55
+ - lib/concurrent-ruby/concurrent/3.1/concurrent_ruby_ext.so
57
56
  homepage: http://www.concurrent-ruby.com
58
57
  licenses:
59
58
  - MIT
60
59
  metadata: {}
61
- post_install_message:
60
+ post_install_message:
62
61
  rdoc_options: []
63
62
  require_paths:
64
63
  - lib
@@ -66,18 +65,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
65
  requirements:
67
66
  - - ">="
68
67
  - !ruby/object:Gem::Version
69
- version: '2.3'
68
+ version: '2.4'
70
69
  - - "<"
71
70
  - !ruby/object:Gem::Version
72
- version: 3.1.dev
71
+ version: 3.2.dev
73
72
  required_rubygems_version: !ruby/object:Gem::Requirement
74
73
  requirements:
75
74
  - - ">="
76
75
  - !ruby/object:Gem::Version
77
76
  version: '0'
78
77
  requirements: []
79
- rubygems_version: 3.2.3
80
- signing_key:
78
+ rubygems_version: 3.3.4
79
+ signing_key:
81
80
  specification_version: 4
82
81
  summary: C extensions to optimize concurrent-ruby under MRI.
83
82
  test_files: []
@@ -1,28 +0,0 @@
1
- #ifndef rb_check_arity
2
-
3
- // https://github.com/ruby/ruby/blob/ruby_2_0_0/include/ruby/intern.h
4
- // rb_check_arity was added in Ruby 2.0
5
-
6
- #define UNLIMITED_ARGUMENTS (-1)
7
-
8
- static inline VALUE rb_error_arity(int argc, int min, int max)
9
- {
10
- VALUE err_mess = 0;
11
- if (min == max) {
12
- err_mess = rb_sprintf("wrong number of arguments (%d for %d)", argc, min);
13
- }
14
- else if (max == UNLIMITED_ARGUMENTS) {
15
- err_mess = rb_sprintf("wrong number of arguments (%d for %d+)", argc, min);
16
- }
17
- else {
18
- err_mess = rb_sprintf("wrong number of arguments (%d for %d..%d)", argc, min, max);
19
- }
20
- return rb_exc_new3(rb_eTypeError, err_mess);
21
- }
22
-
23
- #define rb_check_arity(argc, min, max) do { \
24
- if (((argc) < (min)) || ((argc) > (max) && (max) != UNLIMITED_ARGUMENTS)) \
25
- rb_exc_raise(rb_error_arity(argc, min, max)); \
26
- } while(0)
27
-
28
- #endif