tcp-server 1.1.2-java → 1.1.3-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07e7184d3ca0f9e6db19db9d7de0561690ca2afe3aa17d66c29e4883591938f5
4
- data.tar.gz: b70a0d40bddcb3f5fbda8079873612db7f033ce5d9c62c28ab9fd1a1eb9b59de
3
+ metadata.gz: 9bcae7fb08cc3df7627fb5679ed5784a20b53205d60ead5fe401f978080e39e9
4
+ data.tar.gz: 4fd6a0775dd11cc06f3ab53f4caeed3efcc85eb59902acbb0b37b7e607cfa3ae
5
5
  SHA512:
6
- metadata.gz: 43b0a8ecb712fa514d73378a08a97dc4320ad7ce7de1420550a2cf4574b8c62ba29e66c1a7e14b4a89d5ff472ca2ef73f434629fc38c2430270b7d58063af25f
7
- data.tar.gz: b09fd364b5304ce1ec7dc1c9cf6f3822ec059eeac9c6d5ca263dd657d9c801c378836ab9a71716f645b3eb0ad4d1d55a905e9357ef50b4be357ad5d71ff82be4
6
+ metadata.gz: 9834bab4ba9000b972100fcff462e7ce21f60b4630dfe2b488a0025ac0c0a844a5e4a585804abdf3e4fc2e1eadc2bb9d4468beff8050a2ae9e5921cb48a64dfb
7
+ data.tar.gz: 0d808e91710feef4004b0b52e8139cde6c496202339de4b3ca299cc8f9616f98586e9f9348efe58e07b269caac247fc487ef1066676ccd71a2e90387b52faf34
data/README.md CHANGED
@@ -43,35 +43,32 @@ The [mise] CLI tool used to manage multiple runtime versions.
43
43
  See: https://mise.jdx.dev/getting-started.html
44
44
 
45
45
  ```sh
46
- git clone https://github.com/asdf-vm/asdf.git "${HOME}/.asdf" --branch release-v0.10.0
47
- pushd "${HOME}/.asdf"; git fetch origin; popd
48
- source "${HOME}/.asdf/asdf.sh"; source "${HOME}/.asdf/completions/asdf.bash"
46
+ curl https://mise.jdx.dev/install.sh | sh
47
+ ~/.local/bin/mise --version
48
+ mise 2024.x.x
49
49
  ```
50
50
 
51
-
52
- ### Install required runtime software
53
-
54
- Download and install the latest version of the [Java JDK].
51
+ Enable mise activation in future zsh sessions.
55
52
 
56
53
  ```sh
57
- asdf plugin add java
58
- asdf install java openjdk-17.0.2
54
+ echo 'eval "$(~/.local/bin/mise activate zsh)"' >> ~/.zshrc
59
55
  ```
60
56
 
61
57
 
62
- Download and install the latest version of [JRuby].
58
+ ## Install required runtime software
59
+
60
+ Use mise to install the runtime software defined as requirements
61
+ in the .tool-versions file.
63
62
 
64
63
  ```sh
65
- asdf plugin add ruby
66
- asdf plugin update --all
67
- asdf list all ruby
68
- asdf install ruby jruby-9.3.4.0
64
+ mise install
69
65
  ```
70
66
 
71
67
 
72
68
  Install the project dependencies.
73
69
 
74
70
  ```sh
71
+ gem install bundler
75
72
  bundle install
76
73
  ```
77
74
 
data/lib/logging.rb CHANGED
@@ -156,7 +156,7 @@ module Logging
156
156
  java_import Java::org.apache.logging.log4j.LogManager
157
157
  end
158
158
 
159
- FORWARD_SLASH_PATTERN = %r{/}
159
+ FORWARD_SLASH_PATTERN = %r{/} unless defined?(FORWARD_SLASH_PATTERN)
160
160
 
161
161
  def init_logger(level = :info, logger_name = nil)
162
162
  return init_java_logger(level, logger_name, caller[2]) if defined?(Java)
@@ -12,5 +12,5 @@
12
12
 
13
13
  # The Server module
14
14
  module Server
15
- VERSION = '1.1.2'.freeze
15
+ VERSION = '1.1.3'.freeze
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcp-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: java
6
6
  authors:
7
7
  - Nels Nelson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-19 00:00:00.000000000 Z
11
+ date: 2024-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement