numaflow_ruby 0.1.18-x86_64-linux → 0.1.19-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: 177e56eea902a50bbe89c09e4e5f22bf7bf7533bcfe7d02ededcaa90e09e7a2d
4
+ data.tar.gz: 54f1506ff53dcae79a73afa6697ad81f1bc8d2af534bd105d9f0a08addd1553a
5
5
  SHA512:
6
- metadata.gz: 16f840f0d13bcea5e3735ed7805574c1120c56c71c2494df24eb5971c522cefeb67ab82cd3225356491fd08906941141efba228fee029179b6dcc936a2625842
7
- data.tar.gz: dbd61c109e5dfc907a019170db9e14962c83c330f35bc370c037841ef660415886b35612e1410cd339c80aa2583b35bbc5105b88be2281644021c3c7726b06b2
6
+ metadata.gz: 4729f51d3f19ae2911eac0b25107bb9e9866fc9b0733baf2109f520a01af18ba3727caef94a3f02d7f8ebe326bbf97ae859aaba150fad457a56a3cbc8f75dbc2
7
+ data.tar.gz: 20b3140f2b861dd0d881ef8a1c6d478782870e756dbd62526875a52efffa175cf167320a6fb4e5651798444dd4d4cafbb4fb8c58f68e09d172c58a24a0d98093
@@ -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.19"
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,7 +1,7 @@
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.19
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Kyle Cooke