fibre 0.9.2 → 0.9.3

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
  SHA1:
3
- metadata.gz: c37099c6452b91dc3627b24656c72991eed7a13c
4
- data.tar.gz: 03e7c7000a4e00d218775bb50b326db2481ecb75
3
+ metadata.gz: f4b35bd4317e3d9f7afe72e9adef2b219f43b11c
4
+ data.tar.gz: b2ffa488116a6c35848b4aa82c1c31bfd22d6c42
5
5
  SHA512:
6
- metadata.gz: dc7f63ee5160019a317e812f58faa58c0958b6f1c6bf8e6bc60e91e10e3be41b5349967f5e22d6279c95c1d14802771fc493e33a00423dcece6b4fb24fdf083b
7
- data.tar.gz: 3aecdcd1a4d95aaf0532a972772a5a37c24a7fae801e0e8fb460b078f6841288d4a67d1a7504d0607e0db38ccf8d4d554cfb2002ccf1e943e6d1a5a4ad84170a
6
+ metadata.gz: 6b4fabe7b518d960c0ab047b00f723243d04f178d8ddfe9c574caa23ab22f35329ee84ad40d5bc079ba292a315dac9943cc8186f5d29ea377ac1ada5d9822581
7
+ data.tar.gz: 997657d7a7ae01309882484ed724b9b8015096eb06f21f2563403db509bec891c48f804ea19310a26bf113cace97e79159f967600a61259fe4c7344ba96decaa
@@ -0,0 +1,11 @@
1
+ module Fibre::Synchrony
2
+
3
+ refine Array do
4
+ def sync
5
+ res = Fiber.scope { collect(&:sync) }
6
+ res.collect(&:result)
7
+ end
8
+ end
9
+
10
+ #<<<
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Fibre
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fibre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - che
@@ -81,6 +81,7 @@ files:
81
81
  - fibre.gemspec
82
82
  - lib/fibre.rb
83
83
  - lib/fibre/core_ext/fiber.rb
84
+ - lib/fibre/core_ext/synchrony.rb
84
85
  - lib/fibre/fiber_pool.rb
85
86
  - lib/fibre/mock.rb
86
87
  - lib/fibre/rack/fiber_pool.rb