actionview 4.1.12 → 4.1.13.rc1

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

Potentially problematic release.


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

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac2072e251a4502e87a86dfa19c98bded394c261
4
- data.tar.gz: 4d4d3cc55db84f3b9465f7a2641b16cfb1d289c3
3
+ metadata.gz: 8d79e925f63da34644025c8df2b091d1f1875d2e
4
+ data.tar.gz: 65d66293d8e0dd9ab04f362dd298359512c71cee
5
5
  SHA512:
6
- metadata.gz: cd883bb00c3fe6a264b596b23603773ad8ae75ab31d92193b455ff93555ad9f6f5b08e5424693c875ae512d494a1206e2a5027236def266d801faff168a4cf72
7
- data.tar.gz: f787d3fbcb7b07fc7d458c746180686028a1c170c05fdb918e50d4775d18341376f29c887027d4f0ae231d2e1bab11f7f361fc243ed2d460a1c7760730b35775
6
+ metadata.gz: 451bf3c95272d0bf0a83399b80b2ed09c799121f2ad6f5a618891ac4dbfa34e1d549e500eadaafe5fa1e95eb5b33bd90bc9f82c5444e9794fb0efade5b9e6ccf
7
+ data.tar.gz: abd869dd0b8cd712ddc6c492ff30b5a93fab8045eb0bfc05718a02310e5de73948fc7326ace4edea9ab443315a1672fed633a0085becec8397114778d48755fe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 4.1.13 (August 14, 2015) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 4.1.12 (June 25, 2015) ##
2
7
 
3
8
  * `translate` should handle `raise` flag correctly in case of both main and default
@@ -7,8 +7,8 @@ module ActionView
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
- TINY = 12
11
- PRE = nil
10
+ TINY = 13
11
+ PRE = "rc1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -462,8 +462,6 @@ module ActionView
462
462
  # <strong>Email me:</strong> <span>me@domain.com</span>
463
463
  # </a>
464
464
  def mail_to(email_address, name = nil, html_options = {}, &block)
465
- email_address = ERB::Util.html_escape(email_address)
466
-
467
465
  html_options, name = name, nil if block_given?
468
466
  html_options = (html_options || {}).stringify_keys
469
467
 
@@ -473,9 +471,10 @@ module ActionView
473
471
  }.compact
474
472
  extras = extras.empty? ? '' : '?' + ERB::Util.html_escape(extras.join('&'))
475
473
 
476
- html_options["href"] = "mailto:#{email_address}#{extras}".html_safe
474
+ encoded_email_address = ERB::Util.url_encode(email_address).gsub("%40", "@")
475
+ html_options["href"] = "mailto:#{encoded_email_address}#{extras}".html_safe
477
476
 
478
- content_tag(:a, name || email_address.html_safe, html_options, &block)
477
+ content_tag(:a, name || email_address, html_options, &block)
479
478
  end
480
479
 
481
480
  # True if the current request URI was generated by the given +options+.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: actionview
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.12
4
+ version: 4.1.13.rc1
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: 2015-06-25 00:00:00.000000000 Z
11
+ date: 2015-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.1.12
19
+ version: 4.1.13.rc1
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.12
26
+ version: 4.1.13.rc1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: builder
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.1.12
61
+ version: 4.1.13.rc1
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.1.12
68
+ version: 4.1.13.rc1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activemodel
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 4.1.12
75
+ version: 4.1.13.rc1
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 4.1.12
82
+ version: 4.1.13.rc1
83
83
  description: Simple, battle-tested conventions and helpers for building web pages.
84
84
  email: david@loudthinking.com
85
85
  executables: []
@@ -207,14 +207,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: 1.9.3
208
208
  required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  requirements:
210
- - - ">="
210
+ - - ">"
211
211
  - !ruby/object:Gem::Version
212
- version: '0'
212
+ version: 1.3.1
213
213
  requirements:
214
214
  - none
215
215
  rubyforge_project:
216
- rubygems_version: 2.4.5
216
+ rubygems_version: 2.4.7
217
217
  signing_key:
218
218
  specification_version: 4
219
219
  summary: Rendering framework putting the V in MVC (part of Rails).
220
220
  test_files: []
221
+ has_rdoc: