civicrm 1.2.5 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/civicrm/resources/financial_type.rb +1 -1
- data/lib/civicrm/resources/option_value.rb +3 -3
- data/lib/civicrm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08213b07d9c509cce9fde6eb2cd6d172beae1e29
|
4
|
+
data.tar.gz: b950d8fa3aadcf8228d4eef6e62f577e7ff9834e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa4ebfeba87a0981584b219e73f7edf2459d5974ff342d3b8b8f842e0b5064933b9f2c1c74537ad69437cfef5dbd903605b03f31462a0abda4ee41d30fac124
|
7
|
+
data.tar.gz: 6acbe76caea2a07a6294bdd7cccf402eac2868d04de16693a6640e22e6f4356a7dc779c3d1c2f1fc60bfa712c2e0895b26b522f22f4425ff62f399af7415e255
|
@@ -4,7 +4,7 @@ module CiviCrm
|
|
4
4
|
|
5
5
|
@@_option_value_cache = {}
|
6
6
|
|
7
|
-
def self.
|
7
|
+
def self.[](group, name, cache: true, create: Rails.env.development?)
|
8
8
|
cache_key = [group, name]
|
9
9
|
|
10
10
|
if cache && @@_option_value_cache.key?(cache_key)
|
@@ -12,8 +12,8 @@ module CiviCrm
|
|
12
12
|
end
|
13
13
|
|
14
14
|
option = find_by(
|
15
|
-
|
16
|
-
|
15
|
+
"name" => name,
|
16
|
+
"option_group_id.title" => group
|
17
17
|
)
|
18
18
|
|
19
19
|
if !option && create
|
data/lib/civicrm/version.rb
CHANGED