rjack-slf4j 1.6.4.0-java → 1.6.5.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,7 @@
1
+ === 1.6.5.0 (2012-6-9)
2
+ * Upgraded to SLF4J 1.6.5
3
+ * Update to tarpit ~> 2.0 (build)
4
+
1
5
  === 1.6.4.0 (2011-11-5)
2
6
  * Upgraded to SLF4J 1.6.4
3
7
 
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.6.4.jar
22
- lib/rjack-slf4j/jul-to-slf4j-1.6.4.jar
23
- lib/rjack-slf4j/log4j-over-slf4j-1.6.4.jar
24
- lib/rjack-slf4j/slf4j-api-1.6.4.jar
25
- lib/rjack-slf4j/slf4j-jcl-1.6.4.jar
26
- lib/rjack-slf4j/slf4j-jdk14-1.6.4.jar
27
- lib/rjack-slf4j/slf4j-log4j12-1.6.4.jar
28
- lib/rjack-slf4j/slf4j-nop-1.6.4.jar
29
- lib/rjack-slf4j/slf4j-simple-1.6.4.jar
21
+ lib/rjack-slf4j/jcl-over-slf4j-1.6.5.jar
22
+ lib/rjack-slf4j/jul-to-slf4j-1.6.5.jar
23
+ lib/rjack-slf4j/log4j-over-slf4j-1.6.5.jar
24
+ lib/rjack-slf4j/slf4j-api-1.6.5.jar
25
+ lib/rjack-slf4j/slf4j-jcl-1.6.5.jar
26
+ lib/rjack-slf4j/slf4j-jdk14-1.6.5.jar
27
+ lib/rjack-slf4j/slf4j-log4j12-1.6.5.jar
28
+ lib/rjack-slf4j/slf4j-nop-1.6.5.jar
29
+ lib/rjack-slf4j/slf4j-simple-1.6.5.jar
data/README.rdoc CHANGED
@@ -37,7 +37,7 @@ components in a JRuby application.
37
37
 
38
38
  === rjack-slf4j gem
39
39
 
40
- Copyright (c) 2008-2011 David Kellum
40
+ Copyright (c) 2008-2012 David Kellum
41
41
  All rights reserved.
42
42
 
43
43
  The SLF4J ruby wrapper and gem packaging is released under the same
data/Rakefile CHANGED
@@ -1,64 +1,24 @@
1
1
  # -*- ruby -*-
2
2
 
3
- $LOAD_PATH << './lib'
4
- require 'rjack-slf4j/base'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.4'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- t = RJack::TarPit.new( 'rjack-slf4j', RJack::SLF4J::VERSION, :java_platform )
11
-
12
- t.specify do |h|
13
- h.developer( "David Kellum", "dek-oss@gravitext.com" )
14
- h.rdoc_locations << "dekellum@rubyforge.org:/var/www/gforge-projects/rjack/slf4j"
15
- end
16
-
17
- loaders =
18
- begin
19
- l = RJack::SLF4J::ADAPTERS.flatten.compact
20
- l.delete( "jul-to-slf4j" ) # exception: maintained as source
21
- l
22
- end
23
-
24
- t.generated_files = loaders.map { |adp| "lib/#{t.name}/#{adp}.rb" }
25
-
26
- t.jars =
27
- begin
28
- j = [ 'slf4j-api' ]
29
- j += RJack::SLF4J::ADAPTERS.map { |i,o| [ i, "slf4j-#{o}" ] }.flatten.compact
30
- j.map { |n| "#{n}-#{RJack::SLF4J::SLF4J_VERSION}.jar" }
31
- end
32
-
33
- file 'Manifest.txt' => [ "lib/#{t.name}/base.rb" ]
7
+ RJack::TarPit.new( 'rjack-slf4j' ) do |tp|
34
8
 
35
- t.assembly_version = 1.0
9
+ tp.rdoc_destinations <<
10
+ 'dekellum@rubyforge.org:/var/www/gforge-projects/rjack/slf4j'
36
11
 
