datanoise-actionwebservice 2.1.1 → 2.2.2
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.
@@ -87,7 +87,6 @@ module ActionWebService
|
|
87
87
|
@method_return_value = @scaffold_method.cast_returns(obj)
|
88
88
|
end
|
89
89
|
@method_elapsed = bm.real
|
90
|
-
add_instance_variables_to_assigns
|
91
90
|
reset_invocation_response
|
92
91
|
render_invocation_scaffold 'result'
|
93
92
|
end
|
@@ -102,16 +101,15 @@ module ActionWebService
|
|
102
101
|
@scaffold_service = @scaffold_container.services.find{ |x| x.name == params['service'] }
|
103
102
|
@scaffold_method = @scaffold_service.api_methods[params['method']]
|
104
103
|
end
|
105
|
-
add_instance_variables_to_assigns
|
106
104
|
end
|
107
105
|
|
108
106
|
def render_invocation_scaffold(action)
|
109
107
|
customized_template = "\#{self.class.controller_path}/#{action_name}/\#{action}"
|
110
108
|
default_template = scaffold_path(action)
|
111
109
|
if template_exists?(customized_template)
|
112
|
-
content = @template.
|
110
|
+
content = @template.render(:file => customized_template)
|
113
111
|
else
|
114
|
-
content = @template.
|
112
|
+
content = @template.render(:file => default_template)
|
115
113
|
end
|
116
114
|
@template.instance_variable_set("@content_for_layout", content)
|
117
115
|
if self.active_layout.nil?
|
data/test/client_soap_test.rb
CHANGED
data/test/client_xmlrpc_test.rb
CHANGED
metadata
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: datanoise-actionwebservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leon Breedt, Kent Sibilev
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - "="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
22
|
+
version: 2.2.2
|
23
23
|
version:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: activerecord
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
requirements:
|
29
29
|
- - "="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 2.
|
31
|
+
version: 2.2.2
|
32
32
|
version:
|
33
33
|
description: Adds WSDL/SOAP and XML-RPC web service support to Action Pack
|
34
34
|
email: bitserf@gmail.com, ksibilev@yahoo.com
|