secretsanta 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -0
- data/Gemfile.lock +1 -1
- data/README.md +23 -0
- data/lib/secretsanta/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3173eabef8c6f996fbc0ff484b24c304b1a3e63dc4259d281c7b61ce1c967996
|
4
|
+
data.tar.gz: 4a49421bd59a8738b9e74d83fc103fbcabde68aab3c108b8366df450f512552e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69b46346b916c79c48053e957300bee61900da35fe9331dbb4a09cdf1c98767ad658d031946dbe578cb705f421c82a52850aeefbcb863e7bcf1eb6606f869727
|
7
|
+
data.tar.gz: c040c42729d270688ee4a366f81a7ab64fa0f5d1dac5ca55f5ea1bb617946770d1c435e7468d9a3b691e22e5f54bc8572ec34a890aaefb6a1bb36480872a0bb1
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.5.3
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
> Send a text message to let everyone know their Secret Santa recipient!
|
4
4
|
|
5
|
+
[![Gem](https://img.shields.io/gem/v/secretsanta.svg?style=flat)](http://rubygems.org/gems/secretsanta)
|
6
|
+
[![Build Status](https://travis-ci.org/tylucaskelley/secret-santa.svg?branch=master)](https://travis-ci.org/tylucaskelley/secret-santa)
|
7
|
+
|
5
8
|
---
|
6
9
|
|
7
10
|
## Installation
|
@@ -35,6 +38,26 @@ Alternatively, set the following environment variables:
|
|
35
38
|
- `TWILIO_AUTH_TOKEN`
|
36
39
|
- `TWILIO_PHONE_NUMBER`
|
37
40
|
|
41
|
+
The participants file is a JSON file, containing an array of people going to your event. It needs to be formatted as
|
42
|
+
follows:
|
43
|
+
|
44
|
+
```json
|
45
|
+
{
|
46
|
+
"participants": [
|
47
|
+
{
|
48
|
+
"name": "John Doe",
|
49
|
+
"number": "+1 (123) 456-7890",
|
50
|
+
"disallow": [
|
51
|
+
"Jane Doe"
|
52
|
+
],
|
53
|
+
"is_assigned": false,
|
54
|
+
"has_assignment": false
|
55
|
+
}
|
56
|
+
}
|
57
|
+
```
|
58
|
+
|
59
|
+
The `disallow` array is optional, and contains an array of people the participant is not allowed to be paired with.
|
60
|
+
|
38
61
|
## Development
|
39
62
|
|
40
63
|
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests.
|
data/lib/secretsanta/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: secretsanta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ty-Lucas Kelley
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dotenv
|
@@ -132,6 +132,7 @@ extra_rdoc_files: []
|
|
132
132
|
files:
|
133
133
|
- ".gitignore"
|
134
134
|
- ".rubocop.yml"
|
135
|
+
- ".ruby-version"
|
135
136
|
- ".travis.yml"
|
136
137
|
- Gemfile
|
137
138
|
- Gemfile.lock
|