rjack-jms 1.0.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc ADDED
@@ -0,0 +1,2 @@
1
+ === 1.0.0 (2011-2-5)
2
+ * Initial release.
data/Manifest.txt ADDED
@@ -0,0 +1,10 @@
1
+ History.rdoc
2
+ Manifest.txt
3
+ NOTICE.txt
4
+ README.rdoc
5
+ Rakefile
6
+ pom.xml
7
+ lib/rjack-jms/base.rb
8
+ lib/rjack-jms.rb
9
+ test/test_jms.rb
10
+ lib/rjack-jms/rjack-jms-1.0.0.jar
data/NOTICE.txt ADDED
@@ -0,0 +1,2 @@
1
+ rjack-jms gem
2
+ Copyright (c) 2011 David Kellum
data/README.rdoc ADDED
@@ -0,0 +1,26 @@
1
+ = rjack-jms
2
+
3
+ * http://rjack.rubyforge.org
4
+ * http://rubyforge.org/projects/rjack
5
+
6
+ == Description
7
+
8
+ Java Messaging Service utilities, with gem packaging.
9
+
10
+ == License
11
+
12
+ === rjack-jms
13
+
14
+ Copyright (c) 2011 David Kellum
15
+
16
+ Licensed under the Apache License, Version 2.0 (the "License"); you
17
+ may not use this file except in compliance with the License. You
18
+ may obtain a copy of the License at:
19
+
20
+ http://www.apache.org/licenses/LICENSE-2.0
21
+
22
+ Unless required by applicable law or agreed to in writing, software
23
+ distributed under the License is distributed on an "AS IS" BASIS,
24
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
25
+ implied. See the License for the specific language governing
26
+ permissions and limitations under the License.
data/Rakefile ADDED
@@ -0,0 +1,42 @@
1
+ # -*- ruby -*-
2
+
3
+ $LOAD_PATH << './lib'
4
+ require 'rjack-jms/base'
5
+
6
+ require 'rubygems'
7
+ gem 'rjack-tarpit', '~> 1.3.0'
8
+ require 'rjack-tarpit'
9
+
10
+ include RJack
11
+
12
+ t = TarPit.new( 'rjack-jms', JMS::VERSION,
13
+ :no_assembly, :java_platform )
14
+
15
+ t.specify do |h|
16
+ h.developer( "David Kellum", "dek-oss@gravitext.com" )
17
+
18
+ h.extra_deps += [ [ 'rjack-jms-spec', '~> 1.1.1' ] ]
19
+
20
+ h.rubyforge_name = "rjack"
21
+ h.remote_rdoc_dir = "jms"
22
+ end
23
+
24
+ file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
25
+
26
+ task :check_pom_deps do
27
+ t.test_line_match( 'pom.xml',
28
+ %r[<version>#{ JMS::VERSION }</version>] )
29
+ end
30
+
31
+ task :check_history_version do
32
+ t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
33
+ end
34
+ task :check_history_date do
35
+ t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
36
+ end
37
+
38
+ task :gem => [ :check_pom_deps, :check_history_version ]
39
+ task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
40
+ task :push => [ :check_history_date ]
41
+
42
+ t.define_tasks
data/lib/rjack-jms.rb ADDED
@@ -0,0 +1,28 @@
1
+ #--
2
+ # Copyright (c) 2011 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ require 'rjack-jms/base'
18
+
19
+ require 'rjack-jms-spec'
20
+
21
+ module RJack
22
+ module JMS
23
+ require "rjack-jms/rjack-jms-#{VERSION}.jar"
24
+
25
+ import 'rjack.jms.JMSContext'
26
+
27
+ end
28
+ end
@@ -0,0 +1,21 @@
1
+ #--
2
+ # Copyright (c) 2011 David Kellum
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
5
+ # may not use this file except in compliance with the License. You
6
+ # may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
13
+ # implied. See the License for the specific language governing
14
+ # permissions and limitations under the License.
15
+ #++
16
+
17
+ module RJack
18
+ module JMS
19
+ VERSION = '1.0.0'
20
+ end
21
+ end
Binary file
data/pom.xml ADDED
@@ -0,0 +1,83 @@
1
+ <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2
+
3
+ <modelVersion>4.0.0</modelVersion>
4
+ <groupId>rjack</groupId>
5
+ <artifactId>rjack-jms</artifactId>
6
+ <packaging>jar</packaging>
7
+ <version>1.0.0</version>
8
+ <name>Java Message Service Utilizes</name>
9
+
10
+ <developers>
11
+ <developer>
12
+ <id>david</id>
13
+ <name>David Kellum</name>
14
+ <email>dek-oss@[org]</email>
15
+ <organization>Gravitext</organization>
16
+ <organizationUrl>http://gravitext.com</organizationUrl>
17
+ </developer>
18
+ </developers>
19
+
20
+ <licenses>
21
+ <license>
22
+ <name>Apache License, Version 2.0</name>
23
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
24
+ <distribution>repo</distribution>
25
+ </license>
26
+ </licenses>
27
+
28
+ <distributionManagement>
29
+ <repository>
30
+ <id>gravitext-release</id>
31
+ <name>Gravitext Repo</name>
32
+ <url>file:///home/david/src/oss/releases</url>
33
+ <layout>default</layout>
34
+ <uniqueVersion>false</uniqueVersion>
35
+ </repository>
36
+ <site>
37
+ <id>rjack-site</id>
38
+ <url>file:///home/david/src/oss/site/rjack-jms</url>
39
+ </site>
40
+ <downloadUrl>http://gravitext.com/repo/releases/rjack-jms</downloadUrl>
41
+ </distributionManagement>
42
+
43
+ <dependencies>
44
+
45
+ <dependency>
46
+ <groupId>org.apache.geronimo.specs</groupId>
47
+ <artifactId>geronimo-jms_1.1_spec</artifactId>
48
+ <version>[1.1.1,1.2)</version>
49
+ </dependency>
50
+
51
+ </dependencies>
52
+
53
+ <build>
54
+ <plugins>
55
+
56
+ <plugin>
57
+ <artifactId>maven-compiler-plugin</artifactId>
58
+ <configuration>
59
+ <source>1.5</source>
60
+ <target>1.5</target>
61
+ <optimize>true</optimize>
62
+ <debug>true</debug>
63
+ <encoding>UTF-8</encoding>
64
+ <showDeprecation>true</showDeprecation>
65
+ <showWarnings>true</showWarnings>
66
+ </configuration>
67
+ </plugin>
68
+
69
+ <plugin>
70
+ <artifactId>maven-source-plugin</artifactId>
71
+ <executions>
72
+ <execution>
73
+ <goals>
74
+ <goal>jar</goal>
75
+ </goals>
76
+ </execution>
77
+ </executions>
78
+ </plugin>
79
+
80
+ </plugins>
81
+ </build>
82
+
83
+ </project>
data/test/test_jms.rb ADDED
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+ #--
4
+ # Copyright (c) 2011 David Kellum
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
7
+ # may not use this file except in compliance with the License. You
8
+ # may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15
+ # implied. See the License for the specific language governing
16
+ # permissions and limitations under the License.
17
+ #++
18
+
19
+ $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
20
+
21
+ require 'java'
22
+ require 'rubygems'
23
+
24
+ require 'rjack-jms'
25
+
26
+ require 'test/unit'
27
+
28
+ class TestJMS < Test::Unit::TestCase
29
+
30
+ def test_load
31
+ assert( true ) #FIXME: Just asserting that the load works for now
32
+ end
33
+ end
metadata ADDED
@@ -0,0 +1,103 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-jms
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 0
9
+ version: 1.0.0
10
+ platform: java
11
+ authors:
12
+ - David Kellum
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2011-02-05 00:00:00 -08:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rjack-jms-spec
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 1
30
+ - 1
31
+ version: 1.1.1
32
+ type: :runtime
33
+ version_requirements: *id001
34
+ - !ruby/object:Gem::Dependency
35
+ name: rjack-tarpit
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 3
44
+ - 0
45
+ version: 1.3.0
46
+ type: :development
47
+ version_requirements: *id002
48
+ description: Java Messaging Service utilities, with gem packaging.
49
+ email:
50
+ - dek-oss@gravitext.com
51
+ executables: []
52
+
53
+ extensions: []
54
+
55
+ extra_rdoc_files:
56
+ - Manifest.txt
57
+ - NOTICE.txt
58
+ - History.rdoc
59
+ - README.rdoc
60
+ files:
61
+ - History.rdoc
62
+ - Manifest.txt
63
+ - NOTICE.txt
64
+ - README.rdoc
65
+ - Rakefile
66
+ - pom.xml
67
+ - lib/rjack-jms/base.rb
68
+ - lib/rjack-jms.rb
69
+ - test/test_jms.rb
70
+ - lib/rjack-jms/rjack-jms-1.0.0.jar
71
+ has_rdoc: true
72
+ homepage: http://rjack.rubyforge.org
73
+ licenses: []
74
+
75
+ post_install_message:
76
+ rdoc_options:
77
+ - --main
78
+ - README.rdoc
79
+ require_paths:
80
+ - lib
81
+ required_ruby_version: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ segments:
86
+ - 0
87
+ version: "0"
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ segments:
93
+ - 0
94
+ version: "0"
95
+ requirements: []
96
+
97
+ rubyforge_project: rjack
98
+ rubygems_version: 1.3.6
99
+ signing_key:
100
+ specification_version: 3
101
+ summary: Java Messaging Service utilities, with gem packaging.
102
+ test_files:
103
+ - test/test_jms.rb