actionwebservice 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ *0.8.1* (11 July, 2005)
2
+
3
+ * Fix scaffolding for Action Pack controller changes
4
+
5
+
1
6
  *0.8.0* (6 July, 2005)
2
7
 
3
8
  * 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
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ require 'fileutils'
9
9
 
10
10
  PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
11
11
  PKG_NAME = 'actionwebservice'
12
- PKG_VERSION = '0.8.0' + PKG_BUILD
12
+ PKG_VERSION = '0.8.1' + PKG_BUILD
13
13
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
14
14
  PKG_DESTINATION = ENV["RAILS_PKG_DESTINATION"] || "../#{PKG_NAME}"
15
15
 
@@ -62,9 +62,9 @@ spec = Gem::Specification.new do |s|
62
62
  s.rubyforge_project = "aws"
63
63
  s.homepage = "http://www.rubyonrails.org"
64
64
 
65
- s.add_dependency('actionpack', '= 1.9.0' + PKG_BUILD)
66
- s.add_dependency('activerecord', '= 1.11.0' + PKG_BUILD)
67
- s.add_dependency('activesupport', '= 1.1.0' + PKG_BUILD)
65
+ s.add_dependency('actionpack', '= 1.9.1' + PKG_BUILD)
66
+ s.add_dependency('activerecord', '= 1.11.1' + PKG_BUILD)
67
+ s.add_dependency('activesupport', '= 1.1.1' + PKG_BUILD)
68
68
 
69
69
  s.has_rdoc = true
70
70
  s.requirements << 'none'
@@ -141,6 +141,7 @@ module ActionWebService
141
141
 
142
142
  def prepare_request(new_request, service_name, method_name)
143
143
  new_request.parameters.update(request.parameters)
144
+ request.env.each{ |k, v| new_request.env[k] = v unless new_request.env.has_key?(k) }
144
145
  if web_service_dispatching_mode == :layered && @protocol.is_a?(ActionWebService::Protocol::Soap::SoapProtocol)
145
146
  new_request.env['HTTP_SOAPACTION'] = "/\#{controller_name()}/\#{service_name}/\#{method_name}"
146
147
  end
@@ -155,8 +155,8 @@ module DispatcherTest
155
155
  web_service_dispatching_mode :direct
156
156
  wsdl_namespace WsdlNamespace
157
157
 
158
- before_filter :alwaysfail, :only => [:before_filtered]
159
- after_filter :alwaysok, :only => [:after_filtered]
158
+ before_invocation :alwaysfail, :only => [:before_filtered]
159
+ after_invocation :alwaysok, :only => [:after_filtered]
160
160
 
161
161
  attr :added
162
162
  attr :added2
@@ -232,12 +232,12 @@ module DispatcherTest
232
232
  end
233
233
 
234
234
  protected
235
- def alwaysfail
235
+ def alwaysfail(method_name, params)
236
236
  @before_filter_called = true
237
237
  false
238
238
  end
239
239
 
240
- def alwaysok
240
+ def alwaysok(method_name, params, return_value)
241
241
  @after_filter_called = true
242
242
  end
243
243
  end
@@ -1,7 +1,11 @@
1
1
  ENV["RAILS_ENV"] = "test"
2
2
  $:.unshift(File.dirname(__FILE__) + '/../lib')
3
+ $:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib')
4
+ $:.unshift(File.dirname(__FILE__) + '/../../actionpack/lib')
5
+ $:.unshift(File.dirname(__FILE__) + '/../../activerecord/lib')
3
6
 
4
7
  require 'test/unit'
8
+ require 'active_record'
5
9
  require 'action_web_service'
6
10
  require 'action_controller'
7
11
  require 'action_controller/test_process'
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: actionwebservice
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.8.0
7
- date: 2005-07-06
6
+ version: 0.8.1
7
+ date: 2005-07-11
8
8
  summary: Web service support for Action Pack.
9
9
  require_paths:
10
10
  - lib
@@ -129,7 +129,7 @@ dependencies:
129
129
  -
130
130
  - "="
131
131
  - !ruby/object:Gem::Version
132
- version: 1.9.0
132
+ version: 1.9.1
133
133
  version:
134
134
  - !ruby/object:Gem::Dependency
135
135
  name: activerecord
@@ -139,7 +139,7 @@ dependencies:
139
139
  -
140
140
  - "="
141
141
  - !ruby/object:Gem::Version
142
- version: 1.11.0
142
+ version: 1.11.1
143
143
  version:
144
144
  - !ruby/object:Gem::Dependency
145
145
  name: activesupport
@@ -149,5 +149,5 @@ dependencies:
149
149
  -
150
150
  - "="
151
151
  - !ruby/object:Gem::Version
152
- version: 1.1.0
152
+ version: 1.1.1
153
153
  version: