leopard 0.1.4 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2319a3362d49284e70a8bd451d920af4c02741c9afa6019a413bfe6938d3d1e6
4
- data.tar.gz: e825b5d474fb3f4215566545f0240b5772a2a95284d16054c838b5d0e28e1c3d
3
+ metadata.gz: 8cb911c6ac11f486f56610fd734ae2a4e5187495d28524621d742fca976377eb
4
+ data.tar.gz: 713a3ea176a74f8a47abc83c4340a9432b781262b9fd5e431ada44991d9c2395
5
5
  SHA512:
6
- metadata.gz: c5845ddcda3aafb62b637bdcac59c33040203fdc8b162c29cdd58df82be86982cf0e45705240478d61a86da867ba9851f308c3c1b6a74858f22bfc9b021e3442
7
- data.tar.gz: f3e91dd96d21a71e995359ce31e3ae525d0e042786ed3e7439da5b2274157e1a4d15cc6f9620bd3ed49796e8404021191f886fb3f0799d2471ba5e1e5fef0325
6
+ metadata.gz: ee37dc08e56cb6dc95262c0c61df02ad8f9fc2168cfff2c30fcf908dfb51c502676e796d00e2903bc9c8251d1d866b829579abce5fca3172336f1a74fb18b1a6
7
+ data.tar.gz: f09054e25ce41281175c0d09ccc993ec735f2c3278c9d631d964aa39850fc9fdfd54b08144c67df4d938079245f60a5da0079fda68fb209131f83384c8e421f8
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.4"
2
+ ".": "0.1.5"
3
3
  }
data/.version.txt CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## [0.1.4](https://github.com/rubyists/leopard/compare/v0.1.3...v0.1.4) (2025-07-31)
4
11
 
5
12
 
@@ -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
- return spawn_instances(nats_url, service_opts, instances) unless blocking
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
@@ -3,7 +3,7 @@
3
3
  module Rubyists
4
4
  module Leopard
5
5
  # x-release-please-start-version
6
- VERSION = '0.1.4'
6
+ VERSION = '0.1.5'
7
7
  # x-release-please-end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leopard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - bougyman