sake 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sake.rb +4 -3
  2. metadata +2 -2
data/lib/sake.rb CHANGED
@@ -73,7 +73,7 @@ class Sake
73
73
  module Version
74
74
  Major = '1'
75
75
  Minor = '0'
76
- Tweak = '6'
76
+ Tweak = '7'
77
77
  String = [ Major, Minor, Tweak ].join('.')
78
78
  end
79
79
 
@@ -456,16 +456,17 @@ class Sake
456
456
  end
457
457
 
458
458
  def tasks_file
459
- FileUtils.touch(path) unless path.is_file?
460
459
  @tasks_file ||= TasksFile.parse(path)
461
460
  end
462
461
 
463
462
  def path
464
- if PLATFORM =~ /win32/
463
+ path = if PLATFORM =~ /win32/
465
464
  win32_path
466
465
  else
467
466
  File.join(File.expand_path('~'), '.sake')
468
467
  end
468
+ FileUtils.touch(path) unless path.is_file?
469
+ path
469
470
  end
470
471
 
471
472
  def win32_path
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: sake
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.6
7
- date: 2007-06-26 00:00:00 -07:00
6
+ version: 1.0.7
7
+ date: 2007-06-28 00:00:00 -07:00
8
8
  summary: Sake tastes great and helps maintain system-level Rake files.
9
9
  require_paths:
10
10
  - lib