leopard 0.1.3 → 0.1.5
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/.release-please-manifest.json +1 -1
- data/.version.txt +1 -1
- data/CHANGELOG.md +14 -0
- data/ci/publish-gem.sh +3 -2
- data/lib/leopard/nats_api_server.rb +2 -1
- data/lib/leopard/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cb911c6ac11f486f56610fd734ae2a4e5187495d28524621d742fca976377eb
|
4
|
+
data.tar.gz: 713a3ea176a74f8a47abc83c4340a9432b781262b9fd5e431ada44991d9c2395
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee37dc08e56cb6dc95262c0c61df02ad8f9fc2168cfff2c30fcf908dfb51c502676e796d00e2903bc9c8251d1d866b829579abce5fca3172336f1a74fb18b1a6
|
7
|
+
data.tar.gz: f09054e25ce41281175c0d09ccc993ec735f2c3278c9d631d964aa39850fc9fdfd54b08144c67df4d938079245f60a5da0079fda68fb209131f83384c8e421f8
|
data/.version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.5](https://github.com/rubyists/leopard/compare/v0.1.4...v0.1.5) (2025-07-31)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* Run in blocking mode, not just non-blocking ([#15](https://github.com/rubyists/leopard/issues/15)) ([a659145](https://github.com/rubyists/leopard/commit/a659145d8a04efe3b3932b99ab4c11ef0ba2025e))
|
9
|
+
|
10
|
+
## [0.1.4](https://github.com/rubyists/leopard/compare/v0.1.3...v0.1.4) (2025-07-31)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* Have to build the gem before we can find it, doh ([#13](https://github.com/rubyists/leopard/issues/13)) ([62053e9](https://github.com/rubyists/leopard/commit/62053e9d2332d37d4d5697035a35adc71833eccd))
|
16
|
+
|
3
17
|
## [0.1.3](https://github.com/rubyists/leopard/compare/v0.1.2...v0.1.3) (2025-07-31)
|
4
18
|
|
5
19
|
|
data/ci/publish-gem.sh
CHANGED
@@ -60,6 +60,7 @@ then
|
|
60
60
|
fi
|
61
61
|
|
62
62
|
bundle exec gem build
|
63
|
+
|
63
64
|
if [ -f "$here"/../.version.txt ]
|
64
65
|
then
|
65
66
|
version=$(<"$here"/../.version.txt)
|
@@ -69,9 +70,9 @@ fi
|
|
69
70
|
|
70
71
|
if [ -z "$version" ]
|
71
72
|
then
|
72
|
-
gem="$(ls "$
|
73
|
+
gem="$(ls "$root"/"$GEM_NAME"-*.gem | tail -1)"
|
73
74
|
else
|
74
|
-
gem="$(printf '%s
|
75
|
+
gem="$(printf '%s/%s-%s.gem' "$root" "$GEM_NAME" "$version")"
|
75
76
|
fi
|
76
77
|
|
77
78
|
if [ ! -f "$gem" ]
|
@@ -76,7 +76,8 @@ module Rubyists
|
|
76
76
|
def run(nats_url:, service_opts:, instances: 1, blocking: true)
|
77
77
|
logger.info 'Booting NATS API server...'
|
78
78
|
# Return the thread pool if non-blocking
|
79
|
-
|
79
|
+
pool = spawn_instances(nats_url, service_opts, instances)
|
80
|
+
return pool unless blocking
|
80
81
|
|
81
82
|
# Otherwise, just sleep the main thread forever
|
82
83
|
sleep
|
data/lib/leopard/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leopard
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bougyman
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 2025-07-31 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: concurrent-ruby
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
|
-
rubygems_version: 3.6.
|
131
|
+
rubygems_version: 3.6.2
|
132
132
|
specification_version: 4
|
133
133
|
summary: A server to supervise concurrent NATS ServiceApi workers.
|
134
134
|
test_files: []
|