rjack-qpid-client 0.14.2-java → 0.16.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,9 +1,5 @@
1
- === 0.14.2 (2012-11-9)
2
- * Fix nil access on lookup of a destination not configured. Now
3
- correctly raises NameNotFoundException (#2)
4
-
5
- === 0.14.1 (2012-9-15)
6
- * Upgrade/broaden to slf4j [1.6.5,1.8), logback ~> 1.2 (dev)
1
+ === 0.16.0 (2012-7-18)
2
+ * Upgrade to Qpid java client 0.16
7
3
 
8
4
  === 0.14.0 (2012-2-12)
9
5
  * Upgrade to Qpid java client 0.14 (mina no longer a dependency)
data/Manifest.txt CHANGED
@@ -9,5 +9,5 @@ lib/rjack-qpid-client/base.rb
9
9
  lib/rjack-qpid-client.rb
10
10
  lib/rjack-qpid-client/qpid_jms_context.rb
11
11
  test/test_qpid_client.rb
12
- lib/rjack-qpid-client/qpid-client-0.14.jar
13
- lib/rjack-qpid-client/qpid-common-0.14.jar
12
+ lib/rjack-qpid-client/qpid-client-0.16.jar
13
+ lib/rjack-qpid-client/qpid-common-0.16.jar
@@ -18,10 +18,10 @@ module RJack
18
18
  module QpidClient
19
19
 
20
20
  # QpidClient (java) version
21
- QPID_VERSION = '0.14'
21
+ QPID_VERSION = '0.16'
22
22
 
23
23
  # rjack gem version
24
- VERSION = QPID_VERSION + '.2'
24
+ VERSION = QPID_VERSION + '.0'
25
25
 
26
26
  LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
27
27
  end
@@ -128,11 +128,10 @@ module RJack::QpidClient
128
128
  #
129
129
  # Throws javax.naming.NamingException
130
130
  def lookup_destination( name )
131
- dest = context.lookup( name )
132
131
  @log.info( "Lookup of destinations[ '%s' ] =\n %s" %
133
132
  [ name,
134
133
  address_serialize( name, @destinations[ name ] ) ] )
135
- dest
134
+ context.lookup( name )
136
135
  rescue NativeException => x
137
136
  raise x.cause
138
137
  end
@@ -166,7 +165,7 @@ module RJack::QpidClient
166
165
  # Serialize destination
167
166
  # {Addresses}[http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch02s04.html]
168
167
  # (new format). Reference: section 2.4.3.5
169
- def address_serialize( name, opts = {} )
168
+ def address_serialize( name, opts = nil )
170
169
  opts = opts.dup
171
170
  out = ( opts.delete( :address ) || name ).to_s
172
171
  subject = opts.delete( :subject )
data/pom.xml CHANGED
@@ -15,7 +15,7 @@
15
15
  <dependency>
16
16
  <groupId>org.apache.qpid</groupId>
17
17
  <artifactId>qpid-client</artifactId>
18
- <version>0.14</version>
18
+ <version>0.16</version>
19
19
  </dependency>
20
20
  </dependencies>
21
21
 
@@ -74,15 +74,6 @@ class TestQpidClient < MiniTest::Unit::TestCase
74
74
  con.close if con
75
75
  end
76
76
 
77
- def test_destination_not_found
78
- con = nil
79
- with_context do |ctx|
80
- assert_raises( Java::javax.naming.NameNotFoundException ) do
81
- ctx.lookup_destination( 'no-existe' )
82
- end
83
- end
84
- end
85
-
86
77
  def test_dest_exchange
87
78
  con = nil
88
79
  with_context do |ctx|
metadata CHANGED
@@ -1,161 +1,138 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rjack-qpid-client
3
- version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.14.2
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.16.0
6
6
  platform: java
7
- authors:
8
- - David Kellum
9
- autorequire:
7
+ authors:
8
+ - David Kellum
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-10 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rjack-jms
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ! '>='
19
- - !ruby/object:Gem::Version
20
- version: 1.0.0
21
- - - <
22
- - !ruby/object:Gem::Version
23
- version: '1.2'
24
- none: false
25
- requirement: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: 1.0.0
30
- - - <
31
- - !ruby/object:Gem::Version
32
- version: '1.2'
33
- none: false
34
- prerelease: false
35
- type: :runtime
36
- - !ruby/object:Gem::Dependency
37
- name: rjack-slf4j
38
- version_requirements: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ! '>='
41
- - !ruby/object:Gem::Version
42
- version: 1.6.5
43
- - - <
44
- - !ruby/object:Gem::Version
45
- version: '1.8'
46
- none: false
47
- requirement: !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ! '>='
50
- - !ruby/object:Gem::Version
51
- version: 1.6.5
52
- - - <
53
- - !ruby/object:Gem::Version
54
- version: '1.8'
55
- none: false
56
- prerelease: false
57
- type: :runtime
58
- - !ruby/object:Gem::Dependency
59
- name: rjack-logback
60
- version_requirements: !ruby/object:Gem::Requirement
61
- requirements:
62
- - - ~>
63
- - !ruby/object:Gem::Version
64
- version: '1.2'
65
- none: false
66
- requirement: !ruby/object:Gem::Requirement
67
- requirements:
68
- - - ~>
69
- - !ruby/object:Gem::Version
70
- version: '1.2'
71
- none: false
72
- prerelease: false
73
- type: :development
74
- - !ruby/object:Gem::Dependency
75
- name: minitest
76
- version_requirements: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - ~>
79
- - !ruby/object:Gem::Version
80
- version: '2.2'
81
- none: false
82
- requirement: !ruby/object:Gem::Requirement
83
- requirements:
84
- - - ~>
85
- - !ruby/object:Gem::Version
86
- version: '2.2'
87
- none: false
88
- prerelease: false
89
- type: :development
90
- - !ruby/object:Gem::Dependency
91
- name: rjack-tarpit
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ~>
95
- - !ruby/object:Gem::Version
96
- version: '2.0'
97
- none: false
98
- requirement: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - ~>
101
- - !ruby/object:Gem::Version
102
- version: '2.0'
103
- none: false
104
- prerelease: false
105
- type: :development
106
- description:
107
- email:
108
- - dek-oss@gravitext.com
12
+
13
+ date: 2012-07-18 00:00:00 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rjack-jms
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.0
23
+ - - <
24
+ - !ruby/object:Gem::Version
25
+ version: "1.2"
26
+ requirement: *id001
27
+ prerelease: false
28
+ type: :runtime
29
+ - !ruby/object:Gem::Dependency
30
+ name: rjack-slf4j
31
+ version_requirements: &id002 !ruby/object:Gem::Requirement
32
+ none: false
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: 1.5.8
37
+ - - <
38
+ - !ruby/object:Gem::Version
39
+ version: "1.7"
40
+ requirement: *id002
41
+ prerelease: false
42
+ type: :runtime
43
+ - !ruby/object:Gem::Dependency
44
+ name: rjack-logback
45
+ version_requirements: &id003 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 0.9.18
51
+ - - <
52
+ - !ruby/object:Gem::Version
53
+ version: "2.0"
54
+ requirement: *id003
55
+ prerelease: false
56
+ type: :development
57
+ - !ruby/object:Gem::Dependency
58
+ name: minitest
59
+ version_requirements: &id004 !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ~>
63
+ - !ruby/object:Gem::Version
64
+ version: "2.2"
65
+ requirement: *id004
66
+ prerelease: false
67
+ type: :development
68
+ - !ruby/object:Gem::Dependency
69
+ name: rjack-tarpit
70
+ version_requirements: &id005 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: "2.0"
76
+ requirement: *id005
77
+ prerelease: false
78
+ type: :development
79
+ description:
80
+ email:
81
+ - dek-oss@gravitext.com
109
82
  executables: []
83
+
110
84
  extensions: []
111
- extra_rdoc_files:
112
- - History.rdoc
113
- - README.rdoc
114
- files:
115
- - History.rdoc
116
- - Manifest.txt
117
- - NOTICE.txt
118
- - README.rdoc
119
- - Rakefile
120
- - assembly.xml
121
- - pom.xml
122
- - lib/rjack-qpid-client/base.rb
123
- - lib/rjack-qpid-client.rb
124
- - lib/rjack-qpid-client/qpid_jms_context.rb
125
- - test/test_qpid_client.rb
126
- - lib/rjack-qpid-client/qpid-client-0.14.jar
127
- - lib/rjack-qpid-client/qpid-common-0.14.jar
85
+
86
+ extra_rdoc_files:
87
+ - History.rdoc
88
+ - README.rdoc
89
+ files:
90
+ - History.rdoc
91
+ - Manifest.txt
92
+ - NOTICE.txt
93
+ - README.rdoc
94
+ - Rakefile
95
+ - assembly.xml
96
+ - pom.xml
97
+ - lib/rjack-qpid-client/base.rb
98
+ - lib/rjack-qpid-client.rb
99
+ - lib/rjack-qpid-client/qpid_jms_context.rb
100
+ - test/test_qpid_client.rb
101
+ - lib/rjack-qpid-client/qpid-client-0.16.jar
102
+ - lib/rjack-qpid-client/qpid-common-0.16.jar
128
103
  homepage: http://rjack.rubyforge.org/qpid-client
129
104
  licenses: []
130
- post_install_message:
131
- rdoc_options:
132
- - --main
133
- - README.rdoc
134
- require_paths:
135
- - lib
136
- required_ruby_version: !ruby/object:Gem::Requirement
137
- requirements:
138
- - - ! '>='
139
- - !ruby/object:Gem::Version
140
- version: '0'
141
- segments:
142
- - 0
143
- hash: 2
105
+
106
+ post_install_message:
107
+ rdoc_options:
108
+ - --main
109
+ - README.rdoc
110
+ require_paths:
111
+ - lib
112
+ required_ruby_version: !ruby/object:Gem::Requirement
144
113
  none: false
145
- required_rubygems_version: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
150
- segments:
151
- - 0
152
- hash: 2
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ hash: 2
118
+ segments:
119
+ - 0
120
+ version: "0"
121
+ required_rubygems_version: !ruby/object:Gem::Requirement
153
122
  none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 2
127
+ segments:
128
+ - 0
129
+ version: "0"
154
130
  requirements: []
155
- rubyforge_project:
131
+
132
+ rubyforge_project:
156
133
  rubygems_version: 1.8.24
157
- signing_key:
134
+ signing_key:
158
135
  specification_version: 3
159
136
  summary: A gem packaging of the Qpid AMQP Java Client.
160
137
  test_files: []
161
- ...
138
+