ec-pg 0.1.6 → 0.1.7

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: 96db794a56eb50815839a716d668cb9cb1309ab19e9a7dca540f72d67c6aa0b3
4
- data.tar.gz: 1a5ab8f3fc64bac9aaa3f965bb1698015e2d639af3819077dc051f7ae1bd016c
3
+ metadata.gz: def4a2f65d7a836d927f53af5af0bf3cb0ef644803f2f5dd96e992d92019bff3
4
+ data.tar.gz: ff88e37f850e3d18bdc48c9a4ca522cdc776f793183852f50cf7c8e9a657ff33
5
5
  SHA512:
6
- metadata.gz: 49b2648cdd99f5849d2aff3cfc55c49711aceef2e6a5d86ea7b66a19c3330daa2a2f3e382927aadd45b9a18d35984b064ed355e761a244b91ebfdaf227d87d06
7
- data.tar.gz: 73222c5fb6ef8dce5392fb4bf63a8a9b08fb93fd1d10d85df0648e06e4f18346e949a548ea90ca038112840771f0d403241f5ded7f64dbd9858840d6e6d25029
6
+ metadata.gz: a7b0d8add219551e2793c062f62ae4ed36bdaa2d53977b035c55993cce8f4a114a485698dd3a9377f4aa47a15aa10f7bfdac523813496fe194f949fe5b28fd26
7
+ data.tar.gz: fca5463a5e84112a75090f7b852b7abf88ed68c24c1e66b142f1a0a626fe6c95df24e1a240bcd01325b4b73f8eebf18ff0b05fdd156f9c0adade49c829ef63a3
@@ -20,19 +20,18 @@ module Ec
20
20
 
21
21
  # Layer composition: innermost layer first so that the outermost wrapper
22
22
  # controls the connection that the inner layers receive.
23
-
24
23
  run = block
25
24
 
26
25
  # 1. Schema (innermost)
27
26
  if schema
28
- inner_run = run
29
- run = -> {SchemaManager.with_schema(schema, &inner_run)}
27
+ schema_run = run
28
+ run = -> {SchemaManager.with_schema(schema, &schema_run)}
30
29
  end
31
30
 
32
31
  # 2. Shard (outermost — switches the connection first)
33
32
  if shard
34
- inner_run = run
35
- run = -> {ShardManager.with_shard(shard, &inner_run)}
33
+ shard_run = run
34
+ run = -> {ShardManager.with_shard(shard, &shard_run)}
36
35
  end
37
36
 
38
37
  if run.present?
data/lib/ec/pg/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ec
4
4
  module Pg
5
- VERSION = "0.1.6"
5
+ VERSION = "0.1.7"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec-pg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - gmhawash