dynamoid
https://github.com/veraticus/dynamoid
Ruby ORM for Amazon's DynamoDB
RelativePositioning#position_between
This method takes two integer values (positions) and calculates the position between them. The range is huge as the maximum integer value is 2147483647. We are incrementing position by IDEAL_DISTANCE * 2 every time when we have enough space. If distance is less then IDEAL_DISTANCE we are calculating an average number
Edit
git clone [email protected]:veraticus/dynamoid.git
cd dynamoid
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-RelativePositioning-position_between-for-pr
# Commit to gitgit add git commit -m "better docs for RelativePositioning#position_between"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-RelativePositioning-position_between-for-pr
hub pull-request
# Celebrate!