secretsanta 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbcf51da2f07ca310dfd840ad9f2a3e74d3e78a42fee8a8f9f9b08f9c2cd6820
4
- data.tar.gz: a83d8971943f61a728ae651ca6b079420be9efd6eb8ec871652b281da69683ae
3
+ metadata.gz: 6be34e4668586f954289ca28cc3fef3f857fd7741e98c0341fa9885352e60808
4
+ data.tar.gz: 845a684cfffcff6f33435abc0f507905975079e8f33b5f73d1254fc7de1079f8
5
5
  SHA512:
6
- metadata.gz: 672007cf00c50a4133d71a58e6bf50735112f44df171888957bb67002ca545365bd6d2e920f0ba9f6bf13e3914fd81768aae1a7099fb992860bef08371f498b5
7
- data.tar.gz: b1726b59b5c68b058296887a3e852403f8c4db194546a4b24a9b15a6b3ceef5893185f2101ce6295447e9022e29dc602a20c739c058ad34c9c244951ef5522a7
6
+ metadata.gz: 26b3ac2b61b8a4830cc00d82fd78197ff00c11390d7a9cc3789558177005370cfbb20579cdc1856d863cc4f944374bcc8d39f8b990d9b9f6d1c1dbeedfd4cbd6
7
+ data.tar.gz: c1f97093f6f87f7d1a86a1b9cf7fd4d23d839133195d583591b14fcf34ec752a42e979e10409762694c1041b43533b23e383653a71b26a02f165744ce330410f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- secretsanta (1.0.0)
4
+ secretsanta (1.0.1)
5
5
  dotenv
6
6
  twilio-ruby
7
7
 
data/bin/secretsanta CHANGED
@@ -22,24 +22,24 @@ begin
22
22
  opt_parser = OptionParser.new do |opts|
23
23
  opts.banner = SecretSanta.help_text
24
24
 
25
- opts.on '-h', '--help', 'Show this help message' do
25
+ opts.on('-h', '--help', 'Show this help message') do
26
26
  puts opts
27
- exit
27
+ exit 0
28
28
  end
29
29
 
30
- opts.on '-a', '--twilio-account-sid=SID', 'Twilio AccountSID' do |sid|
30
+ opts.on('-a', '--twilio-account-sid=SID', 'Twilio AccountSID') do |sid|
31
31
  options.twilio_account_sid = sid
32
32
  end
33
33
 
34
- opts.on '-t', '--twilio-auth-token=TOKEN', 'Twilio authentication token' do |token|
34
+ opts.on('-t', '--twilio-auth-token=TOKEN', 'Twilio authentication token') do |token|
35
35
  options.twilio_auth_token = token
36
36
  end
37
37
 
38
- opts.on '-f', '--from_number=NUM', 'Twilio phone number' do |num|
38
+ opts.on('-f', '--from_number=NUM', 'Twilio phone number') do |num|
39
39
  options.from_number = num
40
40
  end
41
41
 
42
- opts.on '-p', '--participants=JSON_FILE', 'JSON file with participants' do |participants_file|
42
+ opts.on('-p', '--participants=JSON_FILE', 'JSON file with participants') do |participants_file|
43
43
  options.participants = JSON.parse(File.read(participants_file), symbolize_names: true)[:participants]
44
44
  rescue StandardError => e
45
45
  puts e
@@ -1,3 +1,3 @@
1
1
  module SecretSanta
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secretsanta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ty-Lucas Kelley