panztel-actionwebservice 2.3.4.a → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -38,13 +38,6 @@ task :build_database do
38
38
  %x( mysql -uroot actionwebservice_unittest < #{File.join(SCHEMA_PATH, 'mysql.sql')} )
39
39
  end
40
40
 
41
- desc 'Build the sqlite3 test database'
42
- task :build_sqlite3_database do
43
- filename = 'actionwebservice_unittest.db'
44
- File.delete filename if File.exist? filename
45
- %x(sqlite3 #{filename} < #{File.join(SCHEMA_PATH, 'sqlite3.sql')})
46
- end
47
-
48
41
 
49
42
  # Generate the RDoc documentation
50
43
  Rake::RDocTask.new { |rdoc|
@@ -224,8 +224,8 @@ module ActionWebService
224
224
 
225
225
  def service_method_list(service)
226
226
  action = @scaffold_action_name + '_method_params'
227
- methods = service.api_methods_full.sort {|a, b| a[1] <=> b[1]}.map do |desc, name|
228
- content_tag("li", link_to(name, :action => action, :service => service.name, :method => name))
227
+ methods = service.api_methods_full.map do |desc, name|
228
+ content_tag("li", link_to(desc, :action => action, :service => service.name, :method => name))
229
229
  end
230
230
  content_tag("ul", methods.join("\n"))
231
231
  end
@@ -28,14 +28,10 @@ ActiveRecord::Base.configurations = {
28
28
  :username => "root",
29
29
  :encoding => "utf8",
30
30
  :database => "actionwebservice_unittest"
31
- },
32
- 'sqlite3' => {
33
- :adapter => "sqlite3",
34
- :database => "actionwebservice_unittest.db"
35
31
  }
36
32
  }
37
33
 
38
- ActiveRecord::Base.establish_connection 'sqlite3'
34
+ ActiveRecord::Base.establish_connection 'mysql'
39
35
 
40
36
  class ActiveSupport::TestCase
41
37
  include ActiveRecord::TestFixtures
data/test/casting_test.rb CHANGED
@@ -57,10 +57,9 @@ class TC_Casting < Test::Unit::TestCase
57
57
  assert_raises ArgumentError do
58
58
  cast_expects(:float, 'not a float')
59
59
  end
60
- # not sure why this test fails but too lazy to find out why :-(
61
- # assert_raises ArgumentError do
62
- # cast_expects(:time, '111111111111111111111111111111111')
63
- # end
60
+ assert_raises ArgumentError do
61
+ cast_expects(:time, '111111111111111111111111111111111')
62
+ end
64
63
  assert_raises ArgumentError do
65
64
  cast_expects(:datetime, '-1')
66
65
  end
@@ -81,9 +81,8 @@ class TC_DispatcherActionControllerSoap < Test::Unit::TestCase
81
81
  $KCODE = 'NONE'
82
82
  do_method_call(@direct_controller, 'TestUtf8')
83
83
  retval = SOAP::Processor.unmarshal(@response_body).body.response
84
- # not sure why this test fails but too lazy to find out why :-(
85
- # assert retval.is_a?(SOAP::SOAPBase64)
86
- # assert_equal "T25lIFdvcmxkIENhZsOp", retval.data.to_s
84
+ assert retval.is_a?(SOAP::SOAPBase64)
85
+ assert_equal "T25lIFdvcmxkIENhZsOp", retval.data.to_s
87
86
  end
88
87
 
89
88
  protected
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: panztel-actionwebservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4.a
4
+ version: 2.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Breedt, Kent Sibilev
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-23 00:00:00 +13:00
12
+ date: 2009-05-16 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -47,44 +47,60 @@ files:
47
47
  - TODO
48
48
  - CHANGELOG
49
49
  - MIT-LICENSE
50
+ - examples/googlesearch
51
+ - examples/googlesearch/autoloading
50
52
  - examples/googlesearch/autoloading/google_search_api.rb
51
53
  - examples/googlesearch/autoloading/google_search_controller.rb
54
+ - examples/googlesearch/delegated
52
55
  - examples/googlesearch/delegated/google_search_service.rb
53
56
  - examples/googlesearch/delegated/search_controller.rb
57
+ - examples/googlesearch/direct
54
58
  - examples/googlesearch/direct/google_search_api.rb
55
59
  - examples/googlesearch/direct/search_controller.rb
56
60
  - examples/googlesearch/README
61
+ - examples/metaWeblog
62
+ - examples/metaWeblog/apis
57
63
  - examples/metaWeblog/apis/blogger_api.rb
58
64
  - examples/metaWeblog/apis/blogger_service.rb
59
65
  - examples/metaWeblog/apis/meta_weblog_api.rb
60
66
  - examples/metaWeblog/apis/meta_weblog_service.rb
67
+ - examples/metaWeblog/controllers
61
68
  - examples/metaWeblog/controllers/xmlrpc_controller.rb
62
69
  - examples/metaWeblog/README
70
+ - lib/action_web_service
63
71
  - lib/action_web_service/api.rb
64
72
  - lib/action_web_service/base.rb
65
73
  - lib/action_web_service/casting.rb
74
+ - lib/action_web_service/client
66
75
  - lib/action_web_service/client/base.rb
67
76
  - lib/action_web_service/client/soap_client.rb
68
77
  - lib/action_web_service/client/xmlrpc_client.rb
69
78
  - lib/action_web_service/client.rb
79
+ - lib/action_web_service/container
70
80
  - lib/action_web_service/container/action_controller_container.rb
71
81
  - lib/action_web_service/container/delegated_container.rb
72
82
  - lib/action_web_service/container/direct_container.rb
73
83
  - lib/action_web_service/container.rb
84
+ - lib/action_web_service/dispatcher
74
85
  - lib/action_web_service/dispatcher/abstract.rb
75
86
  - lib/action_web_service/dispatcher/action_controller_dispatcher.rb
76
87
  - lib/action_web_service/dispatcher.rb
77
88
  - lib/action_web_service/invocation.rb
89
+ - lib/action_web_service/protocol
78
90
  - lib/action_web_service/protocol/abstract.rb
79
91
  - lib/action_web_service/protocol/discovery.rb
92
+ - lib/action_web_service/protocol/soap_protocol
80
93
  - lib/action_web_service/protocol/soap_protocol/marshaler.rb
81
94
  - lib/action_web_service/protocol/soap_protocol.rb
82
95
  - lib/action_web_service/protocol/xmlrpc_protocol.rb
83
96
  - lib/action_web_service/protocol.rb
84
97
  - lib/action_web_service/scaffolding.rb
85
98
  - lib/action_web_service/struct.rb
99
+ - lib/action_web_service/support
86
100
  - lib/action_web_service/support/class_inheritable_options.rb
87
101
  - lib/action_web_service/support/signature_types.rb
102
+ - lib/action_web_service/templates
103
+ - lib/action_web_service/templates/scaffolds
88
104
  - lib/action_web_service/templates/scaffolds/layout.html.erb
89
105
  - lib/action_web_service/templates/scaffolds/methods.html.erb
90
106
  - lib/action_web_service/templates/scaffolds/parameters.html.erb
@@ -97,6 +113,7 @@ files:
97
113
  - test/abstract_dispatcher.rb
98
114
  - test/abstract_unit.rb
99
115
  - test/api_test.rb
116
+ - test/apis
100
117
  - test/apis/auto_load_api.rb
101
118
  - test/apis/broken_auto_load_api.rb
102
119
  - test/base_test.rb
@@ -106,6 +123,8 @@ files:
106
123
  - test/container_test.rb
107
124
  - test/dispatcher_action_controller_soap_test.rb
108
125
  - test/dispatcher_action_controller_xmlrpc_test.rb
126
+ - test/fixtures
127
+ - test/fixtures/db_definitions
109
128
  - test/fixtures/db_definitions/mysql.sql
110
129
  - test/fixtures/users.yml
111
130
  - test/gencov
@@ -114,6 +133,8 @@ files:
114
133
  - test/scaffolded_controller_test.rb
115
134
  - test/struct_test.rb
116
135
  - test/test_invoke_test.rb
136
+ - generators/web_service
137
+ - generators/web_service/templates
117
138
  - generators/web_service/templates/api_definition.rb
118
139
  - generators/web_service/templates/controller.rb
119
140
  - generators/web_service/templates/functional_test.rb
@@ -121,8 +142,6 @@ files:
121
142
  - generators/web_service/web_service_generator.rb
122
143
  has_rdoc: true
123
144
  homepage: http://www.rubyonrails.org
124
- licenses: []
125
-
126
145
  post_install_message:
127
146
  rdoc_options: []
128
147
 
@@ -136,16 +155,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
155
  version:
137
156
  required_rubygems_version: !ruby/object:Gem::Requirement
138
157
  requirements:
139
- - - ">"
158
+ - - ">="
140
159
  - !ruby/object:Gem::Version
141
- version: 1.3.1
160
+ version: "0"
142
161
  version:
143
162
  requirements:
144
163
  - none
145
164
  rubyforge_project: aws
146
- rubygems_version: 1.3.5
165
+ rubygems_version: 1.2.0
147
166
  signing_key:
148
- specification_version: 3
167
+ specification_version: 2
149
168
  summary: Web service support for Action Pack.
150
169
  test_files: []
151
170