Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | convert duration to an attr_reader | Aaron Patterson | 2010-07-17 | 1 | -6/+3 |
| | |||||
* | It's not needed to initialize the attr when calling mattr_writer | Santiago Pastorino | 2010-07-18 | 1 | -7/+1 |
| | |||||
* | drained? is never called | Aaron Patterson | 2010-07-17 | 1 | -4/+0 |
| | |||||
* | private method is not needed | Aaron Patterson | 2010-07-17 | 1 | -12/+2 |
| | |||||
* | removing Binding class | Aaron Patterson | 2010-07-17 | 1 | -14/+4 |
| | |||||
* | use === to avoid regular expression creation, and speed up string comparison | Aaron Patterson | 2010-07-17 | 1 | -9/+3 |
| | |||||
* | 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> | ||||
* | Revert "Improve performance of MessageVerifier while keeping it constant time" | wycats | 2010-07-13 | 1 | -4/+4 |
| | | | | This reverts commit 8b05c5207dd5757d55d0c384740db289e6bd5415. | ||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-13 | 1 | -3/+3 |
|\ | |||||
| * | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -3/+3 |
| | | |||||
* | | 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 | ||||
* | Merge remote branch 'docrails/master' | Xavier Noria | 2010-07-09 | 1 | -1/+1 |
|\ | |||||
| * | Minor typos: 'built-in' instead of 'built in', 'built into' instead of ↵ | Jaime Iniesta | 2010-07-09 | 1 | -1/+1 |
| | | | | | | | | 'built in to' | ||||
* | | Improve bang method defs, make slice! operate in-place. [#5028 state:resolved] | Norman Clarke | 2010-07-08 | 3 | -36/+33 |
|/ | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Define a convention for descendants and subclasses. | José Valim | 2010-07-05 | 8 | -128/+66 |
| | | | | | | 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. | ||||
* | Move Date#xmlschema to conversions and add a missing require | Santiago Pastorino | 2010-07-04 | 3 | -9/+12 |
| | |||||
* | Removes the dependency that AMo has on tzinfo | Santiago Pastorino | 2010-07-03 | 1 | -6/+6 |
| | | | | [#4979 state:committed] | ||||
* | Refactor move some date, time and date_time methods to */zones and fixed ↵ | Santiago Pastorino | 2010-07-03 | 9 | -24/+33 |
| | | | | some requires | ||||
* | Time#formatted_offset is defined in core_ext/time/conversions | Santiago Pastorino | 2010-07-02 | 1 | -0/+1 |
| | | | | [#4979] | ||||
* | Time#as_json: use Time#formatted_offset instead of strftime %z directive, ↵ | Geoff Buesing | 2010-07-02 | 1 | -1/+1 |
| | | | | | | | | which is non-standard and inaccurate on some platforms (e.g., Mac OS X). [#4979] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfo | Santiago Pastorino | 2010-07-02 | 2 | -4/+6 |
| | | | | | | [#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 | 6 | -36/+29 |
| | | | | bit the code | ||||
* | Avoid calls to Rails::Application since this is not the official API. | José Valim | 2010-07-01 | 1 | -6/+5 |
| | | | | Your application should *always* reference your application const (as Blog::Application) and Rails.application should be used just internally. | ||||
* | fix failure if behavior is not define and try use the default | Cyril Mougel | 2010-07-01 | 2 | -1/+8 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Add the possibility to have several behaviors in AS::Deprecation. | José Valim | 2010-07-01 | 4 | -3/+19 |
| | |||||
* | Merge remote branch 'rails/master' | Xavier Noria | 2010-06-30 | 12 | -65/+96 |
|\ | |||||
| * | add note of which configuration option to set in deprecation warning message ↵ | bodhi | 2010-06-30 | 1 | -3/+5 |
| | | | | | | | | | | | | [#5012 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Improve the idiom used in multibyte chars a bit. | José Valim | 2010-06-30 | 1 | -3/+3 |
| | | |||||
| * | Fix ActiveSupport::Multibyte::Chars#slice for empty strings when starting ↵ | Alex Muntean | 2010-06-30 | 2 | -1/+3 |
| | | | | | | | | | | | | offset is negative [#4717 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | Update Unicode database to 5.2.0. [#5011 state:resolved] | Norman Clarke | 2010-06-30 | 2 | -1/+1 |
| | | | | | | | | 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 | 2 | -8/+10 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
| * | performance tests now working accurately on 1.9, using Ruby with the GCdata ↵ | Gonçalo Silva | 2010-06-29 | 1 | -36/+18 |
| | | | | | | | | patch | ||||
| * | Add CHANGELOG for new deprecation style | wycats | 2010-06-29 | 1 | -0/+6 |
| | | |||||
| * | Create a deprecation behavior that triggers a notification for deprecation ↵ | wycats | 2010-06-29 | 2 | -9/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notices, and make the behaviors independent of the environment names. * In Rails 2.3 apps being upgraded, you will need to add the deprecation configuration to each of your environments. Failing to do so will result in the same behavior as Rails 2.3, but with an outputted warning to provide information on how to set up the setting. * New Rails 3 applications generate the setting * The notification style will send deprecation notices using ActiveSupport::Notifications. Third-party tools can listen in to these notifications to provide a streamlined view of the deprecation notices occurring in your app. * The payload in the notification is the deprecation warning itself as well as the callstack from the point that triggered the notification. | ||||
| * | Don't store incorrect values in zones_map | Santiago Pastorino | 2010-06-28 | 3 | -5/+7 |
| | | | | | | | | | | | | [#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> | ||||
| * | Implemented getbyte as an aliased method and RDoc added | Santiago Pastorino | 2010-06-28 | 1 | -3/+2 |
| | | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | ||||
| * | Makes more sense to ask about method_defined? | Santiago Pastorino | 2010-06-28 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | | Documentation for Array#sample | Thiago Pradi | 2010-06-28 | 1 | -0/+7 |
|/ | |||||
* | String#[] doesn't return the byte representation on 1.9.2, we should use ↵ | Santiago Pastorino | 2010-06-27 | 1 | -1/+1 |
| | | | | | | getbyte that was already added as a Ruby < 1.9 core_ext Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added getbyte as a core_ext to Ruby < 1.9 | Santiago Pastorino | 2010-06-27 | 2 | -0/+12 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Load JSON additions (as to_json) on active_support/all. | Santiago Pastorino | 2010-06-26 | 1 | -0/+1 |
| | | | | | | [#4730 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move constantize from conversions to inflections. | Santiago Pastorino | 2010-06-26 | 2 | -11/+11 |
| | | | | | | | | This removes ActiveModel dependency on TZInfo. [#4979 state:committed] 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 | 2 | -0/+10 |
| | | | | 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 | 2 | -5/+21 |
| | | | | | | | 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] | ||||
* | Move some methods into 1.8.x-only proxy. [#4978 state:resolved] | Norman Clarke | 2010-06-26 | 1 | -40/+39 |
| | | | | | | | | These methods had been overridden because they had bugs on 1.9.1. Since Rails now supports only 1.9.2, and these methods now work properly on that version, there's no longer any need to override them. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove previously defined class method logger to supress warnings in Active ↵ | rohit | 2010-06-26 | 1 | -0/+4 |
| | | | | | | Support test suites. [#4618 state:open] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Alias ActiveSupport::OrderedHash#update to ActiveSupport::OrderedHash.merge! | Paul Mucur | 2010-06-25 | 2 | -0/+8 |
| | | | | | | | | 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> |