switchman 3.5.21 → 3.5.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/switchman/active_record/calculations.rb +1 -1
- data/lib/switchman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa5da3b192752676ea8513c8fd05d72e347b10979b7b47ada9cdf008941fc2ac
|
4
|
+
data.tar.gz: 1da3c8eba9d967ca1a3edd550ecc7dd8bb1dea6193be3a752a65e95dc0beb54d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ba322eda93832f04595bb93f52153c61db3df1848404d80daf83e4b77b070f45c2d84cc2b6a5ba90c68cd5fbe26745f7ff2932b1a510ad15559f8234dab9bd2
|
7
|
+
data.tar.gz: 2453c5bccf84d20766340fe60512aec89547d27287832806964688c630f2af5d90070932c49e215f4a6ce209dfb701b1afa181ea1abe4fb8a009c03b55dea88e
|
@@ -131,7 +131,7 @@ module Switchman
|
|
131
131
|
relation.select_values = columns
|
132
132
|
|
133
133
|
result = if relation.where_clause.contradiction?
|
134
|
-
ActiveRecord::Result.empty
|
134
|
+
::ActiveRecord::Result.empty
|
135
135
|
else
|
136
136
|
skip_query_cache_if_necessary do
|
137
137
|
klass.connection.select_all(relation, "#{klass.name} Ids", async: @async)
|
data/lib/switchman/version.rb
CHANGED