"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/sass/version.rb" between
sass-3.5.5.tar.gz and sass-3.5.6.tar.gz

About: Sass (Syntactically Awesome StyleSheets) is a CSS preprocessor (extension language) that adds "power and elegance" to the basic CSS language.

version.rb  (sass-3.5.5):version.rb  (sass-3.5.6)
skipping to change at line 79 skipping to change at line 79
@@version[:number] = numbers.join('.') @@version[:number] = numbers.join('.')
@@version[:string] = @@version[:number].dup @@version[:string] = @@version[:number].dup
if (rev = revision_number) if (rev = revision_number)
@@version[:rev] = rev @@version[:rev] = rev
unless rev[0] == ?( unless rev[0] == ?(
@@version[:string] << "." << rev[0...7] @@version[:string] << "." << rev[0...7]
end end
end end
@@version[:string] << " (#{name})"
@@version @@version
end end
private private
def revision_number def revision_number
if File.exist?(Sass::Util.scope('REVISION')) if File.exist?(Sass::Util.scope('REVISION'))
rev = File.read(Sass::Util.scope('REVISION')).strip rev = File.read(Sass::Util.scope('REVISION')).strip
return rev unless rev =~ /^([a-f0-9]+|\(.*\))$/ || rev == '(unknown)' return rev unless rev =~ /^([a-f0-9]+|\(.*\))$/ || rev == '(unknown)'
end end
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)