Permalink
Browse files

Remove Active Resource source files from the repository

Dear Active Resource,

It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.

I will miss you,

@sikachu.
  • Loading branch information...
1 parent a85714a commit f1637bf2bb00490203503fbd943b73406e043d1d @sikachu sikachu committed May 15, 2011
Showing with 13 additions and 7,147 deletions.
  1. +1 −7 Rakefile
  2. +2 −2 actionpack/lib/action_controller/record_identifier.rb
  3. +1 −1 actionpack/lib/action_view/helpers/url_helper.rb
  4. +1 −1 activemodel/activemodel.gemspec
  5. +0 −390 activeresource/CHANGELOG.md
  6. +0 −20 activeresource/MIT-LICENSE
  7. +0 −189 activeresource/README.rdoc
  8. +0 −66 activeresource/Rakefile
  9. +0 −24 activeresource/activeresource.gemspec
  10. +0 −70 activeresource/examples/performance.rb
  11. +0 −45 activeresource/lib/active_resource.rb
  12. +0 −1,515 activeresource/lib/active_resource/base.rb
  13. +0 −284 activeresource/lib/active_resource/connection.rb
  14. +0 −127 activeresource/lib/active_resource/custom_methods.rb
  15. +0 −82 activeresource/lib/active_resource/exceptions.rb
  16. +0 −22 activeresource/lib/active_resource/formats.rb
  17. +0 −25 activeresource/lib/active_resource/formats/json_format.rb
  18. +0 −25 activeresource/lib/active_resource/formats/xml_format.rb
  19. +0 −332 activeresource/lib/active_resource/http_mock.rb
  20. +0 −15 activeresource/lib/active_resource/log_subscriber.rb
  21. +0 −29 activeresource/lib/active_resource/observing.rb
  22. +0 −14 activeresource/lib/active_resource/railtie.rb
  23. +0 −59 activeresource/lib/active_resource/schema.rb
  24. +0 −172 activeresource/lib/active_resource/validations.rb
  25. +0 −10 activeresource/lib/active_resource/version.rb
  26. +0 −143 activeresource/test/abstract_unit.rb
  27. +0 −251 activeresource/test/cases/authorization_test.rb
  28. +0 −101 activeresource/test/cases/base/custom_methods_test.rb
  29. +0 −52 activeresource/test/cases/base/equality_test.rb
  30. +0 −199 activeresource/test/cases/base/load_test.rb
  31. +0 −411 activeresource/test/cases/base/schema_test.rb
  32. +0 −137 activeresource/test/cases/base_errors_test.rb
  33. +0 −1,177 activeresource/test/cases/base_test.rb
  34. +0 −275 activeresource/test/cases/connection_test.rb
  35. +0 −139 activeresource/test/cases/finder_test.rb
  36. +0 −118 activeresource/test/cases/format_test.rb
  37. +0 −202 activeresource/test/cases/http_mock_test.rb
  38. +0 −32 activeresource/test/cases/log_subscriber_test.rb
  39. +0 −55 activeresource/test/cases/observing_test.rb
  40. +0 −67 activeresource/test/cases/validations_test.rb
  41. +0 −19 activeresource/test/fixtures/address.rb
  42. +0 −14 activeresource/test/fixtures/beast.rb
  43. +0 −3 activeresource/test/fixtures/customer.rb
  44. +0 −3 activeresource/test/fixtures/person.rb
  45. +0 −18 activeresource/test/fixtures/project.rb
  46. +0 −4 activeresource/test/fixtures/proxy.rb
  47. +0 −9 activeresource/test/fixtures/sound.rb
  48. +0 −4 activeresource/test/fixtures/street_address.rb
  49. +0 −5 activeresource/test/fixtures/subscription_plan.rb
  50. +0 −26 activeresource/test/setter_trap.rb
  51. +0 −1 ci/travis.rb
  52. +1 −1 install.rb
  53. +0 −1 rails.gemspec
  54. +2 −0 railties/CHANGELOG.md
  55. +0 −120 railties/guides/source/active_resource_basics.textile
  56. +0 −1 railties/guides/source/command_line.textile
  57. +0 −8 railties/guides/source/configuring.textile
  58. +0 −7 railties/guides/source/getting_started.textile
  59. +0 −2 railties/guides/source/initialization.textile
  60. +0 −1 railties/lib/rails/all.rb
  61. +0 −1 railties/lib/rails/generators/rails/app/templates/config/application.rb
  62. +0 −1 railties/lib/rails/generators/rails/plugin_new/templates/rails/application.rb
  63. +2 −2 railties/lib/rails/info.rb
  64. +1 −1 railties/lib/rails/railtie.rb
  65. +0 −6 railties/lib/rails/tasks/documentation.rake
  66. +1 −2 railties/test/isolation/abstract_unit.rb
  67. +1 −1 tasks/release.rb
  68. +0 −1 tools/profile
