lib/version_info.rb in version_info-0.2.0 vs lib/version_info.rb in version_info-0.3.0
- old
+ new
@@ -1,17 +1,18 @@
require 'version_info/data'
module VersionInfo
- autoload :Tasks, 'version_info/tasks'
def self.segments
- [:major, :minor, :patch, :state, :build]
+ [:major, :minor, :patch, :pre, :build]
end
def self.included(other)
other.const_set('VERSION', Data.new)
end
+
+ autoload :Tasks, 'version_info/tasks'
end