concurrent-ruby-ext 1.1.9-x64-mingw32 → 1.1.10-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +17 -21
- data/ext/concurrent-ruby-ext/atomic_boolean.c +0 -1
- data/ext/concurrent-ruby-ext/atomic_fixnum.c +0 -1
- data/lib/concurrent-ruby/concurrent/2.4/concurrent_ruby_ext.so +0 -0
- data/lib/concurrent-ruby/concurrent/2.5/concurrent_ruby_ext.so +0 -0
- data/lib/concurrent-ruby/concurrent/2.6/concurrent_ruby_ext.so +0 -0
- data/lib/concurrent-ruby/concurrent/2.7/concurrent_ruby_ext.so +0 -0
- data/lib/concurrent-ruby/concurrent/3.0/concurrent_ruby_ext.so +0 -0
- metadata +9 -11
- data/ext/concurrent-ruby-ext/ruby_193_compatible.h +0 -28
- data/lib/concurrent-ruby/concurrent/2.3/concurrent_ruby_ext.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0503f387c1bc6a80d66183be21ade189120c3e817195a03de8c6c73b9a710ef4
|
4
|
+
data.tar.gz: 610cbbdb71134c5994ca18d9446cc7af94b576cf920e8070e2aa430704a64a54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e70061f818b9b1d90353b51a6d14c5489623b69a14b1834bf83d698d016f957ffaa4474e084eaf1d3d64a3439ec319104614f40892334bc18f22492bb5d91117
|
7
|
+
data.tar.gz: eef71a9c4a38ab251f8e1f7cd17f025efd3cc9be54b4586a37cebaa36c01edaf895fe8eab70f405359fb6740a06ce90f64e555d8c1f06121d57a008ef096f347
|
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.
|
263
|
-
* JRuby 9000
|
264
|
-
* TruffleRuby
|
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
|
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
|
-
*
|
382
|
-
*
|
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
|
-
*
|
388
|
-
*
|
389
|
-
*
|
390
|
-
*
|
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
|
-
*
|
395
|
-
*
|
396
|
-
*
|
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.
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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.
|
4
|
+
version: 1.1.10
|
5
5
|
platform: x64-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:
|
12
|
+
date: 2022-03-22 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.
|
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.
|
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,8 +47,6 @@ 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
|
@@ -58,7 +56,7 @@ homepage: http://www.concurrent-ruby.com
|
|
58
56
|
licenses:
|
59
57
|
- MIT
|
60
58
|
metadata: {}
|
61
|
-
post_install_message:
|
59
|
+
post_install_message:
|
62
60
|
rdoc_options: []
|
63
61
|
require_paths:
|
64
62
|
- lib
|
@@ -66,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
66
64
|
requirements:
|
67
65
|
- - ">="
|
68
66
|
- !ruby/object:Gem::Version
|
69
|
-
version: '2.
|
67
|
+
version: '2.4'
|
70
68
|
- - "<"
|
71
69
|
- !ruby/object:Gem::Version
|
72
70
|
version: 3.1.dev
|
@@ -76,8 +74,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
74
|
- !ruby/object:Gem::Version
|
77
75
|
version: '0'
|
78
76
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
80
|
-
signing_key:
|
77
|
+
rubygems_version: 3.3.4
|
78
|
+
signing_key:
|
81
79
|
specification_version: 4
|
82
80
|
summary: C extensions to optimize concurrent-ruby under MRI.
|
83
81
|
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
|
Binary file
|