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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66f22f031f00dc43ae26aee26bc90d9ae40dbf64
4
- data.tar.gz: d59a60768f5a205206563ea025fe2459512a411c
3
+ metadata.gz: 1001107c2cb7d6f1b6e399b88f1e2ee9a26c5196
4
+ data.tar.gz: 1554925cb58d20a13e1f886e64091a8df937a062
5
5
  SHA512:
6
- metadata.gz: cd201b988e1c26b6ac223c7accabbfdf4ab62f4089392df057948c5c05aedc6684e91aacf86b547c37ee1bad74eddf50b67b4ead942750c28c31f86bb5be9247
7
- data.tar.gz: 9d70a3be0e611dd4d212809741a9361e4862d47138054fdfac97d231cb6f3b88ec0783e61484cc70c59420b0af699b93f9ae62031f864066a1ab7206a1f43772
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}"
@@ -1,3 +1,3 @@
1
1
  module CiviCrm
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
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.2.1
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-08-08 00:00:00.000000000 Z
11
+ date: 2019-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client