Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2
FROM ruby:4.0
ARG UNAME=app
ARG UID=1000
ARG GID=1000
Expand Down
119 changes: 69 additions & 50 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -81,4 +100,4 @@ DEPENDENCIES
standard

BUNDLED WITH
2.2.32
4.0.18
2 changes: 1 addition & 1 deletion lib/rights_database/rights.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/rights_database/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module RightsDatabase
VERSION = "0.1.0"
VERSION = "0.1.1"
end