aforward-actionwebservice 2.3.8.3 → 2.3.8.100
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.
|
@@ -61,7 +61,7 @@ module ActionWebService # :nodoc:
|
|
|
61
61
|
begin
|
|
62
62
|
require_dependency(file_name)
|
|
63
63
|
rescue LoadError => load_error
|
|
64
|
-
requiree = / -- (.*?)(\.rb)?$/.match(load_error).to_a[1]
|
|
64
|
+
requiree = / -- (.*?)(\.rb)?$/.match(load_error.to_s).to_a[1]
|
|
65
65
|
msg = requiree == file_name ? "Missing API definition file in apis/#{file_name}.rb" : "Can't load file: #{requiree}"
|
|
66
66
|
raise LoadError.new(msg).copy_blame!(load_error)
|
|
67
67
|
end
|
|
@@ -94,7 +94,7 @@ module ActionWebService # :nodoc:
|
|
|
94
94
|
:base64
|
|
95
95
|
elsif klass == TrueClass || klass == FalseClass
|
|
96
96
|
:bool
|
|
97
|
-
elsif derived_from?(Float, klass) || derived_from?(
|
|
97
|
+
elsif derived_from?(Float, klass) || derived_from?(Numeric, klass)
|
|
98
98
|
:float
|
|
99
99
|
elsif klass == Time
|
|
100
100
|
:time
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aforward-actionwebservice
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 159
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 2
|
|
8
8
|
- 3
|
|
9
9
|
- 8
|
|
10
|
-
-
|
|
11
|
-
version: 2.3.8.
|
|
10
|
+
- 100
|
|
11
|
+
version: 2.3.8.100
|
|
12
12
|
platform: ruby
|
|
13
13
|
authors:
|
|
14
14
|
- Andrew Forward (forked from Leon Breedt, Kent Sibilev)
|
|
@@ -16,7 +16,7 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date:
|
|
19
|
+
date: 2011-01-07 00:00:00 -05:00
|
|
20
20
|
default_executable:
|
|
21
21
|
dependencies:
|
|
22
22
|
- !ruby/object:Gem::Dependency
|
|
@@ -186,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
186
186
|
requirements: []
|
|
187
187
|
|
|
188
188
|
rubyforge_project:
|
|
189
|
-
rubygems_version: 1.
|
|
189
|
+
rubygems_version: 1.4.1
|
|
190
190
|
signing_key:
|
|
191
191
|
specification_version: 3
|
|
192
192
|
summary: Porting actionwebservice to work with Rails 2.3.8.2
|