dynamoid
https://github.com/veraticus/dynamoid
Ruby ORM for Amazon's DynamoDB
Banzai::Filter::AbstractReferenceFilter#object_link_filter
Replace references (like `!123` for merge requests) in text with links
to the referenced object's details page.
text - String text to replace references in.
pattern - Reference pattern to match against.
link_content - Original content of the link being replaced.
link_reference - True if this was using the link reference pattern,
false otherwise.
Returns a String with references replaced with links. All links
have `gfm` and `gfm-OBJECT_NAME` class names attached for styling.Edit
git clone [email protected]:veraticus/dynamoid.git
cd dynamoid
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Banzai--Filter--AbstractReferenceFilter-object_link_filter-for-pr
# Commit to gitgit add git commit -m "better docs for Banzai::Filter::AbstractReferenceFilter#object_link_filter"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Banzai--Filter--AbstractReferenceFilter-object_link_filter-for-pr
hub pull-request
# Celebrate!