Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #8717 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

[PATCH] Update the rake tasks to use ActiveResource instead of ActionWebService

Reported by: kamal Assigned to: bitsweat
Priority: normal Milestone: 2.x
Component: Railties Version: edge
Severity: normal Keywords: release rakefile rake gem
Cc:

Description

This patch updates the Rakefile and framework.rake files in railties to use ActiveResource instead of ActionWebService. This makes rails:freeze:gems freeze ActiveResource instead of ActionWebService.

Finally, this patch also updates the release.rb to push activeresource as part of the PACKAGES instead of actionwebservice

Attachments

complete_the_move_from_action_web_service_to_active_resource.diff (1.7 kB) - added by kamal on 06/22/07 02:36:06.
updates railties Rakefiles and release.rb to use activeresource

Change History

06/22/07 02:36:06 changed by kamal

  • attachment complete_the_move_from_action_web_service_to_active_resource.diff added.

updates railties Rakefiles and release.rb to use activeresource

07/22/07 07:35:22 changed by kampers

Just some FYIs to an eventual committer--I just took awhile to sort out all these patches, and I thought I'd post a summary here.

First, the change here to railties/lib/tasks/framework.rake is a dupe of half of #8526.

There's also another patch at #8741 (by me) that fixes the Rails::Info controller.

So to fix all the AWS -> AR problems, we need to implement the changes from these three patches to these files:

  • railties/lib/tasks/documentation.rake (generate docs for ARes instead of AWS)
  • railties/lib/tasks/framework.rake (freeze ARes instead of AWS)
  • railties/Rakefile (change VENDOR_LIBS definition)
  • release.rb (release ARes instead of AWS)
  • railties/builtin/rails_info/rails/info.rb (include ARes in Rails::Info)

And then we'll also need a proper deprecation of AWS, if it's really being taken out of core.

OK, hope that helps.

07/22/07 17:54:14 changed by kampers

Oh, and I forgot to mention, +1.

10/04/07 13:10:26 changed by rmm5t

+1, surprised this wasn't applied before the preview release.

10/08/07 16:14:20 changed by kamal

Seems [7803] addressed part of the issue. See comment by kampers above for full resolution.

10/15/07 08:45:27 changed by bitsweat

  • status changed from new to closed.
  • resolution set to fixed.

(In [7914]) Complete AWS -> ARes changeover. Closes #8717 [kampers]