civicrm 1.3.3 → 1.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9735175d2f14cb1bf87d70912b6024f2e99b7b29a8fae0f607faa2cdfeb05bd9
4
- data.tar.gz: 488f5171a4f72d22233c4462cc0a25d578bdeeda8a4aa257ecb7ecfd15427bce
3
+ metadata.gz: 9c1694a1424290f18d78ac3f09606e6c166fb6b300748db46662bc1facdf90fe
4
+ data.tar.gz: a72137854713cd2e2856ea34232134e44e2ba8e455becb9c20e6ada255ef0814
5
5
  SHA512:
6
- metadata.gz: 115de8618812f96545a5abca10308dae430d59d31c8c467f63b4757922a42fcca8c1872b948ac8cb6c007f43aa3097f21472907dc65a5d43167b6e166445bc9b
7
- data.tar.gz: f734297673128674be0d6064dea0cc23866d2f657229a8f978440ed02b1e54de40f770e1a276684fd99c5306f7302dbea728d43272ace255c9fda92cd1cadecf
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 = name
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=#{name}"
27
+ "CustomField of #{entity} with name=#{field}"
28
28
  )
29
29
  end
30
30
 
@@ -1,3 +1,3 @@
1
1
  module CiviCrm
2
- VERSION = '1.3.3'
2
+ VERSION = '1.3.4'
3
3
  end
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.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-14 00:00:00.000000000 Z
11
+ date: 2020-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client