civicrm 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/civicrm/actions/destroy.rb +2 -0
- data/lib/civicrm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1001107c2cb7d6f1b6e399b88f1e2ee9a26c5196
|
4
|
+
data.tar.gz: 1554925cb58d20a13e1f886e64091a8df937a062
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f8fcf9979014b625ea99e7b77b89b41921420bb0dc75c797b2af82a66ca6bddd44e851b6e7119be3078b0e9a1fb85bbaa979b6cda5cd14d2d96dae2f3db2b1a
|
7
|
+
data.tar.gz: 54acf92001088dad4ab6703fbaba1461e9f1816ec5a8df2647298adc4494d53aacd91aafcb13685bec36ba5bcca1681bc57a9749aa3f1151bdfe9af64497a79b
|
@@ -9,6 +9,7 @@ module CiviCrm
|
|
9
9
|
}
|
10
10
|
|
11
11
|
response = CiviCrm::Client.request(:post, params)
|
12
|
+
response = response.first if response.is_a?(Array)
|
12
13
|
|
13
14
|
if response < 1
|
14
15
|
raise Error, "Couldn't delete #{entity_class_name}##{id}"
|
@@ -24,6 +25,7 @@ module CiviCrm
|
|
24
25
|
}
|
25
26
|
|
26
27
|
response = CiviCrm::Client.request(:post, params)
|
28
|
+
response = response.first if response.is_a?(Array)
|
27
29
|
|
28
30
|
if response < 1
|
29
31
|
raise Error, "Couldn't delete #{entity_class_name}##{id}"
|
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.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iskander Haziev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|