rjack-slf4j 1.5.11.0-java → 1.5.11.1-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,6 @@
1
+ === 1.5.11.1 (2010-4-21)
2
+ * Fix test case, call super in subclass of java
3
+
1
4
  === 1.5.11.0 (2010-3-6)
2
5
  * Upgraded to SLF4J 1.5.11
3
6
  * Set gem platform to java
data/Manifest.txt CHANGED
@@ -1,15 +1,15 @@
1
- Manifest.static
1
+ History.rdoc
2
2
  Manifest.txt
3
3
  README.rdoc
4
- History.rdoc
5
4
  Rakefile
6
- pom.xml
7
5
  assembly.xml
6
+ pom.xml
8
7
  lib/rjack-slf4j/base.rb
9
8
  lib/rjack-slf4j.rb
10
9
  lib/rjack-slf4j/jul-to-slf4j.rb
11
10
  lib/rjack-slf4j/jul.rb
12
11
  lib/rjack-slf4j/mdc.rb
12
+ test/example_jul_to_slf4j.rb
13
13
  test/test_slf4j.rb
14
14
  lib/rjack-slf4j/jcl-over-slf4j.rb
15
15
  lib/rjack-slf4j/jcl.rb
data/README.rdoc CHANGED
@@ -36,7 +36,7 @@ components in a JRuby application.
36
36
 
37
37
  === rjack-slf4j gem
38
38
 
39
- Copyright (c) 2008-2009 David Kellum
39
+ Copyright (c) 2008-2010 David Kellum
40
40
  All rights reserved.
41
41
 
42
42
  The SLF4J ruby wrapper and gem packaging is released under the same
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (C) 2008-2009 David Kellum
2
+ # Copyright (c) 2008-2010 David Kellum
3
3
  #
4
4
  # Permission is hereby granted, free of charge, to any person
5
5
  # obtaining a copy of this software and associated documentation files
@@ -28,7 +28,7 @@ module RJack
28
28
  # SLF4J-java version
29
29
  SLF4J_VERSION = '1.5.11'
30
30
  # SLF4J gem version
31
- VERSION = SLF4J_VERSION + '.0'
31
+ VERSION = SLF4J_VERSION + '.1'
32
32
 
33
33
  SLF4J_DIR = File.dirname(__FILE__) # :nodoc:
34
34
 
@@ -1,3 +1,27 @@
1
+ #--
2
+ # Copyright (c) 2008-2010 David Kellum
3
+ # All rights reserved.
4
+ #
5
+ # Permission is hereby granted, free of charge, to any person obtaining
6
+ # a copy of this software and associated documentation files (the
7
+ # "Software"), to deal in the Software without restriction, including
8
+ # without limitation the rights to use, copy, modify, merge, publish,
9
+ # distribute, sublicense, and/or sell copies of the Software, and to
10
+ # permit persons to whom the Software is furnished to do so, subject to
11
+ # 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 BE
20
+ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
+ #++
24
+
1
25
  require 'rjack-slf4j'
2
26
  require 'rjack-slf4j/jul'
3
27
 
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (C) 2009 David Kellum
2
+ # Copyright (c) 2008-2010 David Kellum
3
3
  #
4
4
  # Permission is hereby granted, free of charge, to any person
5
5
  # obtaining a copy of this software and associated documentation files
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (C) 2008-2009 David Kellum
2
+ # Copyright (c) 2008-2010 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
data/lib/rjack-slf4j.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (C) 2008-2009 David Kellum
2
+ # Copyright (c) 2008-2010 David Kellum
3
3
  #
4
4
  # Permission is hereby granted, free of charge, to any person
5
5
  # obtaining a copy of this software and associated documentation files
@@ -0,0 +1,48 @@
1
+ #!/usr/bin/env jruby
2
+ #--
3
+ # Copyright (c) 2008-2010 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
+
26
+ $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
27
+
28
+ require 'rjack-slf4j/jul-to-slf4j'
29
+
30
+ # FIXME: Can't make this a standard test case, as test_slf4j.rb uses
31
+ # slf4j/jdk14 output adapter.
32
+
33
+ SLF4J::JUL.replace_root_handlers
34
+ SLF4J::JUL.root.level = SLF4J::JUL::INFO
35
+
36
+ julog = SLF4J::JUL[ "jul" ]
37
+ julog.level = SLF4J::JUL::FINEST
38
+
39
+ require 'rubygems'
40
+ require 'rjack-logback'
41
+ Logback.root.level = Logback::TRACE
42
+
43
+ slog = SLF4J['slf4j']
44
+ slog.debug "from slf4j"
45
+
46
+ julog.info( "INFO message" )
47
+ julog.finer( "FINER message" )
48
+ julog.finest( "FINEST message" )
data/test/test_slf4j.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
  #--
3
- # Copyright (c) 2008-2009 David Kellum
3
+ # Copyright (c) 2008-2010 David Kellum
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person
6
6
  # obtaining a copy of this software and associated documentation files
@@ -43,6 +43,7 @@ class TestHandler < java.util.logging.Handler
43
43
  attr_accessor :count, :last
44
44
 
45
45
  def initialize
46
+ super
46
47
  reset
47
48
  end
48
49
 
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rjack-slf4j
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.11.0
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 5
8
+ - 11
9
+ - 1
10
+ version: 1.5.11.1
5
11
  platform: java
6
12
  authors:
7
13
  - David Kellum
@@ -9,19 +15,23 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-03-06 00:00:00 -08:00
18
+ date: 2010-04-21 00:00:00 -07:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rjack-tarpit
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
20
25
  requirements:
21
26
  - - ~>
22
27
  - !ruby/object:Gem::Version
23
- version: 1.2.0
24
- version:
28
+ segments:
29
+ - 1
30
+ - 2
31
+ - 1
32
+ version: 1.2.1
33
+ type: :development
34
+ version_requirements: *id001
25
35
  description: |-
26
36
  A JRuby adaption and gem packaging of the
27
37
  {Simple Logging Facade for Java}[http://www.slf4j.org/].
@@ -45,18 +55,18 @@ extra_rdoc_files:
45
55
  - README.rdoc
46
56
  - History.rdoc
47
57
  files:
48
- - Manifest.static
58
+ - History.rdoc
49
59
  - Manifest.txt
50
60
  - README.rdoc
51
- - History.rdoc
52
61
  - Rakefile
53
- - pom.xml
54
62
  - assembly.xml
63
+ - pom.xml
55
64
  - lib/rjack-slf4j/base.rb
56
65
  - lib/rjack-slf4j.rb
57
66
  - lib/rjack-slf4j/jul-to-slf4j.rb
58
67
  - lib/rjack-slf4j/jul.rb
59
68
  - lib/rjack-slf4j/mdc.rb
69
+ - test/example_jul_to_slf4j.rb
60
70
  - test/test_slf4j.rb
61
71
  - lib/rjack-slf4j/jcl-over-slf4j.rb
62
72
  - lib/rjack-slf4j/jcl.rb
@@ -88,18 +98,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
88
98
  requirements:
89
99
  - - ">="
90
100
  - !ruby/object:Gem::Version
101
+ segments:
102
+ - 0
91
103
  version: "0"
92
- version:
93
104
  required_rubygems_version: !ruby/object:Gem::Requirement
94
105
  requirements:
95
106
  - - ">="
96
107
  - !ruby/object:Gem::Version
108
+ segments:
109
+ - 0
97
110
  version: "0"
98
- version:
99
111
  requirements: []
100
112
 
101
113
  rubyforge_project: rjack
102
- rubygems_version: 1.3.5
114
+ rubygems_version: 1.3.6
103
115
  signing_key:
104
116
  specification_version: 3
105
117
  summary: A JRuby adaption and gem packaging of the {Simple Logging Facade for Java}[http://www.slf4j.org/]
data/Manifest.static DELETED
@@ -1,13 +0,0 @@
1
- Manifest.static
2
- Manifest.txt
3
- README.rdoc
4
- History.rdoc
5
- Rakefile
6
- pom.xml
7
- assembly.xml
8
- lib/rjack-slf4j/base.rb
9
- lib/rjack-slf4j.rb
10
- lib/rjack-slf4j/jul-to-slf4j.rb
11
- lib/rjack-slf4j/jul.rb
12
- lib/rjack-slf4j/mdc.rb
13
- test/test_slf4j.rb