six-updater 0.13.1 → 0.13.2

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ require 'rake/testtask'
12
12
 
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.name = 'six-updater'
15
- s.version = '0.13.1'
15
+ s.version = '0.13.2'
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ['README', 'LICENSE']
18
18
  s.summary = 'Your summary here'
@@ -44,7 +44,7 @@ end
44
44
  module Six
45
45
  # TODO: Evaluate if this module should be a class instead?
46
46
  module Updater
47
- VERSION = '0.13.1'
47
+ VERSION = '0.13.2'
48
48
  COMPONENT = 'six-updater'
49
49
 
50
50
  # Configuration
@@ -204,8 +204,9 @@ module Six
204
204
  #folder = File.join(basepath, subfolder)
205
205
  end
206
206
 
207
- file = File.join(BASE_PATH, "#{@folder_str}.7z")
208
- if FileTest.exist?(file)
207
+ file = File.join(DATA_PATH, "#{@folder_str}.7z")
208
+ file = File.join(BASE_PATH, "#{@folder_str}.7z") unless File.exists?(file)
209
+ if File.exists?(file)
209
210
  log.info "Found #{@folder_str}.7z, using it"
210
211
  Six::Updater.zipcheck
211
212
  FileUtils.mkdir_p @path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: six-updater
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.1
4
+ version: 0.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sickboy