sake 1.0.3 → 1.0.4
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.
- data/lib/sake.rb +2 -2
- metadata +2 -2
data/lib/sake.rb
CHANGED
|
@@ -68,7 +68,7 @@ class Sake
|
|
|
68
68
|
module Version
|
|
69
69
|
Major = '1'
|
|
70
70
|
Minor = '0'
|
|
71
|
-
Tweak = '
|
|
71
|
+
Tweak = '4'
|
|
72
72
|
String = [ Major, Minor, Tweak ].join('.')
|
|
73
73
|
end
|
|
74
74
|
|
|
@@ -413,7 +413,7 @@ class Sake
|
|
|
413
413
|
out << " do\n"
|
|
414
414
|
|
|
415
415
|
# get rid of the proc { / } lines
|
|
416
|
-
out << @body.to_ruby.split("\n")[1...-1].join("\n")
|
|
416
|
+
out << @body.to_ruby.split("\n")[1...-1].join("\n") rescue nil
|
|
417
417
|
|
|
418
418
|
out << "\nend\n"
|
|
419
419
|
end
|
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
|
-
date: 2007-06-
|
|
6
|
+
version: 1.0.4
|
|
7
|
+
date: 2007-06-25 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
|