switchman 1.13.0 → 1.13.1

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: e2f68441314d99fc739f03cd1af70e938efa0d0803ff6f5c405aed15afea0798
4
- data.tar.gz: 553846718daea03d833792d3ff079ee0ce2bddce63231f2e40262fe901c84949
3
+ metadata.gz: 0da8765009599e793ec49667263b811a6a753c9a82183fffb45fb29e04e75f3c
4
+ data.tar.gz: '0904d12fa61d697f510eaed32a23e91d76a7d59148e903d8a3a39cccc984e41d'
5
5
  SHA512:
6
- metadata.gz: 4d05aea36873a2d809b414ad9cceeb8e1ee3c0966acd7e67e3f941e3b971c685a3a7ad666d19b5a74edc47ba59025782a486c70c596d918998ef01a01c5b9f40
7
- data.tar.gz: 02bb3d231398cae6966ec6d8f1ca5ce4101f529d55dc119ebcbd512077ab3c5887c3eb9309fc5a8aba2df7fcd5eb21fae9911c1c2b4c29cfc328653a52fa3d1f
6
+ metadata.gz: d537cf1457720439c8fbccaee08a31ffee886efe47aa0d54133e83a889d233becf4dd6c538eb64c7a0e45656574c06bdea6e31572d969489fea65d27da0e7d40
7
+ data.tar.gz: aa3d6e6960ee1a8b54c492a1541a9372313249e6a5800e7e2f92888d1249e5ed87f5a28afa0b0c9f9e6dcc7aa61eb969f233778d154ef97e5cd6752815dd23cc
@@ -227,8 +227,6 @@ module Switchman
227
227
  columns.flat_map do |field|
228
228
  if (Symbol === field || String === field) && (klass.has_attribute?(field) || klass.attribute_alias?(field)) && !from_clause.value
229
229
  klass.arel_attribute(field, table)
230
- elsif (Symbol === field || String === field) && columns_hash.key?(field.to_s) && !from_value
231
- arel_table[field]
232
230
  elsif Symbol === field
233
231
  # the rest of this is pulled from AR - the only change is from quote_table_name to quote_column_name here
234
232
  # otherwise qualified names will add the schema to a column
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.13.0"
2
+ VERSION = "1.13.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-02-27 00:00:00.000000000 Z
13
+ date: 2019-04-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
@@ -245,7 +245,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
245
245
  - !ruby/object:Gem::Version
246
246
  version: '0'
247
247
  requirements: []
248
- rubygems_version: 3.0.1
248
+ rubygems_version: 3.0.3
249
249
  signing_key:
250
250
  specification_version: 4
251
251
  summary: Rails 4 sharding magic