stompserver 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,12 @@
1
+ == 0.9.5 / 18 Oct 2006
2
+
3
+ * Removed eventmachine dependency in the gem
4
+ you still need eventmachine, but you can choose between
5
+ eventmachine and eventmachine-win32, not sure how to put
6
+ that in the gem.
7
+
8
+ Also made another minor fix to the stompserver binary.
9
+
1
10
  == 0.9.4 / 17 Oct 2006
2
11
 
3
12
  * Cleanup (wow I was tired last night)
@@ -32,5 +41,5 @@
32
41
  * Journals using madeleine
33
42
  * Needs documentaion
34
43
  * Needs to command line processing
35
- * Needs service/daemon options
44
+ * Needs service/daemon options4
36
45
 
data/Rakefile CHANGED
@@ -14,7 +14,9 @@ Hoe.new('stompserver', StompServer::VERSION) do |p|
14
14
  p.email = "phurley@gmail.com"
15
15
  p.author = ["Patrick Hurley"]
16
16
  p.extra_deps = [
17
- ["eventmachine", ">= 0.5.0"],
17
+ # This depencency is real, but if you are on a Win32 box
18
+ # and don't have VC6, it can be a real problem
19
+ # ["eventmachine", ">= 0.5.0"],
18
20
  ["madeleine", ">= 0.7.3"],
19
21
  ["hoe", ">= 1.1.1"]
20
22
  ]
data/bin/stompserver CHANGED
@@ -7,11 +7,16 @@ opts = OptionParser.new
7
7
 
8
8
  port = 61613
9
9
  bind = "127.0.0.1"
10
+ bind = "localhost"
10
11
  journal = ".stompserver"
11
12
 
12
- opts.on("-p", "--port=PORT", Integer) {|p| port = p}
13
- opts.on("-b", "--bind=ADDR", String) {|a| bind = a}
14
- opts.on("-j", "--journal=DIR", String) {|j| journal = j}
13
+ opts.on("-p", "--port=PORT", Integer, "Change the port (default: 61613)") {|p| port = p}
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}
16
+ opts.on("-h", "--help", "Show this message") do
17
+ puts opts
18
+ exit
19
+ end
15
20
 
16
21
  puts opts.parse(ARGV)
17
22
 
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.4'
9
+ VERSION = '0.9.5'
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.4
7
- date: 2006-10-17 00:00:00 -04:00
6
+ version: 0.9.5
7
+ date: 2006-10-18 00:00:00 -04:00
8
8
  summary: A very light messaging server
9
9
  require_paths:
10
10
  - lib
@@ -59,15 +59,6 @@ extensions: []
59
59
  requirements: []
60
60
 
61
61
  dependencies:
62
- - !ruby/object:Gem::Dependency
63
- name: eventmachine
64
- version_requirement:
65
- version_requirements: !ruby/object:Gem::Version::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 0.5.0
70
- version:
71
62
  - !ruby/object:Gem::Dependency
72
63
  name: madeleine
73
64
  version_requirement: