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 +4 -4
- data/lib/pg_sql_caller/base.rb +2 -2
- data/lib/pg_sql_caller/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ef5ec8d44b5fb60d0a49245117f1b1c060a01dd2c6939ab15e544139d3396ac
|
4
|
+
data.tar.gz: db7e646d27d678d7d3b3a9284416e53602f979d7766a3746f9032c9685ef1d57
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36fd432ed72e303ba3f2bdea04fe96fa57ea1d875ef36939281cabe9be45596991fc8ee371a25d0639ddf022695cf1b79a15a0b54f5aa3c3c29f98ff045a0c1e
|
7
|
+
data.tar.gz: 81430e4e0edc1f3a4efa02723b3b3da93515dc937d92bcf6b1ad9d7db24610e8a3d3ea2fc9f6e8b7b61c06c59a9a21b18f45a040e303c12d2b418845e1e6ea61
|
data/lib/pg_sql_caller/base.rb
CHANGED
@@ -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?
|
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.
|
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:
|
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.
|
85
|
+
rubygems_version: 3.1.6
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: Postgresql Sql Caller for ActiveRecord
|