mobility 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/mobility/plugins/active_record/query.rb +2 -0
- data/lib/mobility/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad9470458519dbff24eccfc016a2859c3ff00bf0c52de992338cb9e7ff226d9a
|
4
|
+
data.tar.gz: 40b44307d5594435842e9cada15ada91531a464308e21a8447abab4a2ee77c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2b8ec0c89f666d9a3c2a1cdf4c77c78fb0b93cedc27b07cef36d1cb5064571001ee130b2aadd38260ec542922f5abe67efa918f6b83b3ba8dcfd10a20817e0c
|
7
|
+
data.tar.gz: cfdefd660724a22271f191bb1d910920bf82daf650b4aa78b1a55c850d90396922b9998fe1db0b1cb669673b22510ae64f010d8d45a2287945b7fd16f4e2d0ad
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
## 0.8
|
4
4
|
|
5
|
+
### 0.8.3 (October 1, 2018)
|
6
|
+
* Handle untranslated scopes in AR query module
|
7
|
+
([#288](https://github.com/shioyama/mobility/pull/288))
|
8
|
+
|
5
9
|
### 0.8.2 (September 28, 2018)
|
6
10
|
* Support pluck, select and group methods on translated attributes
|
7
11
|
([#284](https://github.com/shioyama/mobility/pull/284),
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -193,6 +193,8 @@ enabled for any one attribute on the model.
|
|
193
193
|
# Builds a translated relation for a given opts hash and optional
|
194
194
|
# invert boolean.
|
195
195
|
def _build(scope, opts, locale, invert)
|
196
|
+
return yield unless scope.respond_to?(:mobility_modules)
|
197
|
+
|
196
198
|
keys, predicates = opts.keys.map(&:to_s), []
|
197
199
|
|
198
200
|
query_map = scope.mobility_modules.inject(IDENTITY) do |qm, mod|
|
data/lib/mobility/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mobility
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Salzberg
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
m46ezJjnr4uXgSNuTs+RdM6DtrKaFG2HuziSP+dzmWqZiUgj1eTACYsPwfF/Z1Z6
|
36
36
|
2DiDkec/SK4qJBMlNYPo/PTZuh5m1jROtf/hyS0VXJmm+uWc
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2018-
|
38
|
+
date: 2018-10-01 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: request_store
|
metadata.gz.sig
CHANGED
Binary file
|