pigeon 0.9.2.1 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/LICENSE +1 -1
- data/{README.rdoc → README.md} +7 -7
- data/VERSION +1 -1
- data/pigeon.gemspec +3 -3
- metadata +3 -3
data/LICENSE
CHANGED
data/{README.rdoc → README.md}
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
# Pigeon
|
2
2
|
|
3
3
|
This is a simple framework for building EventMachine engines that are
|
4
4
|
constantly running. These are commonly used for background processing jobs,
|
@@ -55,12 +55,12 @@ An example would look like:
|
|
55
55
|
# the parameter Pigeon::Engine with your specific subclass.
|
56
56
|
Pigeon::Launcher.new(Pigeon::Engine).handle_args(ARGV)
|
57
57
|
|
58
|
-
|
58
|
+
## Components
|
59
59
|
|
60
60
|
There are several key components used by Pigeon to create an event-driven
|
61
61
|
engine.
|
62
62
|
|
63
|
-
|
63
|
+
### Pigeon::Dispatcher
|
64
64
|
|
65
65
|
The dispatcher functions as a thread pool for processing small, discrete
|
66
66
|
operations. These threads are created on demand and destroyed when no longer
|
@@ -68,15 +68,15 @@ in use. By limiting the number of threads a pool can contain it is possible
|
|
68
68
|
to schedule sequential operations, manage control over a single shared
|
69
69
|
resource, or to run through large lists of operations in parallel.
|
70
70
|
|
71
|
-
|
71
|
+
### Pigeon::SortedArray
|
72
72
|
|
73
73
|
This utility class provides a simple self-sorting array. This is used as a
|
74
74
|
priority queue within the Pigeon::Queue.
|
75
75
|
|
76
|
-
|
76
|
+
## Status
|
77
77
|
|
78
78
|
This engine is currently in development.
|
79
79
|
|
80
|
-
|
80
|
+
## Copyright
|
81
81
|
|
82
|
-
Copyright (c)
|
82
|
+
Copyright (c) 2009-2013 Scott Tadman, The Working Group
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.3
|
data/pigeon.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "pigeon"
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["tadman"]
|
@@ -14,12 +14,12 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.email = "github@tadman.ca"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
|
-
"README.
|
17
|
+
"README.md"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
21
|
"LICENSE",
|
22
|
-
"README.
|
22
|
+
"README.md",
|
23
23
|
"Rakefile",
|
24
24
|
"VERSION",
|
25
25
|
"bin/launcher.example",
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pigeon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -34,11 +34,11 @@ executables: []
|
|
34
34
|
extensions: []
|
35
35
|
extra_rdoc_files:
|
36
36
|
- LICENSE
|
37
|
-
- README.
|
37
|
+
- README.md
|
38
38
|
files:
|
39
39
|
- .document
|
40
40
|
- LICENSE
|
41
|
-
- README.
|
41
|
+
- README.md
|
42
42
|
- Rakefile
|
43
43
|
- VERSION
|
44
44
|
- bin/launcher.example
|