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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1e36e2390cc27892053da1e1e37648f5b9d525ea45490dbce1388073c0dd909
4
- data.tar.gz: 4696ea5b7be68a9f9b7700f457240e398cfb20cd26f62ab6f2a196ab37a92215
3
+ metadata.gz: 8cb911c6ac11f486f56610fd734ae2a4e5187495d28524621d742fca976377eb
4
+ data.tar.gz: 713a3ea176a74f8a47abc83c4340a9432b781262b9fd5e431ada44991d9c2395
5
5
  SHA512:
6
- metadata.gz: 6dc17020cfdae2aadac7620feef13b52f9c362d6fdf2dfdc2ea16f52a9bfbca6538317c647f6ad000a21c6f9ca8279e2c7116143db4907d055239f19a3da369e
7
- data.tar.gz: fd5ff2f5041715540adc05b8939e64fb5f5a7efca1d207a0c6144a0f608f2869c58034de4551fe3c55f2db756b17c607dde9afd20155145933662806952489c4
6
+ metadata.gz: ee37dc08e56cb6dc95262c0c61df02ad8f9fc2168cfff2c30fcf908dfb51c502676e796d00e2903bc9c8251d1d866b829579abce5fca3172336f1a74fb18b1a6
7
+ data.tar.gz: f09054e25ce41281175c0d09ccc993ec735f2c3278c9d631d964aa39850fc9fdfd54b08144c67df4d938079245f60a5da0079fda68fb209131f83384c8e421f8
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.1.3"
2
+ ".": "0.1.5"
3
3
  }
data/.version.txt CHANGED
@@ -1 +1 @@
1
- 0.1.3
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 "$here"/../"$GEM_NAME"-*.gem | tail -1)"
73
+ gem="$(ls "$root"/"$GEM_NAME"-*.gem | tail -1)"
73
74
  else
74
- gem="$(printf '%s/../%s-%s.gem' "$here" "$GEM_NAME" "$version")"
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
- 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.3'
6
+ VERSION = '0.1.5'
7
7
  # x-release-please-end
8
8
  end
9
9
  end
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.3
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: 1980-01-02 00:00:00.000000000 Z
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.9
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: []