pelle-actionwebservice 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +320 -0
 - data/MIT-LICENSE +21 -0
 - data/README +381 -0
 - data/Rakefile +173 -0
 - data/TODO +32 -0
 - data/examples/googlesearch/README +143 -0
 - data/examples/googlesearch/autoloading/google_search_api.rb +50 -0
 - data/examples/googlesearch/autoloading/google_search_controller.rb +57 -0
 - data/examples/googlesearch/delegated/google_search_service.rb +108 -0
 - data/examples/googlesearch/delegated/search_controller.rb +7 -0
 - data/examples/googlesearch/direct/google_search_api.rb +50 -0
 - data/examples/googlesearch/direct/search_controller.rb +58 -0
 - data/examples/metaWeblog/README +17 -0
 - data/examples/metaWeblog/apis/blogger_api.rb +60 -0
 - data/examples/metaWeblog/apis/blogger_service.rb +34 -0
 - data/examples/metaWeblog/apis/meta_weblog_api.rb +67 -0
 - data/examples/metaWeblog/apis/meta_weblog_service.rb +48 -0
 - data/examples/metaWeblog/controllers/xmlrpc_controller.rb +16 -0
 - data/generators/web_service/USAGE +28 -0
 - data/generators/web_service/templates/api_definition.rb +5 -0
 - data/generators/web_service/templates/controller.rb +8 -0
 - data/generators/web_service/templates/functional_test.rb +19 -0
 - data/generators/web_service/web_service_generator.rb +29 -0
 - data/lib/action_web_service/api.rb +297 -0
 - data/lib/action_web_service/base.rb +38 -0
 - data/lib/action_web_service/casting.rb +149 -0
 - data/lib/action_web_service/client/base.rb +28 -0
 - data/lib/action_web_service/client/soap_client.rb +113 -0
 - data/lib/action_web_service/client/xmlrpc_client.rb +58 -0
 - data/lib/action_web_service/client.rb +3 -0
 - data/lib/action_web_service/container/action_controller_container.rb +93 -0
 - data/lib/action_web_service/container/delegated_container.rb +86 -0
 - data/lib/action_web_service/container/direct_container.rb +69 -0
 - data/lib/action_web_service/container.rb +3 -0
 - data/lib/action_web_service/dispatcher/abstract.rb +207 -0
 - data/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +379 -0
 - data/lib/action_web_service/dispatcher.rb +2 -0
 - data/lib/action_web_service/invocation.rb +202 -0
 - data/lib/action_web_service/protocol/abstract.rb +112 -0
 - data/lib/action_web_service/protocol/discovery.rb +37 -0
 - data/lib/action_web_service/protocol/soap_protocol/marshaler.rb +242 -0
 - data/lib/action_web_service/protocol/soap_protocol.rb +176 -0
 - data/lib/action_web_service/protocol/xmlrpc_protocol.rb +122 -0
 - data/lib/action_web_service/protocol.rb +4 -0
 - data/lib/action_web_service/scaffolding.rb +281 -0
 - data/lib/action_web_service/struct.rb +64 -0
 - data/lib/action_web_service/support/class_inheritable_options.rb +26 -0
 - data/lib/action_web_service/support/signature_types.rb +226 -0
 - data/lib/action_web_service/templates/scaffolds/layout.html.erb +65 -0
 - data/lib/action_web_service/templates/scaffolds/methods.html.erb +6 -0
 - data/lib/action_web_service/templates/scaffolds/parameters.html.erb +29 -0
 - data/lib/action_web_service/templates/scaffolds/result.html.erb +30 -0
 - data/lib/action_web_service/test_invoke.rb +110 -0
 - data/lib/action_web_service/version.rb +9 -0
 - data/lib/action_web_service.rb +66 -0
 - data/lib/actionwebservice.rb +1 -0
 - data/setup.rb +1379 -0
 - data/test/abstract_client.rb +183 -0
 - data/test/abstract_dispatcher.rb +548 -0
 - data/test/abstract_unit.rb +39 -0
 - data/test/api_test.rb +102 -0
 - data/test/apis/auto_load_api.rb +3 -0
 - data/test/apis/broken_auto_load_api.rb +2 -0
 - data/test/base_test.rb +42 -0
 - data/test/casting_test.rb +94 -0
 - data/test/client_soap_test.rb +155 -0
 - data/test/client_xmlrpc_test.rb +153 -0
 - data/test/container_test.rb +73 -0
 - data/test/dispatcher_action_controller_soap_test.rb +138 -0
 - data/test/dispatcher_action_controller_xmlrpc_test.rb +59 -0
 - data/test/fixtures/db_definitions/mysql.sql +8 -0
 - data/test/fixtures/users.yml +12 -0
 - data/test/gencov +3 -0
 - data/test/invocation_test.rb +185 -0
 - data/test/run +6 -0
 - data/test/scaffolded_controller_test.rb +146 -0
 - data/test/struct_test.rb +52 -0
 - data/test/test_invoke_test.rb +112 -0
 - metadata +171 -0
 
    
        metadata
    ADDED
    
    | 
         @@ -0,0 +1,171 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            --- !ruby/object:Gem::Specification 
         
     | 
