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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b0153ef69fcd4a9684a50664fc213d49fc2e7a57
4
- data.tar.gz: cb497c1291d07f920ed222b47cf1f6c5fdc90a6b
3
+ metadata.gz: 8b5181d21fe283b776ceb44db47e430840f93224
4
+ data.tar.gz: ca9e4a124f2159d33a9f217a7be1af12fc1cb8f4
5
5
  SHA512:
6
- metadata.gz: bed78438d45c42f26e7e38c718e1f50c34883070075adddadd20d5a3c2d7b8328c77c79c421b304c8386d1fbd2bbbf429ca30bec698ed755b50eb842b83d4a55
7
- data.tar.gz: 5df075aa14006a7e77480f3c12c8c1598d1b53ea05142ef6dca6360b5f8b3fdcc58a9225f99554ea9b0bc60ec011bdf6b16e6698e595c2e96241f1eef72ee982
6
+ metadata.gz: cbca9c813a6dec72e04aee9fd8885d7ba293f1220293db454ed2f0db22e638aa70a3bf042631ba835a6ab269c1791e48716ba195b149409061b3c1c71b5d9272
7
+ data.tar.gz: ed7ad5e0a4d00451aaf2a90088d163e914e47088bd11661a2b8659f8bc1ce91076c025b7b56e6e75dda11f698783dfaaae7cbd0ff9946030d0c299acd9fbecc5
@@ -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 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"
@@ -102,7 +102,11 @@ module ActiveSupport #:nodoc:
102
102
  else
103
103
  if html_safe?
104
104
  new_safe_buffer = super
105
- new_safe_buffer.instance_eval { @html_safe = true }
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]
@@ -1,4 +1,5 @@
1
1
  require 'active_support/time_with_zone'
2
+ require 'active_support/core_ext/time/acts_like'
2
3
 
3
4
  class Time
4
5
  class << self
@@ -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
@@ -1,7 +1,7 @@
1
1
  module ActiveSupport
2
2
  # Returns the version of the currently loaded ActiveSupport as a Gem::Version
3
3
  def self.version
4
- Gem::Version.new "4.0.12"
4
+ Gem::Version.new "4.0.13.rc1"
5
5
  end
6
6
 
7
7
  module VERSION #:nodoc:
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.12
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: 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
@@ -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: '0'
322
+ version: 1.3.1
323
323
  requirements: []
324
324
  rubyforge_project:
325
- rubygems_version: 2.4.2
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