activesupport 4.0.12 → 4.0.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 activesupport might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/active_support/core_ext/string/filters.rb +1 -1
- data/lib/active_support/core_ext/string/output_safety.rb +5 -1
- data/lib/active_support/core_ext/time/zones.rb +1 -0
- data/lib/active_support/i18n_railtie.rb +5 -1
- data/lib/active_support/multibyte/unicode.rb +0 -1
- data/lib/active_support/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b5181d21fe283b776ceb44db47e430840f93224
|
4
|
+
data.tar.gz: ca9e4a124f2159d33a9f217a7be1af12fc1cb8f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbca9c813a6dec72e04aee9fd8885d7ba293f1220293db454ed2f0db22e638aa70a3bf042631ba835a6ab269c1791e48716ba195b149409061b3c1c71b5d9272
|
7
|
+
data.tar.gz: ed7ad5e0a4d00451aaf2a90088d163e914e47088bd11661a2b8659f8bc1ce91076c025b7b56e6e75dda11f698783dfaaae7cbd0ff9946030d0c299acd9fbecc5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
## Rails 4.0.12 (November 16, 2014) ##
|
2
|
+
|
3
|
+
*No changes*
|
4
|
+
|
5
|
+
|
6
|
+
## Rails 4.0.11.1 (November 19, 2014) ##
|
7
|
+
|
8
|
+
*No changes*
|
9
|
+
|
10
|
+
|
11
|
+
## Rails 4.0.11 (September 11, 2014) ##
|
12
|
+
|
13
|
+
*No changes*
|
14
|
+
|
15
|
+
|
1
16
|
## Rails 4.0.10 (September 11, 2014) ##
|
2
17
|
|
3
18
|
* Fix DateTime comparison with DateTime::Infinity object.
|
@@ -3,7 +3,7 @@ class String
|
|
3
3
|
# the string, and then changing remaining consecutive whitespace
|
4
4
|
# groups into one space each.
|
5
5
|
#
|
6
|
-
# Note that it handles both ASCII and Unicode whitespace
|
6
|
+
# Note that it handles both ASCII and Unicode whitespace.
|
7
7
|
#
|
8
8
|
# %{ Multi-line
|
9
9
|
# string }.squish # => "Multi-line string"
|
@@ -102,7 +102,11 @@ module ActiveSupport #:nodoc:
|
|
102
102
|
else
|
103
103
|
if html_safe?
|
104
104
|
new_safe_buffer = super
|
105
|
-
|
105
|
+
|
106
|
+
if new_safe_buffer
|
107
|
+
new_safe_buffer.instance_eval { @html_safe = true }
|
108
|
+
end
|
109
|
+
|
106
110
|
new_safe_buffer
|
107
111
|
else
|
108
112
|
to_str[*args]
|
@@ -36,7 +36,11 @@ module I18n
|
|
36
36
|
# Avoid issues with setting the default_locale by disabling available locales
|
37
37
|
# check while configuring.
|
38
38
|
enforce_available_locales = app.config.i18n.delete(:enforce_available_locales)
|
39
|
-
|
39
|
+
|
40
|
+
if enforce_available_locales.nil?
|
41
|
+
enforce_available_locales = I18n.enforce_available_locales
|
42
|
+
end
|
43
|
+
|
40
44
|
I18n.enforce_available_locales = false
|
41
45
|
|
42
46
|
app.config.i18n.each do |setting, value|
|
@@ -42,7 +42,6 @@ module ActiveSupport
|
|
42
42
|
0x0085, # White_Space # Cc <control-0085>
|
43
43
|
0x00A0, # White_Space # Zs NO-BREAK SPACE
|
44
44
|
0x1680, # White_Space # Zs OGHAM SPACE MARK
|
45
|
-
0x180E, # White_Space # Zs MONGOLIAN VOWEL SEPARATOR
|
46
45
|
(0x2000..0x200A).to_a, # White_Space # Zs [11] EN QUAD..HAIR SPACE
|
47
46
|
0x2028, # White_Space # Zl LINE SEPARATOR
|
48
47
|
0x2029, # White_Space # Zp PARAGRAPH SEPARATOR
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.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:
|
11
|
+
date: 2015-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -317,12 +317,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
317
317
|
version: 1.9.3
|
318
318
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
319
319
|
requirements:
|
320
|
-
- - "
|
320
|
+
- - ">"
|
321
321
|
- !ruby/object:Gem::Version
|
322
|
-
version:
|
322
|
+
version: 1.3.1
|
323
323
|
requirements: []
|
324
324
|
rubyforge_project:
|
325
|
-
rubygems_version: 2.4.
|
325
|
+
rubygems_version: 2.4.5
|
326
326
|
signing_key:
|
327
327
|
specification_version: 4
|
328
328
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|