pg 1.5.0-x86-mingw32 → 1.5.1-x86-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: 871578545aae6047c8bfc468d055e580ee23b792a27e5cd7c70558c20e6cbd11
4
- data.tar.gz: d7b7c9671b07e6228764ef693bc394037477e1d47a8f7b6d301c80ce842a2b8f
3
+ metadata.gz: c884cb55bb3ee143766be845e73f83cf962af2fd6cbc27749ad82d29c363eda4
4
+ data.tar.gz: 2a65aeab6ab428e1fe3a8707ed0cd740b4785eabc2336440a33a8981403dc6ef
5
5
  SHA512:
6
- metadata.gz: 536d4de8646e806d33300d1fb24f7f777628ef2d5605fa92527b933a164aaa008c481c8ce9f85ecdb04e424d883460eaa4d781553bc1438d5c4fb615c6990c5f
7
- data.tar.gz: 41f3fb34a06204bc35df5b5c37a2f7ee80ca33a18d8467dcff1b39e5f09b8dd85646d8cb74ed0091ca34830244bc90853b53d604e15e6fcfe1d481063642242d
6
+ metadata.gz: 830eeea6b50c753afcb5846ea723748da58da0483100d440cc2c5077f8eb0c616a395284edbce7aa76387efa14a991bc82e3ea34de14274b614d8a5eec0cd36a
7
+ data.tar.gz: 06fd5578e70fdb5c6c95433b9f2afcd12aa17a521b220208014bdf63acd5c2b035e46dee2adcd994d1481b700cd7817b3637be59708da04e771fc63ef93b6a92
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: x86-mingw32
6
6
  authors:
7
7
  - Michael Granger
metadata.gz.sig CHANGED
Binary file