Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump rubocop from 1.71.1 to 1.71.2 in the dependencies group #4627

Merged
merged 2 commits into from
Feb 10, 2025
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
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ GEM
faraday (>= 1, < 3)
sawyer (~> 0.9)
parallel (1.26.3)
parser (3.3.7.0)
parser (3.3.7.1)
ast (~> 2.4.1)
racc
pathutil (0.16.2)
Expand All @@ -300,7 +300,7 @@ GEM
regexp_parser (2.10.0)
rexml (3.4.0)
rouge (3.30.0)
rubocop (1.71.1)
rubocop (1.71.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
Expand Down
4 changes: 2 additions & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -252,15 +252,15 @@ def convert_from_real_to_query_safe(string)
duplicate = string.dup.to_s

UNSAFE_TO_SAFE_STRING_MAPPINGS.keys.each_with_object(duplicate) do |key, new_string|
new_string = new_string.gsub(key, UNSAFE_TO_SAFE_STRING_MAPPINGS[key])
new_string.gsub(key, UNSAFE_TO_SAFE_STRING_MAPPINGS[key])
end
end

def convert_from_query_safe_to_real(string)
duplicate = string.dup.to_s

SAFE_TO_UNSAFE_STRING_MAPPINGS.keys.each_with_object(duplicate) do |key, new_string|
new_string = new_string.gsub(key, SAFE_TO_UNSAFE_STRING_MAPPINGS[key])
new_string.gsub(key, SAFE_TO_UNSAFE_STRING_MAPPINGS[key])
end
end

Expand Down