rjack-slf4j 1.5.11.1-java → 1.6.1.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.rdoc CHANGED
@@ -1,3 +1,8 @@
1
+ === 1.6.1.0 (2010-8-31)
2
+ * Upgraded to SLF4J 1.6.1
3
+ * Remove SLF4J from global namespace (was kept deprecated for
4
+ compatibility with move to RJack:: in 1.5.8.1)
5
+
1
6
  === 1.5.11.1 (2010-4-21)
2
7
  * Fix test case, call super in subclass of java
3
8
 
data/Manifest.txt CHANGED
@@ -18,12 +18,12 @@ lib/rjack-slf4j/log4j-over-slf4j.rb
18
18
  lib/rjack-slf4j/log4j12.rb
19
19
  lib/rjack-slf4j/nop.rb
20
20
  lib/rjack-slf4j/simple.rb
21
- lib/rjack-slf4j/jcl-over-slf4j-1.5.11.jar
22
- lib/rjack-slf4j/jul-to-slf4j-1.5.11.jar
23
- lib/rjack-slf4j/log4j-over-slf4j-1.5.11.jar
24
- lib/rjack-slf4j/slf4j-api-1.5.11.jar
25
- lib/rjack-slf4j/slf4j-jcl-1.5.11.jar
26
- lib/rjack-slf4j/slf4j-jdk14-1.5.11.jar
27
- lib/rjack-slf4j/slf4j-log4j12-1.5.11.jar
28
- lib/rjack-slf4j/slf4j-nop-1.5.11.jar
29
- lib/rjack-slf4j/slf4j-simple-1.5.11.jar
21
+ lib/rjack-slf4j/jcl-over-slf4j-1.6.1.jar
22
+ lib/rjack-slf4j/jul-to-slf4j-1.6.1.jar
23
+ lib/rjack-slf4j/log4j-over-slf4j-1.6.1.jar
24
+ lib/rjack-slf4j/slf4j-api-1.6.1.jar
25
+ lib/rjack-slf4j/slf4j-jcl-1.6.1.jar
26
+ lib/rjack-slf4j/slf4j-jdk14-1.6.1.jar
27
+ lib/rjack-slf4j/slf4j-log4j12-1.6.1.jar
28
+ lib/rjack-slf4j/slf4j-nop-1.6.1.jar
29
+ lib/rjack-slf4j/slf4j-simple-1.6.1.jar
data/Rakefile CHANGED
@@ -1,27 +1,4 @@
1
1
  # -*- ruby -*-
2
- #--
3
- # Copyright (C) 2008-2009 David Kellum
4
- #
5
- # Permission is hereby granted, free of charge, to any person
6
- # obtaining a copy of this software and associated documentation files
7
- # (the "Software"), to deal in the Software without restriction,
8
- # including without limitation the rights to use, copy, modify, merge,
9
- # publish, distribute, sublicense, and/or sell copies of the Software,
10
- # and to permit persons to whom the Software is furnished to do so,
11
- # subject to the following conditions:
12
- #
13
- # The above copyright notice and this permission notice shall be
14
- # included in all copies or substantial portions of the Software.
15
- #
16
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
20
- # BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21
- # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
- # CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
- # SOFTWARE.
24
- #++
25
2
 
26
3
  $LOAD_PATH << './lib'
27
4
  require 'rjack-slf4j/base'
data/lib/rjack-slf4j.rb CHANGED
@@ -25,9 +25,6 @@
25
25
  require 'rjack-slf4j/base'
26
26
  require 'java'
27
27
 
28
- # Backward compatibility for top level ::SLF4J module
29
- SLF4J = RJack::SLF4J
30
-
31
28
  module RJack
32
29
 
33
30
  # Wrapper and core Logger compatible adapter for the
@@ -26,9 +26,9 @@ module RJack
26
26
  module SLF4J
27
27
 
28
28
  # SLF4J-java version
29
- SLF4J_VERSION = '1.5.11'
29
+ SLF4J_VERSION = '1.6.1'
30
30
  # SLF4J gem version
31
- VERSION = SLF4J_VERSION + '.1'
31
+ VERSION = SLF4J_VERSION + '.0'
32
32
 
33
33
  SLF4J_DIR = File.dirname(__FILE__) # :nodoc:
34
34
 
Binary file
Binary file
Binary file
data/pom.xml CHANGED
@@ -12,34 +12,34 @@
12
12
  <dependency>
13
13
  <groupId>org.slf4j</groupId>
14
14
  <artifactId>slf4j-api</artifactId>
15
- <version>1.5.11</version>
15
+ <version>1.6.1</version>
16
16
  </dependency>
17
17
 
18
18
  <dependency>
19
19
  <groupId>org.slf4j</groupId>
20
20
  <artifactId>jcl-over-slf4j</artifactId>
21
- <version>1.5.11</version>
21
+ <version>1.6.1</version>
22
22
  <scope>runtime</scope>
23
23
  </dependency>
24
24
 
25
25
  <dependency>
26
26
  <groupId>org.slf4j</groupId>
27
27
  <artifactId>jul-to-slf4j</artifactId>
28
- <version>1.5.11</version>
28
+ <version>1.6.1</version>
29
29
  <scope>runtime</scope>
30
30
  </dependency>
31
31
 
32
32
  <dependency>
33
33
  <groupId>org.slf4j</groupId>
34
34
  <artifactId>log4j-over-slf4j</artifactId>
35
- <version>1.5.11</version>
35
+ <version>1.6.1</version>
36
36
  <scope>runtime</scope>
