pg 1.5.0-x64-mingw32 → 1.5.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 275ef74f3d21374b1c9c040b940a09f9cce70a448a39bb9883c4a1ae002e58df
4
- data.tar.gz: 6df498338befd331531fdf4b75568d11d85465fe1bb522f5a0ae9ff7d469498d
3
+ metadata.gz: efaa722b4b1eeac8cec2b19810a76b38e760410e1d035f7eb68e42e818b6c346
4
+ data.tar.gz: 1668007d3e4c7775f17d37228dd05b45439771631313ded0bf0c85653c9ed296
5
5
  SHA512:
6
- metadata.gz: d6909feadaa5f3d024d7bfe3514b89e8f0541b9f089a4e52ff334741bc600d01501cea2dc9cc45c900b3176f6f7add4a5b7b411658fe0d1d50b619f78079e30f
7
- data.tar.gz: 60d044fd48b68fce0be3c8b2c22a1a43be789eb131e8da5924b1d582ffc280b414356fb7467c7e2b0e5a6a16c4613dde055ff2911b454379b4e9ab76300da085
6
+ metadata.gz: 1a96e46a65198b64a52ca247027052c89d48c9cee2ecb7b01f3cf6372aaab991f69d7ed5ff8432929446c6578d02ae222ec5e59baf495ee6f5570180d8fad8fc
7
+ data.tar.gz: 5aac315aad74eda7a64ccf2e0c2757009b56ff1c64637bbbd07cb4496755b7a9a7585072d1aad12725ef2e3fa59157bc1e604486a14eaa87dca05bdb5ad0f0da
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, **hash, **kwargs)
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, **hash, **kwargs)
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, **hash, **kwargs)
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, **hash, **kwargs)
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, **hash, **kwargs)
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, **hash, **kwargs)
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, **hash, **kwargs)
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, **hash, **kwargs)
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
@@ -1,4 +1,4 @@
1
1
  module PG
2
2
  # Library version
3
- VERSION = '1.5.0'
3
+ VERSION = '1.5.1'
4
4
  end
Binary file
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Michael Granger
metadata.gz.sig CHANGED
Binary file