Skip to content

Commit

Permalink
change how version is stored
Browse files Browse the repository at this point in the history
  • Loading branch information
madx committed Jan 17, 2012
1 parent de0441f commit 7e75006
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion lib/roy/version.rb
@@ -1,3 +1,7 @@
module Roy module Roy
VERSION = "0.5.1" VERSION = [0, 5, 1]

def self.version
VERSION.join('.')
end
end end
2 changes: 1 addition & 1 deletion roy.gemspec
Expand Up @@ -4,7 +4,7 @@ require "roy/version"


Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "roy" s.name = "roy"
s.version = Roy::VERSION s.version = Roy.version
s.authors = ["madx"] s.authors = ["madx"]
s.email = ["madx@yapok.org"] s.email = ["madx@yapok.org"]
s.homepage = "https://github.com/madx/roy" s.homepage = "https://github.com/madx/roy"
Expand Down

0 comments on commit 7e75006

Please sign in to comment.