rjack-qpid-client 0.12.0-java → 0.14.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.14.0 (2012-2-12)
2
+ * Upgrade to Qpid java client 0.14 (mina no longer a dependency)
3
+ * Upgrade to tarpit ~> 2.0 (build)
4
+
1
5
  === 0.12.0 (2011-8-29)
2
6
  * Upgrade to Qpid java client 0.12
3
7
 
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.12.jar
13
- lib/rjack-qpid-client/qpid-common-0.12.jar
12
+ lib/rjack-qpid-client/qpid-client-0.14.jar
13
+ lib/rjack-qpid-client/qpid-common-0.14.jar
data/NOTICE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  rjack-qpid-client gem
2
- Copyright (c) 2011 David Kellum
2
+ Copyright (c) 2011-2012 David Kellum
3
3
 
4
4
  This product includes software developed by:
5
5
 
data/README.rdoc CHANGED
@@ -12,7 +12,7 @@ A gem packaging of the {Qpid}[http://qpid.apache.org/] AMQP Java Client.
12
12
 
13
13
  === rjack-qpid-client gem
14
14
 
15
- Copyright (c) 2011 David Kellum
15
+ Copyright (c) 2011-2012 David Kellum
16
16
 
17
17
  Licensed under the Apache License, Version 2.0 (the "License"); you
18
18
  may not use this file except in compliance with the License. You
data/Rakefile CHANGED
@@ -1,50 +1,12 @@
1
1
  # -*- ruby -*-
2
2
 
3
- $LOAD_PATH << './lib'
4
- require 'rjack-qpid-client/base'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.3.0'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- include RJack
11
-
12
- t = TarPit.new( 'rjack-qpid-client', QpidClient::VERSION, :java_platform )
13
-
14
- t.specify do |h|
15
- h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
-
17
- h.extra_deps += [ [ 'rjack-jms', '>= 1.0.0', '< 1.2' ],
18
- [ 'rjack-mina', '~> 1.0.10' ],
19
- [ 'rjack-slf4j', '>= 1.5.8', '< 1.7' ] ]
7
+ RJack::TarPit.new( 'rjack-qpid-client' ) do |tp|
20
8
 
21
- h.extra_dev_deps << [ 'rjack-logback', '>= 0.9.18', '< 2.0' ]
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/qpid-client'
22
11
 
23
- h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/qpid-client"
24
12
  end
25
-
26
- t.jars = %w[ common client ].map do |mod|
27
- "qpid-#{mod}-#{ QpidClient::QPID_VERSION }.jar"
28
- end
29
-
30
- t.assembly_version = 1.0
31
-
32
- file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
33
-
34
- task :check_pom_deps do
35
- t.test_line_match( 'pom.xml',
36
- %r[<version>#{ QpidClient::QPID_VERSION }</version>] )
37
- end
38
-
39
- task :check_history_version do
40
- t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
41
- end
42
- task :check_history_date do
43
- t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
44
- end
45
-
46
- task :gem => [ :check_pom_deps, :check_history_version ]
47
- task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
48
- task :push => [ :check_history_date ]
49
-
50
- t.define_tasks
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011 David Kellum
2
+ # Copyright (c) 2011-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -18,7 +18,7 @@ module RJack
18
18
  module QpidClient
19
19
 
20
20
  # QpidClient (java) version
21
- QPID_VERSION = '0.12'
21
+ QPID_VERSION = '0.14'
22
22
 
23
23
  # rjack gem version
24
24
  VERSION = QPID_VERSION + '.0'
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011 David Kellum
2
+ # Copyright (c) 2011-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You may
@@ -22,11 +22,11 @@ require 'rjack-jms'
22
22
  module RJack::QpidClient
23
23
 
24
24
  # Implementation of RJack::JMS::JMSContext for Qpid, using the
25
- # {Qpid JNDI Properties}[http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch03s02.html]
25
+ # {Qpid JNDI Properties}[http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch03s02.html]
26
26
  # syntax. Provides scripted setup and a factory for JMS Connection,
27
27
  # Session, and Destinations (including full AMQP queue and exchange
28
28
  # creation) via Qpid
29
- # {Addresses}[http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch02s04.html]
29
+ # {Addresses}[http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch02s04.html]
30
30
  # created from ruby.
31
31
  class QpidJMSContext
32
32
  include RJack::JMS::JMSContext
@@ -65,7 +65,7 @@ module RJack::QpidClient
65
65
  # The option hash may use ruby Symbol or String keys, and
66
66
  # true, false, Symbol, String, Hash, or Array values. This will be
67
67
  # serialized into the Qpid
68
- # {Addresses}[http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch02s04.html]
68
+ # {Addresses}[http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch02s04.html]
69
69
  # Syntax. The special keys :address (default: same as JNDI name)
70
70
  # and :subject (optional address/subject) are also supported when
71
71
  # serializing. (Default: empty)
@@ -100,7 +100,7 @@ module RJack::QpidClient
100
100
  end
101
101
 
102
102
  # Creates a new
103
- # {javax.jms.Connection}[http://download.oracle.com/javaee/5/api/javax/jms/Connection.html]
103
+ # {javax.jms.Connection}[http://download.oracle.com/javaee/6/api/javax/jms/Connection.html]
104
104
  # from the connection_factory. Caller should close this connection when done with it.
105
105
  #
106
106
  # Throws javax.jms.JMSException, javax.naming.NamingException
@@ -111,7 +111,7 @@ module RJack::QpidClient
111
111
  end
112
112
 
113
113
  # Create a
114
- # {javax.jms.Session}[http://download.oracle.com/javaee/5/api/javax/jms/Session.html]
114
+ # {javax.jms.Session}[http://download.oracle.com/javaee/6/api/javax/jms/Session.html]
115
115
  # from the connection previously obtained via create_connection.
116
116
  #
117
117
  # Throws javax.jms.JMSException
@@ -122,7 +122,7 @@ module RJack::QpidClient
122
122
  end
123
123
 
124
124
  # Lookup (and thus create) a
125
- # {javax.jms.Destination}[http://download.oracle.com/javaee/5/api/javax/jms/Destination.html]
125
+ # {javax.jms.Destination}[http://download.oracle.com/javaee/6/api/javax/jms/Destination.html]
126
126
  # by JNDI name as key into destination. The name and full address
127
127
  # specification is logged at this point.
128
128
  #
@@ -163,7 +163,7 @@ module RJack::QpidClient
163
163
  end
164
164
 
165
165
  # Serialize destination
166
- # {Addresses}[http://qpid.apache.org/books/0.8/Programming-In-Apache-Qpid/html/ch02s04.html]
166
+ # {Addresses}[http://qpid.apache.org/books/0.14/Programming-In-Apache-Qpid/html/ch02s04.html]
167
167
  # (new format). Reference: section 2.4.3.5
168
168
  def address_serialize( name, opts = nil )
169
169
  opts = opts.dup
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011 David Kellum
2
+ # Copyright (c) 2011-2012 David Kellum
3
3
  #
4
4
  # Licensed under the Apache License, Version 2.0 (the "License"); you
5
5
  # may not use this file except in compliance with the License. You
@@ -14,14 +14,9 @@
14
14
  # permissions and limitations under the License.
15
15
  #++
16
16
 
17
- require 'rjack-qpid-client/base'
18
-
19
17
  require 'rjack-jms'
20
- require 'rjack-mina'
21
-
22
18
  require 'rjack-slf4j'
23
- require 'rjack-slf4j/jcl-over-slf4j'
24
-
19
+ require 'rjack-qpid-client/base'
25
20
  require 'rjack-qpid-client/qpid_jms_context'
26
21
 
27
22
  # QpidClient module
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.12</version>
18
+ <version>0.14</version>
19
19
  </dependency>
20
20
  </dependencies>
21
21
 
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env jruby
2
2
  #.hashdot.profile += jruby-shortlived
3
+
3
4
  #--
4
- # Copyright (c) 2011 David Kellum
5
+ # Copyright (c) 2011-2012 David Kellum
5
6
  #
6
7
  # Licensed under the Apache License, Version 2.0 (the "License"); you
7
8
  # may not use this file except in compliance with the License. You
@@ -16,19 +17,22 @@
16
17
  # permissions and limitations under the License.
17
18
  #++
18
19
 
19
- $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
20
-
21
- require 'java'
22
20
  require 'rubygems'
21
+ require 'bundler/setup'
23
22
 
24
- require 'rjack-qpid-client'
25
23
  require 'rjack-logback'
26
24
 
27
25
  RJack::Logback.config_console( :stderr => true )
26
+ if ARGV.include?( '-v' ) || ARGV.include?( '--verbose' )
27
+ RJack::Logback.root.level = RJack::Logback::DEBUG
28
+ end
29
+
30
+ require 'minitest/unit'
31
+ require 'minitest/autorun'
28
32
 
29
- require 'test/unit'
33
+ require 'rjack-qpid-client'
30
34
 
31
- class TestQpidClient < Test::Unit::TestCase
35
+ class TestQpidClient < MiniTest::Unit::TestCase
32
36
  include RJack::QpidClient
33
37
 
34
38
  import 'org.apache.qpid.jms.Session'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rjack-qpid-client
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.12.0
5
+ version: 0.14.0
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,12 +10,11 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-30 00:00:00 Z
13
+ date: 2012-02-13 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rjack-jms
17
- prerelease: false
18
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ version_requirements: &id001 !ruby/object:Gem::Requirement
19
18
  none: false
20
19
  requirements:
21
20
  - - ">="
@@ -24,23 +23,12 @@ dependencies:
24
23
  - - <
25
24
  - !ruby/object:Gem::Version
26
25
  version: "1.2"
27
- type: :runtime
28
- version_requirements: *id001
29
- - !ruby/object:Gem::Dependency
30
- name: rjack-mina
26
+ requirement: *id001
31
27
  prerelease: false
32
- requirement: &id002 !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ~>
36
- - !ruby/object:Gem::Version
37
- version: 1.0.10
38
28
  type: :runtime
39
- version_requirements: *id002
40
29
  - !ruby/object:Gem::Dependency
41
30
  name: rjack-slf4j
42
- prerelease: false
43
- requirement: &id003 !ruby/object:Gem::Requirement
31
+ version_requirements: &id002 !ruby/object:Gem::Requirement
44
32
  none: false
45
33
  requirements:
46
34
  - - ">="
@@ -49,12 +37,12 @@ dependencies:
49
37
  - - <
50
38
  - !ruby/object:Gem::Version
51
39
  version: "1.7"
40
+ requirement: *id002
41
+ prerelease: false
52
42
  type: :runtime
53
- version_requirements: *id003
54
43
  - !ruby/object:Gem::Dependency
55
44
  name: rjack-logback
56
- prerelease: false
57
- requirement: &id004 !ruby/object:Gem::Requirement
45
+ version_requirements: &id003 !ruby/object:Gem::Requirement
58
46
  none: false
59
47
  requirements:
60
48
  - - ">="
@@ -63,20 +51,32 @@ dependencies:
63
51
  - - <
64
52
  - !ruby/object:Gem::Version
65
53
  version: "2.0"
54
+ requirement: *id003
55
+ prerelease: false
66
56
  type: :development
67
- version_requirements: *id004
68
57
  - !ruby/object:Gem::Dependency
69
- name: rjack-tarpit
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
70
66
  prerelease: false
71
- requirement: &id005 !ruby/object:Gem::Requirement
67
+ type: :development
68
+ - !ruby/object:Gem::Dependency
69
+ name: rjack-tarpit
70
+ version_requirements: &id005 !ruby/object:Gem::Requirement
72
71
  none: false
73
72
  requirements:
74
73
  - - ~>
75
74
  - !ruby/object:Gem::Version
76
- version: 1.3.3
75
+ version: "2.0"
76
+ requirement: *id005
77
+ prerelease: false
77
78
  type: :development
78
- version_requirements: *id005
79
- description: A gem packaging of the {Qpid}[http://qpid.apache.org/] AMQP Java Client.
79
+ description:
80
80
  email:
81
81
  - dek-oss@gravitext.com
82
82
  executables: []
@@ -84,8 +84,6 @@ executables: []
84
84
  extensions: []
85
85
 
86
86
  extra_rdoc_files:
87
- - Manifest.txt
88
- - NOTICE.txt
89
87
  - History.rdoc
90
88
  - README.rdoc
91
89
  files:
@@ -100,8 +98,8 @@ files:
100
98
  - lib/rjack-qpid-client.rb
101
99
  - lib/rjack-qpid-client/qpid_jms_context.rb
102
100
  - test/test_qpid_client.rb
103
- - lib/rjack-qpid-client/qpid-client-0.12.jar
104
- - lib/rjack-qpid-client/qpid-common-0.12.jar
101
+ - lib/rjack-qpid-client/qpid-client-0.14.jar
102
+ - lib/rjack-qpid-client/qpid-common-0.14.jar
105
103
  homepage: http://rjack.rubyforge.org/qpid-client
106
104
  licenses: []
107
105
 
@@ -116,19 +114,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
114
  requirements:
117
115
  - - ">="
118
116
  - !ruby/object:Gem::Version
117
+ hash: 2
118
+ segments:
119
+ - 0
119
120
  version: "0"
120
121
  required_rubygems_version: !ruby/object:Gem::Requirement
121
122
  none: false
122
123
  requirements:
123
124
  - - ">="
124
125
  - !ruby/object:Gem::Version
126
+ hash: 2
127
+ segments:
128
+ - 0
125
129
  version: "0"
126
130
  requirements: []
127
131
 
128
- rubyforge_project: rjack-qpid-client
129
- rubygems_version: 1.8.9
132
+ rubyforge_project:
133
+ rubygems_version: 1.8.15
130
134
  signing_key:
131
135
  specification_version: 3
132
- summary: A gem packaging of the {Qpid}[http://qpid.apache.org/] AMQP Java Client.
133
- test_files:
134
- - test/test_qpid_client.rb
136
+ summary: A gem packaging of the Qpid AMQP Java Client.
137
+ test_files: []
138
+