pg 1.5.0-x64-mingw-ucrt → 1.5.1-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/History.md +6 -0
- data/lib/pg/binary_decoder/timestamp.rb +3 -3
- data/lib/pg/binary_encoder/timestamp.rb +2 -2
- data/lib/pg/text_decoder/timestamp.rb +3 -3
- data/lib/pg/version.rb +1 -1
- data/lib/x64-mingw-ucrt/libpq.dll +0 -0
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b1ebc1cc3f2e5922b20d9509fd0e49961dd3f0aa355746774e51a41e3fd41a3
|
4
|
+
data.tar.gz: cc011f15818b0781342929eed7318c2e9c040dcd2ec08d4a25c2d9ccae6084fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 600fb50eb451429c95553f31478f60507c257897ef7b1aa53b720b701a60c92e77a5435e7039c312c2233e143aebe58273ca319f9c3697e4350ed5e327793878
|
7
|
+
data.tar.gz: e6db05545558fb7876b637027d65ee5ead7542b526ed6dbb1b7f4b4a81a8f190e4850300bf85f89e72179b24405837f2337ea6d77e6994dac2a2d50d0c814e39
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/History.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## v1.5.1 [2023-04-24] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
|
+
|
3
|
+
- Don't overwrite flags of timestamp coders. [#524](https://github.com/ged/ruby-pg/pull/524)
|
4
|
+
Fixes a regression in rails: https://github.com/rails/rails/issues/48049
|
5
|
+
|
6
|
+
|
1
7
|
## v1.5.0 [2023-04-24] Lars Kanis <lars@greiz-reinsdorf.de>
|
2
8
|
|
3
9
|
Enhancements:
|
@@ -7,19 +7,19 @@ module PG
|
|
7
7
|
class TimestampUtc < Timestamp
|
8
8
|
def initialize(hash={}, **kwargs)
|
9
9
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
10
|
-
super(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_UTC
|
10
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_UTC)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
class TimestampUtcToLocal < Timestamp
|
14
14
|
def initialize(hash={}, **kwargs)
|
15
15
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
16
|
-
super(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_LOCAL
|
16
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_LOCAL)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
class TimestampLocal < Timestamp
|
20
20
|
def initialize(hash={}, **kwargs)
|
21
21
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
22
|
-
super(flags: PG::Coder::TIMESTAMP_DB_LOCAL | PG::Coder::TIMESTAMP_APP_LOCAL
|
22
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_LOCAL | PG::Coder::TIMESTAMP_APP_LOCAL)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -7,13 +7,13 @@ module PG
|
|
7
7
|
class TimestampUtc < Timestamp
|
8
8
|
def initialize(hash={}, **kwargs)
|
9
9
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
10
|
-
super(flags: PG::Coder::TIMESTAMP_DB_UTC
|
10
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_UTC)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
class TimestampLocal < Timestamp
|
14
14
|
def initialize(hash={}, **kwargs)
|
15
15
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
16
|
-
super(flags: PG::Coder::TIMESTAMP_DB_LOCAL
|
16
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_LOCAL)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -7,19 +7,19 @@ module PG
|
|
7
7
|
class TimestampUtc < Timestamp
|
8
8
|
def initialize(hash={}, **kwargs)
|
9
9
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
10
|
-
super(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_UTC
|
10
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_UTC)
|
11
11
|
end
|
12
12
|
end
|
13
13
|
class TimestampUtcToLocal < Timestamp
|
14
14
|
def initialize(hash={}, **kwargs)
|
15
15
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
16
|
-
super(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_LOCAL
|
16
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_LOCAL)
|
17
17
|
end
|
18
18
|
end
|
19
19
|
class TimestampLocal < Timestamp
|
20
20
|
def initialize(hash={}, **kwargs)
|
21
21
|
warn "PG::Coder.new(hash) is deprecated. Please use keyword arguments instead! Called from #{caller.first}" unless hash.empty?
|
22
|
-
super(flags: PG::Coder::TIMESTAMP_DB_LOCAL | PG::Coder::TIMESTAMP_APP_LOCAL
|
22
|
+
super(**hash, **kwargs, flags: PG::Coder::TIMESTAMP_DB_LOCAL | PG::Coder::TIMESTAMP_APP_LOCAL)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
data/lib/pg/version.rb
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|