You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by to...@apache.org on 2010/07/08 03:29:59 UTC

svn commit: r961550 - in /buildr/trunk: CHANGELOG buildr.gemspec lib/buildr.rb lib/buildr/version.rb

Author: toulmean
Date: Thu Jul  8 01:29:59 2010
New Revision: 961550

URL: http://svn.apache.org/viewvc?rev=961550&view=rev
Log:
BUILDR-464 Improve the versioning of Buildr

Added:
    buildr/trunk/lib/buildr/version.rb
Modified:
    buildr/trunk/CHANGELOG
    buildr/trunk/buildr.gemspec
    buildr/trunk/lib/buildr.rb

Modified: buildr/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/buildr/trunk/CHANGELOG?rev=961550&r1=961549&r2=961550&view=diff
==============================================================================
--- buildr/trunk/CHANGELOG (original)
+++ buildr/trunk/CHANGELOG Thu Jul  8 01:29:59 2010
@@ -1,3 +1,6 @@
+1.4.2 (pending)
+* Fixed: BUILDR-464 Improve the versioning of Buildr
+
 1.4.1 (2010-07-07)
 * Added:  BUILDR-420 Support external compiler
 * Added:  BUILDR-425 Specify dev dependencies in .gemspec

Modified: buildr/trunk/buildr.gemspec
URL: http://svn.apache.org/viewvc/buildr/trunk/buildr.gemspec?rev=961550&r1=961549&r2=961550&view=diff
==============================================================================
--- buildr/trunk/buildr.gemspec (original)
+++ buildr/trunk/buildr.gemspec Thu Jul  8 01:29:59 2010
@@ -13,10 +13,10 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
-
+require File.expand_path(__FILE__, '../lib/buildr/version.rb')
 Gem::Specification.new do |spec|
   spec.name           = 'buildr'
-  spec.version        = '1.4.1'
+  spec.version        = Buildr::VERSION
   spec.author         = 'Apache Buildr'
   spec.email          = "users@buildr.apache.org"
   spec.homepage       = "http://buildr.apache.org/"

Modified: buildr/trunk/lib/buildr.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr.rb?rev=961550&r1=961549&r2=961550&view=diff
==============================================================================
--- buildr/trunk/lib/buildr.rb (original)
+++ buildr/trunk/lib/buildr.rb Thu Jul  8 01:29:59 2010
@@ -13,9 +13,7 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
-module Buildr
-  VERSION = '1.4.1'.freeze
-end
+require 'buildr/version'
 
 require 'buildr/core'
 require 'buildr/packaging'

Added: buildr/trunk/lib/buildr/version.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/version.rb?rev=961550&view=auto
==============================================================================
--- buildr/trunk/lib/buildr/version.rb (added)
+++ buildr/trunk/lib/buildr/version.rb Thu Jul  8 01:29:59 2010
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with this
+# work for additional information regarding copyright ownership.  The ASF
+# licenses this file to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the
+# License for the specific language governing permissions and limitations under
+# the License.
+
+module Buildr
+  VERSION = '1.4.2'.freeze
+end
\ No newline at end of file