README.md in cert_checker-0.1.0 vs README.md in cert_checker-0.1.1
- old
+ new
@@ -1,7 +1,11 @@
# CertChecker
+
+[![Build Status](https://travis-ci.org/xiejiangzhi/cert_checker.svg?branch=master)](https://travis-ci.org/xiejiangzhi/cert_checker)
+[![Gem Version](https://badge.fury.io/rb/cert_checker.svg)](https://badge.fury.io/rb/cert_checker)
+
A tool to check X509 cert status
## Installation
```
@@ -70,14 +74,17 @@
MyChecker.cert_store.add_cert(root_ca)
status, host, issuer, expired, desc = MyChecker.check('mydomain.com', port, timeout: 3)
```
-## Development
+## All Status
-After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
-
-To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
+* failed: Failed to get the cert
+* unverifiable: Invalid cert chain or cannot verify it.
+* expired: The cert is expired
+* urgent: The cert expires in 15 days.
+* warning: The cert expires in 30 days.
+* ok: Not found problem
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/xiejiangzhi/cert_checker.