View
@@ -13,7 +13,7 @@ task :build => "all:build"
desc "Release all gems to gemcutter and create a tag"
task :release => "all:release"
-PROJECTS = %w(activesupport activemodel actionpack actionmailer activeresource activerecord railties)
+PROJECTS = %w(activesupport activemodel actionpack actionmailer activerecord railties)
desc 'Run all tests by default'
task :default => %w(test test:isolated)
@@ -109,11 +109,6 @@ RDoc::Task.new do |rdoc|
rdoc.rdoc_files.include('activerecord/lib/active_record/**/*.rb')
rdoc.rdoc_files.exclude('activerecord/lib/active_record/vendor/*')
- rdoc.rdoc_files.include('activeresource/README.rdoc')
- rdoc.rdoc_files.include('activeresource/CHANGELOG.md')
- rdoc.rdoc_files.include('activeresource/lib/active_resource.rb')
- rdoc.rdoc_files.include('activeresource/lib/active_resource/*')
-
rdoc.rdoc_files.include('actionpack/README.rdoc')
rdoc.rdoc_files.include('actionpack/CHANGELOG.md')
rdoc.rdoc_files.include('actionpack/lib/abstract_controller/**/*.rb')
@@ -157,7 +152,6 @@ task :update_versions do
"activemodel" => "ActiveModel",
"actionpack" => "ActionPack",
"actionmailer" => "ActionMailer",
- "activeresource" => "ActiveResource",
"activerecord" => "ActiveRecord",
"railties" => "Rails"
}
@@ -2,8 +2,8 @@
module ActionController
# The record identifier encapsulates a number of naming conventions for dealing with records, like Active Records or
- # Active Resources or pretty much any other model type that has an id. These patterns are then used to try elevate
- # the view actions to a higher logical level. Example:
+ # pretty much any other model type that has an id. These patterns are then used to try elevate the view actions to
+ # a higher logical level. Example:
#
# # routes
# resources :posts
@@ -60,7 +60,7 @@ def optimize_routes_generation? #:nodoc:
#
# ==== Relying on named routes
#
- # Passing a record (like an Active Record or Active Resource) instead of a Hash as the options parameter will
+ # Passing a record (like an Active Record) instead of a Hash as the options parameter will
# trigger the named route for that record. The lookup will happen on the name of the class. So passing a
# Workshop object will attempt to use the +workshop_path+ route. If you have a nested route, such as
# +admin_workshop_path+ you'll have to call that explicitly (it's impossible for +url_for+ to guess that route).
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
s.name = 'activemodel'
s.version = version
s.summary = 'A toolkit for building modeling frameworks (part of Rails).'
- s.description = 'A toolkit for building modeling frameworks like Active Record and Active Resource. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.'
+ s.description = 'A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.'
s.required_ruby_version = '>= 1.9.3'
Oops, something went wrong. Retry.

3 comments on commit f1637bf

@kikito
kikito commented on f1637bf Apr 9, 2012

Sleep well, sweet prince.

@bobbytables

Good riddance.

@gtd
gtd commented on f1637bf Nov 29, 2012

Not that I disagree with removing it from core, but the commit message is wrong, plenty of people are using ActiveResource. If you're doing SOAs purely in Rails then it's a pretty good choice. Hopefully it will get some love now that it has a dedicated repo.

Please sign in to comment.