custom_fields 2.4.0.rc2 → 2.4.0.rc3
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/target_helpers.rb +1 -1
- data/lib/custom_fields/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d51809c1199b4dd3f4b1c838bc16e52d8525aa2
|
4
|
+
data.tar.gz: f1cca192e50d07693cf760a65df948d46ea579e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9cad7eda7ee7f531b71d2664f853bb9c900f05ddb07c4626fe68b9e78f0d77eca3925dc9f1f4db43b0f95490dabf3e24b40739d494ad97405da737875ef3085
|
7
|
+
data.tar.gz: f4ec54520214329dab35dc37724bfe713dcb66a0d56b6fa0984e74554a0270516d54609adca3ddf25f03c65953a70acb75385894f8189bb7908a469c61dcb2db
|
@@ -37,7 +37,7 @@ module CustomFields
|
|
37
37
|
self.custom_fields_recipe['rules'].map do |rule|
|
38
38
|
case rule['type'].to_sym
|
39
39
|
when :date, :date_time, :money then "formatted_#{rule['name']}"
|
40
|
-
when :file then [rule['name'], "remove_#{rule['name']}"]
|
40
|
+
when :file then [rule['name'], "remove_#{rule['name']}", "remote_#{rule['name']}_url"]
|
41
41
|
when :select, :belongs_to then ["#{rule['name']}_id", "position_in_#{rule['name']}"]
|
42
42
|
when :has_many, :many_to_many then nil
|
43
43
|
else
|
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.4.0.
|
4
|
+
version: 2.4.0.rc3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
263
|
version: '2.4'
|
264
264
|
requirements: []
|
265
265
|
rubyforge_project:
|
266
|
-
rubygems_version: 2.
|
266
|
+
rubygems_version: 2.2.0
|
267
267
|
signing_key:
|
268
268
|
specification_version: 4
|
269
269
|
summary: Custom fields extension for Mongoid.
|