activesupport 4.1.8 → 4.1.9.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 +12 -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/gem_version.rb +2 -2
- data/lib/active_support/i18n_railtie.rb +5 -1
- data/lib/active_support/multibyte/unicode.rb +0 -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: 254de0c0e6cc1519e600b212cd1278a700b84032
|
4
|
+
data.tar.gz: fab8d1d64ec596f150b1f54e600f31c7e07ccc21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b50dfeecff5d7adabe8d03900a5cb1b43c4c08aaa11acb9fa5e8493b52bc8ed2ad24b010927a466f9969cf6d7a8fa1c612f03693fb4c365a620f5681f1a26bc
|
7
|
+
data.tar.gz: b791af5ba1c3f32bb68068e49598967fbaa145e6fafacf1b251693060ce0985bc7823cbdf73843d3be4f3aefbc79116fb0a5a99b7fbc5e560a836e70df5f6cbb
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,21 @@
|
|
1
|
+
## Rails 4.1.8 (November 16, 2014) ##
|
2
|
+
|
1
3
|
* `Method` objects now report themselves as not `duplicable?`. This allows
|
2
4
|
hashes and arrays containing `Method` objects to be `deep_dup`ed.
|
3
5
|
|
4
6
|
*Peter Jaros*
|
5
7
|
|
6
8
|
|
9
|
+
## Rails 4.1.7.1 (November 19, 2014) ##
|
10
|
+
|
11
|
+
* No changes.
|
12
|
+
|
13
|
+
|
14
|
+
## Rails 4.1.7 (October 29, 2014) ##
|
15
|
+
|
16
|
+
* No changes.
|
17
|
+
|
18
|
+
|
7
19
|
## Rails 4.1.6 (September 11, 2014) ##
|
8
20
|
|
9
21
|
* 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"
|
@@ -142,7 +142,11 @@ module ActiveSupport #:nodoc:
|
|
142
142
|
else
|
143
143
|
if html_safe?
|
144
144
|
new_safe_buffer = super
|
145
|
-
|
145
|
+
|
146
|
+
if new_safe_buffer
|
147
|
+
new_safe_buffer.instance_eval { @html_safe = true }
|
148
|
+
end
|
149
|
+
|
146
150
|
new_safe_buffer
|
147
151
|
else
|
148
152
|
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.1.
|
4
|
+
version: 4.1.9.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
|
@@ -331,12 +331,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
331
331
|
version: 1.9.3
|
332
332
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
333
333
|
requirements:
|
334
|
-
- - "
|
334
|
+
- - ">"
|
335
335
|
- !ruby/object:Gem::Version
|
336
|
-
version:
|
336
|
+
version: 1.3.1
|
337
337
|
requirements: []
|
338
338
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.4.
|
339
|
+
rubygems_version: 2.4.5
|
340
340
|
signing_key:
|
341
341
|
specification_version: 4
|
342
342
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|