civicrm 1.3.3 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/civicrm/resources/custom_field.rb +2 -2
- data/lib/civicrm/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: 9c1694a1424290f18d78ac3f09606e6c166fb6b300748db46662bc1facdf90fe
|
|
4
|
+
data.tar.gz: a72137854713cd2e2856ea34232134e44e2ba8e455becb9c20e6ada255ef0814
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef2a70f0e68d96834d702ceb265500836dbddf6170cc1530e06a0bf58b4a9e5586fe7f045f67dbd62930e980eada681382c55a14dfefaa143d49228737ecd665
|
|
7
|
+
data.tar.gz: 1872a26aa0b9b4f0069c02c8b8e03848c4ef994d7fda0f81d52363f8349113eab44d6508482c24bf9378a6665c36f41c0e2fa651bab8215b996b664a8ca56423
|
|
@@ -5,7 +5,7 @@ module CiviCrm
|
|
|
5
5
|
@@_custom_field_cache = {}
|
|
6
6
|
|
|
7
7
|
def self.[](entity, field, cache: true)
|
|
8
|
-
cache_key =
|
|
8
|
+
cache_key = [entity.underscore, field].join("/")
|
|
9
9
|
|
|
10
10
|
if cache && @@_custom_field_cache.key?(cache_key)
|
|
11
11
|
return @@_custom_field_cache[cache_key]
|
|
@@ -24,7 +24,7 @@ module CiviCrm
|
|
|
24
24
|
end
|
|
25
25
|
|
|
26
26
|
raise Errors::NotFound.new(
|
|
27
|
-
"CustomField of #{entity} with name=#{
|
|
27
|
+
"CustomField of #{entity} with name=#{field}"
|
|
28
28
|
)
|
|
29
29
|
end
|
|
30
30
|
|
data/lib/civicrm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: civicrm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Iskander Haziev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-01-
|
|
11
|
+
date: 2020-01-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|