37
37
  </dependency>
38
38
 
39
39
  <dependency>
40
40
  <groupId>org.slf4j</groupId>
41
41
  <artifactId>slf4j-jdk14</artifactId>
42
- <version>1.5.11</version>
42
+ <version>1.6.1</version>
43
43
  <scope>runtime</scope>
44
44
  <optional>true</optional>
45
45
  </dependency>
@@ -47,7 +47,7 @@
47
47
  <dependency>
48
48
  <groupId>org.slf4j</groupId>
49
49
  <artifactId>slf4j-log4j12</artifactId>
50
- <version>1.5.11</version>
50
+ <version>1.6.1</version>
51
51
  <scope>runtime</scope>
52
52
  <optional>true</optional>
53
53
  </dependency>
@@ -55,7 +55,7 @@
55
55
  <dependency>
56
56
  <groupId>org.slf4j</groupId>
57
57
  <artifactId>slf4j-jcl</artifactId>
58
- <version>1.5.11</version>
58
+ <version>1.6.1</version>
59
59
  <scope>runtime</scope>
60
60
  <optional>true</optional>
61
61
  </dependency>
@@ -63,7 +63,7 @@
63
63
  <dependency>
64
64
  <groupId>org.slf4j</groupId>
65
65
  <artifactId>slf4j-simple</artifactId>
66
- <version>1.5.11</version>
66
+ <version>1.6.1</version>
67
67
  <scope>runtime</scope>
68
68
  <optional>true</optional>
69
69
  </dependency>
@@ -71,7 +71,7 @@
71
71
  <dependency>
72
72
  <groupId>org.slf4j</groupId>
73
73
  <artifactId>slf4j-nop</artifactId>
74
- <version>1.5.11</version>
74
+ <version>1.6.1</version>
75
75
  <scope>runtime</scope>
76
76
  <optional>true</optional>
77
77
  </dependency>
@@ -30,6 +30,8 @@ require 'rjack-slf4j/jul-to-slf4j'
30
30
  # FIXME: Can't make this a standard test case, as test_slf4j.rb uses
31
31
  # slf4j/jdk14 output adapter.
32
32
 
33
+ include RJack
34
+
33
35
  SLF4J::JUL.replace_root_handlers
34
36
  SLF4J::JUL.root.level = SLF4J::JUL::INFO
35
37
 
data/test/test_slf4j.rb CHANGED
@@ -69,7 +69,7 @@ module Foo
69
69
  end
70
70
 
71
71
  class TestSlf4j < Test::Unit::TestCase
72
-
72
+ include RJack
73
73
  JdkLogger = java.util.logging.Logger
74
74
 
75
75
  def setup
metadata CHANGED
@@ -4,10 +4,10 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 1
7
- - 5
8
- - 11
7
+ - 6
9
8
  - 1
10
- version: 1.5.11.1
9
+ - 0
10
+ version: 1.6.1.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-04-21 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
@@ -28,8 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 1
30
30
  - 2
31
- - 1
32
- version: 1.2.1
31
+ - 2
32
+ version: 1.2.2
33
33
  type: :development
34
34
  version_requirements: *id001
35
35
  description: |-
@@ -52,8 +52,8 @@ extensions: []
52
52
 
53
53
  extra_rdoc_files:
54
54
  - Manifest.txt
55
- - README.rdoc
56
55
  - History.rdoc
56
+ - README.rdoc
57
57
  files:
58
58
  - History.rdoc
59
59
  - Manifest.txt
@@ -75,15 +75,15 @@ files:
75
75
  - lib/rjack-slf4j/log4j12.rb
76
76
  - lib/rjack-slf4j/nop.rb
77
77
  - lib/rjack-slf4j/simple.rb
78
- - lib/rjack-slf4j/jcl-over-slf4j-1.5.11.jar
79
- - lib/rjack-slf4j/jul-to-slf4j-1.5.11.jar
80
- - lib/rjack-slf4j/log4j-over-slf4j-1.5.11.jar
81
- - lib/rjack-slf4j/slf4j-api-1.5.11.jar
82
- - lib/rjack-slf4j/slf4j-jcl-1.5.11.jar
83
- - lib/rjack-slf4j/slf4j-jdk14-1.5.11.jar
84
- - lib/rjack-slf4j/slf4j-log4j12-1.5.11.jar
85
- - lib/rjack-slf4j/slf4j-nop-1.5.11.jar
86
- - lib/rjack-slf4j/slf4j-simple-1.5.11.jar
78
+ - lib/rjack-slf4j/jcl-over-slf4j-1.6.1.jar
79
+ - lib/rjack-slf4j/jul-to-slf4j-1.6.1.jar
80
+ - lib/rjack-slf4j/log4j-over-slf4j-1.6.1.jar
81
+ - lib/rjack-slf4j/slf4j-api-1.6.1.jar
82
+ - lib/rjack-slf4j/slf4j-jcl-1.6.1.jar
83
+ - lib/rjack-slf4j/slf4j-jdk14-1.6.1.jar
84
+ - lib/rjack-slf4j/slf4j-log4j12-1.6.1.jar
85
+ - lib/rjack-slf4j/slf4j-nop-1.6.1.jar
86
+ - lib/rjack-slf4j/slf4j-simple-1.6.1.jar
87
87
  has_rdoc: true
88
88
  homepage: http://rjack.rubyforge.org
89
89
  licenses: []
Binary file
Binary file
Binary file
Binary file