lib/version_info.rb in version_info-0.6.4 vs lib/version_info.rb in version_info-0.7.0
- old
+ new
@@ -2,19 +2,20 @@
module VersionInfo
def self.segments
- [:major, :minor, :patch, :pre, :build]
+ [:major, :minor, :patch, :state, :build]
end
def self.included(other)
data = Class.new(Data)
other.const_set('Version', data)
other.const_set('VERSION', data.new)
end
- autoload :Tasks, 'version_info/tasks'
+ autoload :RakeTasks, 'version_info/tasks'
+ autoload :ThorTasks, 'version_info/tasks'
end