videojuicer-player-sdk 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 3
4
- :patch: 5
4
+ :patch: 6
@@ -86,8 +86,14 @@ module PlayerSDK
86
86
  Zip::ZipFile.open(file) { |zip_file|
87
87
  zip_file.each { |f|
88
88
  f_path = File.join(destination, f.name)
89
+
90
+ if File.exist?(f_path) then
91
+ FileUtils.rm_rf f_path
92
+ end
93
+
89
94
  FileUtils.mkdir_p(File.dirname(f_path))
90
- zip_file.extract(f, f_path) unless File.exist?(f_path)
95
+
96
+ zip_file.extract(f, f_path) # unless File.exist?(f_path)
91
97
  }
92
98
  }
93
99
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: videojuicer-player-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Livesley