fibre 0.9.13 → 0.9.14

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: ac6b90bca58d2663f4f7bc101d1336e381f8cf10
4
- data.tar.gz: 6d67714f771ec5def395a0e6c83af0be9a4179f6
3
+ metadata.gz: b95ac5ff2bf4ea102892aaf7f61b84f6c9a368f6
4
+ data.tar.gz: 12054c863427411402d62bd014c0ac8fbbf43005
5
5
  SHA512:
6
- metadata.gz: 7433f15db566a34c03be51a25002708b57ad91a03ebf1e61d3aec3098edfb731b40646e79f736f7a7d0c7d5d2d3274c7f605d2968a57675ce42285e9d5b10ef7
7
- data.tar.gz: 442b5bafb29abfcca765bf7fd6f6b186e1f284c54440f67eb3321133d5492c0beebaab294091dc27c02d327f25da02ae3a0ea8145bdd034b795a32aad7d3ba8c
6
+ metadata.gz: 65b85aa1ae38238a8cec85c2c06857114cd91ff8b32083f81135e1c0ef7e062ea02869db32e03371cdf60a69fc43b4d35a0a3a2efbd180a58358f2bc4c81dbdb
7
+ data.tar.gz: 8aa9f65ac0bd294f4ff858a28d2a01be86d068d75a9bf2ddf8fa7bf11dba5afb40b3c999285b1a4b9a7f6a04d53c0cfabffc4174a7f2486365e8d803ffe9677e
@@ -21,10 +21,10 @@ Gem::Specification.new do |spec|
21
21
  spec.required_ruby_version = '>= 2.1.0'
22
22
  spec.required_rubygems_version = '>= 2.3.0'
23
23
 
24
- spec.add_development_dependency "eventmachine-le"
24
+ spec.add_development_dependency "eventmachine", ">= 1.0.7"
25
25
  spec.add_development_dependency "bundler", "~> 1.6"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
27
  spec.add_development_dependency "rspec", "~> 3"
28
28
 
29
- spec.add_dependency "event_object", "~> 0.9"
29
+ spec.add_dependency "event_object", ">= 0.9"
30
30
  end
@@ -30,4 +30,9 @@ module Fibre
30
30
  def pool
31
31
  @pool ||= FiberPool.new(pool_size)
32
32
  end
33
+
34
+ def reset
35
+ Fibre.root = Fiber.current
36
+ Fibre.pool = Fibre::FiberPool.new(pool_size)
37
+ end
33
38
  end
@@ -1,3 +1,3 @@
1
1
  module Fibre
2
- VERSION = "0.9.13"
2
+ VERSION = "0.9.14"
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fibre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.13
4
+ version: 0.9.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - inre
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-25 00:00:00.000000000 Z
11
+ date: 2015-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: eventmachine-le
14
+ name: eventmachine
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 1.0.7
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 1.0.7
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -70,14 +70,14 @@ dependencies:
70
70
  name: event_object
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.9'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.9'
83
83
  description:
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  version: 2.3.0
125
125
  requirements: []
126
126
  rubyforge_project:
127
- rubygems_version: 2.4.3
127
+ rubygems_version: 2.4.6
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: Fibre - fiber pool, mock and scoping fibres