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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8c0b2ffb0ec662dd3a487855cac5b76d97a1970
4
- data.tar.gz: 60a5c103b6d7970a4adca867a0f547923c5c03f9
3
+ metadata.gz: 4a5965a480d2c68067412ad12ebe98a6b88ad183
4
+ data.tar.gz: a5aad91e0de50c5d1f9e5ac75e4e3b21c6ef92eb
5
5
  SHA512:
6
- metadata.gz: fd80d308c336f2c5ecca6d49ec3f5fff516adb3adb59048bccce9ac13c89996f21821be1795e6b925a7f58b1ec3198965ceeffa5f90bb4786193d415cc0efa18
7
- data.tar.gz: 7930a7c788dca9588bc56ef8ba4a65bd5b42fb6aaef018bbcad6dd1ff1baacc2b1608b6526548a4553c654f265ca44a74481ace1c535be82d6f496347d68b588
6
+ metadata.gz: 2b3cd7357f416fd6308584d8a9652963080ba334a21c08cbd6def6cb5f52ef82024c093b42333efe5dd740775571908250565b0aafe7d773620c3020ab5b9e90
7
+ data.tar.gz: db5e37cfdd5960ec0b6b84ed7d8bbd65298cf1baff8f7cb4b17c7461d41b96719ccfd95a713782682844cc16d413e619f6589444f80af25dd8dcea8e85ab2da4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple-sql (0.4.7)
4
+ simple-sql (0.4.8)
5
5
  pg (~> 0.20)
6
6
  pg_array_parser (~> 0)
7
7
 
@@ -89,4 +89,4 @@ DEPENDENCIES
89
89
  simplecov (~> 0)
90
90
 
91
91
  BUNDLED WITH
92
- 1.16.1
92
+ 1.16.2
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module SQL
3
- VERSION = "0.4.7"
3
+ VERSION = "0.4.8"
4
4
  end
5
5
  end
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.7
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-06-20 00:00:00.000000000 Z
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