Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move capture to Kernel. [#5641 state:resolved] | Krekoten' Marjan | 2010-09-18 | 1 | -0/+5 |
| | |||||
* | fixed some issues with JSON encoding | Jakub Suder | 2010-09-07 | 1 | -1/+64 |
| | | | | | | | | | | | - as_json in ActiveModel should return a hash and handle :only/:except/:methods options - Array and Hash should call as_json on their elements - json methods should not modify options argument [#5374 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add before_remove_const callback to ↵ | Andrew White | 2010-09-01 | 1 | -0/+11 |
| | | | | | | ActiveSupport::Dependencies.remove_unloadable_constants! Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
* | delegate method should treat :prefix => false same as :prefix => nil | Neeraj Singh | 2010-09-01 | 1 | -0/+13 |
| | | | | | | [#5375 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 ↵ | Krekoten' Marjan | 2010-09-01 | 1 | -0/+8 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | If certain sections of skip_callback method are commented out then | Neeraj Singh | 2010-08-31 | 1 | -0/+27 |
| | | | | | | | no test was failing. Tests have been added to ensure that commenting out the code within if loop would cause test failure. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | let String#strip_heredoc handle blank lines even if they are not indented | Xavier Noria | 2010-08-30 | 1 | -0/+9 |
| | |||||
* | implements String#strip_heredoc | Xavier Noria | 2010-08-29 | 1 | -0/+23 |
| | |||||
* | Silence warnings for Encoding.default_external= and Encoding.default_internal= | Santiago Pastorino | 2010-08-22 | 1 | -3/+6 |
| | |||||
* | Set default_internal and default_external on AS for testing purposes | Santiago Pastorino | 2010-08-22 | 1 | -0/+8 |
| | |||||
* | Trifling typos | Raphomet | 2010-08-21 | 1 | -2/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Sadly, this segv's in 1.8 :( | wycats | 2010-08-17 | 1 | -5/+5 |
| | |||||
* | to_sentence should return a duplicate | Matthew Mongeau | 2010-08-17 | 1 | -0/+5 |
| | |||||
* | Class Attribute setter returns set value | Peter Wagenet | 2010-08-16 | 1 | -0/+5 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | code gardening: we have assert_(nil|blank|present), more concise, with ↵ | Xavier Noria | 2010-08-17 | 1 | -2/+2 |
| | | | | better default failure messages - let's use them | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 29 | -165/+165 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | adds test coverage to ensure DateTime#advance processes first the date ↵ | Xavier Noria | 2010-08-05 | 1 | -12/+19 |
| | | | | deltas, and then the time deltas | ||||
* | adding test for respond_to cache_key and cleaning up the ENV settings | Neeraj Singh | 2010-07-28 | 1 | -14/+33 |
| | |||||
* | test cases for rails_app_version in AS cache.rb | Neeraj Singh | 2010-07-28 | 1 | -0/+14 |
| | |||||
* | adding more test cases for expand_cache_key | Neeraj Singh | 2010-07-28 | 1 | -0/+10 |
| | |||||
* | adds test coverage for edge-cases of Array.wrap, and better documentation ↵ | Xavier Noria | 2010-07-28 | 1 | -0/+20 |
| | | | | for how it differs from Kernel#Array | ||||
* | This is a hash in 1.9.2 | Santiago Pastorino | 2010-07-26 | 1 | -1/+1 |
| | |||||
* | fixing space errors | Aaron Patterson | 2010-07-26 | 1 | -4/+4 |
| | |||||
* | Test to ensure that falsy objects aren't wrapped by deprecation proxies | Leigh Caplan | 2010-07-26 | 1 | -0/+22 |
| | |||||
* | XmlMini.rename_key emits valid xml with dasherize | Bernerd Schaefer | 2010-07-26 | 1 | -0/+49 |
| | | | | | | | | This resolves issues for libraries which use '_' prefixed keys in their attributes hash, such as Mongoid. A key like "_id" or "_type" will no longer be converted to "<-id>" and "<-type>". Signed-off-by: wycats <wycats@gmail.com> | ||||
* | This is for making sure const_missing is triggered without warnings | Santiago Pastorino | 2010-07-26 | 2 | -5/+8 |
| | |||||
* | strengthening the test suite for rescue_from | Neeraj Singh | 2010-07-26 | 1 | -0/+23 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | strengthening the rescue_from test suites | Neeraj Singh | 2010-07-26 | 1 | -0/+14 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix a bug where requires inside of autoloads were being added to the ↵ | wycats | 2010-07-26 | 4 | -0/+61 |
| | | | | autoloaded_constants list, causing mayhem. [#5165 state:resolved] | ||||
* | Object#returning removed | Santiago Pastorino | 2010-07-25 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Revert the previous three commits. | José Valim | 2010-07-25 | 1 | -9/+0 |
| | | | | | | * AS::Notifications#instrument should not measure anything, it is not its responsibility; * Adding another argument to AS::Notifications#instrument API needs to be properly discussed; | ||||
* | use a hash to collect optional statistics about the instrumentation | Aaron Patterson | 2010-07-25 | 1 | -0/+9 |
| | |||||
* | Removing one AS/lib ruby and rake adds to $LOAD_PATH | Santiago Pastorino | 2010-07-25 | 1 | -0/+1 |
| | |||||
* | Get rid of instrumenter.elapsed. | José Valim | 2010-07-24 | 1 | -9/+0 |
| | |||||
* | Make this test, test again | Santiago Pastorino | 2010-07-24 | 1 | -2/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Removes unused vars | Santiago Pastorino | 2010-07-24 | 8 | -9/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Makes restore previosly saved warnings_on_first_load value and avoid warning | Santiago Pastorino | 2010-07-24 | 1 | -0/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | These tests are trusting in the order of the elements so use OrderedHash ↵ | Santiago Pastorino | 2010-07-21 | 1 | -2/+3 |
| | | | | instead of Hash | ||||
* | Test Hash#to_param escapes keys and values | Santiago Pastorino | 2010-07-22 | 1 | -0/+4 |
| | | | | [#5175] | ||||
* | Hash#to_param is doesn't use sort anymore, some tests added for Hash#to_param | Santiago Pastorino | 2010-07-22 | 1 | -0/+25 |
| | |||||
* | Add a test for elapsed and require missing benchmark file. | José Valim | 2010-07-20 | 1 | -17/+13 |
| | |||||
* | fix mixed encoding logs can't be logged. | Kouhei Sutou | 2010-07-19 | 2 | -1/+19 |
| | | | | | | | [#4807 state:committed] Signed-off-by: Kouhei Sutou <kou@cozmixng.org> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Float comparison adjustment | Santiago Pastorino | 2010-07-18 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't rely on implementation-specific order-dependence of array comparisons ↵ | Nick Sieger | 2010-07-17 | 1 | -4/+5 |
| | | | | | | in unit tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | We shouldn't rely on float comparison, delta added just in case float ↵ | Santiago Pastorino | 2010-07-12 | 1 | -3/+3 |
| | | | | representation of this values aren't equal | ||||
* | Improve bang method defs, make slice! operate in-place. [#5028 state:resolved] | Norman Clarke | 2010-07-08 | 1 | -16/+25 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Define a convention for descendants and subclasses. | José Valim | 2010-07-05 | 3 | -73/+24 |
| | | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts. | ||||
* | Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfo | Santiago Pastorino | 2010-07-02 | 1 | -2/+4 |
| | | | | | | [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | AS json refactor, move to_json implementation to core_ext and a cleanup a ↵ | Santiago Pastorino | 2010-07-01 | 1 | -0/+1 |
| | | | | bit the code | ||||
* | fix failure if behavior is not define and try use the default | Cyril Mougel | 2010-07-01 | 1 | -0/+7 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> |