rjack-protobuf 2.3.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
+ === 2.3.0.0 (2010-9-9)
2
+ * Initial release based on protobuf-java 2.3.0
data/Manifest.txt ADDED
@@ -0,0 +1,9 @@
1
+ History.rdoc
2
+ Manifest.txt
3
+ README.rdoc
4
+ Rakefile
5
+ assembly.xml
6
+ pom.xml
7
+ lib/rjack-protobuf/base.rb
8
+ lib/rjack-protobuf.rb
9
+ lib/rjack-protobuf/protobuf-java-2.3.0.jar
data/README.rdoc ADDED
@@ -0,0 +1,75 @@
1
+ = rjack-protobuf
2
+
3
+ * http://rjack.rubyforge.org
4
+ * http://rubyforge.org/projects/rjack
5
+
6
+ == Description
7
+
8
+ A gem packaging of {Protocol Buffers}[http://code.google.com/p/protobuf/]
9
+
10
+ == License
11
+
12
+ === rjack-protobuf
13
+
14
+ Copyright (c) 2010 David Kellum
15
+ All rights reserved.
16
+
17
+ Redistribution and use in source and binary forms, with or without
18
+ modification, are permitted provided that the following conditions are
19
+ met:
20
+
21
+ * Redistributions of source code must retain the above copyright
22
+ notice, this list of conditions and the following disclaimer.
23
+ * Redistributions in binary form must reproduce the above copyright
24
+ notice, this list of conditions and the following disclaimer in the
25
+ documentation and/or other materials provided with the distribution.
26
+ * Neither the name of RJack nor the names of its contributors may be
27
+ used to endorse or promote products derived from this software
28
+ without specific prior written permission.
29
+
30
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
31
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
32
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
33
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
34
+ HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
35
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
36
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
37
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
38
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
39
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
40
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41
+
42
+ === Protocol Buffers (java)
43
+
44
+ Copyright (c) 2008, Google Inc.
45
+ All rights reserved.
46
+
47
+ Redistribution and use in source and binary forms, with or without
48
+ modification, are permitted provided that the following conditions are
49
+ met:
50
+
51
+ * Redistributions of source code must retain the above copyright
52
+ notice, this list of conditions and the following disclaimer.
53
+ * Redistributions in binary form must reproduce the above copyright
54
+ notice, this list of conditions and the following disclaimer in the
55
+ documentation and/or other materials provided with the distribution.
56
+ * Neither the name of Google Inc. nor the names of its contributors
57
+ may be used to endorse or promote products derived from this
58
+ software without specific prior written permission.
59
+
60
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
61
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
62
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
63
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
64
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
65
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
66
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
67
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
68
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
69
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
70
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
71
+
72
+ Code generated by the Protocol Buffer compiler is owned by the owner
73
+ of the input file used when generating it. This code is not
74
+ standalone and requires a support library to be linked with it. This
75
+ support library is itself covered by the above license.
data/Rakefile ADDED
@@ -0,0 +1,42 @@
1
+ # -*- ruby -*-
2
+
3
+ $LOAD_PATH << './lib'
4
+ require 'rjack-protobuf/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-protobuf', ProtoBuf::VERSION, :java_platform )
13
+
14
+ t.specify do |h|
15
+ h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
+ h.rubyforge_name = "rjack"
17
+ h.remote_rdoc_dir = "protobuf"
18
+ end
19
+
20
+ t.jars = [ "protobuf-java-#{ ProtoBuf::PB_VERSION }.jar" ]
21
+
22
+ t.assembly_version = 1.0
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>#{ ProtoBuf::PB_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/assembly.xml ADDED
@@ -0,0 +1,14 @@
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
+ <include>com.google.protobuf:protobuf-java</include>
11
+ </includes>
12
+ </dependencySet>
13
+ </dependencySets>
14
+ </assembly>
@@ -0,0 +1,42 @@
1
+ #--
2
+ # Copyright (c) 2010 David Kellum
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are
7
+ # met:
8
+ #
9
+ # * Redistributions of source code must retain the above copyright
10
+ # notice, this list of conditions and the following disclaimer.
11
+ # * Redistributions in binary form must reproduce the above copyright
12
+ # notice, this list of conditions and the following disclaimer in the
13
+ # documentation and/or other materials provided with the distribution.
14
+ # * Neither the name of RJack nor the names of its contributors may be
15
+ # used to endorse or promote products derived from this software
16
+ # without specific prior written permission.
17
+ #
18
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ # HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+ #++
30
+
31
+ module RJack
32
+ module ProtoBuf
33
+
34
+ # Commons pool (java) version
35
+ PB_VERSION = '2.3.0'
36
+
37
+ # rjack gem version
38
+ VERSION = PB_VERSION + '.0'
39
+
40
+ PB_DIR = File.dirname( __FILE__ ) # :nodoc:
41
+ end
42
+ end
@@ -0,0 +1,37 @@
1
+ #--
2
+ # Copyright (c) 2010 David Kellum
3
+ # All rights reserved.
4
+ #
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are
7
+ # met:
8
+ #
9
+ # * Redistributions of source code must retain the above copyright
10
+ # notice, this list of conditions and the following disclaimer.
11
+ # * Redistributions in binary form must reproduce the above copyright
12
+ # notice, this list of conditions and the following disclaimer in the
13
+ # documentation and/or other materials provided with the distribution.
14
+ # * Neither the name of RJack nor the names of its contributors may be
15
+ # used to endorse or promote products derived from this software
16
+ # without specific prior written permission.
17
+ #
18
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21
+ # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
+ # HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
+ # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24
+ # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25
+ # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26
+ # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27
+ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
+ #++
30
+
31
+ require 'rjack-protobuf/base'
32
+
33
+ module RJack
34
+ module ProtoBuf
35
+ require "#{PB_DIR}/protobuf-java-#{PB_VERSION}.jar"
36
+ end
37
+ end
data/pom.xml ADDED
@@ -0,0 +1,41 @@
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-protobuf</artifactId>
6
+ <packaging>pom</packaging>
7
+ <version>1.0</version>
8
+ <name>HTTPClient Assembly for Gem</name>
9
+
10
+ <dependencies>
11
+ <dependency>
12
+ <groupId>com.google.protobuf</groupId>
13
+ <artifactId>protobuf-java</artifactId>
14
+ <version>2.3.0</version>
15
+ </dependency>
16
+ </dependencies>
17
+
18
+ <build>
19
+ <plugins>
20
+ <plugin>
21
+ <artifactId>maven-assembly-plugin</artifactId>
22
+ <configuration>
23
+ <descriptors>
24
+ <descriptor>assembly.xml</descriptor>
25
+ </descriptors>
26
+ <tarLongFileMode>gnu</tarLongFileMode>
27
+ </configuration>
28
+ <executions>
29
+ <execution>
30
+ <id>assembly</id>
31
+ <phase>package</phase>
32
+ <goals>
33
+ <goal>attached</goal>
34
+ </goals>
35
+ </execution>
36
+ </executions>
37
+ </plugin>
38
+ </plugins>
39
+ </build>
40
+
41
+ </project>
metadata ADDED
@@ -0,0 +1,88 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rjack-protobuf
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 2
7
+ - 3
8
+ - 0
9
+ - 0
10
+ version: 2.3.0.0
11
+ platform: java
12
+ authors:
13
+ - David Kellum
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-09-09 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: rjack-tarpit
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 1
30
+ - 2
31
+ - 2
32
+ version: 1.2.2
33
+ type: :development
34
+ version_requirements: *id001
35
+ description: A gem packaging of {Protocol Buffers}[http://code.google.com/p/protobuf/]
36
+ email:
37
+ - dek-oss@gravitext.com
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ extra_rdoc_files:
43
+ - Manifest.txt
44
+ - History.rdoc
45
+ - README.rdoc
46
+ files:
47
+ - History.rdoc
48
+ - Manifest.txt
49
+ - README.rdoc
50
+ - Rakefile
51
+ - assembly.xml
52
+ - pom.xml
53
+ - lib/rjack-protobuf/base.rb
54
+ - lib/rjack-protobuf.rb
55
+ - lib/rjack-protobuf/protobuf-java-2.3.0.jar
56
+ has_rdoc: true
57
+ homepage: http://rjack.rubyforge.org
58
+ licenses: []
59
+
60
+ post_install_message:
61
+ rdoc_options:
62
+ - --main
63
+ - README.rdoc
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ segments:
71
+ - 0
72
+ version: "0"
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ segments:
78
+ - 0
79
+ version: "0"
80
+ requirements: []
81
+
82
+ rubyforge_project: rjack
83
+ rubygems_version: 1.3.6
84
+ signing_key:
85
+ specification_version: 3
86
+ summary: A gem packaging of {Protocol Buffers}[http://code.google.com/p/protobuf/]
87
+ test_files: []
88
+