officer 0.2.1 → 0.2.2
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/README.markdown +10 -2
- data/VERSION +1 -1
- data/officer.gemspec +2 -2
- metadata +2 -2
data/README.markdown
CHANGED
|
@@ -5,8 +5,8 @@ It is implemented using Ruby and Eventmachine. Inspiration comes from [elock](ht
|
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
install gemcutter
|
|
9
|
+
gem install officer
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
@@ -45,6 +45,14 @@ All debugging output goes to stdout for now.
|
|
|
45
45
|
|
|
46
46
|
client.reconnect
|
|
47
47
|
|
|
48
|
+
## Planned Features
|
|
49
|
+
|
|
50
|
+
- Properly handle nested with_lock() blocks.
|
|
51
|
+
- Option to abort a lock request if there is already a certain number of clients waiting for the lock.
|
|
52
|
+
- Lock statistics.
|
|
53
|
+
- Retrieve the complete list of locks.
|
|
54
|
+
- Retrieve the list of locks for the current connection.
|
|
55
|
+
|
|
48
56
|
## Copyright
|
|
49
57
|
|
|
50
58
|
Copyright (c) 2010 Chad Remesch. See LICENSE for details.
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.2
|
data/officer.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{officer}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Chad Remesch"]
|
|
12
|
-
s.date = %q{2010-02-
|
|
12
|
+
s.date = %q{2010-02-03}
|
|
13
13
|
s.default_executable = %q{officer}
|
|
14
14
|
s.description = %q{Distributed lock server and client written in Ruby and EventMachine}
|
|
15
15
|
s.email = %q{chad@remesch.com}
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: officer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chad Remesch
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-02-
|
|
12
|
+
date: 2010-02-03 00:00:00 -05:00
|
|
13
13
|
default_executable: officer
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|