| 
      
 2 
     | 
    
         
            +
            name: pelle-actionwebservice
         
     | 
| 
      
 3 
     | 
    
         
            +
            version: !ruby/object:Gem::Version 
         
     | 
| 
      
 4 
     | 
    
         
            +
              version: 2.3.3
         
     | 
| 
      
 5 
     | 
    
         
            +
            platform: ruby
         
     | 
| 
      
 6 
     | 
    
         
            +
            authors: 
         
     | 
| 
      
 7 
     | 
    
         
            +
            - Leon Breedt, Kent Sibilev
         
     | 
| 
      
 8 
     | 
    
         
            +
            autorequire: 
         
     | 
| 
      
 9 
     | 
    
         
            +
            bindir: bin
         
     | 
| 
      
 10 
     | 
    
         
            +
            cert_chain: []
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2009-05-16 00:00:00 -07:00
         
     | 
| 
      
 13 
     | 
    
         
            +
            default_executable: 
         
     | 
| 
      
 14 
     | 
    
         
            +
            dependencies: 
         
     | 
| 
      
 15 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 16 
     | 
    
         
            +
              name: actionpack
         
     | 
| 
      
 17 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 18 
     | 
    
         
            +
              version_requirement: 
         
     | 
| 
      
 19 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 20 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 21 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 22 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 23 
     | 
    
         
            +
                    version: 2.3.2
         
     | 
| 
      
 24 
     | 
    
         
            +
                version: 
         
     | 
| 
      
 25 
     | 
    
         
            +
            - !ruby/object:Gem::Dependency 
         
     | 
| 
      
 26 
     | 
    
         
            +
              name: activerecord
         
     | 
| 
      
 27 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
      
 28 
     | 
    
         
            +
              version_requirement: 
         
     | 
| 
      
 29 
     | 
    
         
            +
              version_requirements: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 30 
     | 
    
         
            +
                requirements: 
         
     | 
| 
      
 31 
     | 
    
         
            +
                - - ">="
         
     | 
| 
      
 32 
     | 
    
         
            +
                  - !ruby/object:Gem::Version 
         
     | 
| 
      
 33 
     | 
    
         
            +
                    version: 2.3.2
         
     | 
| 
      
 34 
     | 
    
         
            +
                version: 
         
     | 
| 
      
 35 
     | 
    
         
            +
            description: Adds WSDL/SOAP and XML-RPC web service support to Action Pack
         
     | 
| 
      
 36 
     | 
    
         
            +
            email: bitserf@gmail.com, ksibilev@yahoo.com
         
     | 
| 
      
 37 
     | 
    
         
            +
            executables: []
         
     | 
| 
      
 38 
     | 
    
         
            +
             
     | 
| 
      
 39 
     | 
    
         
            +
            extensions: []
         
     | 
| 
      
 40 
     | 
    
         
            +
             
     | 
| 
      
 41 
     | 
    
         
            +
            extra_rdoc_files: []
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
            files: 
         
     | 
| 
      
 44 
     | 
    
         
            +
            - Rakefile
         
     | 
| 
      
 45 
     | 
    
         
            +
            - setup.rb
         
     | 
| 
      
 46 
     | 
    
         
            +
            - README
         
     | 
| 
      
 47 
     | 
    
         
            +
            - TODO
         
     | 
| 
      
 48 
     | 
    
         
            +
            - CHANGELOG
         
     | 
| 
      
 49 
     | 
    
         
            +
            - MIT-LICENSE
         
     | 
| 
      
 50 
     | 
    
         
            +
            - examples/googlesearch
         
     | 
| 
      
 51 
     | 
    
         
            +
            - examples/googlesearch/autoloading
         
     | 
| 
      
 52 
     | 
    
         
            +
            - examples/googlesearch/autoloading/google_search_api.rb
         
     | 
| 
      
 53 
     | 
    
         
            +
            - examples/googlesearch/autoloading/google_search_controller.rb
         
     | 
| 
      
 54 
     | 
    
         
            +
            - examples/googlesearch/delegated
         
     | 
| 
      
 55 
     | 
    
         
            +
            - examples/googlesearch/delegated/google_search_service.rb
         
     | 
| 
      
 56 
     | 
    
         
            +
            - examples/googlesearch/delegated/search_controller.rb
         
     | 
| 
      
 57 
     | 
    
         
            +
            - examples/googlesearch/direct
         
     | 
| 
      
 58 
     | 
    
         
            +
            - examples/googlesearch/direct/google_search_api.rb
         
     | 
| 
      
 59 
     | 
    
         
            +
            - examples/googlesearch/direct/search_controller.rb
         
     | 
| 
      
 60 
     | 
    
         
            +
            - examples/googlesearch/README
         
     | 
| 
      
 61 
     | 
    
         
            +
            - examples/metaWeblog
         
     | 
| 
      
 62 
     | 
    
         
            +
            - examples/metaWeblog/apis
         
     | 
| 
      
 63 
     | 
    
         
            +
            - examples/metaWeblog/apis/blogger_api.rb
         
     | 
| 
      
 64 
     | 
    
         
            +
            - examples/metaWeblog/apis/blogger_service.rb
         
     | 
| 
      
 65 
     | 
    
         
            +
            - examples/metaWeblog/apis/meta_weblog_api.rb
         
     | 
| 
      
 66 
     | 
    
         
            +
            - examples/metaWeblog/apis/meta_weblog_service.rb
         
     | 
| 
      
 67 
     | 
    
         
            +
            - examples/metaWeblog/controllers
         
     | 
| 
      
 68 
     | 
    
         
            +
            - examples/metaWeblog/controllers/xmlrpc_controller.rb
         
     | 
| 
      
 69 
     | 
    
         
            +
            - examples/metaWeblog/README
         
     | 
| 
      
 70 
     | 
    
         
            +
            - lib/action_web_service
         
     | 
| 
      
 71 
     | 
    
         
            +
            - lib/action_web_service/api.rb
         
     | 
| 
      
 72 
     | 
    
         
            +
            - lib/action_web_service/base.rb
         
     | 
| 
      
 73 
     | 
    
         
            +
            - lib/action_web_service/casting.rb
         
     | 
| 
      
 74 
     | 
    
         
            +
            - lib/action_web_service/client
         
     | 
| 
      
 75 
     | 
    
         
            +
            - lib/action_web_service/client/base.rb
         
     | 
| 
      
 76 
     | 
    
         
            +
            - lib/action_web_service/client/soap_client.rb
         
     | 
| 
      
 77 
     | 
    
         
            +
            - lib/action_web_service/client/xmlrpc_client.rb
         
     | 
| 
      
 78 
     | 
    
         
            +
            - lib/action_web_service/client.rb
         
     | 
| 
      
 79 
     | 
    
         
            +
            - lib/action_web_service/container
         
     | 
| 
      
 80 
     | 
    
         
            +
            - lib/action_web_service/container/action_controller_container.rb
         
     | 
| 
      
 81 
     | 
    
         
            +
            - lib/action_web_service/container/delegated_container.rb
         
     | 
| 
      
 82 
     | 
    
         
            +
            - lib/action_web_service/container/direct_container.rb
         
     | 
| 
      
 83 
     | 
    
         
            +
            - lib/action_web_service/container.rb
         
     | 
| 
      
 84 
     | 
    
         
            +
            - lib/action_web_service/dispatcher
         
     | 
| 
      
 85 
     | 
    
         
            +
            - lib/action_web_service/dispatcher/abstract.rb
         
     | 
