simply_notify 0.2.1 → 0.2.2

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
  SHA1:
3
- metadata.gz: c364f5e1904b988610dfbb5988ce6c646ca5b689
4
- data.tar.gz: 3c7b495b7f63910b965bcf60c956cb18c9d00ab9
3
+ metadata.gz: c402df1331eba8329a5f6429b03e0a7573423f9c
4
+ data.tar.gz: 8e4c9294a30137a151b534b211f6b411efdbed56
5
5
  SHA512:
6
- metadata.gz: b4d405c06dd02f4b1dcd4dab65a4c4794310a42fa5e85a41f25dca1411eba9d75ff33fe9c8000287da5c6723b894a1f0d51aa50243e093f499cdb75ed1af66ba
7
- data.tar.gz: 60bbf29a5e8535422df72f0e41d24d311c51f761c9b855bd77db9612b2e1581e9261864b531bf576b8f3ba3a17bb2e366e8a8e40534d0f9a1e198ea705dd4035
6
+ metadata.gz: 6dbfc16fd3e2a99fb230d44deb19c682560d6664d6e3c3c7752fc9b4a31c3a9446242be3521091984294a50b04129e898d307ee1cd5552d884ff2230c4152257
7
+ data.tar.gz: f906e2b31f7a3bbac724984fee837a76818d6fbad079ac2db66e25be2e11128c438ddcd35019a0825c679a5f0c84146d11ca34ade021e8e208fb3d82e05198c6
@@ -1,3 +1,3 @@
1
1
  module SimplyNotify
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
data/lib/simply_notify.rb CHANGED
@@ -2,12 +2,12 @@ require "simply_notify/version"
2
2
  require "action_mailer"
3
3
 
4
4
  class Notifier < ActionMailer::Base
5
- default :from => 'no-reply@brandeis.edu'
5
+ default from: 'no-reply@brandeis.edu'
6
6
 
7
7
  def new_notification(recipient)
8
8
  @recipient = recipient
9
- mail(:to => recipient.email,
10
- :subject => 'New Notification',
11
- :content_type => 'text/html')
9
+ mail(to: @recipient,
10
+ subject: 'New Notification',
11
+ content_type: 'text/html')
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simply_notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Lichten