stomp 1.2.16 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,6 +81,21 @@ module TestBase
81
81
  conn
82
82
  end
83
83
 
84
+ # Get a Stomp Anonymous Connection.
85
+ def get_anonymous_connection()
86
+ ch = get_conn_headers()
87
+ hash = { :hosts => [
88
+ {:host => host, :port => port, :ssl => nil},
89
+ ],
90
+ :reliable => false,
91
+ :connect_headers => ch,
92
+ :stompconn => get_stomp_conn(),
93
+ :usecrlf => get_crlf(),
94
+ }
95
+ conn = Stomp::Connection.open(hash)
96
+ conn
97
+ end
98
+
84
99
  # Get a Stomp SSL Connection.
85
100
  def get_ssl_connection()
86
101
  ch = get_conn_headers()
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stomp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.16
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian McCallister
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-08-19 00:00:00.000000000 Z
14
+ date: 2013-09-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rspec
@@ -55,7 +55,6 @@ extra_rdoc_files:
55
55
  - examples/publisher.rb
56
56
  - examples/put11conn_ex1.rb
57
57
  - examples/putget11_rh1.rb
58
- - examples/slogger.rb
59
58
  - examples/ssl_uc1.rb
60
59
  - examples/ssl_uc1_ciphers.rb
61
60
  - examples/ssl_uc2.rb
@@ -81,8 +80,11 @@ extra_rdoc_files:
81
80
  - lib/stomp/errors.rb
82
81
  - lib/stomp/ext/hash.rb
83
82
  - lib/stomp/message.rb
83
+ - lib/stomp/null_logger.rb
84
+ - lib/stomp/slogger.rb
84
85
  - lib/stomp/sslparams.rb
85
86
  - lib/stomp/version.rb
87
+ - test/test_anonymous.rb
86
88
  - test/test_client.rb
87
89
  - test/test_codec.rb
88
90
  - test/test_connection.rb
@@ -112,7 +114,6 @@ files:
112
114
  - examples/publisher.rb
113
115
  - examples/put11conn_ex1.rb
114
116
  - examples/putget11_rh1.rb
115
- - examples/slogger.rb
116
117
  - examples/ssl_uc1.rb
117
118
  - examples/ssl_uc1_ciphers.rb
118
119
  - examples/ssl_uc2.rb
@@ -138,6 +139,8 @@ files:
138
139
  - lib/stomp/errors.rb
139
140
  - lib/stomp/ext/hash.rb
140
141
  - lib/stomp/message.rb
142
+ - lib/stomp/null_logger.rb
143
+ - lib/stomp/slogger.rb
141
144
  - lib/stomp/sslparams.rb
142
145
  - lib/stomp/version.rb
143
146
  - notes/heartbeat_readme.txt
@@ -147,6 +150,7 @@ files:
147
150
  - spec/message_spec.rb
148
151
  - spec/spec_helper.rb
149
152
  - stomp.gemspec
153
+ - test/test_anonymous.rb
150
154
  - test/test_client.rb
151
155
  - test/test_codec.rb
152
156
  - test/test_connection.rb
@@ -178,7 +182,7 @@ requirements: []
178
182
  rubyforge_project:
179
183
  rubygems_version: 2.0.5
180
184
  signing_key:
181
- specification_version: 3
185
+ specification_version: 4
182
186
  summary: Ruby client for the Stomp messaging protocol
183
187
  test_files: []
184
188
  has_rdoc: