actionmailer 4.1.0.rc1 → 4.1.0.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of actionmailer might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a14d6592f23edce89a35a8e248fe9c9aab6ec9db
4
- data.tar.gz: 9b164dc18c93ab42fe0202d5ba9be3832ce417cd
3
+ metadata.gz: 2617a6874526fc8f77f608330ecaf03447cdc560
4
+ data.tar.gz: 868903f6b0cd0af7f608da1c11590a58a6b6c814
5
5
  SHA512:
6
- metadata.gz: 8ae74e8854276fced21a93d2994ae4841afe49777b96ca49f7b341ed1241ccaae293546c09a00c877ef9afe8f2f07a68f60832729d5ab6eba073b420897c589a
7
- data.tar.gz: ca8bf17a413211b4696fdbf3dc91e9f1310da3dc35fe5c322d6265468fd281a2c01b67920651e7a4f40ae678065d258adc876afac204e2b29ab5c691b03e6024
6
+ metadata.gz: a4d72c4089d13e72c45efb5c802e0b8ac72899f953a7b40d7d9e269515a02178b693cd77b0a7a8c25f6acad41e6db5aace65ea52c746f4f0213af0eb6436bcba
7
+ data.tar.gz: e98f99fa717dba60a1af446f282efaddf98f2f547bec401b55d878e6b931abe486717fdcee8c919c31c33ba090e4e377e3b1a1194e6c513971748510962f483a
data/README.rdoc CHANGED
@@ -140,7 +140,7 @@ The latest version of Action Mailer can be installed with RubyGems:
140
140
 
141
141
  Source code can be downloaded as part of the Rails project on GitHub
142
142
 
143
- * https://github.com/rails/rails/tree/master/actionmailer
143
+ * https://github.com/rails/rails/tree/4-1-stable/actionmailer
144
144
 
145
145
 
146
146
  == License
@@ -724,11 +724,11 @@ module ActionMailer
724
724
  # format.html
725
725
  # end
726
726
  #
727
- # You can even render text directly without using a template:
727
+ # You can even render plain text directly without using a template:
728
728
  #
729
729
  # mail(to: 'mikel@test.lindsaar.net') do |format|
730
- # format.text { render text: "Hello Mikel!" }
731
- # format.html { render text: "<h1>Hello Mikel!</h1>" }
730
+ # format.text { render plain: "Hello Mikel!" }
731
+ # format.html { render html: "<h1>Hello Mikel!</h1>".html_safe }
732
732
  # end
733
733
  #
734
734
  # Which will render a +multipart/alternative+ email with +text/plain+ and
@@ -0,0 +1,15 @@
1
+ module ActionMailer
2
+ # Returns the version of the currently loaded ActionMailer as a <tt>Gem::Version</tt>
3
+ def self.gem_version
4
+ Gem::Version.new VERSION::STRING
5
+ end
6
+
7
+ module VERSION
8
+ MAJOR = 4
9
+ MINOR = 1
10
+ TINY = 0
11
+ PRE = "rc2"
12
+
13
+ STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
+ end
15
+ end
@@ -1,11 +1,8 @@
1
+ require_relative 'gem_version'
2
+
1
3
  module ActionMailer
2
- # Returns the version of the currently loaded ActionMailer as a Gem::Version
4
+ # Returns the version of the currently loaded ActionMailer as a <tt>Gem::Version</tt>
3
5
  def self.version
4
- Gem::Version.new "4.1.0.rc1"
5
- end
6
-
7
- module VERSION #:nodoc:
8
- MAJOR, MINOR, TINY, PRE = ActionMailer.version.segments
9
- STRING = ActionMailer.version.to_s
6
+ gem_version
10
7
  end
11
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionmailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0.rc1
4
+ version: 4.1.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2014-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.0.rc1
19
+ version: 4.1.0.rc2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.1.0.rc1
26
+ version: 4.1.0.rc2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionview
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.1.0.rc1
33
+ version: 4.1.0.rc2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.1.0.rc1
40
+ version: 4.1.0.rc2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mail
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +66,7 @@ files:
66
66
  - lib/action_mailer/base.rb
67
67
  - lib/action_mailer/collector.rb
68
68
  - lib/action_mailer/delivery_methods.rb
69
+ - lib/action_mailer/gem_version.rb
69
70
  - lib/action_mailer/log_subscriber.rb
70
71
  - lib/action_mailer/mail_helper.rb
71
72
  - lib/action_mailer/preview.rb