Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Solari style random name selector
branch: master

This branch is 8 commits behind slagyr:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
default_scene
devtool
images
lib
sounds
spec
.gitignore
Gemfile
Gemfile.lock
README.markdown
Rakefile
production.rb
stages.rb

README.markdown

Introduction

A raffling app based on the old split-flap displays (also known as Solari departure boards).

It was used for SCNA 2010 book raffling and RubyConf 2010 giveaways.

How to use

You will need the following dependencies:

solari.yml

This config file has three options:

  1. names_list_path is the path where the solari.all and solari.used files live. By default it points to the project's data directory.
  2. persist_used_names takes a boolean value. If set to true, all people picked as winners will be stored in this file and will persist across multiple Solari sessions. If set to false, it will only persist in a single Solari session.
  3. play_sound take a boolean value. If set to true, it will play the Solari departure board sound.

solari.all

Create this file if it does not already exist and add all the people participating in the raffle.

solari.used

This file contains the list of all people picked as a winner (if the config option is turned on, see above)

Run Program

In the repo directory, type limelight open .

To exit, press the appropriate shortcut keys to close application (e.g., Command + Q for Mac, Alt + F4 for Windows).

Contributors

@cdemyanovich

Credits

mab for the Solari departure board sound byte (Creative Commons).

Something went wrong with that request. Please try again.