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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdde871a9bb1b3c46d81476b0e0d7e9dc7378d4c
4
- data.tar.gz: 9292c0781c7f84c9702c4db4d5e07dbd59b4dad3
3
+ metadata.gz: 265e8b7dcda9ee745d3e6af87d0edbd62316ddad
4
+ data.tar.gz: 3eabeefa683eaefe004da1e52f0a35ca32c776e0
5
5
  SHA512:
6
- metadata.gz: 00aecb1d00ec6df7fb22b017348e35f115855a8958266bb04ef38a39cf55074d60d936f63670208461bf1ffb0ed3ea016ebdfb01000c4adfdb9fb4130fdca497
7
- data.tar.gz: 80237c517ab3e2dbd7a4a97d0d05daa31e68f92e6c7b71f282d31528937384f4364820cad6d8ef51f538dc6a60157795fe3ef6e1ebcb21603afb955634a24b15
6
+ metadata.gz: 4eb9d89a6427201f36ce5dddfcf8d42c0dd028b3a13a40a1b195e0be8137d4d434d444c055eb8c33c22313c5b7c10a6bf2713ea8411c9ace5378255556795d84
7
+ data.tar.gz: bce72bddfe63271945820583047d1be14ae2d52db12fc0f63485d31f1c43bbfb3943c46494f0591f4a7f9cda5d7df426cc4a0d86cb1b9c74f74ec41628b1cb31
data/README.md CHANGED
@@ -1,8 +1,15 @@
1
- # Rspec::WebserviceMatchers
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: Finish the Gem set up and register as a Gem.
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.weblaws.org'.should have_a_valid_cert
27
+ 'www.myapp.com'.should have_a_valid_cert
21
28
  end
22
29
  end
23
30
  ```
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module WebserviceMatchers
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -20,4 +20,6 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
+
24
+ spec.add_runtime_dependency 'curb', '~> 0.8'
23
25
  end
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.1
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