klomp 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,10 +1,16 @@
1
1
  Changes
2
2
  --------------------------------------------------------------------------------
3
3
 
4
+ 0.0.6 (2012/8/10)
5
+ ================================================================================
6
+
7
+ - don't blow up if stomp is not installed
8
+
4
9
  0.0.5 (2012/8/10)
5
10
  ================================================================================
6
11
 
7
12
  - set message send/receive logging to debug instead of info
13
+ - add ability to switch between the stomp and onstomp adapters
8
14
 
9
15
  0.0.4 (2012/6/22)
10
16
  ================================================================================
@@ -1,5 +1,5 @@
1
1
  require 'klomp/client'
2
2
 
3
3
  module Klomp
4
- VERSION = '0.0.5'
4
+ VERSION = '0.0.6'
5
5
  end
@@ -1,6 +1,5 @@
1
1
  require 'onstomp'
2
2
  require 'onstomp/failover'
3
- require 'stomp'
4
3
  require 'json'
5
4
  require 'uuid'
6
5
  require 'logger'
@@ -66,6 +65,8 @@ module Klomp
66
65
  @read_conn = [@write_conn]
67
66
  end
68
67
  when :stomp
68
+ require 'stomp'
69
+
69
70
  # Failover in the Stomp library is kind of flaky. If the client
70
71
  # temporarily loses its connection, it is eventually able to reconnect
71
72
  # and resume sending messages. However, the subscribe thread never
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: klomp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  segments:
98
98
  - 0
99
- hash: -1938950018895640841
99
+ hash: -1910889246392223441
100
100
  required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  none: false
102
102
  requirements: