pelle-actionwebservice 2.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/CHANGELOG +320 -0
  2. data/MIT-LICENSE +21 -0
  3. data/README +381 -0
  4. data/Rakefile +173 -0
  5. data/TODO +32 -0
  6. data/examples/googlesearch/README +143 -0
  7. data/examples/googlesearch/autoloading/google_search_api.rb +50 -0
  8. data/examples/googlesearch/autoloading/google_search_controller.rb +57 -0
  9. data/examples/googlesearch/delegated/google_search_service.rb +108 -0
  10. data/examples/googlesearch/delegated/search_controller.rb +7 -0
  11. data/examples/googlesearch/direct/google_search_api.rb +50 -0
  12. data/examples/googlesearch/direct/search_controller.rb +58 -0
  13. data/examples/metaWeblog/README +17 -0
  14. data/examples/metaWeblog/apis/blogger_api.rb +60 -0
  15. data/examples/metaWeblog/apis/blogger_service.rb +34 -0
  16. data/examples/metaWeblog/apis/meta_weblog_api.rb +67 -0
  17. data/examples/metaWeblog/apis/meta_weblog_service.rb +48 -0
  18. data/examples/metaWeblog/controllers/xmlrpc_controller.rb +16 -0
  19. data/generators/web_service/USAGE +28 -0
  20. data/generators/web_service/templates/api_definition.rb +5 -0
  21. data/generators/web_service/templates/controller.rb +8 -0
  22. data/generators/web_service/templates/functional_test.rb +19 -0
  23. data/generators/web_service/web_service_generator.rb +29 -0
  24. data/lib/action_web_service/api.rb +297 -0
  25. data/lib/action_web_service/base.rb +38 -0
  26. data/lib/action_web_service/casting.rb +149 -0
  27. data/lib/action_web_service/client/base.rb +28 -0
  28. data/lib/action_web_service/client/soap_client.rb +113 -0
  29. data/lib/action_web_service/client/xmlrpc_client.rb +58 -0
  30. data/lib/action_web_service/client.rb +3 -0
  31. data/lib/action_web_service/container/action_controller_container.rb +93 -0
  32. data/lib/action_web_service/container/delegated_container.rb +86 -0
  33. data/lib/action_web_service/container/direct_container.rb +69 -0
  34. data/lib/action_web_service/container.rb +3 -0
  35. data/lib/action_web_service/dispatcher/abstract.rb +207 -0
  36. data/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +379 -0
  37. data/lib/action_web_service/dispatcher.rb +2 -0
  38. data/lib/action_web_service/invocation.rb +202 -0
  39. data/lib/action_web_service/protocol/abstract.rb +112 -0
  40. data/lib/action_web_service/protocol/discovery.rb +37 -0
  41. data/lib/action_web_service/protocol/soap_protocol/marshaler.rb +242 -0
  42. data/lib/action_web_service/protocol/soap_protocol.rb +176 -0
  43. data/lib/action_web_service/protocol/xmlrpc_protocol.rb +122 -0
  44. data/lib/action_web_service/protocol.rb +4 -0
  45. data/lib/action_web_service/scaffolding.rb +281 -0
  46. data/lib/action_web_service/struct.rb +64 -0
  47. data/lib/action_web_service/support/class_inheritable_options.rb +26 -0
  48. data/lib/action_web_service/support/signature_types.rb +226 -0
  49. data/lib/action_web_service/templates/scaffolds/layout.html.erb +65 -0
  50. data/lib/action_web_service/templates/scaffolds/methods.html.erb +6 -0
  51. data/lib/action_web_service/templates/scaffolds/parameters.html.erb +29 -0
  52. data/lib/action_web_service/templates/scaffolds/result.html.erb +30 -0
  53. data/lib/action_web_service/test_invoke.rb +110 -0
  54. data/lib/action_web_service/version.rb +9 -0
  55. data/lib/action_web_service.rb +66 -0
  56. data/lib/actionwebservice.rb +1 -0
  57. data/setup.rb +1379 -0
  58. data/test/abstract_client.rb +183 -0
  59. data/test/abstract_dispatcher.rb +548 -0
  60. data/test/abstract_unit.rb +39 -0
  61. data/test/api_test.rb +102 -0
  62. data/test/apis/auto_load_api.rb +3 -0
  63. data/test/apis/broken_auto_load_api.rb +2 -0
  64. data/test/base_test.rb +42 -0
  65. data/test/casting_test.rb +94 -0
  66. data/test/client_soap_test.rb +155 -0
  67. data/test/client_xmlrpc_test.rb +153 -0
  68. data/test/container_test.rb +73 -0
  69. data/test/dispatcher_action_controller_soap_test.rb +138 -0
  70. data/test/dispatcher_action_controller_xmlrpc_test.rb +59 -0
  71. data/test/fixtures/db_definitions/mysql.sql +8 -0
  72. data/test/fixtures/users.yml +12 -0
  73. data/test/gencov +3 -0
  74. data/test/invocation_test.rb +185 -0
  75. data/test/run +6 -0
  76. data/test/scaffolded_controller_test.rb +146 -0
  77. data/test/struct_test.rb +52 -0
  78. data/test/test_invoke_test.rb +112 -0
  79. 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
+