rspec-webservice_matchers 4.11.0 → 4.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/HISTORY.md +5 -0
- data/lib/rspec/webservice_matchers/version.rb +1 -1
- data/lib/web_test/be_fast.rb +2 -2
- data/lib/web_test/be_up.rb +1 -1
- data/rspec-webservice_matchers.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6da37f369a1221264a2b4d9bc0e1559172564315
|
4
|
+
data.tar.gz: 0ce44377d86f91d9f2f07581fced97b806d0d0c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71396306b5167812a11d5ad481731c887355d04072e2dc9c095146757fd835467f0f340311a71524dac442379b986341b3c1999afe35307c27c9323e7bcfd29c
|
7
|
+
data.tar.gz: 7acae6de0abe6f33eae3a5a00121be13eda160c7d4b6d85131c43359fed42171b356934918716f0bac97b4ab2a3a53d623c04b7f28ab9badc1cfa38ef7a8b054
|
data/HISTORY.md
CHANGED
data/lib/web_test/be_fast.rb
CHANGED
@@ -15,7 +15,7 @@ module WebTest
|
|
15
15
|
attr_accessor :success, :score, :response
|
16
16
|
alias success? success
|
17
17
|
|
18
|
-
validates :success,
|
18
|
+
validates :success, type: Boolean
|
19
19
|
validates :score, inclusion: 0..100
|
20
20
|
validates :response, type: Hash
|
21
21
|
end
|
@@ -27,7 +27,7 @@ module WebTest
|
|
27
27
|
TestResult.new do |r|
|
28
28
|
r.score = response.fetch(:score)
|
29
29
|
r.success = r.score >= 85
|
30
|
-
r.response = response
|
30
|
+
r.response = response[:raw_response]
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
data/lib/web_test/be_up.rb
CHANGED
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_runtime_dependency 'rspec-expectations', '~> 3.0'
|
32
32
|
spec.add_runtime_dependency 'faraday'
|
33
33
|
spec.add_runtime_dependency 'faraday_middleware'
|
34
|
-
spec.add_runtime_dependency 'validated_object'
|
34
|
+
spec.add_runtime_dependency 'validated_object', '~> 1.1.0'
|
35
35
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-webservice_matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robb Shecter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -154,16 +154,16 @@ dependencies:
|
|
154
154
|
name: validated_object
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: 1.1.0
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: 1.1.0
|
167
167
|
description: Black-box web app configuration testing
|
168
168
|
email:
|
169
169
|
- robb@weblaws.org
|