zuora_api 0.2.6.6 → 0.2.6.7

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: 1053ff11c1376a088bd917846d947ad723474283
4
- data.tar.gz: e8362876fe1320b101392870e2343670243b98f0
3
+ metadata.gz: 5063005f37c016960b278a0c92a42f9ecea1df48
4
+ data.tar.gz: 089216b33cee5b080b46b311428204ef97f591a4
5
5
  SHA512:
6
- metadata.gz: ab9da8db92b5687dc45646530ec128b0061cd16814d3125a9305c3b7ad5fa905932fa23fa27977a2971bf7fb0994d2a64b52b11e28f2b40dac2c611417286608
7
- data.tar.gz: d7fdb8d1e2bf9eb71f3dc6d30ea99b63e99db1670e5e641cf77c0bf34dbecfa940af9dddfee11d9439c65ea279f856394d44b48b4322e3f8b7c5656961a10717
6
+ metadata.gz: d290f8a126289d74c97c0866cb3a3558b35bcf4f581660a6bc5e7661d387e80a52a1b7c8b62e7f203440b530a2e82492d643546bf708524561dc0c919b2c9dae
7
+ data.tar.gz: 262db2773a96a365f4f94962b8a5e421541ac878ffb7d5e429177088e510c1058a8c1acb639c56f22122eca513d0533f480078381d6b561d5d7f874f7fcf3064
@@ -397,14 +397,16 @@ module ZuoraAPI
397
397
  end
398
398
 
399
399
  def extract_zip(file,filename)
400
+ files = Array.new
400
401
  FileUtils.mkdir_p("#{Rails.root}/tmp/#{filename}")
401
402
  ::Zip::File.open(file) do |zip_file|
402
403
  zip_file.each do |f|
404
+ files << "#{Rails.root}/tmp/#{filename}/#{f.name}"
403
405
  fpath = File.join("#{Rails.root}/tmp/#{filename}", f.name)
404
406
  zip_file.extract(f, fpath) unless File.exist?(fpath)
405
407
  end
406
408
  end
407
- return "#{Rails.root}/tmp/#{filename}"
409
+ return files
408
410
  end
409
411
 
410
412
  def query(query)
@@ -1,3 +1,3 @@
1
1
  module ZuoraAPI
2
- VERSION = "0.2.6.6"
2
+ VERSION = "0.2.6.7"
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: 0.2.6.6
4
+ version: 0.2.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zuora Strategic Solutions Group