Permalink
Browse files

Tweak version number handling, and update changelog and version numbe…

…r, releasing prerelease as I want the contributors to test theis before it goes mainline
  • Loading branch information...
1 parent f1d91f3 commit 92bf8df1577247c887a46208a2f4e368725bc35a @leehambley leehambley committed Jun 25, 2011
Showing with 32 additions and 9 deletions.
  1. +26 −0 CHANGELOG
  2. +0 −1 VERSION
  3. +5 −7 lib/capistrano/version.rb
  4. +1 −1 test/cli/options_test.rb
View
@@ -1,3 +1,29 @@
+## 2.6.1 / June 25 2011
+
+A short maintenance release, Some fixes to the verbose flag inside the Git SCM
+as well as another argument for the (internal) `variable()` command, offering
+a default. The Git SCM is now verbose by default, but can be disabled by
+setting `:scm_verbose` to false.
+
+There has been an additional method added to string, within the context of the
+test suite, I'm always sketchy about adding additional methods to core
+classes, but it's a short term fix until I make the time to patch the test
+suite not to compare strings literally. The method is `String#compact`, and is
+implemented simply as `self.gsub(/\s+/, ' ')`.
+
+Here's the run-down of changes, and their committers, as always - a huge thank
+you to the community that continues to drive Capistrano's development.
+
+* `deploy:setup` now respects `:group_writable` (Mathew Davies)
+* Fixes to `:scm_verbose` for the Git module (defaults to On.) (Daniel Duvall)
@ThePixelDeveloper
ThePixelDeveloper Jun 25, 2011 Contributor

You got our names switched. Daniel fixed the deploy:setup permissions and vice versa.

@leehambley
leehambley Jun 25, 2011 Member

Whoopse, my bad!

+* Will now copy hidden files in the project's root into the release
+directory (Mark Jaquith)
+* Now handles closing already-dead connections in a sane way (does not raise
+an exception) (Will Bryant)
+* Renamed `Capistrano::VERSION::TINY` to `Capistrano::VERSION::PATCH` (Lee
+Hambley)
+* Removed the `VERSION` file (Lee Hambley)
+
## 2.6.0 / May 3 2011
A rather large release, feature-version bump because of the new
View
@@ -1 +0,0 @@
-2.6.0
@@ -3,16 +3,14 @@ module Capistrano
class Version
- CURRENT = File.read(File.dirname(__FILE__) + '/../../VERSION')
-
- MAJOR, MINOR, TINY = CURRENT.scanf('%d.%d.%d')
-
- STRING = CURRENT.to_s
+ MAJOR = 2
+ MINOR = 6
+ PATCH = 1
def self.to_s
- CURRENT
+ "#{MAJOR}.#{MINOR}.#{PATCH}.pre"
end
-
+
end
end
@@ -198,7 +198,7 @@ def test_parse_options_with_T_should_set_tasks_option_and_set_verbose_off
def test_parse_options_with_V_should_show_version_and_exit
@cli.args << "-V"
- @cli.expects(:puts).with { |s| s.include?(Capistrano::Version::STRING) }
+ @cli.expects(:puts).with { |s| s.include?(Capistrano::Version.to_s) }
@cli.expects(:exit).raises(ExitException)
assert_raises(ExitException) { @cli.parse_options! }
end

0 comments on commit 92bf8df

Please sign in to comment.