concurrent-ruby-ext 1.1.5 → 1.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +51 -1
- data/{LICENSE.md → LICENSE.txt} +18 -20
- data/README.md +34 -7
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae9d59fa8d2b02ebf853cf39070c6fadbd1a7acd63c69ea4e8a0c60ba4e9f5c1
|
4
|
+
data.tar.gz: 6b6fa9d57fdca9d4c24602ce0d3ea15c6e25cb8230939953f3c0649376d91647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5472ddd6b9fbcc2f69ce83b3de1ebd78901bbbb7c957cbb1d7a73053ac32cc05a54a7564bfccf437259e643c6075c31b07a2c089f14d34c72e1b9284d89df42
|
7
|
+
data.tar.gz: 3e71350023358bbd5c9e275edbef5585d8a1e8d58b69d1b0c6fb9bd09aec93aa5954d161e5e69295a5b6ada67e4be5988e8b621b37472fd58480c0fa25757c2b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,56 @@
|
|
1
1
|
## Current
|
2
2
|
|
3
|
-
## Release v1.1.
|
3
|
+
## Release v1.1.9 (5 Jun 2021)
|
4
|
+
|
5
|
+
concurrent-ruby:
|
6
|
+
|
7
|
+
* (#866) Child promise state not set to :pending immediately after #execute when parent has completed
|
8
|
+
* (#905, #872) Fix RubyNonConcurrentPriorityQueue#delete method
|
9
|
+
* (2df0337d) Make sure locks are not shared on shared when objects are dup/cloned
|
10
|
+
* (#900, #906, #796, #847, #911) Fix Concurrent::Set tread-safety issues on CRuby
|
11
|
+
* (#907) Add new ConcurrentMap backend for TruffleRuby
|
12
|
+
|
13
|
+
## Release v1.1.8 (20 January 2021)
|
14
|
+
|
15
|
+
concurrent-ruby:
|
16
|
+
|
17
|
+
* (#885) Fix race condition in TVar for stale reads
|
18
|
+
* (#884) RubyThreadLocalVar: Do not iterate over hash which might conflict with new pair addition
|
19
|
+
|
20
|
+
## Release v1.1.7 (6 August 2020)
|
21
|
+
|
22
|
+
concurrent-ruby:
|
23
|
+
|
24
|
+
* (#879) Consider falsy value on `Concurrent::Map#compute_if_absent` for fast non-blocking path
|
25
|
+
* (#876) Reset Async queue on forking, makes Async fork-safe
|
26
|
+
* (#856) Avoid running problematic code in RubyThreadLocalVar on MRI that occasionally results in segfault
|
27
|
+
* (#853) Introduce ThreadPoolExecutor without a Queue
|
28
|
+
|
29
|
+
## Release v1.1.6, edge v0.6.0 (10 Feb 2020)
|
30
|
+
|
31
|
+
concurrent-ruby:
|
32
|
+
|
33
|
+
* (#841) Concurrent.disable_at_exit_handlers! is no longer needed and was deprecated.
|
34
|
+
* (#841) AbstractExecutorService#auto_terminate= was deprecated and has no effect.
|
35
|
+
Set :auto_terminate option instead when executor is initialized.
|
36
|
+
|
37
|
+
## Release v1.1.6.pre1, edge v0.6.0.pre1 (26 Jan 2020)
|
38
|
+
|
39
|
+
concurrent-ruby:
|
40
|
+
|
41
|
+
* (#828) Allow to name executors, the name is also used to name their threads
|
42
|
+
* (#838) Implement #dup and #clone for structs
|
43
|
+
* (#821) Safer finalizers for thread local variables
|
44
|
+
* Documentation fixes
|
45
|
+
* (#814) Use Ruby's Etc.nprocessors if available
|
46
|
+
* (#812) Fix directory structure not to mess with packaging tools
|
47
|
+
* (#840) Fix termination of pools on JRuby
|
48
|
+
|
49
|
+
concurrent-ruby-edge:
|
50
|
+
|
51
|
+
* Add WrappingExecutor (#830)
|
52
|
+
|
53
|
+
## Release v1.1.5, edge v0.5.0 (10 Mar 2019)
|
4
54
|
|
5
55
|
concurrent-ruby:
|
6
56
|
|
data/{LICENSE.md → LICENSE.txt}
RENAMED
@@ -1,23 +1,21 @@
|
|
1
|
-
```
|
2
1
|
Copyright (c) Jerry D'Antonio -- released under the MIT license.
|
3
2
|
|
4
|
-
http://www.opensource.org/licenses/mit-license.php
|
3
|
+
http://www.opensource.org/licenses/mit-license.php
|
5
4
|
|
6
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
-
of this software and associated documentation files (the "Software"), to deal
|
8
|
-
in the Software without restriction, including without limitation the rights
|
9
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
-
copies of the Software, and to permit persons to whom the Software is
|
11
|
-
furnished to do so, subject to the following conditions:
|
12
|
-
|
13
|
-
The above copyright notice and this permission notice shall be included in
|
14
|
-
|
15
|
-
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
22
|
-
|
23
|
-
```
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -105,9 +105,9 @@ We also have a [IRC (gitter)](https://gitter.im/ruby-concurrency/concurrent-ruby
|
|
105
105
|
Collection classes that were originally part of the (deprecated) `thread_safe` gem:
|
106
106
|
|
107
107
|
* [Array](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Array.html) A thread-safe
|
108
|
-
subclass of Ruby's standard [Array](http://ruby-doc.org/core
|
108
|
+
subclass of Ruby's standard [Array](http://ruby-doc.org/core/Array.html).
|
109
109
|
* [Hash](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Hash.html) A thread-safe
|
110
|
-
subclass of Ruby's standard [Hash](http://ruby-doc.org/core
|
110
|
+
subclass of Ruby's standard [Hash](http://ruby-doc.org/core/Hash.html).
|
111
111
|
* [Set](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Set.html) A thread-safe
|
112
112
|
subclass of Ruby's standard [Set](http://ruby-doc.org/stdlib-2.4.0/libdoc/set/rdoc/Set.html).
|
113
113
|
* [Map](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Map.html) A hash-like object
|
@@ -122,7 +122,7 @@ Value objects inspired by other languages:
|
|
122
122
|
immutable object representing an optional value, based on
|
123
123
|
[Haskell Data.Maybe](https://hackage.haskell.org/package/base-4.2.0.1/docs/Data-Maybe.html).
|
124
124
|
|
125
|
-
Structure classes derived from Ruby's [Struct](http://ruby-doc.org/core
|
125
|
+
Structure classes derived from Ruby's [Struct](http://ruby-doc.org/core/Struct.html):
|
126
126
|
|
127
127
|
* [ImmutableStruct](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/ImmutableStruct.html)
|
128
128
|
Immutable struct where values are set at construction and cannot be changed later.
|
@@ -253,6 +253,9 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m
|
|
253
253
|
* [ErlangActor](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/ErlangActor.html)
|
254
254
|
Actor implementation which precisely matches Erlang actor behaviour.
|
255
255
|
Requires at least Ruby 2.1 otherwise it's not loaded.
|
256
|
+
* [WrappingExecutor](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/WrappingExecutor.html)
|
257
|
+
A delegating executor which modifies each task before the task is given to
|
258
|
+
the target executor it delegates to.
|
256
259
|
|
257
260
|
## Supported Ruby versions
|
258
261
|
|
@@ -350,19 +353,43 @@ and load the appropriate C extensions.
|
|
350
353
|
No gems should depend on `concurrent-ruby-ext`. Doing so will force C extensions on your users. The
|
351
354
|
best practice is to depend on `concurrent-ruby` and let users to decide if they want C extensions.
|
352
355
|
|
356
|
+
## Building the gem
|
357
|
+
|
358
|
+
### Requirements
|
359
|
+
|
360
|
+
* Recent CRuby
|
361
|
+
* JRuby, `rbenv install jruby-9.2.17.0`
|
362
|
+
* Set env variable `CONCURRENT_JRUBY_HOME` to point to it, e.g. `/usr/local/opt/rbenv/versions/jruby-9.2.17.0`
|
363
|
+
* Install Docker, required for Windows builds
|
364
|
+
|
365
|
+
### Publishing the Gem
|
366
|
+
|
367
|
+
* Update`version.rb`
|
368
|
+
* Update the CHANGELOG
|
369
|
+
* Update the Yard documentation
|
370
|
+
- Add the new version to `docs-source/signpost.md`. Needs to be done only if there are visible changes in the
|
371
|
+
documentation.
|
372
|
+
- Run `bundle exec rake yard` to update the master documentation and signpost.
|
373
|
+
- Run `bundle exec rake yard:<new-version>` to add or update the documentation of the new version.
|
374
|
+
* Commit (and push) the changes.
|
375
|
+
* Use `be rake release` to release the gem. It consists
|
376
|
+
of `['release:checks', 'release:build', 'release:test', 'release:publish']` steps. It will ask at the end before
|
377
|
+
publishing anything. Steps can also be executed individually.
|
378
|
+
|
353
379
|
## Maintainers
|
354
380
|
|
355
|
-
* [Petr Chalupa](https://github.com/pitr-ch)
|
356
|
-
* [
|
357
|
-
|
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.
|
358
384
|
|
359
385
|
### Special Thanks to
|
360
386
|
|
387
|
+
* [Jerry D'Antonio](https://github.com/jdantonio) for creating the gem
|
361
388
|
* [Brian Durand](https://github.com/bdurand) for the `ref` gem
|
362
389
|
* [Charles Oliver Nutter](https://github.com/headius) for the `atomic` and `thread_safe` gems
|
363
390
|
* [thedarkone](https://github.com/thedarkone) for the `thread_safe` gem
|
364
391
|
|
365
|
-
|
392
|
+
to the past maintainers
|
366
393
|
|
367
394
|
* [Michele Della Torre](https://github.com/mighe)
|
368
395
|
* [Paweł Obrok](https://github.com/obrok)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerry D'Antonio
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-06-05 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.9
|
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.9
|
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.
|
@@ -34,11 +34,11 @@ extensions:
|
|
34
34
|
- ext/concurrent-ruby-ext/extconf.rb
|
35
35
|
extra_rdoc_files:
|
36
36
|
- README.md
|
37
|
-
- LICENSE.
|
37
|
+
- LICENSE.txt
|
38
38
|
- CHANGELOG.md
|
39
39
|
files:
|
40
40
|
- CHANGELOG.md
|
41
|
-
- LICENSE.
|
41
|
+
- LICENSE.txt
|
42
42
|
- README.md
|
43
43
|
- ext/concurrent-ruby-ext/atomic_boolean.c
|
44
44
|
- ext/concurrent-ruby-ext/atomic_boolean.h
|
@@ -68,8 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
|
72
|
-
rubygems_version: 2.7.8
|
71
|
+
rubygems_version: 3.2.3
|
73
72
|
signing_key:
|
74
73
|
specification_version: 4
|
75
74
|
summary: C extensions to optimize concurrent-ruby under MRI.
|