1. 28 1月, 2017 2 次提交
  2. 27 1月, 2017 9 次提交
  3. 26 1月, 2017 6 次提交
  4. 25 1月, 2017 11 次提交
  5. 24 1月, 2017 6 次提交
  6. 23 1月, 2017 5 次提交
  7. 22 1月, 2017 1 次提交
    • K
      Make BigDecimal casting consistent on different platforms · 7ec30400
      Kir Shatrov 提交于
      Right now it behaves differently on JRuby:
      
      ```
      --- expected
      +++ actual
      @@ -1 +1 @@
      -#<BigDecimal:5f3c866c,'0.333333333333333333',18(20)>
      +#<BigDecimal:16e0afab,'0.3333333333333333',16(20)>
      ```
      
      My initial PR (https://github.com/rails/rails/pull/27324)
      offered to let the precision to be decided by the platform and
      change the test expection, but other contributors suggested
      that we should change the default precision in Rails
      to be consistent of all platforms.
      
      The value (18) comes from the max default precision that comes
      from casting Rational(1/3) to BigDecimal.
      7ec30400