wsdsl 0.5.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/params_verification.rb +1 -1
- data/lib/wsdsl/version.rb +1 -1
- metadata +112 -53
data/lib/params_verification.rb
CHANGED
@@ -22,7 +22,7 @@ module ParamsVerification
|
|
22
22
|
@type_validations ||= { :integer => /^-?\d+$/,
|
23
23
|
:float => /^-?(\d*\.\d+|\d+)$/,
|
24
24
|
:decimal => /^-?(\d*\.\d+|\d+)$/,
|
25
|
-
:datetime => /^[-\d:T\s]+$/, # "T" is for ISO date format
|
25
|
+
:datetime => /^[-\d:T\s\+]+$/, # "T" is for ISO date format
|
26
26
|
:boolean => /^(1|true|TRUE|T|Y|0|false|FALSE|F|N)$/,
|
27
27
|
#:array => /,/
|
28
28
|
}
|
data/lib/wsdsl/version.rb
CHANGED
metadata
CHANGED
@@ -1,67 +1,117 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: wsdsl
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Matt Aimonetti
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-03-30 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: rspec
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
version: "0"
|
22
33
|
type: :development
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
26
36
|
name: rack-test
|
27
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
39
|
none: false
|
29
|
-
requirements:
|
30
|
-
- -
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
46
|
+
version: "0"
|
33
47
|
type: :development
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
37
50
|
name: yard
|
38
|
-
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
53
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
44
61
|
type: :development
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
62
|
+
version_requirements: *id003
|
63
|
+
- !ruby/object:Gem::Dependency
|
48
64
|
name: sinatra
|
49
|
-
|
65
|
+
prerelease: false
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
67
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
55
75
|
type: :development
|
76
|
+
version_requirements: *id004
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
name: backports
|
56
79
|
prerelease: false
|
57
|
-
|
80
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
hash: 3
|
86
|
+
segments:
|
87
|
+
- 0
|
88
|
+
version: "0"
|
89
|
+
type: :runtime
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: json
|
93
|
+
prerelease: false
|
94
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
hash: 3
|
100
|
+
segments:
|
101
|
+
- 0
|
102
|
+
version: "0"
|
103
|
+
type: :runtime
|
104
|
+
version_requirements: *id006
|
58
105
|
description: Ruby DSL describing Web Services without implementation details.
|
59
|
-
email:
|
106
|
+
email:
|
60
107
|
- mattaimonetti@gmail.com
|
61
108
|
executables: []
|
109
|
+
|
62
110
|
extensions: []
|
111
|
+
|
63
112
|
extra_rdoc_files: []
|
64
|
-
|
113
|
+
|
114
|
+
files:
|
65
115
|
- Gemfile
|
66
116
|
- LICENSE
|
67
117
|
- README.md
|
@@ -88,31 +138,41 @@ files:
|
|
88
138
|
- spec/wsdsl_sinatra_ext_spec.rb
|
89
139
|
- spec/wsdsl_spec.rb
|
90
140
|
- wsdsl.gemspec
|
141
|
+
has_rdoc: true
|
91
142
|
homepage: http://github.com/mattetti/wsdsl
|
92
143
|
licenses: []
|
144
|
+
|
93
145
|
post_install_message:
|
94
146
|
rdoc_options: []
|
95
|
-
|
147
|
+
|
148
|
+
require_paths:
|
96
149
|
- lib
|
97
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
98
151
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
|
103
|
-
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
hash: 3
|
156
|
+
segments:
|
157
|
+
- 0
|
158
|
+
version: "0"
|
159
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
104
160
|
none: false
|
105
|
-
requirements:
|
106
|
-
- -
|
107
|
-
- !ruby/object:Gem::Version
|
108
|
-
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
hash: 3
|
165
|
+
segments:
|
166
|
+
- 0
|
167
|
+
version: "0"
|
109
168
|
requirements: []
|
169
|
+
|
110
170
|
rubyforge_project: wsdsl
|
111
|
-
rubygems_version: 1.
|
171
|
+
rubygems_version: 1.5.3
|
112
172
|
signing_key:
|
113
173
|
specification_version: 3
|
114
174
|
summary: Web Service DSL
|
115
|
-
test_files:
|
175
|
+
test_files:
|
116
176
|
- spec/hello_world_controller.rb
|
117
177
|
- spec/hello_world_service.rb
|
118
178
|
- spec/json_response_description_spec.rb
|
@@ -123,4 +183,3 @@ test_files:
|
|
123
183
|
- spec/test_services.rb
|
124
184
|
- spec/wsdsl_sinatra_ext_spec.rb
|
125
185
|
- spec/wsdsl_spec.rb
|
126
|
-
has_rdoc:
|