plesk_kit 2.0.12 → 2.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTk1MGI5MjVmZmEyOGNjYmE4MmYxNDlhODg3ZTU4OTFiYmVjMjU3Zg==
4
+ NjAwZDk5NjI2NGMyM2MxMGRjYTEwODYzYmI0MThkY2I3ZGJhY2ZkZQ==
5
5
  data.tar.gz: !binary |-
6
- MDgzOTRiMzg2MGY4NjU3NDg3Njc3NWQwMzljMjM3NzY4NTVmNDRmYQ==
6
+ ODUwMTRiZDZlNjdhNDRiMWZiYjQ1M2YyYjJjZDliYTRiMjdlNTRlNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjM2NGEwMjdlNWIzNmRmZGI0YzJmZjIwYjE1ODU3ODc3ZWIxZWJlMDVlYzJl
10
- NDNjMDcyM2U2MTViNWUxMWMzY2E3NGQ3YmM5ZjRkYzlhMThmMmZiMDFiZThi
11
- NDZiMzllZGZlOGE5M2ZkYjIzODNkNTI4ODU1ZWViMDg3ZWQyNzM=
9
+ ZDEyYjEwNTg2Y2ZmNGU3YTViN2E1ZjIzODU1Y2VjYTBkYmIxMmQ5MDk4Y2Nm
10
+ ODAzZGQ1NTk2MjI0MzQ3ZDVmYmIxM2VjOTQ1OGU2MmM1OTNjMjA0NTQ1NzVm
11
+ MTdjNGRhNjJkZjJlYmVmMDgyMGFmMzcwMTZhMzU2ZGM1MjkxYTY=
12
12
  data.tar.gz: !binary |-
13
- MTAyNDFhMTNjZTgyODJmMGM1MmM0MDE3YjI1OWJiYTgzNDY1NWQwYzMzZjk5
14
- MzM4MmVlZGI3Mjc2OWY5NzAwY2IzMGYwZDYwOWU4MjJlOGZlNWQyZGM2N2Zh
15
- ODkwZTE1ZWUzYWE3MmFiYzkzNWQ3OWU3Y2VlNTcwOTlmYzhhOWQ=
13
+ MDgxNGFmNWExMThhMWJiNDJmNjMzZjk3NDYyYjU3MWIyYWQ0NTI2NTAzNWRj
14
+ M2Y2YTQxZTNlY2U5NWJhN2I3YTljM2ZiYTY3MjAyZTUwZjBkZTg4YWExZTc1
15
+ ZDNmZGM2YjJlNDVmN2M3MTMwZmNlYTRkY2RjOTFjNDIxYzE3OGI=
@@ -144,6 +144,7 @@ module PleskKit
144
144
  def analyse_for_id response_string, customer = nil
145
145
  xml = REXML::Document.new(response_string)
146
146
  status = xml.root.elements['//status'].text if xml.root.elements['//status'].present?
147
+ sub_guid =''
147
148
  if status == "error"
148
149
  code = xml.root.elements['//errcode'].text
149
150
  message = xml.root.elements['//errtext'].text
@@ -151,7 +152,7 @@ module PleskKit
151
152
  else
152
153
  sub_guid = xml.root.elements['//id'].text if xml.root.elements['//id'].present?
153
154
  end
154
- return id || true
155
+ return sub_guid || true
155
156
  end
156
157
 
157
158
  end
@@ -1,3 +1,3 @@
1
1
  module PleskKit
2
- VERSION = "2.0.12"
2
+ VERSION = "2.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plesk_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.12
4
+ version: 2.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dionne Saunders