Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix script/plugin about so it uses about.yml and not meta.yml. [James…

… Adam]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4612 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 9ac7afcf63efa70a5bf31b642654715eaffe8b90 1 parent 378a935
@technoweenie technoweenie authored
Showing with 6 additions and 4 deletions.
  1. +2 −0  railties/CHANGELOG
  2. +4 −4 railties/lib/commands/plugin.rb
View
2  railties/CHANGELOG
@@ -1,5 +1,7 @@
*SVN*
+* Fix script/plugin about so it uses about.yml and not meta.yml. [James Adam]
+
* Dispatcher processes rescued actions with the same controller that processed the request. #4625 [sd@notso.net]
* rails -d frontbase to create a new project with a frontbase database.yml. #4945 [mlaster@metavillage.com]
View
8 railties/lib/commands/plugin.rb
@@ -197,15 +197,15 @@ def uninstall
end
def info
- tmp = "#{rails_env.root}/_tmp_meta.yml"
+ tmp = "#{rails_env.root}/_tmp_about.yml"
if svn_url?
cmd = "svn export #{@uri} \"#{rails_env.root}/#{tmp}\""
puts cmd if $verbose
system(cmd)
end
- open(svn_url? ? tmp : File.join(@uri, 'meta.yml')) do |stream|
+ open(svn_url? ? tmp : File.join(@uri, 'about.yml')) do |stream|
stream.read
- end rescue "No meta.yml found in #{uri}"
+ end rescue "No about.yml found in #{uri}"
ensure
FileUtils.rm_rf tmp if svn_url?
end
@@ -836,7 +836,7 @@ def options
OptionParser.new do |o|
o.set_summary_indent(' ')
o.banner = "Usage: #{@base_command.script_name} info name [name]..."
- o.define_head "Shows plugin info at {url}/meta.yml."
+ o.define_head "Shows plugin info at {url}/about.yml."
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.