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 +4 -4
- data/lib/switchman/active_record/query_methods.rb +0 -2
- data/lib/switchman/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0da8765009599e793ec49667263b811a6a753c9a82183fffb45fb29e04e75f3c
|
|
4
|
+
data.tar.gz: '0904d12fa61d697f510eaed32a23e91d76a7d59148e903d8a3a39cccc984e41d'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/switchman/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
248
|
+
rubygems_version: 3.0.3
|
|
249
249
|
signing_key:
|
|
250
250
|
specification_version: 4
|
|
251
251
|
summary: Rails 4 sharding magic
|