six-updater 0.17.7-x86-mswin32 → 0.18.1-x86-mswin32

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.
Files changed (3) hide show
  1. data/Rakefile +3 -3
  2. data/lib/six/updater.rb +2 -2
  3. metadata +4 -4
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ require 'rake/testtask'
13
13
  spec = Gem::Specification.new do |s|
14
14
  s.platform = "x86-mingw32"
15
15
  s.name = 'six-updater'
16
- s.version = '0.17.7'
16
+ s.version = '0.18.1'
17
17
  s.has_rdoc = true
18
18
  s.extra_rdoc_files = ['README', 'LICENSE']
19
19
  s.summary = 'Your summary here'
@@ -35,7 +35,7 @@ end
35
35
  spec3 = Gem::Specification.new do |s|
36
36
  s.platform = "x86-mswin32"
37
37
  s.name = 'six-updater'
38
- s.version = '0.17.7'
38
+ s.version = '0.18.1'
39
39
  s.has_rdoc = true
40
40
  s.extra_rdoc_files = ['README', 'LICENSE']
41
41
  s.summary = 'Your summary here'
@@ -56,7 +56,7 @@ end
56
56
 
57
57
  spec2 = Gem::Specification.new do |s|
58
58
  s.name = 'six-updater'
59
- s.version = '0.17.7'
59
+ s.version = '0.18.1'
60
60
  s.has_rdoc = true
61
61
  s.extra_rdoc_files = ['README', 'LICENSE']
62
62
  s.summary = 'Your summary here'
data/lib/six/updater.rb CHANGED
@@ -38,7 +38,7 @@ end
38
38
  module Six
39
39
  # TODO: Evaluate if this module should be a class instead?
40
40
  module Updater
41
- VERSION = '0.17.7'
41
+ VERSION = '0.18.1'
42
42
  COMPONENT = 'six-updater'
43
43
  LOG_LIMIT = 9999
44
44
  FOLDER = /(.*)\/(.*)/
@@ -91,7 +91,7 @@ module Six
91
91
  HOME_PATH = ENV['HOME']
92
92
  TEMP_PATH = '/tmp'
93
93
  end
94
- DATA_PATH = File.join(HOME_PATH, COMPONENT)
94
+ DATA_PATH = File.join(File.exists?(File.join(BASE_PATH, "legacy.txt")) ? BASE_PATH : HOME_PATH, COMPONENT)
95
95
 
96
96
  =begin
97
97
  dpath = BASE_PATH
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 17
8
- - 7
9
- version: 0.17.7
7
+ - 18
8
+ - 1
9
+ version: 0.18.1
10
10
  platform: x86-mswin32
11
11
  authors:
12
12
  - Sickboy
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-23 00:00:00 +02:00
17
+ date: 2010-04-25 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency