sendgrid_cli_mailer 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/sg_cli CHANGED
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+ $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')
2
3
  require 'sendgrid_toolkit'
3
4
  require "thor"
4
-
5
+ require 'sendgrid_cli_mailer'
5
6
 
6
7
  class SendgridCliMailerCommand < Thor
7
8
  desc "mail", "Sends an email via SendGrid API"
@@ -18,5 +19,5 @@ class SendgridCliMailerCommand < Thor
18
19
  :subject => options[:subject], :text => body
19
20
  end
20
21
  end
21
- SendgridCliMailerCommand.start()
22
+ SendgridCliMailerCommand.start
22
23
 
@@ -1,3 +1,3 @@
1
1
  module SendgridCliMailer
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid_cli_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: