Upped version number to 0.6.0 for version branch.
[twitter4r-core.git] / lib / twitter / version.rb
blobbb4aeda48b4d4f9851714b73b3d7e4e055cc5f16
1 # version.rb contains <tt>Twitter::Version</tt> that provides helper
2 # methods related to versioning of the <tt>Twitter4R</tt> project.
4 module Twitter::Version #:nodoc:
5   MAJOR = 0
6   MINOR = 6
7   REVISION = 0
8   class << self
9     # Returns X.Y.Z formatted version string
10     def to_version
11       "#{MAJOR}.#{MINOR}.#{REVISION}"
12     end
13     
14     # Returns X-Y-Z formatted version name
15     def to_name
16       "#{MAJOR}_#{MINOR}_#{REVISION}"
17     end
18   end
19 end