From 2f25515fbb3bb1753263d18ada5e7de179bab966 Mon Sep 17 00:00:00 2001 From: Toon Willems Date: Thu, 17 Oct 2024 11:44:55 +0200 Subject: [PATCH] minor changes to ruby gem --- .tool-versions | 2 +- expression-ruby/Gemfile | 3 +-- expression-ruby/Gemfile.lock | 8 ++++++-- expression-ruby/ext/lago_expression/Cargo.toml | 1 + expression-ruby/lago-expression.gemspec | 10 +++++++--- 5 files changed, 16 insertions(+), 8 deletions(-) diff --git a/.tool-versions b/.tool-versions index 05668b7..1dd1998 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.3.4 +ruby 3.3.5 diff --git a/expression-ruby/Gemfile b/expression-ruby/Gemfile index 54d1d12..7a8fc09 100644 --- a/expression-ruby/Gemfile +++ b/expression-ruby/Gemfile @@ -1,6 +1,5 @@ source "https://rubygems.org" -ruby "3.3" -gem 'rb_sys' +ruby "3.3.5" gemspec diff --git a/expression-ruby/Gemfile.lock b/expression-ruby/Gemfile.lock index b068640..c9b13e8 100644 --- a/expression-ruby/Gemfile.lock +++ b/expression-ruby/Gemfile.lock @@ -3,6 +3,9 @@ PATH specs: lago-expression (0.0.1) bigdecimal + rake (~> 13) + rake-compiler (~> 1.2) + rb_sys (~> 0.9.63) GEM remote: https://rubygems.org/ @@ -42,9 +45,10 @@ PLATFORMS DEPENDENCIES lago-expression! libclang (~> 14) - rake-compiler (~> 1.2) - rb_sys (~> 0.9) rspec (~> 3) +RUBY VERSION + ruby 3.3.5p100 + BUNDLED WITH 2.5.11 diff --git a/expression-ruby/ext/lago_expression/Cargo.toml b/expression-ruby/ext/lago_expression/Cargo.toml index 481d5fe..d7e241e 100644 --- a/expression-ruby/ext/lago_expression/Cargo.toml +++ b/expression-ruby/ext/lago_expression/Cargo.toml @@ -2,6 +2,7 @@ name = "lago_expression" version = "0.0.1" edition = "2021" +publish = false [lib] crate-type = ["cdylib"] diff --git a/expression-ruby/lago-expression.gemspec b/expression-ruby/lago-expression.gemspec index ac34f98..f19c0e7 100644 --- a/expression-ruby/lago-expression.gemspec +++ b/expression-ruby/lago-expression.gemspec @@ -3,12 +3,16 @@ Gem::Specification.new do |spec| spec.version = '0.0.1' spec.summary = '0.0.1' spec.authors = ['Lago'] - spec.extensions = ['ext/lago_expression/extconf.rb'] spec.required_ruby_version = '~> 3.3' + spec.required_rubygems_version = ">= 3.3.11" + + spec.require_paths = ["lib"] + spec.extensions = ['ext/lago_expression/Cargo.toml'] spec.add_dependency 'bigdecimal' - spec.add_dependency 'rb_sys', '~> 0.9' + spec.add_dependency 'rake', '~> 13' + spec.add_dependency 'rake-compiler', '~> 1.2' + spec.add_dependency 'rb_sys', '~> 0.9.63' spec.add_development_dependency 'libclang', '~> 14' - spec.add_development_dependency 'rake-compiler', '~> 1.2' spec.add_development_dependency 'rspec', '~> 3' end