mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
418d487020
* move dispatching out of the Container into Dispatcher, it makes more sense for Container to only contain the list of web services defined in it. * collapse Wsdl and ActionController "routers" into an ActionController-specific module, no advantage to having them seperate as they were quite tightly coupled. rename to Dispatcher, to avoi confusion with Routing. * add a "_thing" suffix to concept-specific filenames. this is so that we don't end up with many soap.rb files, for example. * remove "virtual invocation" support. adds complexity, and it doesn't seem to add any value. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
47 lines
2.2 KiB
Text
47 lines
2.2 KiB
Text
UNRELEASED
|
|
|
|
* lib/action_service/dispatcher*: replaces "router" fragments with
|
|
one file for Action Controllers, moves dispatching work out of
|
|
the container
|
|
* lib/*,test/*,examples/*: rename project to
|
|
ActionWebService. prefix all generic "service" type names with web_.
|
|
update all using code as well as the RDoc.
|
|
* lib/action_service/router/wsdl.rb: ensure that #wsdl is
|
|
defined in the final container class, or the new ActionPack
|
|
filtering will exclude it
|
|
* lib/action_service/struct.rb,test/struct_test.rb: create a
|
|
default #initialize on inherit that accepts a Hash containing
|
|
the default member values
|
|
* lib/action_service/api/action_controller.rb: add support and
|
|
tests for #client_api in controller
|
|
* test/router_wsdl_test.rb: add tests to ensure declared
|
|
service names don't contain ':', as ':' causes interoperability
|
|
issues
|
|
* lib/*, test/*: rename "interface" concept to "api", and change all
|
|
related uses to reflect this change. update all uses of Inflector
|
|
to call the method on String instead.
|
|
* test/api_test.rb: add test to ensure API definition not
|
|
instantiatable
|
|
* lib/action_service/invocation.rb: change @invocation_params to
|
|
@method_params
|
|
* lib/*: update RDoc
|
|
* lib/action_service/struct.rb: update to support base types
|
|
* lib/action_service/support/signature.rb: support the notion of
|
|
"base types" in signatures, with well-known unambiguous names such as :int,
|
|
:bool, etc, which map to the correct Ruby class. accept the same names
|
|
used by ActiveRecord as well as longer versions of each, as aliases.
|
|
* examples/*: update for seperate API definition updates
|
|
* lib/action_service/*, test/*: extensive refactoring: define API methods in
|
|
a seperate class, and specify it wherever used with 'service_api'.
|
|
this makes writing a client API for accessing defined API methods
|
|
with ActionWebService really easy.
|
|
* lib/action_service/container.rb: fix a bug in default call
|
|
handling for direct dispatching, and add ActionController filter
|
|
support for direct dispatching.
|
|
* test/router_action_controller_test.rb: add tests to ensure
|
|
ActionController filters are actually called.
|
|
* test/protocol_soap_test.rb: add more tests for direct dispatching.
|
|
|
|
0.3.0
|
|
|
|
* First public release
|