No commit activity in last 3 years
No release in over 3 years
Assign random pairs from a google docs spreadsheet
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0.0
 Project Readme

Assign random pairs from a google docs spreadsheet

Install

gem install pairing_shuffler

Usage

Send out emails to random pairs from a google docs spreadsheet:

via Rake

git clone git://github.com/grosser/pairing_shuffler.git && cd pairing_shuffler
cp credentials.example.yml credentials.yml
# fill it out by following instructions on https://github.com/gimite/google-drive-ruby/blob/master/doc/authorization.md#on-behalf-of-you-command-line-authorization
rake token
# store token in credentials.yml
rake assign_pairs

via Ruby

PairingShuffler.shuffle(
  client_id: "foo",
  client_secrect: "bar",
  access_token: "baz"
  doc: "document-id-copied-from-url"
)

Spreadsheet must have emails in the first column example and possibly a Away until column for people that are away (2013-01-01 format)

1: Random text
2: Custom header, Away until
3: email@1.com,
4: email@2.com, 2013-01-01
5: email@3.com,
...

Author

Michael Grosser
michael@grosser.it
License: MIT