lib/haml/version.rb in honkster-haml-2.1.0 vs lib/haml/version.rb in honkster-haml-2.1.1
- old
+ new
@@ -12,9 +12,10 @@
@@version = YAML.load(File.read("#{dir}/../../VERSION.yml"))
@@version.each do |key, value|
@@version[key.to_sym] = value
end
@@version[:teeny] = @@version.delete(:patch)
+ @@version[:string] = "#{@@version[:major]}.#{@@version[:minor]}.#{@@version[:teeny]}"
@@version
end
# Returns the path of file relative to the Haml root.
def scope(file) # :nodoc: