From 7404bc952c7e8c1904e3e78630ef85b89abf1a52 Mon Sep 17 00:00:00 2001 From: Aaron Elkiss Date: Mon, 10 Aug 2026 10:17:19 -0400 Subject: [PATCH] Update dependencies * use ruby 4.0 * update to version 0.1.1 * standardrb fixes --- Dockerfile | 2 +- Gemfile.lock | 119 +++++++++++++++++++-------------- lib/rights_database/rights.rb | 2 +- lib/rights_database/version.rb | 2 +- 4 files changed, 72 insertions(+), 53 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4bbc914..c6fe6d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.2 +FROM ruby:4.0 ARG UNAME=app ARG UID=1000 ARG GID=1000 diff --git a/Gemfile.lock b/Gemfile.lock index a5cf91c..77b404f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,71 +1,90 @@ PATH remote: . specs: - rights_database (0.1.0) + rights_database (0.1.1) mysql2 sequel GEM remote: https://rubygems.org/ specs: - ast (2.4.2) + ast (2.4.3) + bigdecimal (4.1.2) coderay (1.1.3) - diff-lcs (1.5.0) - docile (1.4.0) - json (2.6.2) - method_source (1.0.0) - mysql2 (0.5.4) - parallel (1.22.1) - parser (3.1.2.1) + diff-lcs (1.6.2) + io-console (0.9.2) + json (2.21.2) + language_server-protocol (3.17.0.6) + lint_roller (1.1.0) + method_source (1.1.0) + mysql2 (0.5.7) + bigdecimal + parallel (2.1.0) + parser (3.3.12.0) ast (~> 2.4.1) - pry (0.14.1) + racc + prism (1.9.0) + pry (0.16.0) coderay (~> 1.1) method_source (~> 1.0) + reline (>= 0.6.0) + racc (1.8.1) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.6.0) - rexml (3.3.9) - rspec (3.11.0) - rspec-core (~> 3.11.0) - rspec-expectations (~> 3.11.0) - rspec-mocks (~> 3.11.0) - rspec-core (3.11.0) - rspec-support (~> 3.11.0) - rspec-expectations (3.11.1) + rake (13.4.2) + regexp_parser (2.12.0) + reline (0.7.0) + io-console (~> 0.5) + rspec (3.13.2) + rspec-core (~> 3.13.0) + rspec-expectations (~> 3.13.0) + rspec-mocks (~> 3.13.0) + rspec-core (3.13.6) + rspec-support (~> 3.13.0) + rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-mocks (3.11.1) + rspec-support (~> 3.13.0) + rspec-mocks (3.13.8) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.11.0) - rspec-support (3.11.1) - rubocop (1.35.1) + rspec-support (~> 3.13.0) + rspec-support (3.13.7) + rubocop (1.88.2) json (~> 2.3) - parallel (~> 1.10) - parser (>= 3.1.2.1) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) + parallel (>= 1.10) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.20.1, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.49.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.23.0) - parser (>= 3.1.1.0) - rubocop-performance (1.14.3) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) - ruby-progressbar (1.11.0) - sequel (5.61.0) - simplecov (0.21.2) - docile (~> 1.1) - simplecov-html (~> 0.11) - simplecov_json_formatter (~> 0.1) - simplecov-html (0.12.3) - simplecov-lcov (0.8.0) - simplecov_json_formatter (0.1.4) - standard (1.16.1) - rubocop (= 1.35.1) - rubocop-performance (= 1.14.3) - unicode-display_width (2.3.0) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.50.0) + parser (>= 3.3.7.2) + prism (~> 1.7) + rubocop-performance (1.26.1) + lint_roller (~> 1.1) + rubocop (>= 1.75.0, < 2.0) + rubocop-ast (>= 1.47.1, < 2.0) + ruby-progressbar (1.13.0) + sequel (5.107.0) + bigdecimal + simplecov (1.0.3) + simplecov-lcov (0.9.0) + standard (1.56.0) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.88.0) + standard-custom (~> 1.0.0) + standard-performance (~> 1.8) + standard-custom (1.0.2) + lint_roller (~> 1.0) + rubocop (~> 1.50) + standard-performance (1.9.0) + lint_roller (~> 1.1) + rubocop-performance (~> 1.26.0) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.2.0) PLATFORMS x86_64-darwin-21 @@ -81,4 +100,4 @@ DEPENDENCIES standard BUNDLED WITH - 2.2.32 + 4.0.18 diff --git a/lib/rights_database/rights.rb b/lib/rights_database/rights.rb index 8714ae4..a589e4b 100644 --- a/lib/rights_database/rights.rb +++ b/lib/rights_database/rights.rb @@ -7,7 +7,7 @@ class Rights def initialize(item_id:) @item_id = item_id - @namespace, @id = @item_id.split(/\./, 2) + @namespace, @id = @item_id.split(".", 2) load_from_db end diff --git a/lib/rights_database/version.rb b/lib/rights_database/version.rb index 560d55b..8f57b4b 100644 --- a/lib/rights_database/version.rb +++ b/lib/rights_database/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module RightsDatabase - VERSION = "0.1.0" + VERSION = "0.1.1" end