rjack-rome 1.0.2-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.rdoc ADDED
@@ -0,0 +1,9 @@
1
+ === 1.0.2 (2010-9-1)
2
+ * Remove require 'rubygems' from lib.
3
+
4
+ === 1.0.1 (2010-3-6)
5
+ * Set gem platform to java
6
+ * Upgraded to tarpit ~> 1.2.0
7
+
8
+ === 1.0.0 (2009-10-24)
9
+ * Initial release based on ROME 1.0
data/Manifest.txt ADDED
@@ -0,0 +1,11 @@
1
+ History.rdoc
2
+ Manifest.txt
3
+ NOTICE.txt
4
+ README.rdoc
5
+ Rakefile
6
+ assembly.xml
7
+ pom.xml
8
+ lib/rjack-rome/base.rb
9
+ lib/rjack-rome.rb
10
+ test/test_rome.rb
11
+ lib/rjack-rome/rome-1.0.jar
data/NOTICE.txt ADDED
@@ -0,0 +1,7 @@
1
+ rjack-rome gem
2
+ Copyright (c) 2009-2010 David Kellum
3
+
4
+ This product includes software developed by:
5
+
6
+ ROME (java)
7
+ Copyright (c) 2004 Sun Microsystems, Inc.
data/README.rdoc ADDED
@@ -0,0 +1,42 @@
1
+ = rjack-rome
2
+
3
+ * http://rjack.rubyforge.org
4
+ * http://rubyforge.org/projects/rjack
5
+
6
+ == Description
7
+
8
+ A gem packaging of ROME[https://rome.dev.java.net/].
9
+
10
+ == License
11
+
12
+ === rjack-rome gem
13
+
14
+ Copyright (c) 2009-2010 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.
27
+
28
+ === ROME (java)
29
+
30
+ Copyright (c) 2004 Sun Microsystems, Inc.
31
+
32
+ Licensed under the Apache License, Version 2.0 (the "License");
33
+ you may not use this file except in compliance with the License.
34
+ You may obtain a copy of the License at
35
+
36
+ http://www.apache.org/licenses/LICENSE-2.0
37
+
38
+ Unless required by applicable law or agreed to in writing, software
39
+ distributed under the License is distributed on an "AS IS" BASIS,
40
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41
+ See the License for the specific language governing permissions and
42
+ limitations under the License.
data/Rakefile ADDED
@@ -0,0 +1,42 @@
1
+ # -*- ruby -*-
2
+
3
+ $LOAD_PATH << './lib'
4
+ require 'rjack-rome/base'
5
+
6
+ require 'rubygems'
7
+ gem 'rjack-tarpit', '~> 1.2.0'
8
+ require 'rjack-tarpit'
9
+
10
+ include RJack
11
+
12
+ t = TarPit.new( 'rjack-rome', ROME::VERSION, :java_platform )
13
+
14
+ t.specify do |h|
15
+ h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
+ h.extra_deps << [ 'rjack-jdom', '~> 1.1.0' ]
17
+ h.rubyforge_name = "rjack"
18
+ h.remote_rdoc_dir = "rome"
19
+ end
20
+
21
+ t.jars = [ "rome-#{ ROME::ROME_VERSION }.jar" ]
22
+
23
+ t.assembly_version = 1.0
24
+
25
+ file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
26
+
27
+ task :check_pom_deps do
28
+ t.test_line_match( 'pom.xml',
29
+ %r[<version>#{ ROME::ROME_VERSION }</version>] )
30
+ end
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/assembly.xml ADDED
@@ -0,0 +1,16 @@
1
+ <assembly>
2
+ <id>bin</id>
3
+ <formats>
4
+ <format>dir</format>
5
+ </formats>
6
+ <includeBaseDirectory>false</includeBaseDirectory>
7
+ <dependencySets>
8
+ <dependencySet>
9
+ <includes>
10
+
11
+ <include>rome:rome</include>
12
+
13
+ </includes>
14
+ </dependencySet>
15
+ </dependencySets>
16
+ </assembly>
data/lib/rjack-rome.rb ADDED
@@ -0,0 +1,25 @@
1
+ #--
2
+ # Copyright (c) 2009-2010 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-rome/base'
18
+ require 'rjack-jdom'
19
+
20
+ # ROME wrapper module
21
+ module RJack
22
+ module ROME
23
+ require "#{ROME_DIR}/rome-#{ROME_VERSION}.jar"
24
+ end
25
+ end
@@ -0,0 +1,28 @@
1
+ #--
2
+ # Copyright (c) 2009-2010 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 ROME
19
+
20
+ # ROME (java) version
21
+ ROME_VERSION = '1.0'
22
+
23
+ # rjack gem version
24
+ VERSION = ROME_VERSION + '.2'
25
+
26
+ ROME_DIR = File.dirname( __FILE__ ) # :nodoc:
27
+ end
28
+ end
Binary file
data/pom.xml ADDED
@@ -0,0 +1,51 @@
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-rome</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+
9
+ <repositories>
10
+ <repository>
11
+ <id>maven2-repository.dev.java.net</id>
12
+ <name>Java.net Repository for Maven</name>
13
+ <url>http://download.java.net/maven/2/</url>
14
+ <layout>default</layout>
15
+ </repository>
16
+ </repositories>
17
+
18
+ <dependencies>
19
+
20
+ <dependency>
21
+ <groupId>rome</groupId>
22
+ <artifactId>rome</artifactId>
23
+ <version>1.0</version>
24
+ </dependency>
25
+
26
+ </dependencies>
27
+
28
+ <build>
29
+ <plugins>
30
+ <plugin>
31
+ <artifactId>maven-assembly-plugin</artifactId>
32
+ <configuration>
33
+ <descriptors>
34
+ <descriptor>assembly.xml</descriptor>
35
+ </descriptors>
36
+ <tarLongFileMode>gnu</tarLongFileMode>
37
+ </configuration>
38
+ <executions>
39
+ <execution>
40
+ <id>assembly</id>
41
+ <phase>package</phase>
42
+ <goals>
43
+ <goal>attached</goal>
44
+ </goals>
45
+ </execution>
46
+ </executions>
47
+ </plugin>
48
+ </plugins>
49
+ </build>
50
+
51
+ </project>
data/test/test_rome.rb ADDED
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+ #--
4
+ # Copyright (c) 2009-2010 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
+ require 'rjack-rome'
24
+
25
+ require 'test/unit'
26
+
27
+ include RJack
28
+
29
+ class TestRome < Test::Unit::TestCase
30
+ import 'com.sun.syndication.feed.synd.SyndFeedImpl'
31
+ def test_me
32
+ assert( true ) #FIXME: Just asserting that the load works for now
33
+ end
34
+ end
metadata ADDED
@@ -0,0 +1,104 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-rome
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 0
8
+ - 2
9
+ version: 1.0.2
10
+ platform: java
11
+ authors:
12
+ - David Kellum
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+
17
+ date: 2010-09-01 00:00:00 -07:00
18
+ default_executable:
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: rjack-jdom
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
+ - 0
31
+ version: 1.1.0
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
+ - 2
44
+ - 2
45
+ version: 1.2.2
46
+ type: :development
47
+ version_requirements: *id002
48
+ description: A gem packaging of ROME[https://rome.dev.java.net/].
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
+ - assembly.xml
67
+ - pom.xml
68
+ - lib/rjack-rome/base.rb
69
+ - lib/rjack-rome.rb
70
+ - test/test_rome.rb
71
+ - lib/rjack-rome/rome-1.0.jar
72
+ has_rdoc: true
73
+ homepage: http://rjack.rubyforge.org
74
+ licenses: []
75
+
76
+ post_install_message:
77
+ rdoc_options:
78
+ - --main
79
+ - README.rdoc
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ segments:
87
+ - 0
88
+ version: "0"
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ segments:
94
+ - 0
95
+ version: "0"
96
+ requirements: []
97
+
98
+ rubyforge_project: rjack
99
+ rubygems_version: 1.3.6
100
+ signing_key:
101
+ specification_version: 3
102
+ summary: A gem packaging of ROME[https://rome.dev.java.net/].
103
+ test_files:
104
+ - test/test_rome.rb