sake 1.0.7 → 1.0.8

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 +2 -2
  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 = '7'
76
+ Tweak = '8'
77
77
  String = [ Major, Minor, Tweak ].join('.')
78
78
  end
79
79
 
@@ -415,7 +415,7 @@ class Sake
415
415
  # Turn ourselves back into Rake task plaintext.
416
416
  def to_ruby
417
417
  out = ''
418
- out << "desc '#{@comment}'\n" if @comment
418
+ out << "desc '#{@comment.gsub("'", "\\\\'")}'\n" if @comment
419
419
  out << "task '#{@name}'"
420
420
 
421
421
  if @deps.any?
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.7
7
- date: 2007-06-28 00:00:00 -07:00
6
+ version: 1.0.8
7
+ date: 2007-07-11 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