mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 08:40:12 +01:00
fix actionwebservice using path from Eric found on github.
This commit is contained in:
parent
d16fd9d304
commit
19f9cacd37
5 changed files with 45 additions and 121 deletions
|
|
@ -24,7 +24,7 @@ Rails::Initializer.run do |config|
|
||||||
config.gem "highline"
|
config.gem "highline"
|
||||||
config.gem "RedCloth"
|
config.gem "RedCloth"
|
||||||
config.gem "soap4r", :lib => false
|
config.gem "soap4r", :lib => false
|
||||||
config.gem 'datanoise-actionwebservice', :lib => 'actionwebservice'
|
config.gem 'datanoise-actionwebservice', :lib => 'actionwebservice', :source => "http://gems.github.com"
|
||||||
config.gem 'sanitize', :version => '~> 1.2.1'
|
config.gem 'sanitize', :version => '~> 1.2.1'
|
||||||
config.gem 'rack', :version => '1.1.0'
|
config.gem 'rack', :version => '1.1.0'
|
||||||
config.gem 'will_paginate', :version => '~> 2.3.15'
|
config.gem 'will_paginate', :version => '~> 2.3.15'
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,12 @@
|
||||||
--- !ruby/object:Gem::Specification
|
--- !ruby/object:Gem::Specification
|
||||||
name: datanoise-actionwebservice
|
name: datanoise-actionwebservice
|
||||||
version: !ruby/object:Gem::Version
|
version: !ruby/object:Gem::Version
|
||||||
|
hash: 7
|
||||||
|
prerelease:
|
||||||
|
segments:
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
|
- 2
|
||||||
version: 2.3.2
|
version: 2.3.2
|
||||||
platform: ruby
|
platform: ruby
|
||||||
authors:
|
authors:
|
||||||
|
|
@ -9,29 +15,40 @@ autorequire:
|
||||||
bindir: bin
|
bindir: bin
|
||||||
cert_chain: []
|
cert_chain: []
|
||||||
|
|
||||||
date: 2009-03-29 00:00:00 -04:00
|
date: 2009-03-29 00:00:00 Z
|
||||||
default_executable:
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- !ruby/object:Gem::Dependency
|
- !ruby/object:Gem::Dependency
|
||||||
name: actionpack
|
name: actionpack
|
||||||
type: :runtime
|
prerelease: false
|
||||||
version_requirement:
|
requirement: &id001 !ruby/object:Gem::Requirement
|
||||||
version_requirements: !ruby/object:Gem::Requirement
|
none: false
|
||||||
requirements:
|
requirements:
|
||||||
- - "="
|
- - "="
|
||||||
- !ruby/object:Gem::Version
|
- !ruby/object:Gem::Version
|
||||||
version: 2.3.2
|
hash: 7
|
||||||
version:
|
segments:
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
|
- 11
|
||||||
|
version: 2.3.11
|
||||||
|
type: :runtime
|
||||||
|
version_requirements: *id001
|
||||||
- !ruby/object:Gem::Dependency
|
- !ruby/object:Gem::Dependency
|
||||||
name: activerecord
|
name: activerecord
|
||||||
type: :runtime
|
prerelease: false
|
||||||
version_requirement:
|
requirement: &id002 !ruby/object:Gem::Requirement
|
||||||
version_requirements: !ruby/object:Gem::Requirement
|
none: false
|
||||||
requirements:
|
requirements:
|
||||||
- - "="
|
- - "="
|
||||||
- !ruby/object:Gem::Version
|
- !ruby/object:Gem::Version
|
||||||
version: 2.3.2
|
hash: 7
|
||||||
version:
|
segments:
|
||||||
|
- 2
|
||||||
|
- 3
|
||||||
|
- 11
|
||||||
|
version: 2.3.11
|
||||||
|
type: :runtime
|
||||||
|
version_requirements: *id002
|
||||||
description: Adds WSDL/SOAP and XML-RPC web service support to Action Pack
|
description: Adds WSDL/SOAP and XML-RPC web service support to Action Pack
|
||||||
email: bitserf@gmail.com, ksibilev@yahoo.com
|
email: bitserf@gmail.com, ksibilev@yahoo.com
|
||||||
executables: []
|
executables: []
|
||||||
|
|
@ -40,107 +57,8 @@ extensions: []
|
||||||
|
|
||||||
extra_rdoc_files: []
|
extra_rdoc_files: []
|
||||||
|
|
||||||
files:
|
files: []
|
||||||
- Rakefile
|
|
||||||
- setup.rb
|
|
||||||
- README
|
|
||||||
- TODO
|
|
||||||
- CHANGELOG
|
|
||||||
- MIT-LICENSE
|
|
||||||
- examples/googlesearch
|
|
||||||
- examples/googlesearch/autoloading
|
|
||||||
- examples/googlesearch/autoloading/google_search_api.rb
|
|
||||||
- examples/googlesearch/autoloading/google_search_controller.rb
|
|
||||||
- examples/googlesearch/delegated
|
|
||||||
- examples/googlesearch/delegated/google_search_service.rb
|
|
||||||
- examples/googlesearch/delegated/search_controller.rb
|
|
||||||
- examples/googlesearch/direct
|
|
||||||
- examples/googlesearch/direct/google_search_api.rb
|
|
||||||
- examples/googlesearch/direct/search_controller.rb
|
|
||||||
- examples/googlesearch/README
|
|
||||||
- examples/metaWeblog
|
|
||||||
- examples/metaWeblog/apis
|
|
||||||
- examples/metaWeblog/apis/blogger_api.rb
|
|
||||||
- examples/metaWeblog/apis/blogger_service.rb
|
|
||||||
- examples/metaWeblog/apis/meta_weblog_api.rb
|
|
||||||
- examples/metaWeblog/apis/meta_weblog_service.rb
|
|
||||||
- examples/metaWeblog/controllers
|
|
||||||
- examples/metaWeblog/controllers/xmlrpc_controller.rb
|
|
||||||
- examples/metaWeblog/README
|
|
||||||
- lib/action_web_service
|
|
||||||
- lib/action_web_service/api.rb
|
|
||||||
- lib/action_web_service/base.rb
|
|
||||||
- lib/action_web_service/casting.rb
|
|
||||||
- lib/action_web_service/client
|
|
||||||
- lib/action_web_service/client/base.rb
|
|
||||||
- lib/action_web_service/client/soap_client.rb
|
|
||||||
- lib/action_web_service/client/xmlrpc_client.rb
|
|
||||||
- lib/action_web_service/client.rb
|
|
||||||
- lib/action_web_service/container
|
|
||||||
- lib/action_web_service/container/action_controller_container.rb
|
|
||||||
- lib/action_web_service/container/delegated_container.rb
|
|
||||||
- lib/action_web_service/container/direct_container.rb
|
|
||||||
- lib/action_web_service/container.rb
|
|
||||||
- lib/action_web_service/dispatcher
|
|
||||||
- lib/action_web_service/dispatcher/abstract.rb
|
|
||||||
- lib/action_web_service/dispatcher/action_controller_dispatcher.rb
|
|
||||||
- lib/action_web_service/dispatcher.rb
|
|
||||||
- lib/action_web_service/invocation.rb
|
|
||||||
- lib/action_web_service/protocol
|
|
||||||
- lib/action_web_service/protocol/abstract.rb
|
|
||||||
- lib/action_web_service/protocol/discovery.rb
|
|
||||||
- lib/action_web_service/protocol/soap_protocol
|
|
||||||
- lib/action_web_service/protocol/soap_protocol/marshaler.rb
|
|
||||||
- lib/action_web_service/protocol/soap_protocol.rb
|
|
||||||
- lib/action_web_service/protocol/xmlrpc_protocol.rb
|
|
||||||
- lib/action_web_service/protocol.rb
|
|
||||||
- lib/action_web_service/scaffolding.rb
|
|
||||||
- lib/action_web_service/struct.rb
|
|
||||||
- lib/action_web_service/support
|
|
||||||
- lib/action_web_service/support/class_inheritable_options.rb
|
|
||||||
- lib/action_web_service/support/signature_types.rb
|
|
||||||
- lib/action_web_service/templates
|
|
||||||
- lib/action_web_service/templates/scaffolds
|
|
||||||
- lib/action_web_service/templates/scaffolds/layout.html.erb
|
|
||||||
- lib/action_web_service/templates/scaffolds/methods.html.erb
|
|
||||||
- lib/action_web_service/templates/scaffolds/parameters.html.erb
|
|
||||||
- lib/action_web_service/templates/scaffolds/result.html.erb
|
|
||||||
- lib/action_web_service/test_invoke.rb
|
|
||||||
- lib/action_web_service/version.rb
|
|
||||||
- lib/action_web_service.rb
|
|
||||||
- lib/actionwebservice.rb
|
|
||||||
- test/abstract_client.rb
|
|
||||||
- test/abstract_dispatcher.rb
|
|
||||||
- test/abstract_unit.rb
|
|
||||||
- test/api_test.rb
|
|
||||||
- test/apis
|
|
||||||
- test/apis/auto_load_api.rb
|
|
||||||
- test/apis/broken_auto_load_api.rb
|
|
||||||
- test/base_test.rb
|
|
||||||
- test/casting_test.rb
|
|
||||||
- test/client_soap_test.rb
|
|
||||||
- test/client_xmlrpc_test.rb
|
|
||||||
- test/container_test.rb
|
|
||||||
- test/dispatcher_action_controller_soap_test.rb
|
|
||||||
- test/dispatcher_action_controller_xmlrpc_test.rb
|
|
||||||
- test/fixtures
|
|
||||||
- test/fixtures/db_definitions
|
|
||||||
- test/fixtures/db_definitions/mysql.sql
|
|
||||||
- test/fixtures/users.yml
|
|
||||||
- test/gencov
|
|
||||||
- test/invocation_test.rb
|
|
||||||
- test/run
|
|
||||||
- test/scaffolded_controller_test.rb
|
|
||||||
- test/struct_test.rb
|
|
||||||
- test/test_invoke_test.rb
|
|
||||||
- generators/web_service
|
|
||||||
- generators/web_service/templates
|
|
||||||
- generators/web_service/templates/api_definition.rb
|
|
||||||
- generators/web_service/templates/controller.rb
|
|
||||||
- generators/web_service/templates/functional_test.rb
|
|
||||||
- generators/web_service/USAGE
|
|
||||||
- generators/web_service/web_service_generator.rb
|
|
||||||
has_rdoc: true
|
|
||||||
homepage: http://www.rubyonrails.org
|
homepage: http://www.rubyonrails.org
|
||||||
licenses: []
|
licenses: []
|
||||||
|
|
||||||
|
|
@ -150,21 +68,27 @@ rdoc_options: []
|
||||||
require_paths:
|
require_paths:
|
||||||
- lib
|
- lib
|
||||||
required_ruby_version: !ruby/object:Gem::Requirement
|
required_ruby_version: !ruby/object:Gem::Requirement
|
||||||
|
none: false
|
||||||
requirements:
|
requirements:
|
||||||
- - ">="
|
- - ">="
|
||||||
- !ruby/object:Gem::Version
|
- !ruby/object:Gem::Version
|
||||||
|
hash: 3
|
||||||
|
segments:
|
||||||
|
- 0
|
||||||
version: "0"
|
version: "0"
|
||||||
version:
|
|
||||||
required_rubygems_version: !ruby/object:Gem::Requirement
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
||||||
|
none: false
|
||||||
requirements:
|
requirements:
|
||||||
- - ">="
|
- - ">="
|
||||||
- !ruby/object:Gem::Version
|
- !ruby/object:Gem::Version
|
||||||
|
hash: 3
|
||||||
|
segments:
|
||||||
|
- 0
|
||||||
version: "0"
|
version: "0"
|
||||||
version:
|
|
||||||
requirements:
|
requirements:
|
||||||
- none
|
- none
|
||||||
rubyforge_project: aws
|
rubyforge_project: aws
|
||||||
rubygems_version: 1.3.5
|
rubygems_version: 1.7.2
|
||||||
signing_key:
|
signing_key:
|
||||||
specification_version: 2
|
specification_version: 2
|
||||||
summary: Web service support for Action Pack.
|
summary: Web service support for Action Pack.
|
||||||
|
|
|
||||||
|
|
@ -72,8 +72,8 @@ spec = Gem::Specification.new do |s|
|
||||||
s.rubyforge_project = "aws"
|
s.rubyforge_project = "aws"
|
||||||
s.homepage = "http://www.rubyonrails.org"
|
s.homepage = "http://www.rubyonrails.org"
|
||||||
|
|
||||||
s.add_dependency('actionpack', '= 2.3.2' + PKG_BUILD)
|
s.add_dependency('actionpack', '= 2.3.11' + PKG_BUILD)
|
||||||
s.add_dependency('activerecord', '= 2.3.2' + PKG_BUILD)
|
s.add_dependency('activerecord', '= 2.3.11' + PKG_BUILD)
|
||||||
|
|
||||||
s.has_rdoc = true
|
s.has_rdoc = true
|
||||||
s.requirements << 'none'
|
s.requirements << 'none'
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ module ActionWebService # :nodoc:
|
||||||
begin
|
begin
|
||||||
require_dependency(file_name)
|
require_dependency(file_name)
|
||||||
rescue LoadError => load_error
|
rescue LoadError => load_error
|
||||||
requiree = / -- (.*?)(\.rb)?$/.match(load_error.to_s).to_a[1]
|
requiree = / -- (.*?)(\.rb)?$/.match(load_error).to_a[1]
|
||||||
msg = requiree == file_name ? "Missing API definition file in apis/#{file_name}.rb" : "Can't load file: #{requiree}"
|
msg = requiree == file_name ? "Missing API definition file in apis/#{file_name}.rb" : "Can't load file: #{requiree}"
|
||||||
raise LoadError.new(msg).copy_blame!(load_error)
|
raise LoadError.new(msg).copy_blame!(load_error)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ module ActionWebService
|
||||||
module VERSION #:nodoc:
|
module VERSION #:nodoc:
|
||||||
MAJOR = 2
|
MAJOR = 2
|
||||||
MINOR = 3
|
MINOR = 3
|
||||||
TINY = 2
|
TINY = 11
|
||||||
|
|
||||||
STRING = [MAJOR, MINOR, TINY].join('.')
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue