rjack-protobuf 2.3.0.0-java → 2.4.1.0-java

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