| 
      
 86 
     | 
    
         
            +
            - lib/action_web_service/dispatcher/action_controller_dispatcher.rb
         
     | 
| 
      
 87 
     | 
    
         
            +
            - lib/action_web_service/dispatcher.rb
         
     | 
| 
      
 88 
     | 
    
         
            +
            - lib/action_web_service/invocation.rb
         
     | 
| 
      
 89 
     | 
    
         
            +
            - lib/action_web_service/protocol
         
     | 
| 
      
 90 
     | 
    
         
            +
            - lib/action_web_service/protocol/abstract.rb
         
     | 
| 
      
 91 
     | 
    
         
            +
            - lib/action_web_service/protocol/discovery.rb
         
     | 
| 
      
 92 
     | 
    
         
            +
            - lib/action_web_service/protocol/soap_protocol
         
     | 
| 
      
 93 
     | 
    
         
            +
            - lib/action_web_service/protocol/soap_protocol/marshaler.rb
         
     | 
| 
      
 94 
     | 
    
         
            +
            - lib/action_web_service/protocol/soap_protocol.rb
         
     | 
| 
      
 95 
     | 
    
         
            +
            - lib/action_web_service/protocol/xmlrpc_protocol.rb
         
     | 
| 
      
 96 
     | 
    
         
            +
            - lib/action_web_service/protocol.rb
         
     | 
| 
      
 97 
     | 
    
         
            +
            - lib/action_web_service/scaffolding.rb
         
     | 
| 
      
 98 
     | 
    
         
            +
            - lib/action_web_service/struct.rb
         
     | 
| 
      
 99 
     | 
    
         
            +
            - lib/action_web_service/support
         
     | 
| 
      
 100 
     | 
    
         
            +
            - lib/action_web_service/support/class_inheritable_options.rb
         
     | 
| 
      
 101 
     | 
    
         
            +
            - lib/action_web_service/support/signature_types.rb
         
     | 
| 
      
 102 
     | 
    
         
            +
            - lib/action_web_service/templates
         
     | 
| 
      
 103 
     | 
    
         
            +
            - lib/action_web_service/templates/scaffolds
         
     | 
| 
      
 104 
     | 
    
         
            +
            - lib/action_web_service/templates/scaffolds/layout.html.erb
         
     | 
| 
      
 105 
     | 
    
         
            +
            - lib/action_web_service/templates/scaffolds/methods.html.erb
         
     | 
| 
      
 106 
     | 
    
         
            +
            - lib/action_web_service/templates/scaffolds/parameters.html.erb
         
     | 
| 
      
 107 
     | 
    
         
            +
            - lib/action_web_service/templates/scaffolds/result.html.erb
         
     | 
| 
      
 108 
     | 
    
         
            +
            - lib/action_web_service/test_invoke.rb
         
     | 
| 
      
 109 
     | 
    
         
            +
            - lib/action_web_service/version.rb
         
     | 
| 
      
 110 
     | 
    
         
            +
            - lib/action_web_service.rb
         
     | 
| 
      
 111 
     | 
    
         
            +
            - lib/actionwebservice.rb
         
     | 
| 
      
 112 
     | 
    
         
            +
            - test/abstract_client.rb
         
     | 
| 
      
 113 
     | 
    
         
            +
            - test/abstract_dispatcher.rb
         
     | 
| 
      
 114 
     | 
    
         
            +
            - test/abstract_unit.rb
         
     | 
| 
      
 115 
     | 
    
         
            +
            - test/api_test.rb
         
     | 
| 
      
 116 
     | 
    
         
            +
            - test/apis
         
     | 
| 
      
 117 
     | 
    
         
            +
            - test/apis/auto_load_api.rb
         
     | 
| 
      
 118 
     | 
    
         
            +
            - test/apis/broken_auto_load_api.rb
         
     | 
| 
      
 119 
     | 
    
         
            +
            - test/base_test.rb
         
     | 
| 
      
 120 
     | 
    
         
            +
            - test/casting_test.rb
         
     | 
| 
      
 121 
     | 
    
         
            +
            - test/client_soap_test.rb
         
     | 
| 
      
 122 
     | 
    
         
            +
            - test/client_xmlrpc_test.rb
         
     | 
