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:
parent
43323667e5
commit
95c6bfd401
2 changed files with 4 additions and 2 deletions
|
@ -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")
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module AwesomePrint
|
||||
def self.version
|
||||
'1.6.2'
|
||||
'2.0.0.beta'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue