From cd0346b4492b3cf31df0d76362d9c5b207d522d8 Mon Sep 17 00:00:00 2001 From: Christian Williams Date: Thu, 26 Aug 2010 13:11:54 -0700 Subject: [PATCH] Allow version parts to have non-numeric components (e.g. "rc1"). --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 8984f58b..60ca87f3 100644 --- a/Rakefile +++ b/Rakefile @@ -74,9 +74,9 @@ namespace :jasmine do jasmine.puts %{ jasmine.version_= { - "major": #{version['major']}, - "minor": #{version['minor']}, - "build": #{version['build']}, + "major": #{version['major'].to_json}, + "minor": #{version['minor'].to_json}, + "build": #{version['build'].to_json}, "revision": #{Time.now.to_i} }; }