rjack-logback 1.3.0-java → 1.4.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Manifest.txt +3 -3
- data/README.rdoc +1 -1
- data/Rakefile +4 -35
- data/lib/rjack-logback/base.rb +3 -3
- data/lib/rjack-logback/{logback-access-1.0.0.jar → logback-access-1.0.6.jar} +0 -0
- data/lib/rjack-logback/logback-classic-1.0.6.jar +0 -0
- data/lib/rjack-logback/{logback-core-1.0.0.jar → logback-core-1.0.6.jar} +0 -0
- data/lib/rjack-logback.rb +1 -1
- data/pom.xml +2 -2
- data/test/test_logback.rb +11 -8
- metadata +35 -24
- data/.gemtest +0 -0
- data/lib/rjack-logback/logback-classic-1.0.0.jar +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
@@ -8,6 +8,6 @@ lib/rjack-logback/base.rb
|
|
8
8
|
lib/rjack-logback.rb
|
9
9
|
lib/rjack-logback/access.rb
|
10
10
|
test/test_logback.rb
|
11
|
-
lib/rjack-logback/logback-access-1.0.
|
12
|
-
lib/rjack-logback/logback-classic-1.0.
|
13
|
-
lib/rjack-logback/logback-core-1.0.
|
11
|
+
lib/rjack-logback/logback-access-1.0.6.jar
|
12
|
+
lib/rjack-logback/logback-classic-1.0.6.jar
|
13
|
+
lib/rjack-logback/logback-core-1.0.6.jar
|
data/README.rdoc
CHANGED
@@ -23,7 +23,7 @@ packaged in the {slf4j gem}[http://rjack.rubyforge.org/slf4j/].
|
|
23
23
|
|
24
24
|
=== rjack-logback gem
|
25
25
|
|
26
|
-
Copyright (c) 2008-
|
26
|
+
Copyright (c) 2008-2012 David Kellum
|
27
27
|
|
28
28
|
rjack-logback is free software: you can redistribute it and/or
|
29
29
|
modify it under the terms of either of following licenses:
|
data/Rakefile
CHANGED
@@ -1,43 +1,12 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'rjack-logback/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
|
12
|
-
t = TarPit.new( 'rjack-logback', Logback::VERSION, :java_platform )
|
7
|
+
RJack::TarPit.new( 'rjack-logback' ) do |tp|
|
13
8
|
|
14
|
-
|
15
|
-
|
16
|
-
h.extra_deps << [ 'rjack-slf4j', '~> 1.6.0' ]
|
17
|
-
h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/logback"
|
18
|
-
end
|
9
|
+
tp.rdoc_destinations <<
|
10
|
+
'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/logback'
|
19
11
|
|
20
|
-
t.jars = %w{ core classic access }.map do |n|
|
21
|
-
"logback-#{n}-#{ Logback::LOGBACK_VERSION }.jar"
|
22
12
|
end
|
23
|
-
|
24
|
-
file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
|
25
|
-
|
26
|
-
t.assembly_version = 1.0
|
27
|
-
|
28
|
-
task :check_pom_deps do
|
29
|
-
t.test_line_match( 'pom.xml',
|
30
|
-
%r[<version>#{ Logback::LOGBACK_VERSION }</version>] )
|
31
|
-
end
|
32
|
-
task :check_history_version do
|
33
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
34
|
-
end
|
35
|
-
task :check_history_date do
|
36
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
37
|
-
end
|
38
|
-
|
39
|
-
task :gem => [ :check_pom_deps, :check_history_version ]
|
40
|
-
task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
|
41
|
-
task :push => [ :check_history_date ]
|
42
|
-
|
43
|
-
t.define_tasks
|
data/lib/rjack-logback/base.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c) 2008-
|
2
|
+
# Copyright (c) 2008-2012 David Kellum
|
3
3
|
#
|
4
4
|
# rjack-logback is free software: you can redistribute it and/or
|
5
5
|
# modify it under the terms of either of following licenses:
|
@@ -15,10 +15,10 @@
|
|
15
15
|
module RJack
|
16
16
|
module Logback
|
17
17
|
# Logback java version
|
18
|
-
LOGBACK_VERSION = '1.0.
|
18
|
+
LOGBACK_VERSION = '1.0.6'
|
19
19
|
|
20
20
|
# Logback gem version
|
21
|
-
VERSION = '1.
|
21
|
+
VERSION = '1.4.0'
|
22
22
|
|
23
23
|
LOGBACK_DIR = File.dirname(__FILE__) # :nodoc:
|
24
24
|
end
|
Binary file
|
Binary file
|
Binary file
|
data/lib/rjack-logback.rb
CHANGED
data/pom.xml
CHANGED
@@ -16,14 +16,14 @@
|
|
16
16
|
<dependency>
|
17
17
|
<groupId>ch.qos.logback</groupId>
|
18
18
|
<artifactId>logback-classic</artifactId>
|
19
|
-
<version>1.0.
|
19
|
+
<version>1.0.6</version>
|
20
20
|
<scope>runtime</scope>
|
21
21
|
</dependency>
|
22
22
|
|
23
23
|
<dependency>
|
24
24
|
<groupId>ch.qos.logback</groupId>
|
25
25
|
<artifactId>logback-access</artifactId>
|
26
|
-
<version>1.0.
|
26
|
+
<version>1.0.6</version>
|
27
27
|
<scope>runtime</scope>
|
28
28
|
</dependency>
|
29
29
|
|
data/test/test_logback.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
#!/usr/bin/env jruby
|
2
|
+
#.hashdot.profile += jruby-shortlived
|
3
|
+
|
2
4
|
#--
|
3
|
-
# Copyright (c) 2008-
|
5
|
+
# Copyright (c) 2008-2012 David Kellum
|
4
6
|
#
|
5
7
|
# rjack-logback is free software: you can redistribute it and/or
|
6
8
|
# modify it under the terms of either of following licenses:
|
@@ -14,11 +16,11 @@
|
|
14
16
|
#++
|
15
17
|
|
16
18
|
require 'rubygems'
|
17
|
-
|
19
|
+
require 'bundler/setup'
|
20
|
+
|
18
21
|
require 'rjack-slf4j'
|
19
22
|
require 'rjack-slf4j/jul-to-slf4j'
|
20
23
|
|
21
|
-
$LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
|
22
24
|
require 'rjack-logback'
|
23
25
|
|
24
26
|
require 'rjack-slf4j/mdc'
|
@@ -26,7 +28,8 @@ require 'rjack-slf4j/mdc'
|
|
26
28
|
# Test load works
|
27
29
|
require 'rjack-logback/access'
|
28
30
|
|
29
|
-
require '
|
31
|
+
require 'minitest/unit'
|
32
|
+
require 'minitest/autorun'
|
30
33
|
|
31
34
|
class TestAppender
|
32
35
|
import 'ch.qos.logback.core.Appender'
|
@@ -55,7 +58,7 @@ class TestAppender
|
|
55
58
|
end
|
56
59
|
end
|
57
60
|
|
58
|
-
class TestLevelSet <
|
61
|
+
class TestLevelSet < MiniTest::Unit::TestCase
|
59
62
|
include RJack
|
60
63
|
|
61
64
|
def setup
|
@@ -127,7 +130,7 @@ class TestLevelSet < Test::Unit::TestCase
|
|
127
130
|
|
128
131
|
end
|
129
132
|
|
130
|
-
class TestJULPropagator <
|
133
|
+
class TestJULPropagator < MiniTest::Unit::TestCase
|
131
134
|
include RJack
|
132
135
|
|
133
136
|
def test_jul_propagator
|
@@ -152,7 +155,7 @@ class TestJULPropagator < Test::Unit::TestCase
|
|
152
155
|
|
153
156
|
end
|
154
157
|
|
155
|
-
class TestConfigure <
|
158
|
+
class TestConfigure < MiniTest::Unit::TestCase
|
156
159
|
include RJack
|
157
160
|
|
158
161
|
def test_file_appender_config
|
@@ -186,7 +189,7 @@ class TestConfigure < Test::Unit::TestCase
|
|
186
189
|
end
|
187
190
|
|
188
191
|
def test_console_config
|
189
|
-
log_name = "#{self.class.name}
|
192
|
+
log_name = "#{self.class.name}.test_console_config"
|
190
193
|
appender = TestAppender.new
|
191
194
|
Logback.configure do
|
192
195
|
console = Logback::ConsoleAppender.new do |a|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rjack-logback
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.4.0
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- David Kellum
|
@@ -10,35 +10,42 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date:
|
13
|
+
date: 2012-06-09 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rjack-slf4j
|
17
|
-
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
19
18
|
none: false
|
20
19
|
requirements:
|
21
20
|
- - ~>
|
22
21
|
- !ruby/object:Gem::Version
|
23
22
|
version: 1.6.0
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
24
25
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
|
-
name:
|
27
|
+
name: minitest
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "2.2"
|
34
|
+
requirement: *id002
|
28
35
|
prerelease: false
|
29
|
-
|
36
|
+
type: :development
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: rjack-tarpit
|
39
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
30
40
|
none: false
|
31
41
|
requirements:
|
32
42
|
- - ~>
|
33
43
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
44
|
+
version: "2.0"
|
45
|
+
requirement: *id003
|
46
|
+
prerelease: false
|
35
47
|
type: :development
|
36
|
-
|
37
|
-
description: |-
|
38
|
-
The Logback ruby gem packages the Logback[http://logback.qos.ch/] java log
|
39
|
-
writer, and provides a JRuby facade for programmatic Logback
|
40
|
-
setup. Logback implements the SLF4J[http://www.slf4j.org/] SPI
|
41
|
-
packaged in the {slf4j gem}[http://rjack.rubyforge.org/slf4j/].
|
48
|
+
description: The Logback ruby gem packages the Logback java log writer, and provides a JRuby facade for programmatic Logback setup. Logback implements the SLF4J SPI packaged in the slf4j gem.
|
42
49
|
email:
|
43
50
|
- dek-oss@gravitext.com
|
44
51
|
executables: []
|
@@ -46,7 +53,6 @@ executables: []
|
|
46
53
|
extensions: []
|
47
54
|
|
48
55
|
extra_rdoc_files:
|
49
|
-
- Manifest.txt
|
50
56
|
- History.rdoc
|
51
57
|
- README.rdoc
|
52
58
|
files:
|
@@ -60,10 +66,9 @@ files:
|
|
60
66
|
- lib/rjack-logback.rb
|
61
67
|
- lib/rjack-logback/access.rb
|
62
68
|
- test/test_logback.rb
|
63
|
-
- lib/rjack-logback/logback-access-1.0.
|
64
|
-
- lib/rjack-logback/logback-classic-1.0.
|
65
|
-
- lib/rjack-logback/logback-core-1.0.
|
66
|
-
- .gemtest
|
69
|
+
- lib/rjack-logback/logback-access-1.0.6.jar
|
70
|
+
- lib/rjack-logback/logback-classic-1.0.6.jar
|
71
|
+
- lib/rjack-logback/logback-core-1.0.6.jar
|
67
72
|
homepage: http://rjack.rubyforge.org/logback
|
68
73
|
licenses: []
|
69
74
|
|
@@ -78,19 +83,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
78
83
|
requirements:
|
79
84
|
- - ">="
|
80
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 2
|
87
|
+
segments:
|
88
|
+
- 0
|
81
89
|
version: "0"
|
82
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
91
|
none: false
|
84
92
|
requirements:
|
85
93
|
- - ">="
|
86
94
|
- !ruby/object:Gem::Version
|
95
|
+
hash: 2
|
96
|
+
segments:
|
97
|
+
- 0
|
87
98
|
version: "0"
|
88
99
|
requirements: []
|
89
100
|
|
90
|
-
rubyforge_project:
|
91
|
-
rubygems_version: 1.8.
|
101
|
+
rubyforge_project:
|
102
|
+
rubygems_version: 1.8.15
|
92
103
|
signing_key:
|
93
104
|
specification_version: 3
|
94
|
-
summary: The Logback ruby gem packages the Logback
|
95
|
-
test_files:
|
96
|
-
|
105
|
+
summary: The Logback ruby gem packages the Logback java log writer, and provides a JRuby facade for programmatic Logback setup.
|
106
|
+
test_files: []
|
107
|
+
|
data/.gemtest
DELETED
File without changes
|
Binary file
|