stompserver 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/stompserver +2 -1
  2. data/lib/stomp_server.rb +1 -1
  3. metadata +2 -2
data/bin/stompserver CHANGED
@@ -12,7 +12,8 @@ journal = ".stompserver"
12
12
 
13
13
  opts.on("-p", "--port=PORT", Integer, "Change the port (default: 61613)") {|p| port = p}
14
14
  opts.on("-b", "--bind=ADDR", String, "Change the binding adapter (default: localhost)") {|a| bind = a}
15
- opts.on("-j", "--journal=DIR", String, "Change the journal directoyr (default: .stompserver)") {|j| journal = j}
15
+ opts.on("-j", "--journal=DIR", String, "Change the journal directory (default: ./.stompserver)") {|j| journal = j}
16
+ opts.on("-d", "--debug", "Enable debug output") {$DEBUG=1}
16
17
  opts.on("-h", "--help", "Show this message") do
17
18
  puts opts
18
19
  exit
data/lib/stomp_server.rb CHANGED
@@ -6,7 +6,7 @@ require 'queue_manager'
6
6
  require 'frame_journal'
7
7
 
8
8
  module StompServer
9
- VERSION = '0.9.6'
9
+ VERSION = '0.9.7'
10
10
  VALID_COMMANDS = [:connect, :send, :subscribe, :unsubscribe, :begin, :commit, :abort, :ack, :disconnect]
11
11
 
12
12
  def self.setup(j = FrameJournal.new, tm = TopicManager.new, qm = QueueManager.new(j))
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: stompserver
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.6
7
- date: 2006-10-31 00:00:00 -05:00
6
+ version: 0.9.7
7
+ date: 2006-11-02 00:00:00 -05:00
8
8
  summary: A very light messaging server
9
9
  require_paths:
10
10
  - lib