Single quotes in description spoil the sake
Reported by Geoffrey Grosenbach | July 11th, 2007 @ 06:37 PM
Steps to reproduce:
- Create a new rake task with a single quote in the description
- Import it as a sake task with sake -i
- Try to see your sake tasks with sake -T
- Ruby will crash and it will say that it can't parse
Can ruby2ruby produce double quoted output, or escape internal single quotes?
desc "My fancy task with 'strange' behavior"
task :foo do
# ...
end
Produces a ~/.sake task like this
desc 'My fancy task with 'strange' behavior'
task :foo do
# ...
end
Comments and changes to this ticket
-
Chris Wanstrath July 11th, 2007 @ 06:37 PM
- State changed from new to resolved
Fixed, gem 1.0.8 has been pushed out to Rubyforge.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป