Permalink
Browse files

adding a version

  • Loading branch information...
1 parent 23f503c commit 0f3a8a2cd86bf7376df7d89eccbff07fc2be3268 @matthewvermaak committed Dec 2, 2009
Showing with 13 additions and 0 deletions.
  1. +4 −0 lib/sanction.rb
  2. +9 −0 lib/sanction/version.rb
View
@@ -27,6 +27,10 @@ def self.configure
def self.role(role_name, relationship_and_options)
Sanction::Role::Definition.new(role_name, relationship_and_options)
end
+
+ def self.version
+ Sanction::Version::STRING
+ end
#--------------------------------------------------#
# Class Vars #
View
@@ -0,0 +1,9 @@
+module Sanction
+ module Version
+ MAJOR = 1
+ MINOR = 0
+ TINY = 1
+
+ STRING = [MAJOR, MINOR, TINY].join('.')
+ end
+end

0 comments on commit 0f3a8a2

Please sign in to comment.