diff options
author | Leon Breedt <bitserf@gmail.com> | 2005-02-18 23:55:29 +0000 |
---|---|---|
committer | Leon Breedt <bitserf@gmail.com> | 2005-02-18 23:55:29 +0000 |
commit | ec03a601811587dd4265667aadd50c101c23b116 (patch) | |
tree | b040f5f1488267b35bc0110efe029a789c3a350b /actionwebservice/Rakefile | |
parent | 5760a6cb3e3f3ce3b41c25023f3fbb875590c5bc (diff) | |
download | rails-ec03a601811587dd4265667aadd50c101c23b116.tar.gz rails-ec03a601811587dd4265667aadd50c101c23b116.tar.bz2 rails-ec03a601811587dd4265667aadd50c101c23b116.zip |
rename entire package to Action Web Service
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/Rakefile')
-rw-r--r-- | actionwebservice/Rakefile | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/actionwebservice/Rakefile b/actionwebservice/Rakefile index f4ed2bdb31..49c3409e60 100644 --- a/actionwebservice/Rakefile +++ b/actionwebservice/Rakefile @@ -8,7 +8,7 @@ require 'rake/contrib/rubyforgepublisher' require 'fileutils' PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' -PKG_NAME = 'actionservice' +PKG_NAME = 'actionwebservice' PKG_VERSION = '0.4.0' + PKG_BUILD PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}" PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}" @@ -28,16 +28,16 @@ Rake::TestTask.new { |t| # Generate the RDoc documentation Rake::RDocTask.new { |rdoc| rdoc.rdoc_dir = 'doc' - rdoc.title = "Action Service -- Web services for Action Pack" + rdoc.title = "Action Web Service -- Web services for Action Pack" rdoc.options << '--line-numbers --inline-source --main README --accessor class_inheritable_option=RW' rdoc.rdoc_files.include('README') - rdoc.rdoc_files.include('lib/action_service.rb') - rdoc.rdoc_files.include('lib/action_service/*.rb') - rdoc.rdoc_files.include('lib/action_service/api/*.rb') - rdoc.rdoc_files.include('lib/action_service/client/*.rb') - rdoc.rdoc_files.include('lib/action_service/protocol/*.rb') - rdoc.rdoc_files.include('lib/action_service/router/*.rb') - rdoc.rdoc_files.include('lib/action_service/support/*.rb') + rdoc.rdoc_files.include('lib/action_web_service.rb') + rdoc.rdoc_files.include('lib/action_web_service/*.rb') + rdoc.rdoc_files.include('lib/action_web_service/api/*.rb') + rdoc.rdoc_files.include('lib/action_web_service/client/*.rb') + rdoc.rdoc_files.include('lib/action_web_service/protocol/*.rb') + rdoc.rdoc_files.include('lib/action_web_service/router/*.rb') + rdoc.rdoc_files.include('lib/action_web_service/support/*.rb') } @@ -61,7 +61,7 @@ spec = Gem::Specification.new do |s| s.has_rdoc = true s.requirements << 'none' s.require_path = 'lib' - s.autorequire = 'action_service' + s.autorequire = 'action_web_service' s.files = [ "Rakefile", "setup.rb", "README", "TODO", "HACKING", "ChangeLog", "MIT-LICENSE" ] s.files = s.files + Dir.glob( "examples/**/*" ).delete_if { |item| item.include?( "\.svn" ) } @@ -93,7 +93,7 @@ def each_source_file(*args) prefix, includes, excludes, open_file = args prefix ||= File.dirname(__FILE__) open_file = true if open_file.nil? - includes ||= %w[lib\/action_service\.rb$ lib\/action_service\/.*\.rb$] + includes ||= %w[lib\/action_web_service\.rb$ lib\/action_web_service\/.*\.rb$] excludes ||= %w[] Find.find(prefix) do |file_name| next if file_name =~ /\.svn/ |