Browse files

fixed variables regexp

  • Loading branch information...
1 parent 47eeaed commit a64af850d5123a051205287e99f314fbef7425a3 @dimko committed Oct 31, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/capistrano/tagging.rb
  2. +1 −1 lib/capistrano/tagging/version.rb
View
2 lib/capistrano/tagging.rb
@@ -12,7 +12,7 @@
namespace :tagging do
def tag(options = {})
- tag_format = (tag_format || ':rails_env_:release').gsub(/(:[a-z_]+)[^:]/i) do |match|
+ tag_format = (tag_format || ':rails_env_:release').gsub(/:([a-z_]+[^_:])/i) do |match|
method = $1.to_sym
match = options[method] || send(method) || ''
end
View
2 lib/capistrano/tagging/version.rb
@@ -1,5 +1,5 @@
module Capistrano
class Tagging
- VERSION = "0.0.5"
+ VERSION = "0.0.6"
end
end

0 comments on commit a64af85

Please sign in to comment.