pg_sql_caller 0.2.0 → 0.2.1

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: e4b2e038f51a96f0c3a4a1e03188c4b4749fdd02e22ec0ba743ea1fd98b52525
4
- data.tar.gz: 9bdb58247ac0d41b9d802a0c447ff3b5505686aa91b689d53767420a8f3cb87d
3
+ metadata.gz: 1ef5ec8d44b5fb60d0a49245117f1b1c060a01dd2c6939ab15e544139d3396ac
4
+ data.tar.gz: db7e646d27d678d7d3b3a9284416e53602f979d7766a3746f9032c9685ef1d57
5
5
  SHA512:
6
- metadata.gz: 8b9fe48fae8aaa5ed8888261e2d5751521f98775a2216f14563ad774814fb26221cd9f7f408d9995305dc7a1d4c5a2a382f4ca410f44b0f4cee20baa54908ba9
7
- data.tar.gz: '0494140c6078a7d34427f0fcbdd58c1543fd2901a7d2746b7dad500ad2f5078409ad0579e5d84e703bf8abf48ae82e82eeb46b3aa89fda1af3317d8e75fa628c'
6
+ metadata.gz: 36fd432ed72e303ba3f2bdea04fe96fa57ea1d875ef36939281cabe9be45596991fc8ee371a25d0639ddf022695cf1b79a15a0b54f5aa3c3c29f98ff045a0c1e
7
+ data.tar.gz: 81430e4e0edc1f3a4efa02723b3b3da93515dc937d92bcf6b1ad9d7db24610e8a3d3ea2fc9f6e8b7b61c06c59a9a21b18f45a040e303c12d2b418845e1e6ea61
@@ -72,6 +72,8 @@ module PgSqlCaller
72
72
 
73
73
  define_sql_methods(*CONNECTION_SQL_METHODS)
74
74
 
75
+ delegate :connection, to: :model_class
76
+
75
77
  def transaction_open?
76
78
  connection.send(:transaction_open?)
77
79
  end
@@ -140,8 +142,6 @@ module PgSqlCaller
140
142
 
141
143
  private
142
144
 
143
- delegate :connection, to: :model_class
144
-
145
145
  def deserialize_result(result, column_name, raw_value)
146
146
  column_type = result.column_types[column_name]
147
147
  return raw_value if column_type.nil?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgSqlCaller
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_sql_caller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Talakevich
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-23 00:00:00.000000000 Z
11
+ date: 2023-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  requirements: []
85
- rubygems_version: 3.0.8
85
+ rubygems_version: 3.1.6
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Postgresql Sql Caller for ActiveRecord