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

fix quote and encoding array #60

Merged
merged 2 commits into from
Sep 17, 2024
Merged

Conversation

ermolaev
Copy link
Contributor

No description provided.

@@ -51,6 +51,10 @@ def quoted_time(value)
value.utc.iso8601
end

def quoted_native_array(arr)
array_encoder.encode(arr.map { |v| v.is_a?(String) ? conn.escape_string(v) : v }, Encoding::UTF_8)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by default returned ascii-8bit

Comment on lines +44 to +46
spec.add_development_dependency "bigdecimal", "~> 3.1"
spec.add_development_dependency "mutex_m"
spec.add_development_dependency "base64"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ruby 3.4 fix

@ermolaev
Copy link
Contributor Author

@SamSaffron review this PR please

@SamSaffron SamSaffron merged commit 645c65e into discourse:main Sep 17, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants