activesupport 4.1.6.rc1 → 4.1.6.rc2

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: 3d2ea00af1f197c41028724af07db2e1c8c8cff1
4
- data.tar.gz: b6675d1850ac9d41fe34bea0041e50a101d7f269
3
+ metadata.gz: 3e741ed73ae7f1f725963ff16e60fa86097381b6
4
+ data.tar.gz: f97a8d0996539179a2a724a4e9b238321e266ced
5
5
  SHA512:
6
- metadata.gz: b4f88f35b597ac7a66476d5e9559cd014255a5a794d131a4bed0c923e68fe7443c1c98a7aadcf1d23181aba2ffe093516c283f34ab5d1e8445b651afbe89e5f4
7
- data.tar.gz: a8431a4c8968255985c4068cdf2b299ace86dc24f26db8405f01cfa69fef17d6b861e26ae0be734ceb829dd7bb6b2d6ac0ee622d653a99c2eed3f243c0080b0d
6
+ metadata.gz: ebce564426c008de1fb99f17233c7db20819dd7515aee6eb7b0826667cf4f0fce5423a4c633a930823ce73b9acda7eae292ac52682228b6a26ba655763f86a47
7
+ data.tar.gz: 93760398112b4e8f9ad4ff62312ab0e80771826baf24f30a3ddf772537fc74c650d660c8d8e108fd7272a8ec48b9bc512d0b936afb4a643d3f985c4406e4eb21
@@ -1,4 +1,4 @@
1
- ## Rails 4.1.6 (August 19, 2014) ##
1
+ ## Rails 4.1.6 (September 8, 2014) ##
2
2
 
3
3
  * Fix DateTime comparison with DateTime::Infinity object.
4
4
 
@@ -8,7 +8,7 @@ module ActiveSupport
8
8
  MAJOR = 4
9
9
  MINOR = 1
10
10
  TINY = 6
11
- PRE = "rc1"
11
+ PRE = "rc2"
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
14
14
  end
@@ -59,7 +59,7 @@ module ActiveSupport
59
59
  end
60
60
 
61
61
  def digit_count(number)
62
- (Math.log10(absolute_number(number)) + 1).floor
62
+ number.zero? ? 1 : (Math.log10(absolute_number(number)) + 1).floor
63
63
  end
64
64
 
65
65
  def strip_insignificant_zeros
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.6.rc1
4
+ version: 4.1.6.rc2
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-08-19 00:00:00.000000000 Z
11
+ date: 2014-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
336
  version: 1.3.1
337
337
  requirements: []
338
338
  rubyforge_project:
339
- rubygems_version: 2.3.0
339
+ rubygems_version: 2.2.2
340
340
  signing_key:
341
341
  specification_version: 4
342
342
  summary: A toolkit of support libraries and Ruby core extensions extracted from the