groupdocs_comparison_cloud 21.3 → 21.3.1

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: 1b4bf7b8bb7b191e5afa7809363224702cb662ae
4
- data.tar.gz: 9daca9a354fa6775ee7615e314cfa32c86b0e92b
3
+ metadata.gz: ffc1ae6b75e3f7394cff8e700db4bfe49d4c1eba
4
+ data.tar.gz: a556422ecb7f44edb299963e4666ccae17d746d4
5
5
  SHA512:
6
- metadata.gz: 5a2a17ed98140ddd082eaa2d2270cd3216e74fb77dc9e2be510741d995d902d9e288f3d3eaf8fe1fc2a87b5ac6b1604fdba59c70d73877231cef98c27969643a
7
- data.tar.gz: 43035f350c5c662a23abb9eec1b1d430a50e9b652e544eebf1a6c6b18bd0daf6764437bfb66dcd0bff2b887252d1fd4470beb7b2e903c3e510283f24fa9b0c31
6
+ metadata.gz: 95003f995a63c6e48a968869b23686ccc24765fa09198980048c2c8d5470ee906c689f6853c34a3a7f0a14aa1ac6187152df4f7ecbc3eec466287d3444f88d77
7
+ data.tar.gz: 050d1f54699af6d1f0f9a05e50ff0321e1db06e13f3d15ba6d4dd6bf4084bdd1038e9b80bfb764d415a6759936db4dad022a3c12347fa4f4f418fa3d74d320ee
@@ -39,12 +39,22 @@ module GroupDocsComparisonCloud
39
39
 
40
40
  if arg.key?(:response_body) then
41
41
  data = JSON.parse(arg[:response_body], :symbolize_names => true)
42
- if !data.nil? && !data[:error].nil? then
43
- error = data[:error]
44
- if error.kind_of?(String) then
45
- @message = error
42
+ if !data.nil? then
43
+ if !data[:error].nil? then
44
+ error = data[:error]
45
+ if error.kind_of?(String) then
46
+ @message = error
47
+ else
48
+ @message = error[:message]
49
+ end
46
50
  else
47
- @message = error[:message]
51
+ message = data[:message]
52
+ if !message.nil? && message.kind_of?(String) then
53
+ @message = message
54
+ @code = data[:code]
55
+ else
56
+ @message = data
57
+ end
48
58
  end
49
59
  end
50
60
  end
@@ -25,5 +25,5 @@
25
25
  # --------------------------------------------------------------------------------------------------------------------
26
26
  #
27
27
  module GroupDocsComparisonCloud
28
- VERSION = "21.3".freeze
28
+ VERSION = "21.3.1".freeze
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: groupdocs_comparison_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: '21.3'
4
+ version: 21.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GroupDocs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-11 00:00:00.000000000 Z
11
+ date: 2021-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.14.0
27
- - !ruby/object:Gem::Dependency
28
- name: mimemagic
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: 0.3.2
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: 0.3.2
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: addressable
43
29
  requirement: !ruby/object:Gem::Requirement