Skip to content

Commit

Permalink
Highlighting links to API documentation
Browse files Browse the repository at this point in the history
Prior to this commit, there was no indication as to where to go for
online API documentation. This commit remedies that.

As a bonus, I've switched the Badge Fury image from png to SVG, which
improved the legibility of the rendered image. The png was blurry and
looked odd beside the other SVGs.

Also tweaked a logging message to provide parity between the starting
and finishing task statement.
  • Loading branch information
jeremyf committed Feb 29, 2020
1 parent 50a70eb commit db21814
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# huborg

Code: [![Version](https://badge.fury.io/rb/huborg.png)](http://badge.fury.io/rb/huborg)
Code: [![Version](https://badge.fury.io/rb/huborg.svg)](https://rubygems.org/gems/huborg)

Docs: [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
Docs: [![Code Documentation](https://img.shields.io/badge/CODE-Documentation-blue.svg)](https://www.rubydoc.info/gems/huborg/) [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)
[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)

Jump in: [![Slack Status](http://slack.samvera.org/badge.svg)](http://slack.samvera.org/)
Expand Down
1 change: 1 addition & 0 deletions huborg.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/samvera-labs/huborg/"
spec.metadata["changelog_uri"] = "https://github.com/samvera-labs/huborg/CHANGELOG.md"
spec.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/huborg/"

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
Expand Down
2 changes: 1 addition & 1 deletion lib/huborg.rb
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ def fetch_rel_for(rel:, org:)
end
end
rels
logger.info "Finished rels[#{rel.inspect}] for '#{org.login}' with pattern #{repository_pattern.inspect}"
logger.info "Finished fetching rels[#{rel.inspect}] for '#{org.login}' with pattern #{repository_pattern.inspect}"
if block_given?
rels
else
Expand Down

0 comments on commit db21814

Please sign in to comment.