officer 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +10 -7
  2. data/VERSION +1 -1
  3. data/officer.gemspec +1 -1
  4. metadata +1 -1
data/README.markdown CHANGED
@@ -5,21 +5,23 @@ It is implemented using Ruby and Eventmachine. Inspiration comes from [elock](ht
5
5
 
6
6
  ## Installation
7
7
 
8
- gem install gemcutter
9
- gem install officer
8
+ sudo gem install gemcutter
9
+ sudo gem install officer
10
10
 
11
11
  ## Usage
12
12
 
13
- Start the server using the 'officer' command in a shell.
14
- It will listen on all interfaces on port 11500.
15
- All debugging output goes to stdout for now.
13
+ sudo officer --help
14
+ sudo officer start
15
+
16
+ - The server listens on 0.0.0.0:11500 by default. In the future this should be configurable.
17
+ - All debugging output goes to stdout for now. Use 'sudo officer run' to see it.
16
18
 
17
19
  ## Ruby Client
18
20
 
19
21
  require 'rubygems'
20
22
  require 'officer'
21
23
 
22
- ### Create a client object (:host and :port default to localhost:11500)
24
+ ### Create a client object (defaults to localhost:11500)
23
25
 
24
26
  client = Officer::Client.new :host => 'localhost', :port => 11500
25
27
 
@@ -47,10 +49,11 @@ All debugging output goes to stdout for now.
47
49
 
48
50
  ## Planned Features
49
51
 
50
- - Option to abort a lock request if there is already a certain number of clients waiting for the lock.
51
52
  - Lock statistics.
52
53
  - Retrieve the complete list of locks.
53
54
  - Retrieve the list of locks for the current connection.
55
+ - Client: Option to abort a lock request if there is already a certain number of clients waiting for the lock.
56
+ - Server: Make IP and port configurable.
54
57
 
55
58
  ## Copyright
56
59
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
data/officer.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{officer}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
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"]
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.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chad Remesch