6ea3b9e25b
*0.8.1* (11 July, 2005) * Fix scaffolding for Action Pack controller changes *0.8.0* (6 July, 2005) * Fix WSDL generation by aliasing #inherited instead of trying to overwrite it, or the WSDL action may end up not being defined in the controller * Add ActionController::Base.wsdl_namespace option, to allow overriding of the namespace used in generated WSDL and SOAP messages. This is equivalent to the [WebService(Namespace = "Value")] attribute in .NET. * Add workaround for Ruby 1.8.3's SOAP4R changing the return value of SOAP::Mapping::Registry#find_mapped_soap_class #1414 [Shugo Maeda] * Fix moduled controller URLs in WSDL, and add unit test to verify the generated URL #1428 * Fix scaffolding template paths, it was broken on Win32 * Fix that functional testing of :layered controllers failed when using the SOAP protocol * Allow invocation filters in :direct controllers as well, as they have access to more information regarding the web service request than ActionPack filters * Add support for a :base64 signature type #1272 [Shugo Maeda] * Fix that boolean fields were not rendered correctly in scaffolding * Fix that scaffolding was not working for :delegated dispatching * Add support for structured types as input parameters to scaffolding, this should let one test the blogging APIs using scaffolding as well * Fix that generated WSDL was not using relative_url_root for base URI #1210 [Shugo Maeda] * Use UTF-8 encoding by default for SOAP responses, but if an encoding is supplied by caller, use that for the response #1211 [Shugo Maeda, NAKAMURA Hiroshi] * If the WSDL was retrieved over HTTPS, use HTTPS URLs in the WSDL too * Fix that casting change in 0.7.0 would convert nil values to the default value for the type instead of leaving it as nil *0.7.1* (20th April, 2005) * Depend on Active Record 1.10.1 and Action Pack 1.8.1 *0.7.0* (19th April, 2005) * When casting structured types, don't try to send obj.name= unless obj responds to it, causes casting to be less likely to fail for XML-RPC * Add scaffolding via ActionController::Base.web_service_scaffold for quick testing using a web browser * ActionWebService::API::Base#api_methods now returns a hash containing ActionWebService::API::Method objects instead of hashes. However, ActionWebService::API::Method defines a #[]() backwards compatibility method so any existing code utilizing this will still work. * The :layered dispatching mode can now be used with SOAP as well, allowing you to support SOAP and XML-RPC clients for APIs like the metaWeblog API * Remove ActiveRecordSoapMarshallable workaround, see #912 for details * Generalize casting code to be used by both SOAP and XML-RPC (previously, it was only XML-RPC) * Ensure return value is properly cast as well, fixes XML-RPC interoperability with Ecto and possibly other clients * Include backtraces in 500 error responses for failed request parsing, and remove "rescue nil" statements obscuring real errors for XML-RPC * Perform casting of struct members even if the structure is already of the correct type, so that the type we specify for the struct member is always the type of the value seen by the API implementation
29 lines
965 B
Makefile
29 lines
965 B
Makefile
# $NetBSD: Makefile,v 1.2 2005/09/04 14:17:34 taca Exp $
|
|
|
|
DISTNAME= actionwebservice-0.8.1
|
|
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= www ruby
|
|
MASTER_SITES= http://rubyforge.org/frs/download.php/5173/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://rubyforge.org/projects/aws/
|
|
COMMENT= Simple support for publishing web service APIs for Rails
|
|
|
|
DEPENDS+= ${RUBY_PKGPREFIX}-actionpack-[0-9]*:../../www/ruby-actionpack
|
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/action_web_service
|
|
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/action_web_service
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
|
|
${RUBY_EXAMPLESDIR}/action_web_service
|
|
${FIND} ${RUBY_EXAMPLESDIR}/action_web_service -type d -print | \
|
|
${XARGS} ${CHMOD} ${PKGDIRMODE}
|
|
${FIND} ${RUBY_EXAMPLESDIR}/action_web_service -type f -print | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|