Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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> | |||||
* | Add the possibility to have several behaviors in AS::Deprecation. | José Valim | 2010-07-01 | 1 | -0/+13 | |
| | ||||||
* | Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵ | Alex Muntean | 2010-06-30 | 1 | -0/+1 | |
| | | | | | | offset is negative [#4717 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix AS::MB::Chars#+ to not alter self [#4646 state:resolved] | James MacAulay | 2010-06-30 | 1 | -7/+9 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Don't store incorrect values in zones_map | Santiago Pastorino | 2010-06-28 | 2 | -4/+2 | |
| | | | | | | [#4942 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | test that unknown zones don't store mapping keys | Leigh Caplan | 2010-06-28 | 1 | -0/+5 | |
| | | | | | | | [#4942] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Added getbyte as a core_ext to Ruby < 1.9 | Santiago Pastorino | 2010-06-27 | 1 | -0/+8 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Oops. Make previous commit pass on 1.9.2. | José Valim | 2010-06-26 | 1 | -1/+2 | |
| | ||||||
* | Tidy up tests in previous commit since they did not assure an OrderedHash is ↵ | José Valim | 2010-06-26 | 1 | -3/+2 | |
| | | | | | | returned (the test would pass for an array and would pass by chance for hashes). [#4875 state:resolved] | |||||
* | Add OrderedHash#invert to preserve order in ruby 1.8 [#4875] | chaitanyav | 2010-06-26 | 1 | -0/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Work around the fact the JSON gem was overwriting to_json implementation for ↵ | José Valim | 2010-06-26 | 1 | -0/+7 | |
| | | | | | | | all Ruby core classes. This is required because the JSON gem is incompatible with Rails behavior and was not allowing ActiveModel::Errors to be serialized. So we need to ensure Rails implementation is the one triggered. [#4890 state:resolved] | |||||
* | Alias ActiveSupport::OrderedHash#update to ActiveSupport::OrderedHash.merge! | Paul Mucur | 2010-06-25 | 1 | -0/+6 | |
| | | | | | | | | This ensures that an OrderedHash's keys are set up appropriately when using update. [#4973 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -0/+123 | |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | |||||
* | renames load_(once_)paths to autoload_(once_)paths in dependencies and config | Xavier Noria | 2010-06-24 | 1 | -18/+18 | |
| | ||||||
* | preventing memcached initialization errors with default servers list [#4921 ↵ | David Calavera | 2010-06-22 | 1 | -1/+1 | |
| | | | | | | | | state:resolved] As of this writing the JRuby client does not support a default port. Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | defines ORIG_ARGV in Active Support's abstract_unit.rb (used in ↵ | David Calavera | 2010-06-22 | 1 | -0/+2 | |
| | | | | | | isolation.rb) [#4922 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | adds parens to silence a warning in the test suite of AS | Xavier Noria | 2010-06-20 | 1 | -1/+1 | |
| | ||||||
* | Add ActiveSupport::FileUpdateChecker. | José Valim | 2010-06-20 | 1 | -0/+56 | |
| | ||||||
* | Adds titleize/titlecase to AS::Multibyte::Chars | Norman Clarke | 2010-06-20 | 1 | -0/+14 | |
| | | | | | | [#2794 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove descendants warning while executing tests. | José Valim | 2010-06-19 | 1 | -1/+1 | |
| | ||||||
* | Change callbacks to automatically include DescendantsTracker and rename ↵ | José Valim | 2010-06-19 | 1 | -2/+5 | |
| | | | | descendents to descendants. | |||||
* | Add ActiveSupport::DescendantsTracker. | José Valim | 2010-06-19 | 1 | -0/+72 | |
| | ||||||
* | when the timezone is nil, a TimeWithZone object should not be constructed. ↵ | Aaron Patterson | 2010-06-17 | 1 | -0/+7 | |
| | | | | | | [#4881 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | revises implementation of AS::OrderedHash#merge! | Xavier Noria | 2010-06-13 | 1 | -16/+17 | |
| | ||||||
* | Revert "hash merging with a block ignores non-existing keys altogether" | Xavier Noria | 2010-06-13 | 1 | -16/+17 | |
| | | | | | | This reverts commit 72f9fec607c4a72b2e88995d0cb32b16b96e9068. It is wrong, this feature is a little undocumented, doing some research. | |||||
* | hash merging with a block ignores non-existing keys altogether | Xavier Noria | 2010-06-13 | 1 | -17/+16 | |
| |