custom_fields 2.10.0.beta3 → 2.10.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/custom_fields/extensions/carrierwave.rb +1 -1
- data/lib/custom_fields/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a75900d342dfaf1ea67c7911b4bd51080e4f64499a488a9973efdb7f607ee11e
|
4
|
+
data.tar.gz: 6cb9af25862c3a16a7c8f505b158882500506e06e37a105b3e185e648cd61e92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 658a1a08a5889cbf8f2f52243eeca81f149d9fa7dad4d2557daea6a4c387654db6a5c1470cb08a6744ce11880567534bee814060c3741d8fcbb62c78d9a20148
|
7
|
+
data.tar.gz: f54950d57371f706065bf6dfe43105afc3282a67f83923bdddb02cd51fd440a8f49e09cc0328f9dad20663c3415bec1137dafffc78e925d5463b8f9d75bd878f
|
@@ -36,7 +36,7 @@ module CarrierWave
|
|
36
36
|
# in the default locale. Now, we want to upload a file in another locale with
|
37
37
|
# a different name.
|
38
38
|
# We absolutely don't want to erase the file in the default locale
|
39
|
-
if
|
39
|
+
if record.class.fields[column.to_s]&.localized? &&
|
40
40
|
record.changes[column]&.first == '_new_'
|
41
41
|
_before = [nil]
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: custom_fields
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.10.0.
|
4
|
+
version: 2.10.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|