mail_form 1.5.1 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/mail_form/version.rb +1 -1
- data/test/mail_form_test.rb +3 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d303b19e76c996f383cdd3cca96a6d1f5ebbf99
|
4
|
+
data.tar.gz: 37b37ccd2e0f7d3e534d9985dc79f04cfbc1d4d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cef061942f687c6d82678d7258d8360093efc67f8ff93dcd0721ffe788e3ee64f1f8817930b22ef8ab463e1292e96eecf0aab5b10d03d64109c333f9af9eda05
|
7
|
+
data.tar.gz: aa04d2badd1f88698639de4ab99ccc7ce48d004a044662d29445a3341ee3aea0257a9c58f65affe72a9640b5ce274c8fe8e83bb2c6612ef85586db8cf20ec0b4
|
data/README.md
CHANGED
@@ -224,4 +224,4 @@ Take a look at lib/mail_form/views/mail_form/contact.erb in this repo to see how
|
|
224
224
|
|
225
225
|
If you discover any bug, please use github issues tracker.
|
226
226
|
|
227
|
-
Copyright (c) 2009-
|
227
|
+
Copyright (c) 2009-2016 Plataformatec http://plataformatec.com.br/
|
data/lib/mail_form/version.rb
CHANGED
data/test/mail_form_test.rb
CHANGED
@@ -7,7 +7,9 @@ class MailFormNotifierTest < ActiveSupport::TestCase
|
|
7
7
|
def setup
|
8
8
|
@form = ContactForm.new(:name => 'José', :email => 'my.email@my.domain.com', :message => 'Cool')
|
9
9
|
|
10
|
-
|
10
|
+
ActionController::TestRequest.respond_to?(:create) ?
|
11
|
+
@request = ActionController::TestRequest.create :
|
12
|
+
@request = ActionController::TestRequest.new
|
11
13
|
@valid_attributes = { :name => 'José', :email => 'my.email@my.domain.com', :message => "Cool\nno?" }
|
12
14
|
@advanced = AdvancedForm.new(@valid_attributes)
|
13
15
|
@advanced.request = @request
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mail_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- José Valim
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionmailer
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: '3.2'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '5'
|
23
|
+
version: '5.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: '3.2'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '5'
|
33
|
+
version: '5.1'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: activemodel
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: '3.2'
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '5'
|
43
|
+
version: '5.1'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
version: '3.2'
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '5'
|
53
|
+
version: '5.1'
|
54
54
|
description: Send e-mail straight from forms in Rails with I18n, validations, attachments
|
55
55
|
and request information.
|
56
56
|
email: contact@plataformatec.com.br
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project: mail_form
|
97
|
-
rubygems_version: 2.
|
97
|
+
rubygems_version: 2.5.1
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: Send e-mail straight from forms in Rails with I18n, validations, attachments
|
@@ -105,3 +105,4 @@ test_files:
|
|
105
105
|
- test/test_file.txt
|
106
106
|
- test/test_helper.rb
|
107
107
|
- test/views/mail_form/custom_template.erb
|
108
|
+
has_rdoc:
|