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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8655801a35d2df66b55737a04fb9dc0e405294b
4
- data.tar.gz: f4c0ccac5d5fdccea1f59f17630fd19c03f87b34
3
+ metadata.gz: 254de0c0e6cc1519e600b212cd1278a700b84032
4
+ data.tar.gz: fab8d1d64ec596f150b1f54e600f31c7e07ccc21
5
5
  SHA512:
6
- metadata.gz: 069c37c55be96be2eac5c4ae1f12ae5fa9d2dafd8d269b173011472b2df24f506161dc3924d99ae595a259dcd1080cdc4127158a4d65f8ee5a62c25436a27729
7
- data.tar.gz: 290297efd0f01973407d676fe641551e869a399feb1beeac6581a3fc7814e2945b71ce86d4cb78be78bbfed90df4e75a0bfab91d3ca2bdcc3806351824d8def6
6
+ metadata.gz: 8b50dfeecff5d7adabe8d03900a5cb1b43c4c08aaa11acb9fa5e8493b52bc8ed2ad24b010927a466f9969cf6d7a8fa1c612f03693fb4c365a620f5681f1a26bc
7
+ data.tar.gz: b791af5ba1c3f32bb68068e49598967fbaa145e6fafacf1b251693060ce0985bc7823cbdf73843d3be4f3aefbc79116fb0a5a99b7fbc5e560a836e70df5f6cbb
@@ -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 like mongolian vowel separator (U+180E).
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
- new_safe_buffer.instance_eval { @html_safe = true }
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]
@@ -1,4 +1,5 @@
1
1
  require 'active_support/time_with_zone'
2
+ require 'active_support/core_ext/time/acts_like'
2
3
  require 'active_support/core_ext/date_and_time/zones'
3
4
 
4
5
  class Time
@@ -7,8 +7,8 @@ module ActiveSupport
7
7
  module VERSION
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
- TINY = 8
11
- PRE = nil
10
+ TINY = 9
11
+ PRE = "rc1"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -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
- enforce_available_locales = I18n.enforce_available_locales unless I18n.enforce_available_locales.nil?
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.8
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: 2014-11-16 00:00:00.000000000 Z
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: '0'
336
+ version: 1.3.1
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 2.4.2
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