zuora_api 1.0.1 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19e68b3c1d5c5ded141a2eda340261a94baa86c5
4
- data.tar.gz: 8cdb9892c9ad8591073dcf4e882cb580e8c1cb61
3
+ metadata.gz: daa72c28936f7cc79bea9eb9b9e582080ad6721c
4
+ data.tar.gz: ed92237fb7c80a733922db3c33203b8be39d4d89
5
5
  SHA512:
6
- metadata.gz: 997168163484774bc092b93d40a76a3b361ab5e4d0da873b514aabecfbb35e284af3ea16b00bd310ab83ffbb0877dde05bd5df76611944842373ce3148c568f2
7
- data.tar.gz: ee9d5037d1cf0579b7ef8da5509c9d17e00e86a74e3eeae4a6a5359b05c7e275145ece72d454d50ab7a7008896dc5622d306e532fc8bdec60b82b874948bb8ce
6
+ metadata.gz: d7573ebb6e0b2affa89490a8560f6f72d9601ef19a421a56ed5ed9c4c5c66104775d4c3c446f9cd24fe6f2e89e654e49261f333e4c39b361d0fe41be0bd21640
7
+ data.tar.gz: c28cab00aacdeb65daba3279904b0f2432da82aa97c8819af80fd955a4410fb6284dbcdf685df168c7723f5355ed2e81a6e7f09a1e98153637a7ce0c305d98a0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zuora_api (1.0.1)
4
+ zuora_api (1.0.2)
5
5
  httparty
6
6
  nokogiri (~> 1.6.8)
7
7
  railties (>= 4.1.0, < 5.1)
@@ -425,7 +425,7 @@ module ZuoraAPI
425
425
  file_id = output_xml.xpath('//ns2:FileId', 'ns2' =>'http://object.api.zuora.com/').text
426
426
  Rails.logger.info('Export') {'=====> Export finished'}
427
427
  zip_file = get_file(:file_name => "#{file_id}.zip" ,:url => "#{self.fileURL}#{file_id}?file-id=#{file_id}")
428
- if extract
428
+ if extract && zip
429
429
  location = extract_zip(zip_file.path, "#{file_id}")
430
430
  File.delete(zip_file.path)
431
431
  return location
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zuora_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group