simple-sql 0.5.5 → 0.5.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ddf6a7cc39facc48d8f9ec3f14d94dc614261d23617f44ea2b604f06b94ae90b
4
- data.tar.gz: f8eb847b80866ae0001c2517e11764a86f12bd6f4b0a3a33f489b37a78919484
3
+ metadata.gz: 41c7ddee7b4212971585f7b12249d3eb37a7dc5f2c4d4553404b30bc496c2f07
4
+ data.tar.gz: e24b684824bdfe76191fc347ed038588bd26a5fc2860a551a7270c44c681f665
5
5
  SHA512:
6
- metadata.gz: 4632a04f05ff2d698b3c925ef63a2267b6bd0d57145d94b94a2010d439193fb1e9ab8eeaa0dd55d1b2bc3b74a2398117fb2648058eda3470d96b27b9cf7ac203
7
- data.tar.gz: 67262d0c42c46142d919455fecafc4f3a24a0a375008d1d6f318934ce876e7ecdedaf29c5c6c87757d06fcb0a0467bd2f93cc5cdc4882af4ed0955ece13fcb95
6
+ metadata.gz: 69fb213cb019c41e7425423b7f7791de730a70e4beb4f5aeff0a1179a927efa8e249ff27189160c5fca1bc4854c7b00eac395e0e0c257a9dc591c38663839841
7
+ data.tar.gz: 1f99c960752ba291a1f4a6d1c9a31e9075990acd70c903d43e37cbd28ff01ba7c33c17b9a31f0903dfa00193386606644a889d00999834970deb343946d0b79c
@@ -125,7 +125,7 @@ module ::Simple::SQL::Result::AssociationLoader # :nodoc:
125
125
  scope = scope.where(belonging_column => host_ids)
126
126
  scope = scope.order_by(order_by) if order_by
127
127
 
128
- recs = SQL.all(scope, into: Hash)
128
+ recs = connection.all(scope, into: Hash)
129
129
 
130
130
  if as.to_s.singularize == as.to_s
131
131
  recs_by_id = H.by_key(recs, belonging_column) # has_one
@@ -1,5 +1,5 @@
1
1
  module Simple
2
2
  module SQL
3
- VERSION = "0.5.5"
3
+ VERSION = "0.5.6"
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.5.5
4
+ version: 0.5.6
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: 2019-03-31 00:00:00.000000000 Z
12
+ date: 2019-04-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pg_array_parser