Bump version and assign a name.
This commit is contained in:
parent
bb53c8c34b
commit
144a3b27a1
@ -7,7 +7,7 @@ GIT
|
||||
PATH
|
||||
remote: .
|
||||
specs:
|
||||
compass (0.11.beta.7.a997fa2)
|
||||
compass (0.11.0)
|
||||
chunky_png (~> 1.1.1)
|
||||
fssm (>= 0.2.7)
|
||||
sass (>= 3.1.0.alpha.249)
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
:major: 0
|
||||
:minor: 11
|
||||
:state: beta
|
||||
:build: 7
|
||||
:build: 0
|
||||
:name: Antares
|
||||
|
@ -57,6 +57,9 @@ Options:
|
||||
def long_output_string
|
||||
lines = []
|
||||
lines << "Compass #{::Compass.version[:string]}"
|
||||
if name = ::Compass.version[:name]
|
||||
lines.last << " (#{name})"
|
||||
end
|
||||
lines << "Copyright (c) 2008-#{Time.now.year} Chris Eppstein"
|
||||
lines << "Released under the MIT License."
|
||||
lines << "Compass is charityware."
|
||||
|
@ -23,7 +23,7 @@ module Compass
|
||||
def read_version
|
||||
require 'yaml'
|
||||
@version = YAML::load(File.read(scope('VERSION.yml')))
|
||||
@version[:teeny] = @version[:patch]
|
||||
@version[:teeny] = @version[:patch]
|
||||
@version[:string] = "#{@version[:major]}.#{@version[:minor]}"
|
||||
@version[:string] << ".#{@version[:patch]}" if @version[:patch]
|
||||
@version[:string] << ".#{@version[:state]}" if @version[:state]
|
||||
|
Loading…
Reference in New Issue
Block a user