diff --git a/awesome_print.gemspec b/awesome_print.gemspec index a00b20d..6cdd2f5 100644 --- a/awesome_print.gemspec +++ b/awesome_print.gemspec @@ -1,8 +1,10 @@ require "rake" +require 'awesome_print/version' + Gem::Specification.new do |s| s.name = "awesome_print" - s.version = "1.6.2" + s.version = AwesomePrint.version # s.platform = Gem::Platform::RUBY s.authors = "Michael Dvorkin" s.date = Time.now.strftime("%Y-%m-%d") diff --git a/lib/awesome_print/version.rb b/lib/awesome_print/version.rb index 7bb69fc..9c7a37d 100644 --- a/lib/awesome_print/version.rb +++ b/lib/awesome_print/version.rb @@ -1,5 +1,5 @@ module AwesomePrint def self.version - '1.6.2' + '2.0.0.beta' end end