polyphony 0.73 → 0.73.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +11 -11
- data/lib/polyphony/extensions/fiber.rb +8 -0
- data/lib/polyphony/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1647a2b1735e71dd4adf19ff701a649198786c3055430a0941b93e0905cf9dc
|
4
|
+
data.tar.gz: d00f4541d6bab4d7852ced8c0a8e15b6756305ab1c9eab3f7931bf7a18cfd6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec65b272aad6089f9f5a0a208a1e2a537e306fd1fc5247bb5aa25df22ad135d37c771947287b4d4ce5e3e4d5c5d8ced4fef9bab2291a6b7300f7b22245dd70f
|
7
|
+
data.tar.gz: 245c18039397202618c4a70538878396048ce409f36e51ece94919cd1720020cc47e13f213020c378c4d6caa9017df1c5082cd292e5f7987f11730486a0b0c0a
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
polyphony (0.73)
|
4
|
+
polyphony (0.73.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -14,12 +14,12 @@ GEM
|
|
14
14
|
httparty (0.17.1)
|
15
15
|
mime-types (~> 3.0)
|
16
16
|
multi_xml (>= 0.5.2)
|
17
|
-
json (2.
|
18
|
-
localhost (1.1.
|
17
|
+
json (2.6.1)
|
18
|
+
localhost (1.1.9)
|
19
19
|
method_source (1.0.0)
|
20
|
-
mime-types (3.
|
20
|
+
mime-types (3.4.1)
|
21
21
|
mime-types-data (~> 3.2015)
|
22
|
-
mime-types-data (3.2021.
|
22
|
+
mime-types-data (3.2021.1115)
|
23
23
|
minitest (5.14.4)
|
24
24
|
minitest-reporters (1.4.2)
|
25
25
|
ansi
|
@@ -28,8 +28,8 @@ GEM
|
|
28
28
|
ruby-progressbar
|
29
29
|
msgpack (1.4.2)
|
30
30
|
multi_xml (0.6.0)
|
31
|
-
parallel (1.
|
32
|
-
parser (3.0.2
|
31
|
+
parallel (1.21.0)
|
32
|
+
parser (3.0.3.2)
|
33
33
|
ast (~> 2.4.1)
|
34
34
|
pry (0.13.1)
|
35
35
|
coderay (~> 1.1)
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
rake (13.0.6)
|
39
39
|
rake-compiler (1.1.1)
|
40
40
|
rake
|
41
|
-
regexp_parser (2.
|
41
|
+
regexp_parser (2.2.0)
|
42
42
|
rexml (3.2.5)
|
43
43
|
rubocop (0.85.1)
|
44
44
|
parallel (~> 1.10)
|
@@ -49,7 +49,7 @@ GEM
|
|
49
49
|
rubocop-ast (>= 0.0.3)
|
50
50
|
ruby-progressbar (~> 1.7)
|
51
51
|
unicode-display_width (>= 1.4.0, < 2.0)
|
52
|
-
rubocop-ast (1.
|
52
|
+
rubocop-ast (1.15.0)
|
53
53
|
parser (>= 3.0.1.1)
|
54
54
|
ruby-progressbar (1.11.0)
|
55
55
|
simplecov (0.17.1)
|
@@ -57,7 +57,7 @@ GEM
|
|
57
57
|
json (>= 1.8, < 3)
|
58
58
|
simplecov-html (~> 0.10.0)
|
59
59
|
simplecov-html (0.10.2)
|
60
|
-
unicode-display_width (1.
|
60
|
+
unicode-display_width (1.8.0)
|
61
61
|
|
62
62
|
PLATFORMS
|
63
63
|
ruby
|
@@ -75,4 +75,4 @@ DEPENDENCIES
|
|
75
75
|
simplecov (= 0.17.1)
|
76
76
|
|
77
77
|
BUNDLED WITH
|
78
|
-
2.
|
78
|
+
2.1.4
|
@@ -117,6 +117,14 @@ module Polyphony
|
|
117
117
|
|
118
118
|
# Class methods for controlling fibers (namely await and select)
|
119
119
|
module FiberControlClassMethods
|
120
|
+
# call-seq:
|
121
|
+
# Fiber.await(*fibers) -> [*results]
|
122
|
+
# Fiber.join(*fibers) -> [*results]
|
123
|
+
#
|
124
|
+
# Waits for all given fibers to terminate, then returns the respective
|
125
|
+
# return values for all terminated fibers. If any of the awaited fibers
|
126
|
+
# terminates with an uncaught exception, `Fiber.await` will await all the
|
127
|
+
# other fibers to terminate, then reraise the exception.
|
120
128
|
def await(*fibers)
|
121
129
|
return [] if fibers.empty?
|
122
130
|
|
data/lib/polyphony/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyphony
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.73.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sharon Rosner
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -136,7 +136,7 @@ dependencies:
|
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: 1.1.4
|
139
|
-
description:
|
139
|
+
description:
|
140
140
|
email: sharon@noteflakes.com
|
141
141
|
executables: []
|
142
142
|
extensions:
|
@@ -411,7 +411,7 @@ metadata:
|
|
411
411
|
documentation_uri: https://digital-fabric.github.io/polyphony/
|
412
412
|
homepage_uri: https://digital-fabric.github.io/polyphony/
|
413
413
|
changelog_uri: https://github.com/digital-fabric/polyphony/blob/master/CHANGELOG.md
|
414
|
-
post_install_message:
|
414
|
+
post_install_message:
|
415
415
|
rdoc_options:
|
416
416
|
- "--title"
|
417
417
|
- polyphony
|
@@ -430,8 +430,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
430
430
|
- !ruby/object:Gem::Version
|
431
431
|
version: '0'
|
432
432
|
requirements: []
|
433
|
-
rubygems_version: 3.
|
434
|
-
signing_key:
|
433
|
+
rubygems_version: 3.1.6
|
434
|
+
signing_key:
|
435
435
|
specification_version: 4
|
436
436
|
summary: Fine grained concurrency for Ruby
|
437
437
|
test_files: []
|