lightio 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -1
- data/Gemfile +6 -0
- data/Gemfile.lock +47 -3
- data/Guardfile +10 -0
- data/README.md +1 -1
- data/bin/_guard-core +21 -0
- data/bin/guard +21 -0
- data/lib/lightio/core/backend/nio.rb +14 -2
- data/lib/lightio/core/beam.rb +22 -5
- data/lib/lightio/core/ioloop.rb +14 -26
- data/lib/lightio/core/light_fiber.rb +14 -0
- data/lib/lightio/library/io.rb +87 -14
- data/lib/lightio/library/kernel_ext.rb +2 -2
- data/lib/lightio/library/mutex.rb +62 -0
- data/lib/lightio/library/queue.rb +2 -2
- data/lib/lightio/library/sized_queue.rb +64 -0
- data/lib/lightio/library/socket.rb +32 -3
- data/lib/lightio/library/thread.rb +295 -0
- data/lib/lightio/library/threads_wait.rb +59 -0
- data/lib/lightio/library.rb +3 -0
- data/lib/lightio/version.rb +1 -1
- data/lib/lightio/watchers/io.rb +68 -15
- data/lib/lightio/wrap.rb +13 -23
- data/lightio.gemspec +1 -1
- metadata +11 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lightio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jiang Jinyang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nio4r
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.2'
|
20
20
|
type: :runtime
|
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: '2.
|
26
|
+
version: '2.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,10 +81,13 @@ files:
|
|
81
81
|
- CODE_OF_CONDUCT.md
|
82
82
|
- Gemfile
|
83
83
|
- Gemfile.lock
|
84
|
+
- Guardfile
|
84
85
|
- LICENSE.txt
|
85
86
|
- README.md
|
86
87
|
- Rakefile
|
88
|
+
- bin/_guard-core
|
87
89
|
- bin/console
|
90
|
+
- bin/guard
|
88
91
|
- bin/setup
|
89
92
|
- examples/beams.rb
|
90
93
|
- examples/echo_server.rb
|
@@ -100,8 +103,12 @@ files:
|
|
100
103
|
- lib/lightio/library.rb
|
101
104
|
- lib/lightio/library/io.rb
|
102
105
|
- lib/lightio/library/kernel_ext.rb
|
106
|
+
- lib/lightio/library/mutex.rb
|
103
107
|
- lib/lightio/library/queue.rb
|
108
|
+
- lib/lightio/library/sized_queue.rb
|
104
109
|
- lib/lightio/library/socket.rb
|
110
|
+
- lib/lightio/library/thread.rb
|
111
|
+
- lib/lightio/library/threads_wait.rb
|
105
112
|
- lib/lightio/library/timeout.rb
|
106
113
|
- lib/lightio/version.rb
|
107
114
|
- lib/lightio/watchers.rb
|