rjack-jets3t 0.7.2.0-java → 0.7.4.0-java

Sign up to get free protection for your applications and to get access to all the features.
data/History.rdoc CHANGED
@@ -1,3 +1,10 @@
1
+ === 0.7.4.0 (2010-8-31)
2
+ * Updated to jets3t 0.7.4 (Note
3
+ {Issue #16}[http://bitbucket.org/jmurty/jets3t/issue/16/classnotfoundexception])
4
+ * Remove require 'rubygems' from lib, require 'java' for imports.
5
+ * Expand slf4j/logback gem deps for compatibility with
6
+ slf4j-1.6.x/logback-1.x
7
+
1
8
  === 0.7.2.0 (2010-5-13)
2
9
  * Updated to jets3t 0.7.2
3
10
  * New S3Bucket wrapper with put/delete methods.
data/Manifest.txt CHANGED
@@ -10,4 +10,5 @@ lib/rjack-jets3t.rb
10
10
  lib/rjack-jets3t/s3_bucket.rb
11
11
  lib/rjack-jets3t/s3_service.rb
12
12
  test/test_jets3t.rb
13
- lib/rjack-jets3t/jets3t-0.7.2.jar
13
+ lib/rjack-jets3t/java-xmlbuilder-0.3.jar
14
+ lib/rjack-jets3t/jets3t-0.7.4.jar
data/Rakefile CHANGED
@@ -9,20 +9,20 @@ require 'rjack-tarpit'
9
9
 
10
10
  include RJack
11
11
 
12
- t = TarPit.new( 'rjack-jets3t', JetS3t::VERSION, :java_platform )
12
+ t = TarPit.new( 'rjack-jets3t', JetS3t::VERSION,
13
+ :java_platform, :jars_from_assembly )
13
14
 
14
15
  t.specify do |h|
15
16
  h.developer( "David Kellum", "dek-oss@gravitext.com" )
16
- h.extra_deps += [ [ 'rjack-slf4j', '~> 1.5.8' ],
17
+ h.extra_deps += [ [ 'rjack-slf4j', '>= 1.5.8', '< 1.7' ],
17
18
  [ 'rjack-httpclient-3', '~> 3.1.3' ],
18
19
  [ 'rjack-commons-codec', '~> 1.4.0' ] ]
19
- h.extra_dev_deps << [ 'rjack-logback', '>= 0.9.17']
20
+ h.extra_dev_deps << [ 'rjack-logback', '>= 0.9.18', '< 2.0' ]
20
21
  h.rubyforge_name = "rjack"
21
22
  h.remote_rdoc_dir = "jets3t"
22
23
  end
23
24
 
24
25
  t.assembly_version = 1.0
25
- t.jars = [ "jets3t-#{ JetS3t::JETS3T_VERSION }.jar" ]
26
26
  file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
27
27
 
28
28
  task :check_pom_deps do
data/assembly.xml CHANGED
@@ -8,6 +8,7 @@
8
8
  <dependencySet>
9
9
  <includes>
10
10
  <include>net.java.dev.jets3t:jets3t</include>
11
+ <include>com.jamesmurty.utils:java-xmlbuilder</include>
11
12
  </includes>
12
13
  </dependencySet>
13
14
  </dependencySets>
data/lib/rjack-jets3t.rb CHANGED
@@ -22,7 +22,7 @@ require 'rjack-jets3t/base'
22
22
 
23
23
  module RJack
24
24
  module JetS3t
25
- require "#{JETS3T_DIR}/jets3t-#{JETS3T_VERSION}.jar"
25
+ Dir.glob( File.join( JETS3T_DIR, '*.jar' ) ).each { |jar| require jar }
26
26
  end
27
27
  end
28
28
 
@@ -17,7 +17,7 @@
17
17
  module RJack
18
18
  module JetS3t
19
19
  # JetS3t java version
20
- JETS3T_VERSION = '0.7.2'
20
+ JETS3T_VERSION = '0.7.4'
21
21
 
22
22
  # rjack-jets3t version
23
23
  VERSION = JETS3T_VERSION + '.0'
Binary file
@@ -20,6 +20,8 @@ require 'rjack-commons-codec'
20
20
  require 'rjack-httpclient-3'
21
21
  require 'rjack-jets3t/base'
22
22
 
23
+ require 'java'
24
+
23
25
  module RJack
24
26
  module JetS3t
25
27
  import 'org.jets3t.service.acl.AccessControlList'
@@ -22,6 +22,8 @@ require 'rjack-jets3t/base'
22
22
 
23
23
  require 'rjack-jets3t/s3_bucket'
24
24
 
25
+ require 'java'
26
+
25
27
  module RJack
26
28
  module JetS3t
27
29
  import 'org.jets3t.service.S3ServiceException'
data/pom.xml CHANGED
@@ -18,20 +18,19 @@
18
18
  <id>jets3t</id>
19
19
  <url>http://jets3t.s3.amazonaws.com/maven2</url>
20
20
  </repository>
21
+ <repository>
22
+ <name>xmlbuilder</name>
23
+ <id>xmlbuilder</id>
24
+ <url>http://java-xmlbuilder.googlecode.com/svn/repo/</url>
25
+ </repository>
21
26
  </repositories>
22
27
 
23
28
  <dependencies>
24
29
 
25
- <dependency>
26
- <groupId>org.slf4j</groupId>
27
- <artifactId>jcl-over-slf4j</artifactId>
28
- <version>1.5.8</version>
29
- </dependency>
30
-
31
30
  <dependency>
32
31
  <groupId>net.java.dev.jets3t</groupId>
33
32
  <artifactId>jets3t</artifactId>
34
- <version>0.7.2</version>
33
+ <version>0.7.4</version>
35
34
  <exclusions>
36
35
  <exclusion>
37
36
  <groupId>commons-logging</groupId>
@@ -39,7 +38,6 @@
39
38
  </exclusion>
40
39
  </exclusions>
41
40
  </dependency>
42
-
43
41
  </dependencies>
44
42
 
45
43
  <build>
data/test/test_jets3t.rb CHANGED
@@ -19,21 +19,16 @@
19
19
  $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
20
20
 
21
21
  require 'rubygems'
22
- gem( 'rjack-slf4j', '~> 1.5.8' )
23
- gem( 'rjack-logback', '~> 0.9.17' )
24
-
25
22
  require 'rjack-logback'
26
23
 
27
- include RJack
28
-
29
- Logback.config_console( :level => Logback::INFO )
24
+ RJack::Logback.config_console( :level => RJack::Logback::INFO )
30
25
 
31
26
  require 'rjack-jets3t'
32
27
 
33
28
  require 'test/unit'
34
29
 
35
30
  class TestJets3t < Test::Unit::TestCase
36
- include JetS3t
31
+ include RJack::JetS3t
37
32
 
38
33
  import "java.io.ByteArrayInputStream"
39
34
 
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 2
8
+ - 4
9
9
  - 0
10
- version: 0.7.2.0
10
+ version: 0.7.4.0
11
11
  platform: java
12
12
  authors:
13
13
  - David Kellum
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-05-13 00:00:00 -07:00
18
+ date: 2010-08-31 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -23,13 +23,19 @@ dependencies:
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ~>
26
+ - - ">="
27
27
  - !ruby/object:Gem::Version
28
28
  segments:
29
29
  - 1
30
30
  - 5
31
31
  - 8
32
32
  version: 1.5.8
33
+ - - <
34
+ - !ruby/object:Gem::Version
35
+ segments:
36
+ - 1
37
+ - 7
38
+ version: "1.7"
33
39
  type: :runtime
34
40
  version_requirements: *id001
35
41
  - !ruby/object:Gem::Dependency
@@ -70,8 +76,14 @@ dependencies:
70
76
  segments:
71
77
  - 0
72
78
  - 9
73
- - 17
74
- version: 0.9.17
79
+ - 18
80
+ version: 0.9.18
81
+ - - <
82
+ - !ruby/object:Gem::Version
83
+ segments:
84
+ - 2
85
+ - 0
86
+ version: "2.0"
75
87
  type: :development
76
88
  version_requirements: *id004
77
89
  - !ruby/object:Gem::Dependency
@@ -84,8 +96,8 @@ dependencies:
84
96
  segments:
85
97
  - 1
86
98
  - 2
87
- - 1
88
- version: 1.2.1
99
+ - 2
100
+ version: 1.2.2
89
101
  type: :development
90
102
  version_requirements: *id005
91
103
  description: |-
@@ -101,8 +113,8 @@ extensions: []
101
113
  extra_rdoc_files:
102
114
  - Manifest.txt
103
115
  - NOTICE.txt
104
- - README.rdoc
105
116
  - History.rdoc
117
+ - README.rdoc
106
118
  files:
107
119
  - History.rdoc
108
120
  - Manifest.txt
@@ -116,7 +128,8 @@ files:
116
128
  - lib/rjack-jets3t/s3_bucket.rb
117
129
  - lib/rjack-jets3t/s3_service.rb
118
130
  - test/test_jets3t.rb
119
- - lib/rjack-jets3t/jets3t-0.7.2.jar
131
+ - lib/rjack-jets3t/java-xmlbuilder-0.3.jar
132
+ - lib/rjack-jets3t/jets3t-0.7.4.jar
120
133
  has_rdoc: true
121
134
  homepage: http://rjack.rubyforge.org
122
135
  licenses: []
Binary file