Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
Added travis, coveralls and gem version number to README.rdoc, update…
Browse files Browse the repository at this point in the history
…d use of rake for rspec
  • Loading branch information
Laney McGlohon committed Oct 21, 2014
1 parent f7f54e2 commit bfc3ffb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
= dor-fetcher
{<img src="https://travis-ci.org/sul-dlss/dor-fetcher.svg" alt="Build Status" />}[https://travis-ci.org/sul-dlss/dor-fetcher]
{<img src="https://coveralls.io/repos/sul-dlss/dor-fetcher/badge.png" alt="Coverage Status" />}[https://coveralls.io/r/sul-dlss/dor-fetcher]
{<img src="https://badge.fury.io/rb/dor-fetcher.svg" alt="Gem Version" />}[http://badge.fury.io/rb/dor-fetcher]

This gem provides a basic wrapper for reaching the API of an instance of dor-fetcher-service: https://github.com/sul-dlss/dor-fetcher-service. This ReadMe assumes your familiar with the API of dor-fetcher-service, its JSON return and are just looking to leverage that with this gem.

Expand Down Expand Up @@ -73,7 +76,7 @@ Wrap any of the calls above in df.druid_array to produce just an array of druids
* If writing tests that rely on network calls you need to make a VCR cassette for them or it will fail.
* If old cassettes are broken, remove them from spec/fixtures/vcr_casettes, bring up a local instance of dor-fetcher-service and new ones will automatically record
* Ensure all the tests passes via
bundle exec rspec
rake rspec
* Merge back into master
* Bump the version in the gemspec
* Release via RubyGems
Expand All @@ -86,4 +89,4 @@ In the gem directory:
gem install ./DorFetcher-#.#.#.gem (Replace the # with the version of the gem built, the build command will display this in console)
irb
require 'dor-fetcher'
Do Stuff in IRB
Do Stuff in IRB

0 comments on commit bfc3ffb

Please sign in to comment.