| 
      
 123 
     | 
    
         
            +
            - test/container_test.rb
         
     | 
| 
      
 124 
     | 
    
         
            +
            - test/dispatcher_action_controller_soap_test.rb
         
     | 
| 
      
 125 
     | 
    
         
            +
            - test/dispatcher_action_controller_xmlrpc_test.rb
         
     | 
| 
      
 126 
     | 
    
         
            +
            - test/fixtures
         
     | 
| 
      
 127 
     | 
    
         
            +
            - test/fixtures/db_definitions
         
     | 
| 
      
 128 
     | 
    
         
            +
            - test/fixtures/db_definitions/mysql.sql
         
     | 
| 
      
 129 
     | 
    
         
            +
            - test/fixtures/users.yml
         
     | 
| 
      
 130 
     | 
    
         
            +
            - test/gencov
         
     | 
| 
      
 131 
     | 
    
         
            +
            - test/invocation_test.rb
         
     | 
| 
      
 132 
     | 
    
         
            +
            - test/run
         
     | 
| 
      
 133 
     | 
    
         
            +
            - test/scaffolded_controller_test.rb
         
     | 
| 
      
 134 
     | 
    
         
            +
            - test/struct_test.rb
         
     | 
| 
      
 135 
     | 
    
         
            +
            - test/test_invoke_test.rb
         
     | 
| 
      
 136 
     | 
    
         
            +
            - generators/web_service
         
     | 
| 
      
 137 
     | 
    
         
            +
            - generators/web_service/templates
         
     | 
| 
      
 138 
     | 
    
         
            +
            - generators/web_service/templates/api_definition.rb
         
     | 
| 
      
 139 
     | 
    
         
            +
            - generators/web_service/templates/controller.rb
         
     | 
| 
      
 140 
     | 
    
         
            +
            - generators/web_service/templates/functional_test.rb
         
     | 
| 
      
 141 
     | 
    
         
            +
            - generators/web_service/USAGE
         
     | 
| 
      
 142 
     | 
    
         
            +
            - generators/web_service/web_service_generator.rb
         
     | 
| 
      
 143 
     | 
    
         
            +
            has_rdoc: true
         
     | 
| 
      
 144 
     | 
    
         
            +
            homepage: http://www.rubyonrails.org
         
     | 
| 
      
 145 
     | 
    
         
            +
            licenses: 
         
     | 
| 
      
 146 
     | 
    
         
            +
            post_install_message: 
         
     | 
| 
      
 147 
     | 
    
         
            +
            rdoc_options: []
         
     | 
| 
      
 148 
     | 
    
         
            +
             
     | 
| 
      
 149 
     | 
    
         
            +
            require_paths: 
         
     | 
| 
      
 150 
     | 
    
         
            +
            - lib
         
     | 
| 
      
 151 
     | 
    
         
            +
            required_ruby_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 152 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 153 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 154 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 155 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 156 
     | 
    
         
            +
              version: 
         
     | 
| 
      
 157 
     | 
    
         
            +
            required_rubygems_version: !ruby/object:Gem::Requirement 
         
     | 
| 
      
 158 
     | 
    
         
            +
              requirements: 
         
     | 
| 
      
 159 
     | 
    
         
            +
              - - ">="
         
     | 
| 
      
 160 
     | 
    
         
            +
                - !ruby/object:Gem::Version 
         
     | 
| 
      
 161 
     | 
    
         
            +
                  version: "0"
         
     | 
| 
      
 162 
     | 
    
         
            +
              version: 
         
     | 
| 
      
 163 
     | 
    
         
            +
            requirements: 
         
     | 
| 
      
 164 
     | 
    
         
            +
            - none
         
     | 
| 
      
 165 
     | 
    
         
            +
            rubyforge_project: aws
         
     | 
| 
      
 166 
     | 
    
         
            +
            rubygems_version: 1.3.5
         
     | 
| 
      
 167 
     | 
    
         
            +
            signing_key: 
         
     | 
| 
      
 168 
     | 
    
         
            +
            specification_version: 2
         
     | 
| 
      
 169 
     | 
    
         
            +
            summary: Web service support for Action Pack.
         
     | 
| 
      
 170 
     | 
    
         
            +
            test_files: []
         
     | 
| 
      
 171 
     | 
    
         
            +
             
     |