1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Use a single place to define the Gem Version

This commit is contained in:
Mauro George 2015-03-18 20:02:38 -03:00
parent 43323667e5
commit 95c6bfd401
2 changed files with 4 additions and 2 deletions

View file

@ -1,8 +1,10 @@
require "rake" require "rake"
require 'awesome_print/version'
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "awesome_print" s.name = "awesome_print"
s.version = "1.6.2" s.version = AwesomePrint.version
# s.platform = Gem::Platform::RUBY # s.platform = Gem::Platform::RUBY
s.authors = "Michael Dvorkin" s.authors = "Michael Dvorkin"
s.date = Time.now.strftime("%Y-%m-%d") s.date = Time.now.strftime("%Y-%m-%d")

View file

@ -1,5 +1,5 @@
module AwesomePrint module AwesomePrint
def self.version def self.version
'1.6.2' '2.0.0.beta'
end end
end end