concurrent-ruby-ext 1.1.4-x86-mingw32 → 1.1.5-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: dc30e30707098a731cd46e4c9bde6e44546cd7e03a967b0086c5ff138f2a4445
4
- data.tar.gz: 2bea0ea7d17654fcf8486a99d9ea4603da78743f1fa9f8a5b374b9c35d488f00
3
+ metadata.gz: 0da0b34556e703a0c659496d9fa3bde454674740bf0cf468abd48ca606e33bc1
4
+ data.tar.gz: 2478a9cf1374b46132c6a2cd003f419e8aaee08ddd3f37797294c6f818ac720d
5
5
  SHA512:
6
- metadata.gz: 41a3dab0615f63fd5fb078e4c6d5c1046640292ff9d439717dc7f341cafcac471bd3fd6ff8370c7d441e27b36311aa224457b92b573456be585ae45cb7000959
7
- data.tar.gz: a2e80d313acc7207cc6b72539179d478259eec9797f16102501c03a0116fe0a89951bdca5f4f677c32977ab511b5ff2999537c3e60dab99ff9aecfdf76cadaee
6
+ metadata.gz: e861d3c1f330672ba08d534e68a9cb2cb3bc4a2a3c95c5d36619b52b0320d056b516c47b5cdb5fd3361db6f3c2a8b3f6d80980768b73228e93faef332d2f8332
7
+ data.tar.gz: 568ce5f50150b3190cd6be5b99d383b51c880c7dd0f77e8f75e5b5086b895846526fa0cff33e6065be37469a265cc2d981ec60bd771d6f07a2f065d370d7c21b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  ## Current
2
2
 
3
+ ## Release v1.1.5, edge v0.5.0 (10 mar 2019)
4
+
5
+ concurrent-ruby:
6
+
7
+ * fix potential leak of context on JRuby and Java 7
8
+
9
+ concurrent-ruby-edge:
10
+
11
+ * Add finalized Concurrent::Cancellation
12
+ * Add finalized Concurrent::Throttle
13
+ * Add finalized Concurrent::Promises::Channel
14
+ * Add new Concurrent::ErlangActor
15
+
3
16
  ## Release v1.1.4 (14 Dec 2018)
4
17
 
5
18
  * (#780) Remove java_alias of 'submit' method of Runnable to let executor service work on java 11
data/README.md CHANGED
@@ -42,7 +42,7 @@ appreciate your help. Would you like to contribute? Great! Have a look at
42
42
  ## Thread Safety
43
43
 
44
44
  *Concurrent Ruby makes one of the strongest thread safety guarantees of any Ruby concurrency
45
- library, providing consistent behavior and guarantees on all three of the main Ruby interpreters
45
+ library, providing consistent behavior and guarantees on all four of the main Ruby interpreters
46
46
  (MRI/CRuby, JRuby, Rubinius, TruffleRuby).*
47
47
 
48
48
  Every abstraction in this library is thread safe. Specific thread safety guarantees are documented
@@ -224,6 +224,35 @@ be obeyed though. Features developed in `concurrent-ruby-edge` are expected to m
224
224
  *Status: will be moved to core soon.*
225
225
  * [LockFreeStack](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/LockFreeStack.html)
226
226
  *Status: missing documentation and tests.*
227
+ * [Promises::Channel](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Promises/Channel.html)
228
+ A first in first out channel that accepts messages with push family of methods and returns
229
+ messages with pop family of methods.
230
+ Pop and push operations can be represented as futures, see `#pop_op` and `#push_op`.
231
+ The capacity of the channel can be limited to support back pressure, use capacity option in `#initialize`.
232
+ `#pop` method blocks ans `#pop_op` returns pending future if there is no message in the channel.
233
+ If the capacity is limited the `#push` method blocks and `#push_op` returns pending future.
234
+ * [Cancellation](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Cancellation.html)
235
+ The Cancellation abstraction provides cooperative cancellation.
236
+
237
+ The standard methods `Thread#raise` of `Thread#kill` available in Ruby
238
+ are very dangerous (see linked the blog posts bellow).
239
+ Therefore concurrent-ruby provides an alternative.
240
+
241
+ * <https://jvns.ca/blog/2015/11/27/why-rubys-timeout-is-dangerous-and-thread-dot-raise-is-terrifying/>
242
+ * <http://www.mikeperham.com/2015/05/08/timeout-rubys-most-dangerous-api/>
243
+ * <http://blog.headius.com/2008/02/rubys-threadraise-threadkill-timeoutrb.html>
244
+
245
+ It provides an object which represents a task which can be executed,
246
+ the task has to get the reference to the object and periodically cooperatively check that it is not cancelled.
247
+ Good practices to make tasks cancellable:
248
+ * check cancellation every cycle of a loop which does significant work,
249
+ * do all blocking actions in a loop with a timeout then on timeout check cancellation
250
+ and if ok block again with the timeout
251
+ * [Throttle](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/Throttle.html)
252
+ A tool managing concurrency level of tasks.
253
+ * [ErlangActor](http://ruby-concurrency.github.io/concurrent-ruby/master/Concurrent/ErlangActor.html)
254
+ Actor implementation which precisely matches Erlang actor behaviour.
255
+ Requires at least Ruby 2.1 otherwise it's not loaded.
227
256
 
228
257
  ## Supported Ruby versions
229
258
 
@@ -339,11 +368,14 @@ and to the past maintainers
339
368
  * [Paweł Obrok](https://github.com/obrok)
340
369
  * [Lucas Allan](https://github.com/lucasallan)
341
370
 
371
+ and to [Ruby Association](https://www.ruby.or.jp/en/) for sponsoring a project
372
+ ["Enhancing Ruby’s concurrency tooling"](https://www.ruby.or.jp/en/news/20181106) in 2018.
373
+
342
374
  ## License and Copyright
343
375
 
344
376
  *Concurrent Ruby* is free software released under the
345
377
  [MIT License](http://www.opensource.org/licenses/MIT).
346
378
 
347
- The *Concurrent Ruby* [logo](https://github.com/ruby-concurrency/concurrent-ruby/wiki/Logo) was
379
+ The *Concurrent Ruby* [logo](https://raw.githubusercontent.com/ruby-concurrency/concurrent-ruby/master/docs-source/logo/concurrent-ruby-logo-300x300.png) was
348
380
  designed by [David Jones](https://twitter.com/zombyboy). It is Copyright &copy; 2014
349
381
  [Jerry D'Antonio](https://twitter.com/jerrydantonio). All Rights Reserved.
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
4
+ version: 1.1.5
5
5
  platform: x86-mingw32
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: 2018-12-15 00:00:00.000000000 Z
12
+ date: 2019-03-11 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.4
20
+ version: 1.1.5
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.4
27
+ version: 1.1.5
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.
@@ -48,12 +48,11 @@ files:
48
48
  - ext/concurrent-ruby-ext/extconf.rb
49
49
  - ext/concurrent-ruby-ext/rb_concurrent.c
50
50
  - ext/concurrent-ruby-ext/ruby_193_compatible.h
51
- - lib/concurrent/2.0/concurrent_ruby_ext.so
52
- - lib/concurrent/2.1/concurrent_ruby_ext.so
53
51
  - lib/concurrent/2.2/concurrent_ruby_ext.so
54
52
  - lib/concurrent/2.3/concurrent_ruby_ext.so
55
53
  - lib/concurrent/2.4/concurrent_ruby_ext.so
56
54
  - lib/concurrent/2.5/concurrent_ruby_ext.so
55
+ - lib/concurrent/2.6/concurrent_ruby_ext.so
57
56
  homepage: http://www.concurrent-ruby.com
58
57
  licenses:
59
58
  - MIT
@@ -66,10 +65,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
65
  requirements:
67
66
  - - ">="
68
67
  - !ruby/object:Gem::Version
69
- version: '2.0'
68
+ version: '2.2'
70
69
  - - "<"
71
70
  - !ruby/object:Gem::Version
72
- version: '2.6'
71
+ version: 2.7.dev
73
72
  required_rubygems_version: !ruby/object:Gem::Requirement
74
73
  requirements:
75
74
  - - ">="
@@ -77,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
76
  version: '0'
78
77
  requirements: []
79
78
  rubyforge_project:
80
- rubygems_version: 2.7.3
79
+ rubygems_version: 2.7.8
81
80
  signing_key:
82
81
  specification_version: 4
83
82
  summary: C extensions to optimize concurrent-ruby under MRI.