zuora_api 1.4.04 → 1.4.05
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/lib/zuora_api/login.rb +4 -3
- data/lib/zuora_api/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: 163c37f8495311e3ee7db7f08242dc2db3e72df2
|
|
4
|
+
data.tar.gz: bc1adbf1ad85cea20702dc890058a1c7fed19115
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c31f91199a6cadd629a01c5ca0cc92dd9f81ef986c6966c0f330bc7efccb79a5244cf0809d578e510d4277902d5e60e7c4312a405b89e28038d7f5d5e9af576
|
|
7
|
+
data.tar.gz: a36f854aa4fcdb21e6b3fac8f8fc22aeabe7d587dd6e317e5c3f3c605d15ea77d4211d68d4abdd5f033575c75eb1652f8ca83f55bbd683e5b134ac4939404916
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
zuora_api (1.4.
|
|
4
|
+
zuora_api (1.4.05)
|
|
5
5
|
httparty
|
|
6
6
|
nokogiri (~> 1.6.8)
|
|
7
7
|
railties (>= 4.1.0, < 5.1)
|
|
@@ -39,22 +39,22 @@ GEM
|
|
|
39
39
|
docile (1.1.5)
|
|
40
40
|
erubis (2.7.0)
|
|
41
41
|
hashdiff (0.3.7)
|
|
42
|
-
httparty (0.
|
|
42
|
+
httparty (0.16.0)
|
|
43
43
|
multi_xml (>= 0.5.2)
|
|
44
|
-
i18n (0.9.
|
|
44
|
+
i18n (0.9.4)
|
|
45
45
|
concurrent-ruby (~> 1.0)
|
|
46
46
|
json (2.1.0)
|
|
47
|
-
loofah (2.
|
|
47
|
+
loofah (2.2.0)
|
|
48
48
|
crass (~> 1.0.2)
|
|
49
49
|
nokogiri (>= 1.5.9)
|
|
50
50
|
method_source (0.9.0)
|
|
51
51
|
mini_portile2 (2.1.0)
|
|
52
|
-
minitest (5.11.
|
|
52
|
+
minitest (5.11.3)
|
|
53
53
|
multi_xml (0.6.0)
|
|
54
54
|
nokogiri (1.6.8.1)
|
|
55
55
|
mini_portile2 (~> 2.1.0)
|
|
56
56
|
public_suffix (3.0.1)
|
|
57
|
-
rack (2.0.
|
|
57
|
+
rack (2.0.4)
|
|
58
58
|
rack-test (0.6.3)
|
|
59
59
|
rack (>= 1.0)
|
|
60
60
|
rails-dom-testing (2.0.3)
|
|
@@ -91,7 +91,7 @@ GEM
|
|
|
91
91
|
simplecov-html (0.10.2)
|
|
92
92
|
thor (0.20.0)
|
|
93
93
|
thread_safe (0.3.6)
|
|
94
|
-
tzinfo (1.2.
|
|
94
|
+
tzinfo (1.2.5)
|
|
95
95
|
thread_safe (~> 0.1)
|
|
96
96
|
webmock (3.1.0)
|
|
97
97
|
addressable (>= 2.3.6)
|
data/lib/zuora_api/login.rb
CHANGED
|
@@ -396,7 +396,7 @@ module ZuoraAPI
|
|
|
396
396
|
}
|
|
397
397
|
response = self.rest_call(method: :post, body: params.to_json, url: self.aqua_endpoint("batch-query/"))
|
|
398
398
|
if(response[0]["id"].nil?)
|
|
399
|
-
raise "Error in AQuA Process. #{response}"
|
|
399
|
+
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("Error in AQuA Process. #{response}")
|
|
400
400
|
end
|
|
401
401
|
return getFileById(id: response[0]["id"])
|
|
402
402
|
end
|
|
@@ -409,7 +409,7 @@ module ZuoraAPI
|
|
|
409
409
|
response, fullResponse = self.rest_call(method: :get, body: {}, url: self.aqua_endpoint("batch-query/jobs/#{id}"))
|
|
410
410
|
result = response["batches"][0]["status"]
|
|
411
411
|
if result == "error"
|
|
412
|
-
raise "Aqua Error: #{response}"
|
|
412
|
+
raise ZuoraAPI::Exceptions::ZuoraAPIError.new("Aqua Error: #{response}")
|
|
413
413
|
break
|
|
414
414
|
end
|
|
415
415
|
end
|
|
@@ -662,8 +662,9 @@ module ZuoraAPI
|
|
|
662
662
|
end
|
|
663
663
|
end
|
|
664
664
|
|
|
665
|
-
Rails.logger.info("Filepath: #{file_handle.path}")
|
|
666
665
|
file_handle.close
|
|
666
|
+
Rails.logger.info("Filepath: #{file_handle.path} Size: #{File.size(file_handle.path).to_f/1000000} mb")
|
|
667
|
+
|
|
667
668
|
return file_handle
|
|
668
669
|
end
|
|
669
670
|
end
|
data/lib/zuora_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zuora_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.05
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zuora Strategic Solutions Group
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-02-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|