trikle-mail 0.0.0 → 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/trikle-mail +2 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 938e28752ad9c882ad4194f0ddc3b58885c88e59
4
- data.tar.gz: 64f9649f7e02182b4c6c6ec137d78ff4c56b3bbf
3
+ metadata.gz: 56b56209a0710573c0e10588c9b66356d89083a9
4
+ data.tar.gz: 4b869f8d5c346db9df95f556afd3ad499ec2af03
5
5
  SHA512:
6
- metadata.gz: 8aad80a56e53f0cefa51fa6996f9f49c0be3fe909aecf8a4948415cf8dfd89bd87bc48130bfbdce405c6f569110140ae630ddd6d9cc3b0dcfa4a77d56eca662a
7
- data.tar.gz: ffaf61553fd8323f83567788d8623f1d80bb891f29e93b30ef05e0f98ad9bef6032bd9ffc5fdfe8a0b37ccda561479c25c29b33cef629784a5cc8dbb5c5e7051
6
+ metadata.gz: cf18a54f6670acf233aec9b51b6e8ffd297d4cfc0eb49c71a27bddc67c1ab5b8bd75ec9693770e9d21d221d9c8347d8f20e8a3c08a645525fb5152ba9875f9df
7
+ data.tar.gz: 3c4a3fa85e7430925ca8cd3ece6a75a1550a9e930c75a4eeb5352f88d3f299508a0654a401cc3f93ef1aa890d63746976cb98b41a46d25b8c3d63bbc376738ad
data/bin/trikle-mail CHANGED
@@ -20,6 +20,7 @@ class TrikleMail
20
20
  c.option '--from_name STRING', String, 'The name of the sender'
21
21
  c.option '--subject STRING', String, 'The subject line of the message'
22
22
  c.option '--template STRING', String, 'The template slug of the message template'
23
+ c.option '--subaccount STRING', String, 'The mandril subaccount for this batch of email'
23
24
  c.option '--hours INTEGER', Integer, 'The number of hours over which to send the emails'
24
25
  c.option '--minutes INTEGER', Integer, 'The number of minutes over which to send the emails'
25
26
 
@@ -43,6 +44,7 @@ class TrikleMail
43
44
  hash['template'] || options.template,
44
45
  [],
45
46
  {
47
+ subaccount: hash['subaccount'] || options.subaccount,
46
48
  subject: hash['subject'] || options.subject,
47
49
  from_email: hash['from_email'] || options.from_email,
48
50
  from_name: hash['from_name'] || options.from_name,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trikle-mail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jasper Lyons