rack-rest-rspec 0.0.5 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.debride_whitelist +6 -0
- data/.github/workflows/main.yml +23 -0
- data/.rspec +2 -0
- data/.rubocop.yml +44 -0
- data/Gemfile +2 -17
- data/LICENSE.txt +21 -0
- data/README.md +100 -6
- data/Rakefile +42 -35
- data/VERSION +1 -1
- data/bom.xml +690 -0
- data/lib/rack-rest-rspec/helpers/init.rb +3 -2
- data/lib/rack-rest-rspec/helpers/memorizer.rb +6 -5
- data/lib/rack-rest-rspec/helpers/yml.rb +3 -1
- data/lib/rack-rest-rspec/lib/rest_service.rb +10 -13
- data/lib/rack-rest-rspec/matchers/be_correctly_sent.rb +4 -2
- data/lib/rack-rest-rspec/matchers/init.rb +3 -2
- data/lib/rack-rest-rspec/matchers/respond_a_collection_of_record.rb +11 -10
- data/lib/rack-rest-rspec/matchers/respond_a_record.rb +11 -9
- data/lib/rack-rest-rspec/matchers/respond_with_collection_size.rb +9 -7
- data/lib/rack-rest-rspec/matchers/respond_with_data.rb +22 -24
- data/lib/rack-rest-rspec/matchers/respond_with_status.rb +4 -2
- data/lib/rack-rest-rspec/prepare.rb +5 -3
- data/lib/rack-rest-rspec/version.rb +2 -0
- data/rack-rest-rspec.gemspec +34 -23
- data/samples/.rspec +2 -0
- data/samples/Gemfile +14 -0
- data/samples/Rakefile +8 -0
- data/samples/app.rb +27 -0
- data/samples/config.ru +10 -0
- data/samples/spec/api_spec.rb +40 -0
- data/samples/spec/spec_helper.rb +4 -0
- metadata +115 -13
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-rest-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Romain GEORGES
|
@@ -11,47 +11,89 @@ cert_chain: []
|
|
11
11
|
date: 2024-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: bundle-audit
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.1.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: code_statistics
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.2.13
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.2.13
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: cyclonedx-ruby
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: '1.1'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: '1.1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: debride
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.12'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: diff-lcs
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.5.1
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.5.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '13.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '13.0'
|
55
97
|
- !ruby/object:Gem::Dependency
|
56
98
|
name: rspec
|
57
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +108,34 @@ dependencies:
|
|
66
108
|
- - "~>"
|
67
109
|
- !ruby/object:Gem::Version
|
68
110
|
version: '3.11'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.32'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.32'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: sinatra
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '4.0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '4.0'
|
69
139
|
- !ruby/object:Gem::Dependency
|
70
140
|
name: yard
|
71
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +178,20 @@ dependencies:
|
|
108
178
|
- - "~>"
|
109
179
|
- !ruby/object:Gem::Version
|
110
180
|
version: '2.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: version
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '1.1'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '1.1'
|
111
195
|
description: 'Rack-rest-rspec: RSpec Matchers for REST Rack webservice '
|
112
196
|
email:
|
113
197
|
- romain@ultragreen.net
|
@@ -115,10 +199,16 @@ executables: []
|
|
115
199
|
extensions: []
|
116
200
|
extra_rdoc_files: []
|
117
201
|
files:
|
202
|
+
- ".debride_whitelist"
|
203
|
+
- ".github/workflows/main.yml"
|
204
|
+
- ".rspec"
|
205
|
+
- ".rubocop.yml"
|
118
206
|
- Gemfile
|
207
|
+
- LICENSE.txt
|
119
208
|
- README.md
|
120
209
|
- Rakefile
|
121
210
|
- VERSION
|
211
|
+
- bom.xml
|
122
212
|
- lib/rack-rest-rspec/helpers/init.rb
|
123
213
|
- lib/rack-rest-rspec/helpers/memorizer.rb
|
124
214
|
- lib/rack-rest-rspec/helpers/yml.rb
|
@@ -133,11 +223,23 @@ files:
|
|
133
223
|
- lib/rack-rest-rspec/prepare.rb
|
134
224
|
- lib/rack-rest-rspec/version.rb
|
135
225
|
- rack-rest-rspec.gemspec
|
226
|
+
- samples/.rspec
|
227
|
+
- samples/Gemfile
|
228
|
+
- samples/Rakefile
|
229
|
+
- samples/app.rb
|
230
|
+
- samples/config.ru
|
231
|
+
- samples/spec/api_spec.rb
|
232
|
+
- samples/spec/spec_helper.rb
|
136
233
|
- ultragreen_roodi_coding_convention.yml
|
137
234
|
homepage: http://github.com/Ultragreen/rack-rest-rspec
|
138
235
|
licenses:
|
139
|
-
-
|
140
|
-
metadata:
|
236
|
+
- MIT
|
237
|
+
metadata:
|
238
|
+
rubygems_mfa_required: 'true'
|
239
|
+
allowed_push_host: https://rubygems.org
|
240
|
+
homepage_uri: http://github.com/Ultragreen/rack-rest-rspec
|
241
|
+
source_code_uri: http://github.com/Ultragreen/rack-rest-rspec
|
242
|
+
changelog_uri: http://github.com/Ultragreen/rack-rest-rspec
|
141
243
|
post_install_message:
|
142
244
|
rdoc_options: []
|
143
245
|
require_paths:
|
@@ -146,7 +248,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
248
|
requirements:
|
147
249
|
- - ">="
|
148
250
|
- !ruby/object:Gem::Version
|
149
|
-
version:
|
251
|
+
version: 3.2.3
|
150
252
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
253
|
requirements:
|
152
254
|
- - ">="
|