concurrent-ruby-ext 1.1.7-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b21d443382fcf5e4acbe7b8dc290cf9a6f3be4b2027f8e8a87664cf8335a4ad5
4
- data.tar.gz: 924b73adcb56e09877cb6ff1da72f02f44ced70ec67c4d3a1bf7d14742756393
3
+ metadata.gz: 0503f387c1bc6a80d66183be21ade189120c3e817195a03de8c6c73b9a710ef4
4
+ data.tar.gz: 610cbbdb71134c5994ca18d9446cc7af94b576cf920e8070e2aa430704a64a54
5
5
  SHA512:
6
- metadata.gz: df83accf36dc81f4b8a3307018bcade553eec77d330c8bb815ad33d5753e0dc99cf736fc57ccef13c309f931bb0b9fe36f264458cd53c0acc7e47db97e562b6f
7
- data.tar.gz: 7e0ea2d469c3f90fc227a68aec0b07cbbbee6e09a96ed33bfaf5b2e0b1fe90a1f8ed460995138446fd4d2cace4d4e360a09f69d206254ab5ed2213de65bd8a4a
6
+ metadata.gz: e70061f818b9b1d90353b51a6d14c5489623b69a14b1834bf83d698d016f957ffaa4474e084eaf1d3d64a3439ec319104614f40892334bc18f22492bb5d91117
7
+ data.tar.gz: eef71a9c4a38ab251f8e1f7cd17f025efd3cc9be54b4586a37cebaa36c01edaf895fe8eab70f405359fb6740a06ce90f64e555d8c1f06121d57a008ef096f347
data/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
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
+
17
+ ## Release v1.1.9 (5 Jun 2021)
18
+
19
+ concurrent-ruby:
20
+
21
+ * (#866) Child promise state not set to :pending immediately after #execute when parent has completed
22
+ * (#905, #872) Fix RubyNonConcurrentPriorityQueue#delete method
23
+ * (2df0337d) Make sure locks are not shared on shared when objects are dup/cloned
24
+ * (#900, #906, #796, #847, #911) Fix Concurrent::Set tread-safety issues on CRuby
25
+ * (#907) Add new ConcurrentMap backend for TruffleRuby
26
+
27
+ ## Release v1.1.8 (20 January 2021)
28
+
29
+ concurrent-ruby:
30
+
31
+ * (#885) Fix race condition in TVar for stale reads
32
+ * (#884) RubyThreadLocalVar: Do not iterate over hash which might conflict with new pair addition
33
+
3
34
  ## Release v1.1.7 (6 August 2020)
4
35
 
5
36
  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
@@ -353,23 +349,47 @@ and load the appropriate C extensions.
353
349
  No gems should depend on `concurrent-ruby-ext`. Doing so will force C extensions on your users. The
354
350
  best practice is to depend on `concurrent-ruby` and let users to decide if they want C extensions.
355
351
 
352
+ ## Building the gem
353
+
354
+ ### Requirements
355
+
356
+ * Recent CRuby
357
+ * JRuby, `rbenv install jruby-9.2.17.0`
358
+ * Set env variable `CONCURRENT_JRUBY_HOME` to point to it, e.g. `/usr/local/opt/rbenv/versions/jruby-9.2.17.0`
359
+ * Install Docker, required for Windows builds
360
+
361
+ ### Publishing the Gem
362
+
363
+ * Update `version.rb`
364
+ * Update the CHANGELOG
365
+ * Update the Yard documentation
366
+ - Add the new version to `docs-source/signpost.md`. Needs to be done only if there are visible changes in the
367
+ documentation.
368
+ - Run `bundle exec rake yard` to update the master documentation and signpost.
369
+ - Run `bundle exec rake yard:<new-version>` to add or update the documentation of the new version.
370
+ * Commit (and push) the changes.
371
+ * Use `be rake release` to release the gem. It consists
372
+ of `['release:checks', 'release:build', 'release:test', 'release:publish']` steps. It will ask at the end before
373
+ publishing anything. Steps can also be executed individually.
374
+
356
375
  ## Maintainers
357
376
 
358
- * [Petr Chalupa](https://github.com/pitr-ch) (lead maintainer, point-of-contact)
359
- * [Jerry D'Antonio](https://github.com/jdantonio) (creator)
360
- * [Chris Seaton](https://github.com/chrisseaton)
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.
361
379
 
362
380
  ### Special Thanks to
363
381
 
364
- * [Brian Durand](https://github.com/bdurand) for the `ref` gem
365
- * [Charles Oliver Nutter](https://github.com/headius) for the `atomic` and `thread_safe` gems
366
- * [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
367
386
 
368
- and to the past maintainers
387
+ to the past maintainers
369
388
 
370
- * [Michele Della Torre](https://github.com/mighe)
371
- * [Paweł Obrok](https://github.com/obrok)
372
- * [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)
373
393
 
374
394
  and to [Ruby Association](https://www.ruby.or.jp/en/) for sponsoring a project
375
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.7
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: 2020-08-08 00:00:00.000000000 Z
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.7
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.7
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,16 @@ 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.2/concurrent_ruby_ext.so
52
- - lib/concurrent-ruby/concurrent/2.3/concurrent_ruby_ext.so
53
50
  - lib/concurrent-ruby/concurrent/2.4/concurrent_ruby_ext.so
54
51
  - lib/concurrent-ruby/concurrent/2.5/concurrent_ruby_ext.so
55
52
  - lib/concurrent-ruby/concurrent/2.6/concurrent_ruby_ext.so
56
53
  - lib/concurrent-ruby/concurrent/2.7/concurrent_ruby_ext.so
54
+ - lib/concurrent-ruby/concurrent/3.0/concurrent_ruby_ext.so
57
55
  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,18 +64,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
64
  requirements:
67
65
  - - ">="
68
66
  - !ruby/object:Gem::Version
69
- version: '2.2'
67
+ version: '2.4'
70
68
  - - "<"
71
69
  - !ruby/object:Gem::Version
72
- version: 2.8.dev
70
+ version: 3.1.dev
73
71
  required_rubygems_version: !ruby/object:Gem::Requirement
74
72
  requirements:
75
73
  - - ">="
76
74
  - !ruby/object:Gem::Version
77
75
  version: '0'
78
76
  requirements: []
79
- rubygems_version: 3.1.2
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