flyover-contact 1.1.3 → 1.1.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df47734e7a0ffac32fc55c2ec574ab0caa80c37f
4
- data.tar.gz: 7511f26230771f4fe80edca562d8f0a1d862818a
3
+ metadata.gz: 3a170fe1bff5fa45a4d76e647476fdc2f420db52
4
+ data.tar.gz: a92ef9e1ff23ecbe01d7e49b1500ad5e4f1a65d8
5
5
  SHA512:
6
- metadata.gz: abc5ac5d779d06afafbbc26374f1345cf5c78a558d053249e8a1d91882e5152d81bd7895580c14e6771f69822b88c6165e8a667dfe53732e6140b168a7e3963d
7
- data.tar.gz: 9133ba90137ed7c606b9a6f1a363673981c628617fb180b6a65b4baca98b79f279cfe5281babe9b8ea0548fb0e2530af876a0a38765948e649612d57061808d1
6
+ metadata.gz: c159fd6a9294c39d50e9576952edb2dc124e9648e943240fafe3e63fb041d8f349e229717bd1270b77b8a7ba68fdcb5e99fdc782b04ca8256e4c19ecadba8869
7
+ data.tar.gz: 78fedd9a8d0bc150d1fdbd1d2c2b5d04b72296bac8bf09b1f3032e278e249be6716b06e8f3b7f77d866e142eabb340d7aecda43765a02b9291d6082b10d05131
@@ -1,10 +1,8 @@
1
1
  module Contact
2
2
  class MessageMailer < ActionMailer::Base
3
- default from: Contact.from_email
4
-
5
3
  def new_message(message)
6
4
  @message = message
7
- mail to: Contact.to_email, subject: Contact.subject
5
+ mail to: Contact.to_email, from: @message.email, subject: Contact.subject
8
6
  end
9
7
  end
10
8
  end
@@ -1,3 +1,3 @@
1
1
  module Contact
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -1,9 +1,8 @@
1
1
  require "contact/engine"
2
2
 
3
3
  module Contact
4
- mattr_accessor :to_email, :from_email, :subject, :success_message, :base_controller
4
+ mattr_accessor :to_email, :subject, :success_message, :base_controller
5
5
  @@to_email = "to@example.com"
6
- @@from_email = "from@example.com"
7
6
  @@subject = "New Contact Form Submission"
8
7
  @@success_message = "Success! Your message has been sent and we'll get back to you as soon as possible."
9
8
  @@base_controller = "::ApplicationController"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flyover-contact
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Van Der Beek