dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

Gitlab::DependencyLinker::JsonLinker#link_json

Links package names in a JSON key or values.

Example:
  link_json('name')
  # Will link `package` in `"name": "package"`

  link_json('name', 'specific_package')
  # Will link `specific_package` in `"name": "specific_package"`

  link_json('name', /[^\/]+\/[^\/]+/)
  # Will link `user/repo` in `"name": "user/repo"`, but not `"name": "package"`

  link_json('specific_package', '1.0.1', link: :key)
  # Will link `specific_package` in `"specific_package": "1.0.1"`

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--DependencyLinker--JsonLinker-link_json-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::DependencyLinker::JsonLinker#link_json"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--DependencyLinker--JsonLinker-link_json-for-pr

hub pull-request


# Celebrate!