simple-sql 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/simple/sql/reflection.rb +2 -2
- data/lib/simple/sql/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5965a480d2c68067412ad12ebe98a6b88ad183
|
4
|
+
data.tar.gz: a5aad91e0de50c5d1f9e5ac75e4e3b21c6ef92eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b3cd7357f416fd6308584d8a9652963080ba334a21c08cbd6def6cb5f52ef82024c093b42333efe5dd740775571908250565b0aafe7d773620c3020ab5b9e90
|
7
|
+
data.tar.gz: db5e37cfdd5960ec0b6b84ed7d8bbd65298cf1baff8f7cb4b17c7461d41b96719ccfd95a713782682844cc16d413e619f6589444f80af25dd8dcea8e85ab2da4
|
data/Gemfile.lock
CHANGED
@@ -38,8 +38,6 @@ module Simple
|
|
38
38
|
column_info(table_name).keys
|
39
39
|
end
|
40
40
|
|
41
|
-
private
|
42
|
-
|
43
41
|
def table_info(schema: "public")
|
44
42
|
columns = if schema == "public"
|
45
43
|
"table_name AS name, *"
|
@@ -68,6 +66,8 @@ module Simple
|
|
68
66
|
records_by_attr(recs, :column_name)
|
69
67
|
end
|
70
68
|
|
69
|
+
private
|
70
|
+
|
71
71
|
def parse_table_name(table_name)
|
72
72
|
p1, p2 = table_name.split(".", 2)
|
73
73
|
if p2
|
data/lib/simple/sql/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple-sql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- radiospiel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg_array_parser
|