rjack-netty 3.2.8.0-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,2 @@
1
+ === 3.2.8.0 (2013-1-3)
2
+ * Initial release based on (org.jboss) Netty 3.2.8
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-netty/base.rb
9
+ lib/rjack-netty.rb
10
+ test/test_netty.rb
11
+ lib/rjack-netty/netty-3.2.8.Final.jar
data/NOTICE.txt ADDED
@@ -0,0 +1,81 @@
1
+ rjack-netty gem
2
+ Copyright (c) 2013 David Kellum
3
+
4
+ This product includes software developed by:
5
+
6
+ Netty
7
+ Copyright (c) 2009 Red Hat, Inc.
8
+ http://www.jboss.org/netty/
9
+
10
+ This product contains the extensions to Java Collections Framework which has
11
+ been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
12
+
13
+ * LICENSE:
14
+ * license/LICENSE.jsr166y.txt (Public Domain)
15
+ * HOMEPAGE:
16
+ * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
17
+ * http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
18
+
19
+ This product contains a modified version of Robert Harder's Public Domain
20
+ Base64 Encoder and Decoder, which can be obtained at:
21
+
22
+ * LICENSE:
23
+ * license/LICENSE.base64.txt (Public Domain)
24
+ * HOMEPAGE:
25
+ * http://iharder.sourceforge.net/current/java/base64/
26
+
27
+ This product contains a modified version of 'JZlib', a re-implementation of
28
+ zlib in pure Java, which can be obtained at:
29
+
30
+ * LICENSE:
31
+ * license/LICENSE.jzlib.txt (BSD Style License)
32
+ * HOMEPAGE:
33
+ * http://www.jcraft.com/jzlib/
34
+
35
+ This product optionally depends on 'Protocol Buffers', Google's data
36
+ interchange format, which can be obtained at:
37
+
38
+ * LICENSE:
39
+ * license/LICENSE.protobuf.txt (New BSD License)
40
+ * HOMEPAGE:
41
+ * http://code.google.com/p/protobuf/
42
+
43
+ This product optionally depends on 'SLF4J', a simple logging facade for Java,
44
+ which can be obtained at:
45
+
46
+ * LICENSE:
47
+ * license/LICENSE.slf4j.txt (MIT License)
48
+ * HOMEPAGE:
49
+ * http://www.slf4j.org/
50
+
51
+ This product optionally depends on 'Apache Commons Logging', a logging
52
+ framework, which can be obtained at:
53
+
54
+ * LICENSE:
55
+ * license/LICENSE.commons-logging.txt (Apache License 2.0)
56
+ * HOMEPAGE:
57
+ * http://commons.apache.org/logging/
58
+
59
+ This product optionally depends on 'Apache Log4J', a logging framework,
60
+ which can be obtained at:
61
+
62
+ * LICENSE:
63
+ * license/LICENSE.log4j.txt (Apache License 2.0)
64
+ * HOMEPAGE:
65
+ * http://logging.apache.org/log4j/
66
+
67
+ This product optionally depends on 'JBoss Logging', a logging framework,
68
+ which can be obtained at:
69
+
70
+ * LICENSE:
71
+ * license/LICENSE.jboss-logging.txt (GNU LGPL 2.1)
72
+ * HOMEPAGE:
73
+ * http://anonsvn.jboss.org/repos/common/common-logging-spi/
74
+
75
+ This product optionally depends on 'Apache Felix', an open source OSGi
76
+ framework implementation, which can be obtained at:
77
+
78
+ * LICENSE:
79
+ * license/LICENSE.felix.txt (Apache License 2.0)
80
+ * HOMEPAGE:
81
+ * http://felix.apache.org/
data/README.rdoc ADDED
@@ -0,0 +1,43 @@
1
+ = rjack-netty
2
+
3
+ * http://rjack.rubyforge.org/netty
4
+ * http://rjack.rubyforge.org
5
+ * https://github.com/dekellum/rjack
6
+
7
+ == Description
8
+
9
+ A gem packaging of {Netty}[https://netty.io/].
10
+
11
+ == License
12
+
13
+ === rjack-netty gem
14
+
15
+ Copyright (c) 2013 David Kellum
16
+
17
+ Licensed under the Apache License, Version 2.0 (the "License"); you
18
+ may not use this file except in compliance with the License. You
19
+ may obtain a copy of the License at:
20
+
21
+ http://www.apache.org/licenses/LICENSE-2.0
22
+
23
+ Unless required by applicable law or agreed to in writing, software
24
+ distributed under the License is distributed on an "AS IS" BASIS,
25
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
26
+ implied. See the License for the specific language governing
27
+ permissions and limitations under the License.
28
+
29
+ === Netty (java)
30
+
31
+ Copyright (c) 2009 Red Hat, Inc.
32
+
33
+ Licensed under the Apache License, Version 2.0 (the "License"); you
34
+ may not use this file except in compliance with the License. You
35
+ may obtain a copy of the License at:
36
+
37
+ http://www.apache.org/licenses/LICENSE-2.0
38
+
39
+ Unless required by applicable law or agreed to in writing, software
40
+ distributed under the License is distributed on an "AS IS" BASIS,
41
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
42
+ implied. See the License for the specific language governing
43
+ permissions and limitations under the License.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'rubygems'
4
+ require 'bundler/setup'
5
+ require 'rjack-tarpit'
6
+
7
+ RJack::TarPit.new( 'rjack-netty' ) do |tp|
8
+
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/netty'
11
+
12
+ end
data/assembly.xml ADDED
@@ -0,0 +1,15 @@
1
+ <assembly>
2
+ <id>bin</id>
3
+ <formats>
4
+ <format>dir</format>
5
+ </formats>
6
+ <includeBaseDirectory>false</includeBaseDirectory>
7
+ <dependencySets>
8
+ <dependencySet>
9
+ <useProjectArtifact>false</useProjectArtifact>
10
+ <includes>
11
+ <include>org.jboss.netty:netty</include>
12
+ </includes>
13
+ </dependencySet>
14
+ </dependencySets>
15
+ </assembly>
@@ -0,0 +1,31 @@
1
+ #--
2
+ # Copyright (c) 2013 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 Netty
19
+
20
+ # Netty (java) version, numeric component
21
+ NETTY_N_VERSION = '3.2.8'
22
+
23
+ # Netty (java) version
24
+ NETTY_VERSION = NETTY_N_VERSION + '.Final'
25
+
26
+ # rjack gem version
27
+ VERSION = NETTY_N_VERSION + '.0'
28
+
29
+ LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
30
+ end
31
+ end
@@ -0,0 +1,27 @@
1
+ #--
2
+ # Copyright (c) 2013 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-netty/base'
18
+
19
+ require 'java'
20
+
21
+ # Netty module
22
+ #
23
+ module RJack
24
+ module Netty
25
+ require "#{LIB_DIR}/netty-#{NETTY_VERSION}.jar"
26
+ end
27
+ end
data/pom.xml ADDED
@@ -0,0 +1,47 @@
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-netty</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+ <name>Netty for Gem</name>
9
+
10
+ <properties>
11
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
12
+ </properties>
13
+
14
+ <dependencies>
15
+ <dependency>
16
+ <groupId>org.jboss.netty</groupId>
17
+ <artifactId>netty</artifactId>
18
+ <version>3.2.8.Final</version>
19
+ </dependency>
20
+ </dependencies>
21
+
22
+ <build>
23
+ <plugins>
24
+ <plugin>
25
+ <artifactId>maven-assembly-plugin</artifactId>
26
+ <version>2.2.1</version>
27
+ <configuration>
28
+ <attach>false</attach>
29
+ <ignoreDirFormatExtensions>false</ignoreDirFormatExtensions>
30
+ <descriptors>
31
+ <descriptor>assembly.xml</descriptor>
32
+ </descriptors>
33
+ </configuration>
34
+ <executions>
35
+ <execution>
36
+ <id>assembly</id>
37
+ <phase>package</phase>
38
+ <goals>
39
+ <goal>single</goal>
40
+ </goals>
41
+ </execution>
42
+ </executions>
43
+ </plugin>
44
+ </plugins>
45
+ </build>
46
+
47
+ </project>
@@ -0,0 +1,34 @@
1
+ #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
4
+ #--
5
+ # Copyright (c) 2013 David Kellum
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License"); you
8
+ # may not use this file except in compliance with the License. You
9
+ # may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
16
+ # implied. See the License for the specific language governing
17
+ # permissions and limitations under the License.
18
+ #++
19
+
20
+ require 'rubygems'
21
+ require 'bundler/setup'
22
+
23
+ require 'minitest/unit'
24
+ require 'minitest/autorun'
25
+
26
+ require 'rjack-netty'
27
+
28
+ class TestNetty < MiniTest::Unit::TestCase
29
+ java_import 'org.jboss.netty.buffer.ChannelBuffer'
30
+
31
+ def test_load
32
+ assert( ChannelBuffer )
33
+ end
34
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-netty
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 3.2.8.0
6
+ platform: java
7
+ authors:
8
+ - David Kellum
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: minitest
16
+ version_requirements: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: '2.2'
21
+ none: false
22
+ requirement: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '2.2'
27
+ none: false
28
+ prerelease: false
29
+ type: :development
30
+ - !ruby/object:Gem::Dependency
31
+ name: rjack-tarpit
32
+ version_requirements: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ~>
35
+ - !ruby/object:Gem::Version
36
+ version: '2.0'
37
+ none: false
38
+ requirement: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ~>
41
+ - !ruby/object:Gem::Version
42
+ version: '2.0'
43
+ none: false
44
+ prerelease: false
45
+ type: :development
46
+ description:
47
+ email:
48
+ - dek-oss@gravitext.com
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files:
52
+ - History.rdoc
53
+ - README.rdoc
54
+ files:
55
+ - History.rdoc
56
+ - Manifest.txt
57
+ - NOTICE.txt
58
+ - README.rdoc
59
+ - Rakefile
60
+ - assembly.xml
61
+ - pom.xml
62
+ - lib/rjack-netty/base.rb
63
+ - lib/rjack-netty.rb
64
+ - test/test_netty.rb
65
+ - lib/rjack-netty/netty-3.2.8.Final.jar
66
+ homepage: http://rjack.rubyforge.org/netty
67
+ licenses: []
68
+ post_install_message:
69
+ rdoc_options:
70
+ - --main
71
+ - README.rdoc
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ segments:
80
+ - 0
81
+ hash: 2
82
+ none: false
83
+ required_rubygems_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ segments:
89
+ - 0
90
+ hash: 2
91
+ none: false
92
+ requirements: []
93
+ rubyforge_project:
94
+ rubygems_version: 1.8.24
95
+ signing_key:
96
+ specification_version: 3
97
+ summary: A gem packaging of Netty.
98
+ test_files: []
99
+ ...