Skip to content

Commit

Permalink
Fix pg 1.5 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
morgoth authored and danielvdao committed May 1, 2023
1 parent 6e3fe06 commit 986502c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Expand Up @@ -358,7 +358,7 @@ GEM
parser (3.2.1.1)
ast (~> 2.4.1)
path_expander (1.1.1)
pg (1.4.5)
pg (1.5.1)
propshaft (0.6.4)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
Expand Down
Expand Up @@ -1096,7 +1096,7 @@ def update_typemap_for_default_timezone
PG::TextDecoder::TimestampUtc :
PG::TextDecoder::TimestampWithoutTimeZone

@timestamp_decoder = decoder_class.new(@timestamp_decoder.to_h)
@timestamp_decoder = decoder_class.new(**@timestamp_decoder.to_h)
@raw_connection.type_map_for_results.add_coder(@timestamp_decoder)

@mapped_default_timezone = default_timezone
Expand Down

0 comments on commit 986502c

Please sign in to comment.