rjack-commons-codec 1.4.2-java → 1.5.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Manifest.txt +2 -1
- data/NOTICE.txt +1 -1
- data/README.rdoc +3 -2
- data/Rakefile +4 -34
- data/assembly.xml +1 -0
- data/lib/rjack-commons-codec.rb +1 -1
- data/lib/rjack-commons-codec/base.rb +3 -3
- data/lib/rjack-commons-codec/commons-codec-1.5.jar +0 -0
- data/pom.xml +10 -16
- data/test/test_codec.rb +39 -0
- metadata +30 -25
- data/lib/rjack-commons-codec/commons-codec-1.4.jar +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/NOTICE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
= rjack-commons-codec
|
2
2
|
|
3
|
+
* http://rjack.rubyforge.org/commons-codec
|
3
4
|
* http://rjack.rubyforge.org
|
4
|
-
*
|
5
|
+
* https://github.com/dekellum/rjack
|
5
6
|
|
6
7
|
== Description
|
7
8
|
|
@@ -11,7 +12,7 @@ A gem packaging of {Commons Codec}[http://commons.apache.org/codec/]
|
|
11
12
|
|
12
13
|
=== rjack-commons-codec gem
|
13
14
|
|
14
|
-
Copyright (c) 2009-
|
15
|
+
Copyright (c) 2009-2012 David Kellum
|
15
16
|
|
16
17
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
17
18
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,42 +1,12 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'rjack-commons-codec/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
|
12
|
-
t = TarPit.new( 'rjack-commons-codec', CommonsCodec::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 = "commons-codec"
|
18
|
-
end
|
19
|
-
|
20
|
-
t.jars = [ "commons-codec-#{ CommonsCodec::CODEC_VERSION }.jar" ]
|
21
|
-
|
22
|
-
t.assembly_version = 1.0
|
7
|
+
RJack::TarPit.new( 'rjack-commons-codec' ) do |tp|
|
23
8
|
|
24
|
-
|
9
|
+
tp.rdoc_destinations <<
|
10
|
+
'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/commons-codec'
|
25
11
|
|
26
|
-
task :check_pom_deps do
|
27
|
-
t.test_line_match( 'pom.xml',
|
28
|
-
%r[<version>#{ CommonsCodec::CODEC_VERSION }</version>] )
|
29
12
|
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
CHANGED
data/lib/rjack-commons-codec.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2009-
|
2
|
+
# Copyright (c) 2009-2012 David Kellum
|
3
3
|
#
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
5
5
|
# may not use this file except in compliance with the License. You
|
@@ -18,10 +18,10 @@ module RJack
|
|
18
18
|
module CommonsCodec
|
19
19
|
|
20
20
|
# Commons codec (java) version
|
21
|
-
CODEC_VERSION = '1.
|
21
|
+
CODEC_VERSION = '1.5'
|
22
22
|
|
23
23
|
# rjack gem version
|
24
|
-
VERSION = CODEC_VERSION + '.
|
24
|
+
VERSION = CODEC_VERSION + '.0'
|
25
25
|
|
26
26
|
CODEC_DIR = File.dirname( __FILE__ ) # :nodoc:
|
27
27
|
end
|
Binary file
|
data/pom.xml
CHANGED
@@ -5,13 +5,17 @@
|
|
5
5
|
<artifactId>rjack-commons-codec</artifactId>
|
6
6
|
<packaging>pom</packaging>
|
7
7
|
<version>1.0</version>
|
8
|
-
<name>
|
8
|
+
<name>Commons Codec for Gem</name>
|
9
|
+
|
10
|
+
<properties>
|
11
|
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
12
|
+
</properties>
|
9
13
|
|
10
14
|
<dependencies>
|
11
15
|
<dependency>
|
12
16
|
<groupId>commons-codec</groupId>
|
13
17
|
<artifactId>commons-codec</artifactId>
|
14
|
-
<version>1.
|
18
|
+
<version>1.5</version>
|
15
19
|
</dependency>
|
16
20
|
</dependencies>
|
17
21
|
|
@@ -19,34 +23,24 @@
|
|
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>
|
39
|
+
<goal>single</goal>
|
34
40
|
</goals>
|
35
41
|
</execution>
|
36
42
|
</executions>
|
37
43
|
</plugin>
|
38
|
-
<plugin>
|
39
|
-
<artifactId>maven-compiler-plugin</artifactId>
|
40
|
-
<configuration>
|
41
|
-
<source>1.5</source>
|
42
|
-
<target>1.5</target>
|
43
|
-
<optimize>true</optimize>
|
44
|
-
<debug>true</debug>
|
45
|
-
<encoding>UTF-8</encoding>
|
46
|
-
<showDeprecation>true</showDeprecation>
|
47
|
-
<showWarnings>true</showWarnings>
|
48
|
-
</configuration>
|
49
|
-
</plugin>
|
50
44
|
</plugins>
|
51
45
|
</build>
|
52
46
|
|
data/test/test_codec.rb
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
#!/usr/bin/env jruby
|
2
|
+
#.hashdot.profile += jruby-shortlived
|
3
|
+
|
4
|
+
#--
|
5
|
+
# Copyright (c) 2012 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 may
|
9
|
+
# 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-commons-codec'
|
27
|
+
|
28
|
+
require 'java'
|
29
|
+
|
30
|
+
class TestCodec < MiniTest::Unit::TestCase
|
31
|
+
include RJack::CommonsCodec
|
32
|
+
|
33
|
+
java_import 'org.apache.commons.codec.binary.Base64'
|
34
|
+
|
35
|
+
def test_load
|
36
|
+
pass
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjack-commons-codec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 4
|
8
|
-
- 2
|
9
|
-
version: 1.4.2
|
4
|
+
prerelease:
|
5
|
+
version: 1.5.0
|
10
6
|
platform: java
|
11
7
|
authors:
|
12
8
|
- David Kellum
|
@@ -14,24 +10,31 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
18
|
-
default_executable:
|
13
|
+
date: 2012-01-16 00:00:00 Z
|
19
14
|
dependencies:
|
20
15
|
- !ruby/object:Gem::Dependency
|
21
|
-
name:
|
16
|
+
name: minitest
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: "2.2"
|
23
|
+
requirement: *id001
|
22
24
|
prerelease: false
|
23
|
-
|
25
|
+
type: :development
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rjack-tarpit
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
24
30
|
requirements:
|
25
31
|
- - ~>
|
26
32
|
- !ruby/object:Gem::Version
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
- 2
|
31
|
-
version: 1.2.2
|
33
|
+
version: "2.0"
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
32
36
|
type: :development
|
33
|
-
|
34
|
-
description: A gem packaging of {Commons Codec}[http://commons.apache.org/codec/]
|
37
|
+
description:
|
35
38
|
email:
|
36
39
|
- dek-oss@gravitext.com
|
37
40
|
executables: []
|
@@ -39,8 +42,6 @@ executables: []
|
|
39
42
|
extensions: []
|
40
43
|
|
41
44
|
extra_rdoc_files:
|
42
|
-
- Manifest.txt
|
43
|
-
- NOTICE.txt
|
44
45
|
- History.rdoc
|
45
46
|
- README.rdoc
|
46
47
|
files:
|
@@ -53,9 +54,9 @@ files:
|
|
53
54
|
- pom.xml
|
54
55
|
- lib/rjack-commons-codec/base.rb
|
55
56
|
- lib/rjack-commons-codec.rb
|
56
|
-
-
|
57
|
-
|
58
|
-
homepage: http://rjack.rubyforge.org
|
57
|
+
- test/test_codec.rb
|
58
|
+
- lib/rjack-commons-codec/commons-codec-1.5.jar
|
59
|
+
homepage: http://rjack.rubyforge.org/commons-codec
|
59
60
|
licenses: []
|
60
61
|
|
61
62
|
post_install_message:
|
@@ -65,25 +66,29 @@ rdoc_options:
|
|
65
66
|
require_paths:
|
66
67
|
- lib
|
67
68
|
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
68
70
|
requirements:
|
69
71
|
- - ">="
|
70
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 2
|
71
74
|
segments:
|
72
75
|
- 0
|
73
76
|
version: "0"
|
74
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
|
+
none: false
|
75
79
|
requirements:
|
76
80
|
- - ">="
|
77
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 2
|
78
83
|
segments:
|
79
84
|
- 0
|
80
85
|
version: "0"
|
81
86
|
requirements: []
|
82
87
|
|
83
|
-
rubyforge_project:
|
84
|
-
rubygems_version: 1.
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 1.8.11
|
85
90
|
signing_key:
|
86
91
|
specification_version: 3
|
87
|
-
summary: A gem packaging of
|
92
|
+
summary: A gem packaging of Commons Codec
|
88
93
|
test_files: []
|
89
94
|
|
Binary file
|