rspec-webservice_matchers 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -3
- data/lib/rspec/webservice_matchers/version.rb +1 -1
- data/rspec-webservice_matchers.gemspec +2 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 265e8b7dcda9ee745d3e6af87d0edbd62316ddad
|
4
|
+
data.tar.gz: 3eabeefa683eaefe004da1e52f0a35ca32c776e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eb9d89a6427201f36ce5dddfcf8d42c0dd028b3a13a40a1b195e0be8137d4d434d444c055eb8c33c22313c5b7c10a6bf2713ea8411c9ace5378255556795d84
|
7
|
+
data.tar.gz: bce72bddfe63271945820583047d1be14ae2d52db12fc0f63485d31f1c43bbfb3943c46494f0591f4a7f9cda5d7df426cc4a0d86cb1b9c74f74ec41628b1cb31
|
data/README.md
CHANGED
@@ -1,8 +1,15 @@
|
|
1
|
-
#
|
1
|
+
# RSpec::WebserviceMatchers
|
2
2
|
|
3
3
|
This gem enables you to black-box test a web app's server configuration. For example, whether its SSL certificate is correctly configured and not expired. It's a tool for doing **Test Driven Devops**. (I just made that up.)
|
4
4
|
|
5
|
-
TODO:
|
5
|
+
TODO: Add matchers for HTTP result codes.
|
6
|
+
|
7
|
+
|
8
|
+
Installation
|
9
|
+
------------
|
10
|
+
```Shell
|
11
|
+
$ gem install rspec-webservice_matchers
|
12
|
+
```
|
6
13
|
|
7
14
|
|
8
15
|
Example
|
@@ -17,7 +24,7 @@ describe 'My app' do
|
|
17
24
|
expect('www.myapp.com').to have_a_valid_cert
|
18
25
|
|
19
26
|
# Old-style RSpec syntax
|
20
|
-
'www.
|
27
|
+
'www.myapp.com'.should have_a_valid_cert
|
21
28
|
end
|
22
29
|
end
|
23
30
|
```
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-webservice_matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robb Shecter
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: curb
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.8'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.8'
|
41
55
|
description: Match specific HTTP result codes and valid HTTPS configuration
|
42
56
|
email:
|
43
57
|
- robb@weblaws.org
|