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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/action_view/gem_version.rb +2 -2
- data/lib/action_view/helpers/url_helper.rb +3 -4
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d79e925f63da34644025c8df2b091d1f1875d2e
|
4
|
+
data.tar.gz: 65d66293d8e0dd9ab04f362dd298359512c71cee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 451bf3c95272d0bf0a83399b80b2ed09c799121f2ad6f5a618891ac4dbfa34e1d549e500eadaafe5fa1e95eb5b33bd90bc9f82c5444e9794fb0efade5b9e6ccf
|
7
|
+
data.tar.gz: abd869dd0b8cd712ddc6c492ff30b5a93fab8045eb0bfc05718a02310e5de73948fc7326ace4edea9ab443315a1672fed633a0085becec8397114778d48755fe
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
|
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
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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:
|
212
|
+
version: 1.3.1
|
213
213
|
requirements:
|
214
214
|
- none
|
215
215
|
rubyforge_project:
|
216
|
-
rubygems_version: 2.4.
|
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:
|