mail_form 1.4.1 → 1.5.0.rc

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1e43a7bd00fd48dc2e356aeb98d5da979364ee60
4
+ data.tar.gz: 3930210f8e38f9094636e2ba03bd322145da8afb
5
+ SHA512:
6
+ metadata.gz: 40991cee4224b6214686b7b1d6a739f7a99b9392f8308693c30b8a616cacdc8d51fb33d61b368142cf94fb0587a02f3b7259dc4b6fd3e16a4cce684ed118a184
7
+ data.tar.gz: c8bec8d6d63e3b6efe4e5d6b88989e8bbe629911773a486602e7c2802a1b7a83d8019398098496b5ede599c011c15bd4179fa9a3b899d029766d405f31176196
data/CHANGELOG CHANGED
@@ -1,6 +1,7 @@
1
- # Version 1.4.1
1
+ # Version 1.5 rc
2
2
 
3
- * Fixed typo in gemspec which causes in issues in some Rubygems versions
3
+ * Support Rails 4.
4
+ * Drop support to Rails < 3.2 and Ruby 1.8.
4
5
 
5
6
  # Version 1.4
6
7
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009-2012 Plataformatec http://plataformatec.com.br/
1
+ Copyright (c) 2009-2013 Plataformatec http://plataformatec.com.br/
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,15 +1,16 @@
1
1
  ## MailForm
2
- [![Build Status](https://secure.travis-ci.org/plataformatec/mail_form.png)](http://travis-ci.org/plataformatec/mail_form)
2
+
3
+ [![Gem Version](https://fury-badge.herokuapp.com/rb/mail_form.png)](http://badge.fury.io/rb/mail_form)
4
+ [![Build Status](https://api.travis-ci.org/plataformatec/mail_form.png?branch=master)](http://travis-ci.org/plataformatec/mail_form)
5
+ [![Code Climate](https://codeclimate.com/github/plataformatec/mail_form.png)](https://codeclimate.com/github/plataformatec/mail_form)
3
6
 
4
7
  ### Rails 3
5
8
 
6
9
  This gem was built on top of `ActiveModel` to showcase how you can pull in validations, naming
7
10
  and `i18n` from Rails to your models without the need to implement it all by yourself.
8
11
 
9
- In other words, this README refers to the **MailForm** gem to be used in Rails 3. For instructions
10
- on how to use MailForm in Rails 2.x, please check the v1.0 branch:
11
-
12
- http://github.com/plataformatec/mail_form/tree/v1.0
12
+ This README refers to the **MailForm** gem to be used in Rails 3.2 or 4+. For instructions
13
+ on how to use MailForm in older versions of Rails, please refer to the available branches.
13
14
 
14
15
  ### Description
15
16
 
@@ -223,4 +224,4 @@ Take a look at lib/mail_form/views/mail_form/contact.erb in this repo to see how
223
224
 
224
225
  If you discover any bug, please use github issues tracker.
225
226
 
226
- Copyright (c) 2009-2012 Plataformatec http://plataformatec.com.br/
227
+ Copyright (c) 2009-2013 Plataformatec http://plataformatec.com.br/
@@ -46,7 +46,7 @@ module MailForm
46
46
  # Create just check validity, and if so, trigger callbacks.
47
47
  def deliver
48
48
  if valid?
49
- _run_deliver_callbacks { true }
49
+ run_callbacks :deliver
50
50
  else
51
51
  false
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module MailForm
2
- VERSION = "1.4.1".freeze
2
+ VERSION = "1.5.0.rc".freeze
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_form
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.4.1
4
+ version: 1.5.0.rc
6
5
  platform: ruby
7
6
  authors:
8
7
  - José Valim
@@ -10,24 +9,48 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2012-12-13 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
- version_requirements: !ruby/object:Gem::Requirement
15
+ name: actionmailer
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - '>='
19
19
  - !ruby/object:Gem::Version
20
- version: '3.0'
21
- none: false
22
- name: actionmailer
20
+ version: '3.2'
21
+ - - <
22
+ - !ruby/object:Gem::Version
23
+ version: '5'
23
24
  type: :runtime
24
25
  prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - '>='
29
+ - !ruby/object:Gem::Version
30
+ version: '3.2'
31
+ - - <
32
+ - !ruby/object:Gem::Version
33
+ version: '5'
34
+ - !ruby/object:Gem::Dependency
35
+ name: activemodel
25
36
  requirement: !ruby/object:Gem::Requirement
26
37
  requirements:
27
- - - ~>
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '3.2'
41
+ - - <
28
42
  - !ruby/object:Gem::Version
29
- version: '3.0'
30
- none: false
43
+ version: '5'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - '>='
49
+ - !ruby/object:Gem::Version
50
+ version: '3.2'
51
+ - - <
52
+ - !ruby/object:Gem::Version
53
+ version: '5'
31
54
  description: Send e-mail straight from forms in Rails with I18n, validations, attachments
32
55
  and request information.
33
56
  email: contact@plataformatec.com.br
@@ -54,27 +77,26 @@ files:
54
77
  - test/views/mail_form/custom_template.erb
55
78
  homepage: https://github.com/plataformatec/mail_form
56
79
  licenses: []
80
+ metadata: {}
57
81
  post_install_message:
58
82
  rdoc_options: []
59
83
  require_paths:
60
84
  - lib
61
85
  required_ruby_version: !ruby/object:Gem::Requirement
62
86
  requirements:
63
- - - ! '>='
87
+ - - '>='
64
88
  - !ruby/object:Gem::Version
65
89
  version: '0'
66
- none: false
67
90
  required_rubygems_version: !ruby/object:Gem::Requirement
68
91
  requirements:
69
- - - ! '>='
92
+ - - '>'
70
93
  - !ruby/object:Gem::Version
71
- version: '0'
72
- none: false
94
+ version: 1.3.1
73
95
  requirements: []
74
96
  rubyforge_project: mail_form
75
- rubygems_version: 1.8.23
97
+ rubygems_version: 2.0.3
76
98
  signing_key:
77
- specification_version: 3
99
+ specification_version: 4
78
100
  summary: Send e-mail straight from forms in Rails with I18n, validations, attachments
79
101
  and request information.
80
102
  test_files: