sequel_pg 1.18.1 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +4 -0
- data/ext/sequel_pg/sequel_pg.c +1 -1
- data/lib/sequel_pg/sequel_pg.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 371cfb0adb516e68f44ec7ca7f984b382afb2326da27f5f28529763f97de4639
|
|
4
|
+
data.tar.gz: 9840a973b0177c38c729d2fa18adfb2ceb27ab46415acc0af44bb030ebd88789
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e42329a94078d6321715169e11935083d48f6e931662c48cb118003d5039adc95385b8ef4a12e20c095d0253cd1ccd6f413f7e0fcece885584dfb78927350efa
|
|
7
|
+
data.tar.gz: 2735511f3a2d456abdc196ea7db8a7c1fdb74f1648d004b00b794a7b7d1cc39186fa9db02a1d92aac3a962eb7208ec7a96aa432eeb82a8609e310add3ebf0613
|
data/CHANGELOG
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
=== 1.18.2 (2025-12-18)
|
|
2
|
+
|
|
3
|
+
* Avoid bogus warnings about the implicit block parameter in Ruby 3.3 (jeremyevans) (#64)
|
|
4
|
+
|
|
1
5
|
=== 1.18.1 (2025-12-16)
|
|
2
6
|
|
|
3
7
|
* Fix truncated results for map/select_map/select_order_map/as_hash/to_hash_groups/select_hash/select_hash_groups/as_set/select_set for datasets using use_cursor (jeremyevans) (#62)
|
data/ext/sequel_pg/sequel_pg.c
CHANGED
data/lib/sequel_pg/sequel_pg.rb
CHANGED
|
@@ -27,7 +27,7 @@ class Sequel::Postgres::Dataset
|
|
|
27
27
|
if RUBY_VERSION > '4'
|
|
28
28
|
def as_set(column)
|
|
29
29
|
return super unless allow_sequel_pg_optimization?
|
|
30
|
-
clone(:_sequel_pg_type=>:map_set, :_sequel_pg_value=>column).fetch_rows(sql){return
|
|
30
|
+
clone(:_sequel_pg_type=>:map_set, :_sequel_pg_value=>column).fetch_rows(sql){|s| return s}
|
|
31
31
|
Set.new
|
|
32
32
|
end
|
|
33
33
|
# :nocov:
|
|
@@ -142,14 +142,14 @@ class Sequel::Postgres::Dataset
|
|
|
142
142
|
# Always use optimized version
|
|
143
143
|
def _select_set_multiple(ret_cols)
|
|
144
144
|
return super unless allow_sequel_pg_optimization?
|
|
145
|
-
clone(:_sequel_pg_type=>:array_set).fetch_rows(sql){return
|
|
145
|
+
clone(:_sequel_pg_type=>:array_set).fetch_rows(sql){|s| return s}
|
|
146
146
|
Set.new
|
|
147
147
|
end
|
|
148
148
|
|
|
149
149
|
# Always use optimized version
|
|
150
150
|
def _select_set_single
|
|
151
151
|
return super unless allow_sequel_pg_optimization?
|
|
152
|
-
clone(:_sequel_pg_type=>:first_set).fetch_rows(sql){return
|
|
152
|
+
clone(:_sequel_pg_type=>:first_set).fetch_rows(sql){|s| return s}
|
|
153
153
|
Set.new
|
|
154
154
|
end
|
|
155
155
|
# :nocov:
|