nonnative 1.99.0 → 1.101.0
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/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/lib/nonnative/fault_injection_proxy.rb +4 -0
- data/lib/nonnative/version.rb +1 -1
- data/lib/nonnative.rb +9 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 969ee407c6a61689907e52312cd3a17803b38323b3f3405008cad5202e450c2d
|
4
|
+
data.tar.gz: dde8d2d79b0d6aab78396453f7cc0e3076569fe4d56eee76390e775cda77cd90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 902fda05827a817c5d18423d0417449ac61857339d0fd0e543049e12f88633378c6275fa78b23d89cf1c86d244023f172572f65f032cb9e1c7e821e5dff49fc5
|
7
|
+
data.tar.gz: b718dfc306d72a463c07f1fa173f2214a124c0cc27a6867e0c26a3f06fbc1384a6c9f5478780cbc2b2bb77f18bd5f5aa141a2d2c92b68a2ddd61d5b908cef8e6
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
|
7
7
|
## Unreleased
|
8
8
|
|
9
|
+
## [v1.101.0](https://github.com/alexfalkowski/nonnative/releases/tag/v1.101.0) - 2025-05-01
|
10
|
+
|
11
|
+
- [`ae5969c`](https://github.com/alexfalkowski/nonnative/commit/ae5969c59f3f52bc2b88c1d84e4290f3a0d164a1) feat(proxy): add logs for start/stop (#555)
|
12
|
+
|
13
|
+
## [v1.100.0](https://github.com/alexfalkowski/nonnative/releases/tag/v1.100.0) - 2025-05-01
|
14
|
+
|
15
|
+
- [`c82c27b`](https://github.com/alexfalkowski/nonnative/commit/c82c27b9edd5bfe50b6ab22cc3779adc7afcc82c) feat(clear): separate clearing pool or configuration (#553)
|
16
|
+
|
9
17
|
## [v1.99.0](https://github.com/alexfalkowski/nonnative/releases/tag/v1.99.0) - 2025-05-01
|
10
18
|
|
11
19
|
- [`2009830`](https://github.com/alexfalkowski/nonnative/commit/200983099a376da5d769143b00552fc328444584) feat(server): add logging (#552)
|
data/Gemfile.lock
CHANGED
@@ -14,11 +14,15 @@ module Nonnative
|
|
14
14
|
def start
|
15
15
|
@tcp_server = ::TCPServer.new(service.host, service.port)
|
16
16
|
@thread = Thread.new { perform_start }
|
17
|
+
|
18
|
+
Nonnative.logger.info "started with host '#{service.host}' and port '#{service.port}' for proxy 'fault_injection'"
|
17
19
|
end
|
18
20
|
|
19
21
|
def stop
|
20
22
|
thread&.terminate
|
21
23
|
tcp_server&.close
|
24
|
+
|
25
|
+
Nonnative.logger.info "stopped with host '#{service.host}' and port '#{service.port}' for proxy 'fault_injection'"
|
22
26
|
end
|
23
27
|
|
24
28
|
def close_all
|
data/lib/nonnative/version.rb
CHANGED
data/lib/nonnative.rb
CHANGED
@@ -120,11 +120,19 @@ module Nonnative
|
|
120
120
|
raise Nonnative::StopError, errors.join("\n") unless errors.empty?
|
121
121
|
end
|
122
122
|
|
123
|
-
def
|
123
|
+
def clear_configuration
|
124
124
|
@configuration = nil
|
125
|
+
end
|
126
|
+
|
127
|
+
def clear_pool
|
125
128
|
@pool = nil
|
126
129
|
end
|
127
130
|
|
131
|
+
def clear
|
132
|
+
clear_configuration
|
133
|
+
clear_pool
|
134
|
+
end
|
135
|
+
|
128
136
|
def reset
|
129
137
|
Nonnative.pool.reset
|
130
138
|
end
|