six-updater 0.17.1-x86-mingw32 → 0.17.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +31 -2
  2. data/lib/six/updater.rb +2 -2
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -13,7 +13,29 @@ 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.1'
16
+ s.version = '0.17.2'
17
+ s.has_rdoc = true
18
+ s.extra_rdoc_files = ['README', 'LICENSE']
19
+ s.summary = 'Your summary here'
20
+ s.description = s.summary
21
+ s.author = 'Sickboy'
22
+ s.email = 'sb@dev-heaven.net'
23
+ s.add_dependency('win32-api', '= 1.4.6')
24
+ s.add_dependency('win32-process', '>= 0.6.0')
25
+ s.add_dependency('win32-shortcut', '>= 0.2.3')
26
+ s.add_dependency('log4r', '>= 1.1.2')
27
+ s.add_dependency('six-uac', '>= 0.1.0')
28
+ s.add_dependency('six-rsync', '>= 0.3.4')
29
+ s.files = %w(LICENSE README Rakefile) + Dir.glob("{bin,spec}/**/*") + Dir.glob("lib/*/**/*.rb")
30
+ s.require_path = "lib"
31
+ s.bindir = "bin"
32
+ s.executables = ['six-updater']
33
+ end
34
+
35
+ spec3 = Gem::Specification.new do |s|
36
+ s.platform = "x86-mswin32"
37
+ s.name = 'six-updater'
38
+ s.version = '0.17.2'
17
39
  s.has_rdoc = true
18
40
  s.extra_rdoc_files = ['README', 'LICENSE']
19
41
  s.summary = 'Your summary here'
@@ -34,7 +56,7 @@ end
34
56
 
35
57
  spec2 = Gem::Specification.new do |s|
36
58
  s.name = 'six-updater'
37
- s.version = '0.17.1'
59
+ s.version = '0.17.2'
38
60
  s.has_rdoc = true
39
61
  s.extra_rdoc_files = ['README', 'LICENSE']
40
62
  s.summary = 'Your summary here'
@@ -65,6 +87,13 @@ Rake::GemPackageTask.new(spec2) do |p|
65
87
  p.need_zip = true
66
88
  end
67
89
 
90
+ Rake::GemPackageTask.new(spec3) do |p|
91
+ p.gem_spec = spec3
92
+ p.need_tar = true
93
+ p.need_zip = true
94
+ end
95
+
96
+
68
97
 
69
98
  Rake::RDocTask.new do |rdoc|
70
99
  files =['README', 'LICENSE', 'lib/**/*.rb']
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.1'
41
+ VERSION = '0.17.2'
42
42
  COMPONENT = 'six-updater'
43
43
  LOG_LIMIT = 9999
44
44
 
@@ -83,7 +83,7 @@ module Six
83
83
  tpath.gsub!('/', '\\')
84
84
  ENV['PATH'] = "#{bpath};#{tpath};#{ENV['PATH']}"
85
85
  else
86
- HOME_PATH = '~/'
86
+ HOME_PATH = ENV['HOME']
87
87
  TEMP_PATH = '/tmp'
88
88
  end
89
89
  DATA_PATH = File.join(HOME_PATH, COMPONENT)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 17
8
- - 1
9
- version: 0.17.1
8
+ - 2
9
+ version: 0.17.2
10
10
  platform: x86-mingw32
11
11
  authors:
12
12
  - Sickboy