rjack-commons-dbutils 1.3.2-java → 1.4.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.4.0 (2012-1-15)
2
+ * Upgrade to commons-dbutils 1.4
3
+ * Upgrade to tarpit ~> 2.0 (build)
4
+
1
5
  === 1.3.2 (2010-9-1)
2
6
  * Remove require 'rubygems' from lib.
3
7
 
@@ -7,4 +7,5 @@ assembly.xml
7
7
  pom.xml
8
8
  lib/rjack-commons-dbutils/base.rb
9
9
  lib/rjack-commons-dbutils.rb
10
- lib/rjack-commons-dbutils/commons-dbutils-1.3.jar
10
+ test/test_dbutils.rb
11
+ lib/rjack-commons-dbutils/commons-dbutils-1.4.jar
data/NOTICE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  rjack-commons-dbutils gem
2
- Copyright (c) 2009-2010 David Kellum
2
+ Copyright (c) 2009-2012 David Kellum
3
3
 
4
4
  This product includes software developed by:
5
5
 
@@ -1,7 +1,8 @@
1
1
  = rjack-commons-dbutils
2
2
 
3
+ * http://rjack.rubyforge.org/commons-dbutils
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 {Commons DbUtils}[http://commons.apache.org/dbutils/]
11
12
 
12
13
  === rjack-commons-dbutils gem
13
14
 
14
- Copyright (c) 2009-2010 David Kellum
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-dbutils/base'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.2.0'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- include RJack
11
-
12
- t = TarPit.new( 'rjack-commons-dbutils', CommonsDbUtils::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-dbutils"
18
- end
19
-
20
- t.jars = [ "commons-dbutils-#{ CommonsDbUtils::DBUTILS_VERSION }.jar" ]
21
-
22
- t.assembly_version = 1.0
7
+ RJack::TarPit.new( 'rjack-commons-dbutils' ) do |tp|
23
8
 
24
- file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/commons-dbutils'
25
11
 
26
- task :check_pom_deps do
27
- t.test_line_match( 'pom.xml',
28
- %r[<version>#{ CommonsDbUtils::DBUTILS_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
@@ -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>commons-dbutils:commons-dbutils</include>
11
12
  </includes>
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2010 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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2009-2010 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,10 +18,10 @@ module RJack
18
18
  module CommonsDbUtils
19
19
 
20
20
  # Commons dbutils (java) version
21
- DBUTILS_VERSION = '1.3'
21
+ DBUTILS_VERSION = '1.4'
22
22
 
23
23
  # rjack gem version
24
- VERSION = DBUTILS_VERSION + '.2'
24
+ VERSION = DBUTILS_VERSION + '.0'
25
25
 
26
26
  DBUTILS_DIR = File.dirname( __FILE__ ) # :nodoc:
27
27
  end
data/pom.xml CHANGED
@@ -5,13 +5,17 @@
5
5
  <artifactId>rjack-commons-dbutils</artifactId>
6
6
  <packaging>pom</packaging>
7
7
  <version>1.0</version>
8
- <name>HTTPClient Assembly for Gem</name>
8
+ <name>Commons DBUtils 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-dbutils</groupId>
13
17
  <artifactId>commons-dbutils</artifactId>
14
- <version>1.3</version>
18
+ <version>1.4</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,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-dbutils'
27
+
28
+ require 'java'
29
+
30
+ class TestDbUtils < MiniTest::Unit::TestCase
31
+ include RJack::CommonsDbUtils
32
+
33
+ java_import 'org.apache.commons.dbutils.QueryRunner'
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-dbutils
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 1
7
- - 3
8
- - 2
9
- version: 1.3.2
4
+ prerelease:
5
+ version: 1.4.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: 2010-09-01 00:00:00 -07:00
18
- default_executable:
13
+ date: 2012-01-16 00:00:00 Z
19
14
  dependencies:
20
15
  - !ruby/object:Gem::Dependency
21
- 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
22
24
  prerelease: false
23
- 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
29
+ none: false
24
30
  requirements:
25
31
  - - ~>
26
32
  - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 2
30
- - 2
31
- version: 1.2.2
33
+ version: "2.0"
34
+ requirement: *id002
35
+ prerelease: false
32
36
  type: :development
33
- version_requirements: *id001
34
- description: A gem packaging of {Commons DbUtils}[http://commons.apache.org/dbutils/]
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-dbutils/base.rb
55
56
  - lib/rjack-commons-dbutils.rb
56
- - lib/rjack-commons-dbutils/commons-dbutils-1.3.jar
57
- has_rdoc: true
58
- homepage: http://rjack.rubyforge.org
57
+ - test/test_dbutils.rb
58
+ - lib/rjack-commons-dbutils/commons-dbutils-1.4.jar
59
+ homepage: http://rjack.rubyforge.org/commons-dbutils
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: rjack
84
- rubygems_version: 1.3.6
88
+ rubyforge_project:
89
+ rubygems_version: 1.8.11
85
90
  signing_key:
86
91
  specification_version: 3
87
- summary: A gem packaging of {Commons DbUtils}[http://commons.apache.org/dbutils/]
92
+ summary: A gem packaging of Commons DbUtils
88
93
  test_files: []
89
94