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.
@@ -1,3 +1,7 @@
1
+ === 1.5.7.0 (2012-1-15)
2
+ * Upgrade to commons-pool 1.5.7
3
+ * Upgrade to tarpit ~> 2.0 (build)
4
+
1
5
  === 1.5.6.0 (2011-6-26)
2
6
  * Upgrade to commons-pool 1.5.6
3
7
  * Upgrade to tarpit ~> 1.3.0
@@ -7,4 +7,5 @@ assembly.xml
7
7
  pom.xml
8
8
  lib/rjack-commons-pool/base.rb
9
9
  lib/rjack-commons-pool.rb
10
- lib/rjack-commons-pool/commons-pool-1.5.6.jar
10
+ test/test_pool.rb
11
+ lib/rjack-commons-pool/commons-pool-1.5.7.jar
data/NOTICE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  rjack-commons-pool gem
2
- Copyright (c) 2009-2011 David Kellum
2
+ Copyright (c) 2009-2012 David Kellum
3
3
 
4
4
  This product includes software developed by:
5
5
 
@@ -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-2011 David Kellum
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
- gem 'rjack-tarpit', '~> 1.3.0'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- include RJack
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
- file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2011 David Kellum
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
- module CommonsPool
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-2011 David Kellum
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.6'
21
+ POOL_VERSION = '1.5.7'
22
22
 
23
23
  # rjack gem version
24
24
  VERSION = POOL_VERSION + '.0'
data/pom.xml CHANGED
@@ -15,7 +15,7 @@
15
15
  <dependency>
16
16
  <groupId>commons-pool</groupId>
17
17
  <artifactId>commons-pool</artifactId>
18
- <version>1.5.6</version>
18
+ <version>1.5.7</version>
19
19
  </dependency>
20
20
  </dependencies>
21
21
 
@@ -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.6.0
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: 2011-06-26 00:00:00 -07:00
14
- default_executable:
13
+ date: 2012-01-16 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
- name: rjack-tarpit
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
- requirement: &id001 !ruby/object:Gem::Requirement
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: 1.3.3
33
+ version: "2.0"
34
+ requirement: *id002
35
+ prerelease: false
25
36
  type: :development
26
- version_requirements: *id001
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
- - lib/rjack-commons-pool/commons-pool-1.5.6.jar
50
- has_rdoc: true
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: rjack-commons-pool
75
- rubygems_version: 1.5.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 {Commons Pool}[http://commons.apache.org/pool/]
92
+ summary: A gem packaging of Commons Pool
79
93
  test_files: []
80
94