numaflow_ruby 0.1.18-x86_64-linux → 0.1.20-x86_64-linux

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: 4ffd612eaa1160509512c2f93bf66ce5a6deca2359e5bc49bf7d469a98a209ff
4
- data.tar.gz: 46a97ffd347bf1e21271fd8ee43edc65391f3d4cd2e1d4174539f1eef5877d2f
3
+ metadata.gz: 8ec2d80ca373afad917c1a7a8b89f0ee0965df94dffd1e6e82d1d1b29bac4702
4
+ data.tar.gz: b6d4892517e64d66cc1244b3e5a86704cd0433a5cbb0d2b8e6e636db6f20936c
5
5
  SHA512:
6
- metadata.gz: 16f840f0d13bcea5e3735ed7805574c1120c56c71c2494df24eb5971c522cefeb67ab82cd3225356491fd08906941141efba228fee029179b6dcc936a2625842
7
- data.tar.gz: dbd61c109e5dfc907a019170db9e14962c83c330f35bc370c037841ef660415886b35612e1410cd339c80aa2583b35bbc5105b88be2281644021c3c7726b06b2
6
+ metadata.gz: 4e085f489d26f633cca1b364e05f392e5fbdc38aa3a77f3c7ab3c917f3b6d941c57121acfcf20a668d66c942fa317d1614d4979fb6a243ef9e0ec3733daadbd9
7
+ data.tar.gz: e3d24ff25e99a660205b482c58856420cc8ad825f0519aa16bd84c498b0ee37399d02796a04c67b0bae2225c672978f1eaaaa404d897138369667bdd23c99524
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NumaflowRuby
4
- VERSION = "0.1.18"
4
+ VERSION = "0.1.20"
5
5
  end
data/lib/numaflow_ruby.rb CHANGED
@@ -1,10 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "numaflow_ruby/version"
4
- versioned_path = File.join(__dir__, "numaflow_ruby", RUBY_VERSION, "numaflow_ruby.rb")
5
- if File.exist?(versioned_path)
4
+ MINOR_RUBY_VERSION = RUBY_VERSION.split(".").first(2).join(".")
5
+ versioned_path = File.join(__dir__, "numaflow_ruby", MINOR_RUBY_VERSION, "numaflow_ruby")
6
+ begin
6
7
  require versioned_path
7
- else
8
+ rescue LoadError
8
9
  require_relative "numaflow_ruby/numaflow_ruby"
9
10
  end
10
11
  # NumaflowRuby is a Ruby wrapper for Numaflow rust library, allowing you to create map servers in Ruby.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: numaflow_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.20
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Kyle Cooke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-07 00:00:00.000000000 Z
11
+ date: 2025-08-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler