Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Bump version and assign a name.

  • Loading branch information...
commit 144a3b27a130524acec33f4a738d70ae32436d16 1 parent bb53c8c
Chris Eppstein authored
2  Gemfile.lock
@@ -7,7 +7,7 @@ GIT
7 7
 PATH
8 8
   remote: .
9 9
   specs:
10  
-    compass (0.11.beta.7.a997fa2)
  10
+    compass (0.11.0)
11 11
       chunky_png (~> 1.1.1)
12 12
       fssm (>= 0.2.7)
13 13
       sass (>= 3.1.0.alpha.249)
4  VERSION.yml
... ...
@@ -1,5 +1,5 @@
1 1
 --- 
2 2
 :major: 0
3 3
 :minor: 11
4  
-:state: beta
5  
-:build: 7
  4
+:build: 0
  5
+:name: Antares
3  lib/compass/commands/print_version.rb
@@ -57,6 +57,9 @@ def parse!(arguments)
57 57
         def long_output_string
58 58
           lines = []
59 59
           lines << "Compass #{::Compass.version[:string]}"
  60
+          if name = ::Compass.version[:name]
  61
+            lines.last << " (#{name})"
  62
+          end
60 63
           lines << "Copyright (c) 2008-#{Time.now.year} Chris Eppstein"
61 64
           lines << "Released under the MIT License."
62 65
           lines << "Compass is charityware."
2  lib/compass/version.rb
@@ -23,7 +23,7 @@ def scope(file) # :nodoc:
23 23
     def read_version
24 24
       require 'yaml'
25 25
       @version = YAML::load(File.read(scope('VERSION.yml')))
26  
-      @version[:teeny] = @version[:patch]
  26
+      @version[:teeny]  = @version[:patch]
27 27
       @version[:string] = "#{@version[:major]}.#{@version[:minor]}"
28 28
       @version[:string] << ".#{@version[:patch]}" if @version[:patch]
29 29
       @version[:string] << ".#{@version[:state]}" if @version[:state]

0 notes on commit 144a3b2

Please sign in to comment.
Something went wrong with that request. Please try again.