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
89 changes: 47 additions & 42 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (8.0.2)
activesupport (8.0.3)
base64
benchmark (>= 0.3)
bigdecimal
Expand All @@ -27,80 +27,84 @@ GEM
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
ast (2.4.3)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.9)
base64 (0.3.0)
benchmark (0.4.1)
bigdecimal (3.3.1)
concurrent-ruby (1.3.5)
connection_pool (2.5.0)
csv (3.3.3)
connection_pool (2.5.4)
csv (3.3.5)
date (3.4.1)
debug (1.10.0)
debug (1.11.0)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.6.1)
diff-lcs (1.6.2)
docile (1.4.1)
drb (2.2.1)
ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
drb (2.2.3)
erb (5.1.1)
ffi (1.17.2-arm64-darwin)
ffi (1.17.2-x86_64-linux-gnu)
fileutils (1.7.3)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-console (0.8.0)
io-console (0.8.1)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.10.2)
language_server-protocol (3.17.0.4)
json (2.15.1)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
listen (3.9.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
logger (1.7.0)
minitest (5.25.5)
minitest (5.26.0)
mutex_m (0.3.0)
parallel (1.26.3)
parser (3.3.7.4)
parallel (1.27.0)
parser (3.3.9.0)
ast (~> 2.4.1)
racc
pg (1.5.9)
pp (0.6.2)
pg (1.6.2-arm64-darwin)
pg (1.6.2-x86_64-linux)
pp (0.6.3)
prettyprint
prettyprint (0.2.0)
prism (1.4.0)
psych (5.2.3)
prism (1.6.0)
psych (5.2.6)
date
stringio
racc (1.8.1)
rainbow (3.1.1)
rb-fsevent (0.11.2)
rb-inotify (0.11.1)
ffi (~> 1.0)
rbs (3.9.2)
rbs (3.9.5)
logger
rdoc (6.13.1)
rdoc (6.15.0)
erb
psych (>= 4.0.0)
regexp_parser (2.10.0)
reline (0.6.1)
tsort
regexp_parser (2.11.3)
reline (0.6.2)
io-console (~> 0.5)
rspec-core (3.13.3)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.3)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.2)
rubocop (1.75.2)
rspec-support (3.13.6)
rubocop (1.80.2)
json (~> 2.3)
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 (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.44.0, < 2.0)
rubocop-ast (>= 1.46.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.44.0)
rubocop-ast (1.47.1)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-performance (1.25.0)
Expand All @@ -109,18 +113,18 @@ GEM
rubocop-ast (>= 1.38.0, < 2.0)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
sequel (5.91.0)
sequel (5.97.0)
bigdecimal
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
standard (1.49.0)
standard (1.51.1)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.75.2)
rubocop (~> 1.80.2)
standard-custom (~> 1.0.0)
standard-performance (~> 1.8)
standard-custom (1.0.2)
Expand All @@ -146,16 +150,17 @@ GEM
strscan (>= 1.0.0)
terminal-table (>= 2, < 5)
uri (>= 0.12.0)
stringio (3.1.6)
strscan (3.1.2)
stringio (3.1.7)
strscan (3.1.5)
terminal-table (4.0.0)
unicode-display_width (>= 1.1.1, < 4)
tsort (0.2.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.4)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.3)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)
uri (1.0.4)

PLATFORMS
arm64-darwin-22
Expand All @@ -174,4 +179,4 @@ DEPENDENCIES
steep

BUNDLED WITH
2.4.20
2.6.7
2 changes: 1 addition & 1 deletion lib/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def insert_many(args)
[int].pack("Q").unpack1("q") #: Integer # rubocop:disable Layout/LeadingCommentSpace
end

TAG_RE = /\A[\w][\w\-]+[\w]\z/
TAG_RE = /\A\w[\w-]+\w\z/
private_constant :TAG_RE

private def validate_tags(tags)
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_gemspec_version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

version = version[1..] # strip `v` from the beginning of the string

updated_file_data = file_data.gsub(%r{^(\W+)s\.version = "[\d\.]+"$}, %(\\1s.version = "#{version}"))
updated_file_data = file_data.gsub(%r{^(\W+)s\.version = "[\d.]+"$}, %(\\1s.version = "#{version}"))

abort("failure: nothing changed in file") if file_data == updated_file_data

Expand Down
2 changes: 1 addition & 1 deletion spec/client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def to_json = nil
client.insert(SimpleArgs.new(job_num: 1), insert_opts: River::InsertOpts.new(
tags: ["no,commas,allowed"]
))
end.to raise_error(ArgumentError, 'tag should match regex /\A[\w][\w\-]+[\w]\z/')
end.to raise_error(ArgumentError, 'tag should match regex /\A\w[\w-]+\w\z/')
end

def check_bigint_bounds(int)
Expand Down
Loading