apache-log4j-2 2.17.1.8-java → 2.25.3.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.
- checksums.yaml +4 -4
- data/README.md +16 -19
- data/Rakefile +13 -19
- data/apache-log4j-2.gemspec +11 -19
- data/lib/log4j-2/log4j-api-2.25.3.jar +0 -0
- data/lib/log4j-2/log4j-core-2.25.3.jar +0 -0
- data/lib/log4j-2/log4j-slf4j-impl-2.25.3.jar +0 -0
- metadata +38 -23
- data/lib/log4j-2/log4j-api-2.17.1.jar +0 -0
- data/lib/log4j-2/log4j-core-2.17.1.jar +0 -0
- data/lib/log4j-2/log4j-slf4j-impl-2.17.1.jar +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b54bf0b5515cb561118216c1321a57cf2aa41d3eeb5c376012ea8da8bf49d97
|
|
4
|
+
data.tar.gz: c31060d311d63e6d1e31322d1b77c18d2fca9df06400b1363685bdd2cd789346
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db3e62a27b1d464e1456f278018091b549a2b69f077cd9dbacaeda41b628ea3e8b1f32af31e1052df0fc992db4f961ad7700fccd2bbc2a4561e84b7a83907fed
|
|
7
|
+
data.tar.gz: 758f88fde9c0ed8945ece1b536bb5b546f0724428656e16e5688232cfe256b1c0aed00816fcf6cdca65d50ad23797518cd7e5456ca542a2162706453efa721f5
|
data/README.md
CHANGED
|
@@ -13,34 +13,31 @@ require 'log4j-2'
|
|
|
13
13
|
|
|
14
14
|
To setup the development environment for building the gem, some dependencies must be installed.
|
|
15
15
|
|
|
16
|
-
### Install asdf
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
### Install mise-en-place
|
|
18
|
+
|
|
19
|
+
The [mise] CLI tool used to manage multiple runtime versions.
|
|
20
|
+
|
|
21
|
+
See: https://mise.jdx.dev/getting-started.html
|
|
19
22
|
|
|
20
23
|
```sh
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
source "${HOME}/.asdf/asdf.sh"; source "${HOME}/.asdf/completions/asdf.bash"
|
|
24
|
+
curl https://mise.jdx.dev/install.sh | sh
|
|
25
|
+
~/.local/bin/mise --version
|
|
24
26
|
```
|
|
25
27
|
|
|
26
|
-
|
|
27
|
-
### Install required runtime software
|
|
28
|
-
|
|
29
|
-
Download and install the latest version of the [Java JDK].
|
|
28
|
+
Enable mise activation in future zsh sessions.
|
|
30
29
|
|
|
31
30
|
```sh
|
|
32
|
-
|
|
33
|
-
asdf install java openjdk-13.0.2
|
|
31
|
+
echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
|
|
34
32
|
```
|
|
35
33
|
|
|
36
34
|
|
|
37
|
-
|
|
35
|
+
### Install required runtime software
|
|
36
|
+
|
|
37
|
+
Download and install the latest version of the [Java JDK].
|
|
38
38
|
|
|
39
39
|
```sh
|
|
40
|
-
|
|
41
|
-
pushd "${HOME}/.asdf/plugins/ruby/ruby-build"; git fetch origin; git pull origin master; popd
|
|
42
|
-
asdf list all ruby > /dev/null
|
|
43
|
-
asdf install ruby jruby-9.3.2.0
|
|
40
|
+
mise install
|
|
44
41
|
```
|
|
45
42
|
|
|
46
43
|
|
|
@@ -49,7 +46,7 @@ asdf install ruby jruby-9.3.2.0
|
|
|
49
46
|
Use bundler to install the required gem dependencies.
|
|
50
47
|
|
|
51
48
|
```sh
|
|
52
|
-
|
|
49
|
+
rm -rf Gemfile.lock vendor
|
|
53
50
|
bundle install
|
|
54
51
|
```
|
|
55
52
|
|
|
@@ -59,7 +56,7 @@ bundle install
|
|
|
59
56
|
To clean the project, run unit tests, build the gem file, and verify that the built artifact works, execute:
|
|
60
57
|
|
|
61
58
|
```sh
|
|
62
|
-
bundle exec rake clobber package spec gem verify
|
|
59
|
+
bundle exec rake clean clobber package spec gem verify
|
|
63
60
|
```
|
|
64
61
|
|
|
65
62
|
|
|
@@ -72,7 +69,7 @@ bundle exec rake publish
|
|
|
72
69
|
```
|
|
73
70
|
|
|
74
71
|
[license]: https://gitlab.com/nelsnelson/apache-log4j-2/blob/main/LICENSE.txt
|
|
75
|
-
[
|
|
72
|
+
[mise]: https://mise.jdx.dev/
|
|
76
73
|
[Java JDK]: https://www.java.com/en/download/
|
|
77
74
|
[JRuby]: https://jruby.org/download
|
|
78
75
|
[Apache Log4j 2]: https://logging.apache.org/log4j/2.x/
|
data/Rakefile
CHANGED
|
@@ -10,7 +10,7 @@ require 'rake/clean'
|
|
|
10
10
|
|
|
11
11
|
load "#{File.basename(__dir__)}.gemspec"
|
|
12
12
|
|
|
13
|
-
CLEAN.add File.join('lib', '**', '*.jar'), 'tmp'
|
|
13
|
+
CLEAN.add File.join('lib', '**', '*.jar'), File.join('tmp', '**', '*'), 'tmp'
|
|
14
14
|
CLOBBER.add '*.gem', File.join('ext', 'apache-maven-*'), File.join('ext', '.m2'), 'pkg'
|
|
15
15
|
|
|
16
16
|
desc 'Resolve dependencies'
|
|
@@ -19,14 +19,14 @@ task :dependencies do
|
|
|
19
19
|
GEM_SPEC.extensions.each { |path| require_relative path }
|
|
20
20
|
# Avoid invocation of the extension configurator upon user installation of gem
|
|
21
21
|
GEM_SPEC.extensions.clear
|
|
22
|
-
jar_paths = jars
|
|
23
|
-
FileUtils.cp
|
|
22
|
+
jar_paths = jars(File.join('org', 'apache', 'logging', 'log4j'))
|
|
23
|
+
FileUtils.cp(jar_paths, File.join('lib', 'log4j-2'))
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
desc 'Assemble the gem package'
|
|
27
27
|
task :package do
|
|
28
28
|
require 'fileutils'
|
|
29
|
-
GEM_SPEC.files =
|
|
29
|
+
GEM_SPEC.files = GEM_SPEC_FILES.call if defined?(GEM_SPEC_FILES)
|
|
30
30
|
gem_spec_name = GEM_SPEC.name
|
|
31
31
|
gem_spec_full_name = GEM_SPEC.full_name
|
|
32
32
|
package_dir_path = File.join('pkg', gem_spec_full_name)
|
|
@@ -56,7 +56,7 @@ task :gem do
|
|
|
56
56
|
gem_file_name = "#{GEM_SPEC.full_name}.gem"
|
|
57
57
|
gem_file_path = File.join(package_dir_path, gem_file_name)
|
|
58
58
|
project_path = File.expand_path(__dir__)
|
|
59
|
-
FileUtils.mv(gem_file_path, project_path) if File.
|
|
59
|
+
FileUtils.mv(gem_file_path, project_path) if File.exist? gem_file_path
|
|
60
60
|
end
|
|
61
61
|
task gem: [:spec, :package]
|
|
62
62
|
|
|
@@ -70,28 +70,24 @@ begin
|
|
|
70
70
|
|
|
71
71
|
desc 'Run unit tests'
|
|
72
72
|
RSpec::Core::RakeTask.new(:spec) do |task|
|
|
73
|
-
# Reload the gem spec version
|
|
74
|
-
GEM_SPEC.version = Log4j2::release_version
|
|
75
73
|
task.pattern = File.join('spec', 'rake', '*_spec.rb')
|
|
76
74
|
end
|
|
77
75
|
|
|
78
76
|
desc 'Run coverage'
|
|
79
77
|
RSpec::Core::RakeTask.new(:rcov) do |task|
|
|
80
|
-
# Reload the gem spec version
|
|
81
|
-
GEM_SPEC.version = Log4j2::release_version
|
|
82
78
|
task.rcov = true
|
|
83
79
|
task.pattern = File.join('spec', 'rake', '*_spec.rb')
|
|
84
80
|
end
|
|
85
81
|
|
|
86
82
|
desc 'Run gem verification tests'
|
|
87
83
|
RSpec::Core::RakeTask.new(:verify) do |task|
|
|
88
|
-
# Reload the gem spec version
|
|
89
|
-
GEM_SPEC.version = Log4j2::release_version
|
|
90
|
-
gem_spec_full_name = GEM_SPEC.full_name
|
|
91
|
-
gem_file_name = gem_spec_full_name + '.gem'
|
|
92
84
|
project_path = File.expand_path(__dir__)
|
|
85
|
+
gem_spec_full_name = GEM_SPEC.full_name
|
|
86
|
+
gem_file_name = "#{gem_spec_full_name}.gem"
|
|
93
87
|
gem_path = File.join(project_path, gem_file_name)
|
|
94
|
-
|
|
88
|
+
ENV['GEM_PATH'] = gem_path
|
|
89
|
+
ENV['GEM_SPEC_FULL_NAME'] = gem_spec_full_name
|
|
90
|
+
Rake::Task[:gem].invoke unless File.exist? gem_path
|
|
95
91
|
task.pattern = File.join('spec', 'verify', '*_spec.rb')
|
|
96
92
|
end
|
|
97
93
|
rescue LoadError
|
|
@@ -103,13 +99,11 @@ end
|
|
|
103
99
|
|
|
104
100
|
desc 'Upload gem to https://rubygems.org/'
|
|
105
101
|
task :publish do
|
|
106
|
-
# Reload the gem spec version
|
|
107
|
-
GEM_SPEC.version = Log4j2::release_version
|
|
108
|
-
gem_spec_full_name = GEM_SPEC.full_name
|
|
109
|
-
gem_file_name = gem_spec_full_name + '.gem'
|
|
110
102
|
project_path = File.expand_path(__dir__)
|
|
103
|
+
gem_spec_full_name = GEM_SPEC.full_name
|
|
104
|
+
gem_file_name = "#{gem_spec_full_name}.gem"
|
|
111
105
|
gem_path = File.join(project_path, gem_file_name)
|
|
112
|
-
Rake::Task[:gem].invoke unless File.
|
|
106
|
+
Rake::Task[:gem].invoke unless File.exist? gem_path
|
|
113
107
|
system('jgem', 'push', gem_path)
|
|
114
108
|
end
|
|
115
109
|
task publish: :verify
|
data/apache-log4j-2.gemspec
CHANGED
|
@@ -1,36 +1,28 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: apache-log4j-2 2.
|
|
2
|
+
# stub: apache-log4j-2 2.25.3.1 java lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "apache-log4j-2".freeze
|
|
6
|
-
s.version = "2.
|
|
6
|
+
s.version = "2.25.3.1".freeze
|
|
7
7
|
s.platform = "java".freeze
|
|
8
8
|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
|
-
s.metadata = { "bug_tracker_uri" => "https://gitlab.com/nelsnelson/apache-log4j-2/issues", "canonical_pom_uri" => "https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.
|
|
10
|
+
s.metadata = { "bug_tracker_uri" => "https://gitlab.com/nelsnelson/apache-log4j-2/issues", "canonical_pom_uri" => "https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.25.3/log4j-2.25.3.pom", "source_code_uri" => "https://gitlab.com/nelsnelson/apache-log4j-2" } if s.respond_to? :metadata=
|
|
11
11
|
s.require_paths = ["lib".freeze]
|
|
12
12
|
s.authors = ["Nels Nelson".freeze]
|
|
13
|
-
s.date = "
|
|
13
|
+
s.date = "1980-01-02"
|
|
14
14
|
s.description = "Apache Log4j 2 is an upgrade to Log4j that provides significant improvements over its predecessor, Log4j 1.x, and provides many of the improvements available in Logback while fixing some inherent problems in Logback's architecture.".freeze
|
|
15
15
|
s.email = "nels@nelsnelson.org".freeze
|
|
16
|
-
s.files = ["LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "apache-log4j-2.gemspec".freeze, "lib/apache-log4j-2.rb".freeze, "lib/log4j-2.rb".freeze, "lib/log4j-2/log4j-api-2.
|
|
16
|
+
s.files = ["LICENSE.txt".freeze, "README.md".freeze, "Rakefile".freeze, "apache-log4j-2.gemspec".freeze, "lib/apache-log4j-2.rb".freeze, "lib/log4j-2.rb".freeze, "lib/log4j-2/log4j-api-2.25.3.jar".freeze, "lib/log4j-2/log4j-core-2.25.3.jar".freeze, "lib/log4j-2/log4j-slf4j-impl-2.25.3.jar".freeze, "lib/log4j-2/version.rb".freeze]
|
|
17
17
|
s.homepage = "https://rubygems.org/gems/apache-log4j-2".freeze
|
|
18
18
|
s.licenses = ["Apache-2.0".freeze]
|
|
19
|
-
s.required_ruby_version = Gem::Requirement.new(">=
|
|
20
|
-
s.rubygems_version = "
|
|
19
|
+
s.required_ruby_version = Gem::Requirement.new(">= 3.4.2".freeze)
|
|
20
|
+
s.rubygems_version = "4.0.4".freeze
|
|
21
21
|
s.summary = "Apache Log4j 2 java jars packaged as a gem.".freeze
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
s.specification_version = 4
|
|
25
|
-
end
|
|
23
|
+
s.specification_version = 4
|
|
26
24
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
s.add_development_dependency(%q<rubocop>.freeze, ["~> 1.25.0"])
|
|
31
|
-
else
|
|
32
|
-
s.add_dependency(%q<rake>.freeze, ["~> 13.0.6"])
|
|
33
|
-
s.add_dependency(%q<rspec>.freeze, ["~> 3.11.0"])
|
|
34
|
-
s.add_dependency(%q<rubocop>.freeze, ["~> 1.25.0"])
|
|
35
|
-
end
|
|
25
|
+
s.add_development_dependency(%q<rake>.freeze, ["~> 13.3".freeze, ">= 13.3.1".freeze])
|
|
26
|
+
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.13".freeze, ">= 3.13.2".freeze])
|
|
27
|
+
s.add_development_dependency(%q<rubocop>.freeze, ["~> 1.82".freeze, ">= 1.82.1".freeze])
|
|
36
28
|
end
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,57 +1,74 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apache-log4j-2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.25.3.1
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- Nels Nelson
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: rake
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 13.
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
version: '13.3'
|
|
19
|
+
- - ">="
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: 13.3.1
|
|
21
22
|
type: :development
|
|
23
|
+
prerelease: false
|
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
25
|
requirements:
|
|
24
26
|
- - "~>"
|
|
25
27
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 13.
|
|
28
|
+
version: '13.3'
|
|
29
|
+
- - ">="
|
|
30
|
+
- !ruby/object:Gem::Version
|
|
31
|
+
version: 13.3.1
|
|
27
32
|
- !ruby/object:Gem::Dependency
|
|
33
|
+
name: rspec
|
|
28
34
|
requirement: !ruby/object:Gem::Requirement
|
|
29
35
|
requirements:
|
|
30
36
|
- - "~>"
|
|
31
37
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 3.
|
|
33
|
-
|
|
34
|
-
|
|
38
|
+
version: '3.13'
|
|
39
|
+
- - ">="
|
|
40
|
+
- !ruby/object:Gem::Version
|
|
41
|
+
version: 3.13.2
|
|
35
42
|
type: :development
|
|
43
|
+
prerelease: false
|
|
36
44
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
45
|
requirements:
|
|
38
46
|
- - "~>"
|
|
39
47
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 3.
|
|
48
|
+
version: '3.13'
|
|
49
|
+
- - ">="
|
|
50
|
+
- !ruby/object:Gem::Version
|
|
51
|
+
version: 3.13.2
|
|
41
52
|
- !ruby/object:Gem::Dependency
|
|
53
|
+
name: rubocop
|
|
42
54
|
requirement: !ruby/object:Gem::Requirement
|
|
43
55
|
requirements:
|
|
44
56
|
- - "~>"
|
|
45
57
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 1.
|
|
47
|
-
|
|
48
|
-
|
|
58
|
+
version: '1.82'
|
|
59
|
+
- - ">="
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 1.82.1
|
|
49
62
|
type: :development
|
|
63
|
+
prerelease: false
|
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
65
|
requirements:
|
|
52
66
|
- - "~>"
|
|
53
67
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 1.
|
|
68
|
+
version: '1.82'
|
|
69
|
+
- - ">="
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: 1.82.1
|
|
55
72
|
description: Apache Log4j 2 is an upgrade to Log4j that provides significant improvements
|
|
56
73
|
over its predecessor, Log4j 1.x, and provides many of the improvements available
|
|
57
74
|
in Logback while fixing some inherent problems in Logback's architecture.
|
|
@@ -66,18 +83,17 @@ files:
|
|
|
66
83
|
- apache-log4j-2.gemspec
|
|
67
84
|
- lib/apache-log4j-2.rb
|
|
68
85
|
- lib/log4j-2.rb
|
|
69
|
-
- lib/log4j-2/log4j-api-2.
|
|
70
|
-
- lib/log4j-2/log4j-core-2.
|
|
71
|
-
- lib/log4j-2/log4j-slf4j-impl-2.
|
|
86
|
+
- lib/log4j-2/log4j-api-2.25.3.jar
|
|
87
|
+
- lib/log4j-2/log4j-core-2.25.3.jar
|
|
88
|
+
- lib/log4j-2/log4j-slf4j-impl-2.25.3.jar
|
|
72
89
|
- lib/log4j-2/version.rb
|
|
73
90
|
homepage: https://rubygems.org/gems/apache-log4j-2
|
|
74
91
|
licenses:
|
|
75
92
|
- Apache-2.0
|
|
76
93
|
metadata:
|
|
77
94
|
bug_tracker_uri: https://gitlab.com/nelsnelson/apache-log4j-2/issues
|
|
78
|
-
canonical_pom_uri: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.
|
|
95
|
+
canonical_pom_uri: https://repo1.maven.org/maven2/org/apache/logging/log4j/log4j/2.25.3/log4j-2.25.3.pom
|
|
79
96
|
source_code_uri: https://gitlab.com/nelsnelson/apache-log4j-2
|
|
80
|
-
post_install_message:
|
|
81
97
|
rdoc_options: []
|
|
82
98
|
require_paths:
|
|
83
99
|
- lib
|
|
@@ -85,15 +101,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
85
101
|
requirements:
|
|
86
102
|
- - ">="
|
|
87
103
|
- !ruby/object:Gem::Version
|
|
88
|
-
version:
|
|
104
|
+
version: 3.4.2
|
|
89
105
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
106
|
requirements:
|
|
91
107
|
- - ">="
|
|
92
108
|
- !ruby/object:Gem::Version
|
|
93
109
|
version: '0'
|
|
94
110
|
requirements: []
|
|
95
|
-
rubygems_version:
|
|
96
|
-
signing_key:
|
|
111
|
+
rubygems_version: 4.0.4
|
|
97
112
|
specification_version: 4
|
|
98
113
|
summary: Apache Log4j 2 java jars packaged as a gem.
|
|
99
114
|
test_files: []
|
|
Binary file
|
|
Binary file
|
|
Binary file
|