mobility 1.0.4 → 1.0.5
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 +3 -2
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/mobility/backends/active_record/table.rb +6 -0
- data/lib/mobility/version.rb +1 -1
- metadata +1 -1
- 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: 64a3453a8f28396a24b95987a4df6fb0fabfd3d90b03fccc47f6b82d72e77d8d
|
4
|
+
data.tar.gz: 81ebec57acc6a48596d826716b37239549c01b68db59572d8bf6224b0d276831
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63c3046ddce27b50708b73d78119b79b2e554bee7b92f8db843a3ea275acb91694da9c88c473e11c4ad07147bb7d9448229f44d7eb581f8d433313b7e6ecc34a
|
7
|
+
data.tar.gz: 56ea4ab41a4984e54c5cb3ccf75fa13f42a4afbb3248463e65235fcdf879100bef6cdf34a29a482e5e790bb043bddf0dc6cb398a5fe24682a886882c6ace1bbb
|
checksums.yaml.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
|�sx8qQ�/Ρ��w�ҭ|AHr<�R�n�P���j��˓)��fD Ť\A"���'��2)��9�l�h�=���GK�X4v3���]M���_x���6�mׯ\.r�}Q��is����x�-������+^�xzF0����
|
2
|
+
C��b��ɍ%�fe�I
|
3
|
+
cl��E�&��t,�A�t����"��֡b��#S�����4ɇS'����5#�l�cIm�fvӽ=����n�L�-Ȓ
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -21,6 +21,12 @@
|
|
21
21
|
v1.0](https://github.com/shioyama/mobility/wiki/Introduction-to-Mobility-v1.0)
|
22
22
|
for more details on how to upgrade.
|
23
23
|
|
24
|
+
### 1.0.5
|
25
|
+
- Fix duping with AR Table backend, fixes
|
26
|
+
[#490](https://github.com/shioyama/mobility/issues/490)
|
27
|
+
([#499](https://github.com/shioyama/mobility/pull/499) and
|
28
|
+
[#501](https://github.com/shioyama/mobility/pull/501))
|
29
|
+
|
24
30
|
### 1.0.4
|
25
31
|
- Correctly override default backend options, fixes
|
26
32
|
[#492](https://github.com/shioyama/mobility/issues/492)
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -274,6 +274,12 @@ columns to that table.
|
|
274
274
|
define_method :initialize_dup do |source|
|
275
275
|
super(source)
|
276
276
|
self.send("#{association_name}=", source.send(association_name).map(&:dup))
|
277
|
+
|
278
|
+
# for cache
|
279
|
+
# FIXME: do this better
|
280
|
+
if options[:cache]
|
281
|
+
instance_variable_set(:"@__mobility_#{association_name}_cache", {})
|
282
|
+
end
|
277
283
|
end
|
278
284
|
end
|
279
285
|
include const_set(module_name, dupable)
|
data/lib/mobility/version.rb
CHANGED
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|