Skip to content
Browse files

change how version is stored

  • Loading branch information...
1 parent de0441f commit 7e750061a380f8211a54ec843184300dc06c3fc0 @madx committed Jan 17, 2012
Showing with 6 additions and 2 deletions.
  1. +5 −1 lib/roy/version.rb
  2. +1 −1 roy.gemspec
View
6 lib/roy/version.rb
@@ -1,3 +1,7 @@
module Roy
- VERSION = "0.5.1"
+ VERSION = [0, 5, 1]
+
+ def self.version
+ VERSION.join('.')
+ end
end
View
2 roy.gemspec
@@ -4,7 +4,7 @@ require "roy/version"
Gem::Specification.new do |s|
s.name = "roy"
- s.version = Roy::VERSION
+ s.version = Roy.version
s.authors = ["madx"]
s.email = ["madx@yapok.org"]
s.homepage = "https://github.com/madx/roy"

0 comments on commit 7e75006

Please sign in to comment.
Something went wrong with that request. Please try again.