osem
https://github.com/opensuse/osem
Ruby
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
Conference#next_color_component
Auxiliar function which is used in next_color and returns each component of the color. We make use of big prime numbers to avoid repetition and to make consecutive colors clearly different.
Edit
git clone [email protected]:opensuse/osem.git
cd osem
open app/models/conference.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Conference-next_color_component-for-pr
# Commit to gitgit add app/models/conference.rbgit commit -m "better docs for Conference#next_color_component"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Conference-next_color_component-for-pr
hub pull-request
# Celebrate!