fdv-actionwebservice 2.3.8

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