leap_salesforce 0.2.27 → 0.2.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/lib/leap_salesforce/generator/soql_enums.rb +1 -1
- data/lib/leap_salesforce/soql_object.rb +2 -1
- data/lib/leap_salesforce/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: c713a2f3052a5b335fb56963091508d652a4b1d570a6283e2ad775e2e062dd9b
|
4
|
+
data.tar.gz: a845f0ee3220c1d88ae9086a529e61612b25cc79ccdacf2bae0296b12ade189e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8b6b99d725267fe4e89f32cfd513aadea6ee83e9ac1220052882988e88fa5bd1762ecaafc9ac23a8698f2645beea1bb2dce7cd1d38ae2b101bdb947588c1258
|
7
|
+
data.tar.gz: 93bcc18ead3300a227163fd19e18e5f9b7bbcc0c19c71cd0f32136ce3e176eb2b1515e00815507f438f94e84853a3d4c7f921edb3a9f76ded23d122b94035c43
|
data/ChangeLog
CHANGED
@@ -41,7 +41,7 @@ module LeapSalesforce
|
|
41
41
|
puts "#{picklists.count} picklists found"
|
42
42
|
picklists.each do |picklist|
|
43
43
|
if soql_object.excludes?(picklist)
|
44
|
-
puts "
|
44
|
+
puts "Excluding picklist '#{picklist}'"
|
45
45
|
else
|
46
46
|
generate_picklist_file picklist
|
47
47
|
end
|
@@ -35,8 +35,9 @@ module LeapSalesforce
|
|
35
35
|
def excludes?(picklist)
|
36
36
|
if create_enum.is_a? Hash
|
37
37
|
if create_enum['exclude']
|
38
|
+
picklist_class = picklist.to_class_name
|
38
39
|
create_enum['exclude'].any? do |exclusion_list|
|
39
|
-
!picklist.to_s[Regexp.new(exclusion_list)].nil?
|
40
|
+
!picklist.to_s[Regexp.new(exclusion_list)].nil? || !picklist_class[Regexp.new(exclusion_list)].nil?
|
40
41
|
end
|
41
42
|
else
|
42
43
|
false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: leap_salesforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IQA
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-04-
|
12
|
+
date: 2020-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|