rjack-commons-pool 1.5.6.0-java → 1.5.7.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 +1 -1
- data/Rakefile +4 -33
- data/lib/rjack-commons-pool.rb +3 -5
- data/lib/rjack-commons-pool/base.rb +2 -2
- data/lib/rjack-commons-pool/commons-pool-1.5.7.jar +0 -0
- data/pom.xml +1 -1
- data/test/test_pool.rb +39 -0
- metadata +29 -15
- data/lib/rjack-commons-pool/commons-pool-1.5.6.jar +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/NOTICE.txt
CHANGED
data/README.rdoc
CHANGED
@@ -12,7 +12,7 @@ A gem packaging of {Commons Pool}[http://commons.apache.org/pool/]
|
|
12
12
|
|
13
13
|
=== rjack-commons-pool gem
|
14
14
|
|
15
|
-
Copyright (c) 2009-
|
15
|
+
Copyright (c) 2009-2012 David Kellum
|
16
16
|
|
17
17
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
18
18
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,41 +1,12 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'rjack-commons-pool/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-pool', CommonsPool::VERSION, :java_platform )
|
13
|
-
|
14
|
-
t.specify do |h|
|
15
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
16
|
-
h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/commons-pool"
|
17
|
-
end
|
18
|
-
|
19
|
-
t.jars = [ "commons-pool-#{ CommonsPool::POOL_VERSION }.jar" ]
|
20
|
-
|
21
|
-
t.assembly_version = 1.0
|
7
|
+
RJack::TarPit.new( 'rjack-commons-pool' ) do |tp|
|
22
8
|
|
23
|
-
|
9
|
+
tp.rdoc_destinations <<
|
10
|
+
'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/commons-pool'
|
24
11
|
|
25
|
-
task :check_pom_deps do
|
26
|
-
t.test_line_match( 'pom.xml',
|
27
|
-
%r[<version>#{ CommonsPool::POOL_VERSION }</version>] )
|
28
12
|
end
|
29
|
-
|
30
|
-
task :check_history_version do
|
31
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
32
|
-
end
|
33
|
-
task :check_history_date do
|
34
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
35
|
-
end
|
36
|
-
|
37
|
-
task :gem => [ :check_pom_deps, :check_history_version ]
|
38
|
-
task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
|
39
|
-
task :push => [ :check_history_date ]
|
40
|
-
|
41
|
-
t.define_tasks
|
data/lib/rjack-commons-pool.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
|
@@ -20,8 +20,6 @@ require 'rjack-commons-pool/base'
|
|
20
20
|
#
|
21
21
|
# http://commons.apache.org/pool/
|
22
22
|
#
|
23
|
-
module RJack
|
24
|
-
|
25
|
-
require "#{POOL_DIR}/commons-pool-#{POOL_VERSION}.jar"
|
26
|
-
end
|
23
|
+
module RJack::CommonsPool
|
24
|
+
require "#{POOL_DIR}/commons-pool-#{POOL_VERSION}.jar"
|
27
25
|
end
|
@@ -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,7 +18,7 @@ module RJack
|
|
18
18
|
module CommonsPool
|
19
19
|
|
20
20
|
# Commons pool (java) version
|
21
|
-
POOL_VERSION = '1.5.
|
21
|
+
POOL_VERSION = '1.5.7'
|
22
22
|
|
23
23
|
# rjack gem version
|
24
24
|
VERSION = POOL_VERSION + '.0'
|
Binary file
|
data/pom.xml
CHANGED
data/test/test_pool.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-pool'
|
27
|
+
|
28
|
+
require 'java'
|
29
|
+
|
30
|
+
class TestPool < MiniTest::Unit::TestCase
|
31
|
+
include RJack::CommonsPool
|
32
|
+
|
33
|
+
java_import 'org.apache.commons.pool.ObjectPool'
|
34
|
+
|
35
|
+
def test_load
|
36
|
+
pass
|
37
|
+
end
|
38
|
+
|
39
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rjack-commons-pool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.5.
|
5
|
+
version: 1.5.7.0
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- David Kellum
|
@@ -10,21 +10,31 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
14
|
-
default_executable:
|
13
|
+
date: 2012-01-16 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
|
-
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
|
18
24
|
prerelease: false
|
19
|
-
|
25
|
+
type: :development
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: rjack-tarpit
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
20
29
|
none: false
|
21
30
|
requirements:
|
22
31
|
- - ~>
|
23
32
|
- !ruby/object:Gem::Version
|
24
|
-
version:
|
33
|
+
version: "2.0"
|
34
|
+
requirement: *id002
|
35
|
+
prerelease: false
|
25
36
|
type: :development
|
26
|
-
|
27
|
-
description: A gem packaging of {Commons Pool}[http://commons.apache.org/pool/]
|
37
|
+
description:
|
28
38
|
email:
|
29
39
|
- dek-oss@gravitext.com
|
30
40
|
executables: []
|
@@ -32,8 +42,6 @@ executables: []
|
|
32
42
|
extensions: []
|
33
43
|
|
34
44
|
extra_rdoc_files:
|
35
|
-
- Manifest.txt
|
36
|
-
- NOTICE.txt
|
37
45
|
- History.rdoc
|
38
46
|
- README.rdoc
|
39
47
|
files:
|
@@ -46,8 +54,8 @@ files:
|
|
46
54
|
- pom.xml
|
47
55
|
- lib/rjack-commons-pool/base.rb
|
48
56
|
- lib/rjack-commons-pool.rb
|
49
|
-
-
|
50
|
-
|
57
|
+
- test/test_pool.rb
|
58
|
+
- lib/rjack-commons-pool/commons-pool-1.5.7.jar
|
51
59
|
homepage: http://rjack.rubyforge.org/commons-pool
|
52
60
|
licenses: []
|
53
61
|
|
@@ -62,19 +70,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
70
|
requirements:
|
63
71
|
- - ">="
|
64
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 2
|
74
|
+
segments:
|
75
|
+
- 0
|
65
76
|
version: "0"
|
66
77
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
78
|
none: false
|
68
79
|
requirements:
|
69
80
|
- - ">="
|
70
81
|
- !ruby/object:Gem::Version
|
82
|
+
hash: 2
|
83
|
+
segments:
|
84
|
+
- 0
|
71
85
|
version: "0"
|
72
86
|
requirements: []
|
73
87
|
|
74
|
-
rubyforge_project:
|
75
|
-
rubygems_version: 1.
|
88
|
+
rubyforge_project:
|
89
|
+
rubygems_version: 1.8.11
|
76
90
|
signing_key:
|
77
91
|
specification_version: 3
|
78
|
-
summary: A gem packaging of
|
92
|
+
summary: A gem packaging of Commons Pool
|
79
93
|
test_files: []
|
80
94
|
|
Binary file
|