diff --git a/.ruby-version b/.ruby-version index 75a22a2..8fe1da8 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1,2 @@ -3.0.3 +3.3.0 + diff --git a/Gemfile b/Gemfile index 3ec0892..e2e28f9 100644 --- a/Gemfile +++ b/Gemfile @@ -17,6 +17,11 @@ group :development, :test do gem "dotenv" end +# add requires to eliminate deprecation warnings +gem 'bigdecimal' +gem 'syslog' +gem 'base64' + # application runtime dependencies gem "gem_logger" gem "logging" diff --git a/Gemfile.lock b/Gemfile.lock index 4df2414..85beba9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -13,41 +13,42 @@ GEM i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) - async (1.31.0) + async (2.8.0) console (~> 1.10) - nio4r (~> 2.3) + fiber-annotation + io-event (~> 1.1) timers (~> 4.1) base64 (0.2.0) + bigdecimal (3.1.6) clamp (1.3.2) - codecov (0.6.0) - simplecov (>= 0.15, < 0.22) + codecov (0.2.12) + json + simplecov coderay (1.1.3) - concurrent-ruby (1.2.2) - console (1.23.2) + concurrent-ruby (1.2.3) + console (1.23.3) fiber-annotation fiber-local crack (0.4.5) rexml - debug (1.8.0) - irb (>= 1.5.0) - reline (>= 0.3.1) + debug (1.9.1) + irb (~> 1.10) + reline (>= 0.3.8) diff-lcs (1.5.0) docile (1.4.0) - domain_name (0.5.20190701) - unf (>= 0.0.5, < 1.0.0) + domain_name (0.6.20240107) dotenv (2.8.1) - faraday (2.7.11) - base64 - faraday-net_http (>= 2.0, < 3.1) - ruby2_keywords (>= 0.0.4) + faraday (2.9.0) + faraday-net_http (>= 2.0, < 3.2) faraday-cookie_jar (0.0.7) faraday (>= 0.8.0) http-cookie (~> 1.0.0) faraday-multipart (1.0.4) multipart-post (~> 2) - faraday-net_http (3.0.2) + faraday-net_http (3.1.0) + net-http ffi (1.16.3) ffi-compiler (1.0.1) ffi (>= 1.0.0) @@ -56,7 +57,7 @@ GEM fiber-local (1.0.0) gem_logger (0.3.0) activesupport - hashdiff (1.0.1) + hashdiff (1.1.0) http (5.1.1) addressable (~> 2.8) http-cookie (~> 1.0) @@ -68,10 +69,12 @@ GEM http-form_data (2.3.0) i18n (1.14.1) concurrent-ruby (~> 1.0) - io-console (0.6.0) - irb (1.8.3) + io-console (0.7.2) + io-event (1.4.2) + irb (1.11.1) rdoc - reline (>= 0.3.8) + reline (>= 0.4.2) + json (2.7.1) jsonpath (1.1.5) multi_json kubeclient (4.11.0) @@ -88,25 +91,26 @@ GEM little-plugger (~> 1.1) multi_json (~> 1.14) method_source (1.0.0) - mime-types (3.5.1) + mime-types (3.5.2) mime-types-data (~> 3.2015) - mime-types-data (3.2023.1003) - minitest (5.20.0) + mime-types-data (3.2023.1205) + minitest (5.21.2) multi_json (1.15.0) multipart-post (2.3.0) + net-http (0.4.1) + uri netrc (0.11.0) - nio4r (2.5.9) pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) - psych (5.1.1.1) + psych (5.1.2) stringio - public_suffix (5.0.3) + public_suffix (5.0.4) rake (13.1.0) - rdoc (6.6.0) + rdoc (6.6.2) psych (>= 4.0.0) recursive-open-struct (1.1.3) - reline (0.4.0) + reline (0.4.2) io-console (~> 0.5) rest-client (2.1.0) http-accept (>= 1.7.0, < 2.0) @@ -127,21 +131,19 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) rspec-support (3.12.1) - ruby2_keywords (0.0.5) sigdump (0.2.5) - simplecov (0.21.2) + simplecov (0.22.0) docile (~> 1.1) simplecov-html (~> 0.11) simplecov_json_formatter (~> 0.1) simplecov-html (0.12.3) simplecov_json_formatter (0.1.4) - stringio (3.0.9) + stringio (3.1.0) + syslog (0.1.2) timers (4.3.5) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - unf (0.1.4) - unf_ext - unf_ext (0.0.8.2) + uri (0.13.0) vcr (6.2.0) webmock (3.19.1) addressable (>= 2.8.0) @@ -149,11 +151,14 @@ GEM hashdiff (>= 0.4.0, < 2.0.0) PLATFORMS - arm64-darwin-21 + arm64-darwin-23 + ruby DEPENDENCIES activesupport (~> 7.0, <= 7.0.8) async + base64 + bigdecimal clamp cloudtruth-client! codecov @@ -170,8 +175,9 @@ DEPENDENCIES rspec sigdump simplecov + syslog vcr webmock BUNDLED WITH - 2.2.32 + 2.5.3 diff --git a/spec/kubetruth/ctapi_spec.rb b/spec/kubetruth/ctapi_spec.rb index 206f962..060a026 100644 --- a/spec/kubetruth/ctapi_spec.rb +++ b/spec/kubetruth/ctapi_spec.rb @@ -45,7 +45,7 @@ def create_project_fixture ctapi.class.configure(api_key: "xyz", api_url: nil) expect { ::Kubetruth::CtApi.new }.to raise_error(ArgumentError, /has not been configured/) ctapi.class.configure(api_key: "xyz", api_url: "http://localhost") - expect { ::Kubetruth::CtApi.new }.to_not raise_error(ArgumentError, /has not been configured/) + expect { ::Kubetruth::CtApi.new }.to_not raise_error end end