Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Merge pull request #27686 from koic/friendly_bigdecimal_inspect" | Kasper Timm Hansen | 2017-01-15 | 1 | -7/+0 |
| | | | | | | | | | | | | | The exact inspect output of a BigDecimal is out of scope for what we're trying to communicate about `dup` and `duplicable?` here. Adding two examples distracts is disctracting, so keep the docs from before since our minimal version is Ruby 2.2.2. [ Koichi ITO, Jon Moss, Kasper Timm Hansen ] This reverts commit 2163874dedaf83e67599c2930c2686caa165fbad, reversing changes made to 46fdbc5290335ed38fa9fe2b6b0ef8abe4eccb1b. | ||||
* | Several representation of BigDecimal has changed in Ruby 2.4.0+ [ci skip] | Koichi ITO | 2017-01-15 | 1 | -0/+7 |
| | | | | cf. https://github.com/ruby/bigdecimal/pull/42 | ||||
* | Fix style guide violations | Rafael Mendonça França | 2017-01-05 | 1 | -1/+1 |
| | |||||
* | Fix Symbol#duplicable? for Ruby 2.4.0. | Kasper Timm Hansen | 2017-01-01 | 1 | -1/+2 |
| | | | | | | | | | | | | | Ruby 2.4.0 has trouble duplicating certain symbols created from strings via `to_sym`. It didn't happen with `'symbol'.to_sym.dup` for some reason, but works fine with the longer string sample. Once a newer Ruby version with a fix is released we'll get have a failing test case we can fix. Ref: #27532 | ||||
* | Fix Complex and Rational are duplicable? | utilum | 2016-12-21 | 1 | -0/+20 |
| | | | | See [this test](https://gist.github.com/utilum/78918f1b64f8b61ee732cb266db7c43a). | ||||
* | change return value of `duplicable?` with Ruby 2.4+ | yuuji.yaginuma | 2016-12-13 | 1 | -33/+58 |
| | | | | | | | `NilClass`, `FalseClass`, `TrueClass`, `Symbol` and `Numeric` can dup with Ruby 2.4+. Ref: https://bugs.ruby-lang.org/issues/12979 | ||||
* | applies new string literal convention in activesupport/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Support for unified Integer class in Ruby 2.4+ | Jeremy Daer | 2016-05-18 | 1 | -1/+1 |
| | | | | | | | | Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005 * Forward compat with new unified Integer class in Ruby 2.4+. * Backward compat with separate Fixnum/Bignum in Ruby 2.2 & 2.3. * Drops needless Fixnum distinction in docs, preferring Integer. | ||||
* | Tiny documentation edits [ci skip] | Robin Dupret | 2015-07-28 | 1 | -1/+1 |
| | |||||
* | improve duplicable documentation [ci skip] | Julio Lopez | 2015-07-10 | 1 | -1/+5 |
| | |||||
* | Remove some comments about Ruby 1.9 behaviors | Rafael Mendonça França | 2015-01-04 | 1 | -1/+1 |
| | |||||
* | Remove hack to support BigDecimal in Ruby 1.9 | claudiob | 2015-01-04 | 1 | -11/+2 |
| | | | | | Now that Rails requires Ruby >= 2.0, there is no need to check whether `BigDecimal` exists or not. | ||||
* | Methods are not duplicable. | Peter Jaros | 2014-09-03 | 1 | -0/+10 |
| | |||||
* | [ci skip] BigDecimal#duplicable? returns false in 1.9.x | Akshay Vishnoi | 2014-06-13 | 1 | -1/+1 |
| | |||||
* | Object#duplicable? | Akshay Vishnoi | 2014-04-16 | 1 | -0/+3 |
| | | | | | | 1. Improve tests 2. Remove unnecessary constant 3. Add docs for BigDecimal#duplicable? | ||||
* | update some AS code examples to 1.9 hash syntax [ci skip] | Francesco Rodriguez | 2012-09-12 | 1 | -5/+0 |
| | |||||
* | Fix documentation around duplicable regarding Class and Module. | Mark McSpadden | 2012-05-17 | 1 | -1/+1 |
| | |||||
* | Remove special cases for duplicable? on Class and Module | Mark McSpadden | 2012-05-17 | 1 | -24/+0 |
| | |||||
* | probably should require the objects we monkey patch. | Aaron Patterson | 2012-03-20 | 1 | -0/+1 |
| | |||||
* | bigdecimal can be duped on Ruby 2.0 | Aaron Patterson | 2012-03-20 | 1 | -0/+12 |
| | |||||
* | Prevent duplicable comments from being the opening paragraph for Object docs | Evan Farrar | 2011-05-18 | 1 | -0/+2 |
| | |||||
* | remove unwanted Example headers as per the guidelines, s/instaces of ↵ | Xavier Noria | 2011-04-19 | 1 | -21/+36 |
| | | | | NilClass/nil/ and friends, completes some rdocs | ||||
* | Docs for +duplicable?+ | Sebastian Martinez | 2011-04-17 | 1 | -4/+28 |
| | |||||
* | explains the motivation for duplicable? | Xavier Noria | 2009-11-19 | 1 | -0/+16 |
| | |||||
* | Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵ | José Valim | 2009-10-17 | 1 | -1/+7 |
| | | | | responder to be set in the class level. | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | blank? and duplicable? are Object extensions | Jeremy Kemper | 2009-03-21 | 1 | -0/+43 |