contact_us 1.0.1 → 1.1.0
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 +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +4 -0
- data/app/mailers/contact_us/contact_mailer.rb +1 -1
- data/lib/contact_us.rb +4 -1
- data/lib/contact_us/version.rb +1 -1
- data/lib/templates/contact_us.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 362c93f82604c1bb0719a60e7daf0fc6990e377d
|
|
4
|
+
data.tar.gz: db544e80c7e02e6815be8a16a793486e39eda772
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8efd0645c12998ace526c17d544d680c1e31ca8420410758ce79809e9551d52937b72d7a668b1c673bd0d739f292821c3acd3c1e403fdf3439338efa464ec46a
|
|
7
|
+
data.tar.gz: f27629db4982f646d0a7bffe5506beba108ff1d8705825b279f655c2d857c54a327088153b918670f54e3a0677deecc82fcd3d5f60cd9a0ac21833a149d18d72
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
data/lib/contact_us.rb
CHANGED
|
@@ -19,10 +19,13 @@ module ContactUs
|
|
|
19
19
|
# URL after a successful submission
|
|
20
20
|
mattr_accessor :success_redirect
|
|
21
21
|
|
|
22
|
+
# Configure parent mailer
|
|
23
|
+
mattr_accessor :parent_mailer
|
|
24
|
+
@@parent_mailer = "ActionMailer::Base"
|
|
25
|
+
|
|
22
26
|
# Default way to setup ContactUs. Run rake contact_us:install to create
|
|
23
27
|
# a fresh initializer with all configuration values.
|
|
24
28
|
def self.setup
|
|
25
29
|
yield self
|
|
26
30
|
end
|
|
27
|
-
|
|
28
31
|
end
|
data/lib/contact_us/version.rb
CHANGED
data/lib/templates/contact_us.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: contact_us
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeff Dutil
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-05-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capybara
|