37
- task :check_pom_deps do
38
- t.test_line_match( 'pom.xml',
39
- %r[<version>#{RJack::SLF4J::SLF4J_VERSION}</version>] )
40
- end
41
-
42
- task :check_history_version do
43
- t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
44
- end
45
- task :check_history_date do
46
- t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
47
- end
48
-
49
- task :gem => [ :check_pom_deps, :check_history_version ]
50
- task :tag => [ :check_pom_deps, :check_history_version, :check_history_date ]
51
- task :push => [ :check_history_date ]
52
-
53
- t.define_tasks
54
-
55
- loaders.each do |adapter|
56
- file "lib/#{t.name}/#{adapter}.rb" => [ "lib/#{t.name}/base.rb", 'Rakefile' ] do
57
- open( "lib/#{t.name}/#{adapter}.rb", 'w' ) do |out|
58
- out.write <<END
12
+ tp.spec.loaders.each do |adapter|
13
+ file( "lib/rjack-slf4j/#{adapter}.rb" =>
14
+ [ "lib/rjack-slf4j/base.rb", 'Rakefile' ] ) do
15
+ open( "lib/rjack-slf4j/#{adapter}.rb", 'w' ) do |out|
16
+ out.write <<END
59
17
  require 'rjack-slf4j'
60
18
  RJack::SLF4J.require_adapter( '#{adapter}' )
61
19
  END
20
+ end
62
21
  end
63
22
  end
23
+
64
24
  end
data/lib/rjack-slf4j.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2011 David Kellum
2
+ # Copyright (c) 2008-2012 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-2011 David Kellum
2
+ # Copyright (c) 2008-2012 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
@@ -26,7 +26,7 @@ module RJack
26
26
  module SLF4J
27
27
 
28
28
  # SLF4J-java version
29
- SLF4J_VERSION = '1.6.4'
29
+ SLF4J_VERSION = '1.6.5'
30
30
  # SLF4J gem version
31
31
  VERSION = SLF4J_VERSION + '.0'
32
32
 
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2011 David Kellum
2
+ # Copyright (c) 2008-2012 David Kellum
3
3
  # All rights reserved.
4
4
  #
5
5
  # Permission is hereby granted, free of charge, to any person obtaining
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2008-2011 David Kellum
2
+ # Copyright (c) 2008-2012 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-2011 David Kellum
2
+ # Copyright (c) 2008-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
Binary file
data/pom.xml CHANGED
@@ -16,34 +16,34 @@
16
16
  <dependency>
17
17
  <groupId>org.slf4j</groupId>
18
18
  <artifactId>slf4j-api</artifactId>
19
- <version>1.6.4</version>
19
+ <version>1.6.5</version>
20
20
  </dependency>
21
21
 
22
22
  <dependency>
23
23
  <groupId>org.slf4j</groupId>
24
24
  <artifactId>jcl-over-slf4j</artifactId>
25
- <version>1.6.4</version>
25
+ <version>1.6.5</version>
26
26
  <scope>runtime</scope>
27
27
  </dependency>
28
28
 
29
29
  <dependency>
30
30
  <groupId>org.slf4j</groupId>
31
31
  <artifactId>jul-to-slf4j</artifactId>
32
- <version>1.6.4</version>
32
+ <version>1.6.5</version>
33
33
  <scope>runtime</scope>
34
34
  </dependency>
35
35
 
36
36
  <dependency>
37
37
  <groupId>org.slf4j</groupId>
38
38
  <artifactId>log4j-over-slf4j</artifactId>
39
- <version>1.6.4</version>
39
+ <version>1.6.5</version>
40
40
  <scope>runtime</scope>
41
41
  </dependency>
42
42
 
43
43
  <dependency>
44
44
  <groupId>org.slf4j</groupId>
45
45
  <artifactId>slf4j-jdk14</artifactId>
46
- <version>1.6.4</version>
46
+ <version>1.6.5</version>
47
47
  <scope>runtime</scope>
48
48
  <optional>true</optional>
49
49
  </dependency>
@@ -51,7 +51,7 @@
51
51
  <dependency>
52
52
  <groupId>org.slf4j</groupId>
53
53
  <artifactId>slf4j-log4j12</artifactId>
54
- <version>1.6.4</version>
54
+ <version>1.6.5</version>
55
55
  <scope>runtime</scope>
56
56
  <optional>true</optional>
57
57
  </dependency>
@@ -59,7 +59,7 @@
59
59
  <dependency>
60
60
  <groupId>org.slf4j</groupId>
61
61
  <artifactId>slf4j-jcl</artifactId>
62
- <version>1.6.4</version>
62
+ <version>1.6.5</version>
63
63
  <scope>runtime</scope>
64
64
  <optional>true</optional>
65
65
  </dependency>
@@ -67,7 +67,7 @@
67
67
  <dependency>
68
68
  <groupId>org.slf4j</groupId>
69
69
  <artifactId>slf4j-simple</artifactId>
70
- <version>1.6.4</version>
70
+ <version>1.6.5</version>
71
71
  <scope>runtime</scope>
72
72
  <optional>true</optional>
73
73
  </dependency>
@@ -75,7 +75,7 @@
75
75
  <dependency>
76
76
  <groupId>org.slf4j</groupId>
77
77
  <artifactId>slf4j-nop</artifactId>
78
- <version>1.6.4</version>
78
+ <version>1.6.5</version>
79
79
  <scope>runtime</scope>
80
80
  <optional>true</optional>
81
81
  </dependency>
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env jruby
2
2
  #--
3
- # Copyright (c) 2008-2011 David Kellum
3
+ # Copyright (c) 2008-2012 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
data/test/test_slf4j.rb CHANGED
@@ -1,6 +1,8 @@
1
1
  #!/usr/bin/env jruby
2
+ #.hashdot.profile += jruby-shortlived
3
+
2
4
  #--
3
- # Copyright (c) 2008-2011 David Kellum
5
+ # Copyright (c) 2008-2012 David Kellum
4
6
  #
5
7
  # Permission is hereby granted, free of charge, to any person
6
8
  # obtaining a copy of this software and associated documentation files
@@ -23,7 +25,8 @@
23
25
  # SOFTWARE.
24
26
  #++
25
27
 
26
- $LOAD_PATH.unshift File.join( File.dirname(__FILE__), "..", "lib" )
28
+ require 'rubygems'
29
+ require 'bundler/setup'
27
30
 
28
31
  require 'rjack-slf4j'
29
32
 
@@ -37,7 +40,8 @@ require 'rjack-slf4j/mdc'
37
40
  require 'rjack-slf4j/jcl-over-slf4j'
38
41
  require 'rjack-slf4j/log4j-over-slf4j'
39
42
 
40
- require 'test/unit'
43
+ require 'minitest/unit'
44
+ require 'minitest/autorun'
41
45
 
42
46
  class TestHandler < java.util.logging.Handler
43
47
  attr_accessor :count, :last
@@ -68,7 +72,7 @@ module Foo
68
72
  end
69
73
  end
70
74
 
71
- class TestSlf4j < Test::Unit::TestCase
75
+ class TestSlf4j < MiniTest::Unit::TestCase
72
76
  include RJack
73
77
  JdkLogger = java.util.logging.Logger
74
78
 
@@ -139,7 +143,7 @@ class TestSlf4j < Test::Unit::TestCase
139
143
  end
140
144
 
141
145
  def test_circular_ban
142
- assert_raise( RuntimeError ) do
146
+ assert_raises( RuntimeError ) do
143
147
  require 'rjack-slf4j/jul-to-slf4j'
144
148
  end
145
149
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rjack-slf4j
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.6.4.0
5
+ version: 1.6.5.0
6
6
  platform: java
7
7
  authors:
8
8
  - David Kellum
@@ -10,31 +10,31 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-06 00:00:00 Z
13
+ date: 2012-06-09 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- 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
17
24
  prerelease: false
18
- 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
19
29
  none: false
20
30
  requirements:
21
31
  - - ~>
22
32
  - !ruby/object:Gem::Version
23
- version: 1.4.0
33
+ version: "2.0"
34
+ requirement: *id002
35
+ prerelease: false
24
36
  type: :development
25
- version_requirements: *id001
26
- description: |-
27
- A JRuby adaption and gem packaging of the
28
- {Simple Logging Facade for Java}[http://www.slf4j.org/].
29
- Provides all jar dependencies and a Ruby Logger compatible
30
- facade.
31
-
32
- SLF4J is a java logging abstraction and set of adapters to various
33
- concrete logging implementations and legacy logging APIs. The slf4j
34
- gem adds a ruby core Logger compatible facade to SLF4J, and makes any
35
- needed adapters available to JRuby applications. This makes it
36
- possible to unify and control logging output of both java and ruby
37
- components in a JRuby application.
37
+ description: A JRuby adaption and gem packaging of the Simple Logging Facade for Java. Provides all jar dependencies and a Ruby Logger compatible facade.
38
38
  email:
39
39
  - dek-oss@gravitext.com
40
40
  executables: []
@@ -42,7 +42,6 @@ executables: []
42
42
  extensions: []
43
43
 
44
44
  extra_rdoc_files:
45
- - Manifest.txt
46
45
  - History.rdoc
47
46
  - README.rdoc
48
47
  files:
@@ -66,16 +65,15 @@ files:
66
65
  - lib/rjack-slf4j/log4j12.rb
67
66
  - lib/rjack-slf4j/nop.rb
68
67
  - lib/rjack-slf4j/simple.rb
69
- - lib/rjack-slf4j/jcl-over-slf4j-1.6.4.jar
70
- - lib/rjack-slf4j/jul-to-slf4j-1.6.4.jar
71
- - lib/rjack-slf4j/log4j-over-slf4j-1.6.4.jar
72
- - lib/rjack-slf4j/slf4j-api-1.6.4.jar
73
- - lib/rjack-slf4j/slf4j-jcl-1.6.4.jar
74
- - lib/rjack-slf4j/slf4j-jdk14-1.6.4.jar
75
- - lib/rjack-slf4j/slf4j-log4j12-1.6.4.jar
76
- - lib/rjack-slf4j/slf4j-nop-1.6.4.jar
77
- - lib/rjack-slf4j/slf4j-simple-1.6.4.jar
78
- - .gemtest
68
+ - lib/rjack-slf4j/jcl-over-slf4j-1.6.5.jar
69
+ - lib/rjack-slf4j/jul-to-slf4j-1.6.5.jar
70
+ - lib/rjack-slf4j/log4j-over-slf4j-1.6.5.jar
71
+ - lib/rjack-slf4j/slf4j-api-1.6.5.jar
72
+ - lib/rjack-slf4j/slf4j-jcl-1.6.5.jar
73
+ - lib/rjack-slf4j/slf4j-jdk14-1.6.5.jar
74
+ - lib/rjack-slf4j/slf4j-log4j12-1.6.5.jar
75
+ - lib/rjack-slf4j/slf4j-nop-1.6.5.jar
76
+ - lib/rjack-slf4j/slf4j-simple-1.6.5.jar
79
77
  homepage: http://rjack.rubyforge.org/slf4j
80
78
  licenses: []
81
79
 
@@ -90,19 +88,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
88
  requirements:
91
89
  - - ">="
92
90
  - !ruby/object:Gem::Version
91
+ hash: 2
92
+ segments:
93
+ - 0
93
94
  version: "0"
94
95
  required_rubygems_version: !ruby/object:Gem::Requirement
95
96
  none: false
96
97
  requirements:
97
98
  - - ">="
98
99
  - !ruby/object:Gem::Version
100
+ hash: 2
101
+ segments:
102
+ - 0
99
103
  version: "0"
100
104
  requirements: []
101
105
 
102
- rubyforge_project: rjack-slf4j
103
- rubygems_version: 1.8.9
106
+ rubyforge_project:
107
+ rubygems_version: 1.8.15
104
108
  signing_key:
105
109
  specification_version: 3
106
- summary: A JRuby adaption and gem packaging of the {Simple Logging Facade for Java}[http://www.slf4j.org/]
107
- test_files:
108
- - test/test_slf4j.rb
110
+ summary: A JRuby adaption and gem packaging of the Simple Logging Facade for Java.
111
+ test_files: []
112
+
data/.gemtest DELETED
File without changes
Binary file
Binary file