Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | added find_zone and find_zone! to AS timezones and changed the AS Railtie to ↵ | Josh Kalderimis | 2011-04-05 | 1 | -0/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | use find_zone! as well as adding Railtie tests Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | | Raise on invalid timezone | Marc-Andre Lafortune | 2011-04-05 | 1 | -5/+26 | |
| |/ / |/| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | parse dates to yaml in json arrays | Diego Carrion | 2011-03-22 | 1 | -0/+2 | |
| | | | | | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | test json decoding with time parsing disabled with all backends and respect ↵ | Diego Carrion | 2011-03-22 | 1 | -4/+2 | |
| |/ |/| | | | | | | | | | ActiveSupport.parse_json_times when converting to yaml Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Prevent callbacks in child classes from being executed more than once. | Rolf Timmermans | 2011-03-13 | 1 | -0/+30 | |
|/ | ||||||
* | Add better test scenario for around callback return results | Aaron Pfeifer | 2011-03-08 | 1 | -0/+10 | |
| | ||||||
* | Allow access to a callback event's return result from around callbacks | Aaron Pfeifer | 2011-03-08 | 1 | -0/+24 | |
| | ||||||
* | removing stubs. 1.9.3 implements Date.today in C so mocking the return value ↵ | Aaron Patterson | 2011-03-07 | 1 | -9/+4 | |
| | | | | of Time.now does nothing | |||||
* | do not test explicit equality of predicate methods, they should be allowed ↵ | Aaron Patterson | 2011-03-07 | 1 | -3/+3 | |
| | | | | to return truthy or falsey objects | |||||
* | Report the correct value of nil.id in the exception message | Andrew White | 2011-03-06 | 1 | -0/+2 | |
| | | | | | | | as different ruby implementations may have different values, for example Rubinius returns 53 for nil.id. [#6444 state:resolved] | |||||
* | reverted tests deleted by 080345baca1076a9788d, refactored implementations ↵ | Diego Carrion | 2011-03-04 | 1 | -3/+13 | |
| | | | | | | should not invalidate the validations Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | adding deprecation noticies to deprecated class cache methods | Aaron Patterson | 2011-03-02 | 2 | -7/+28 | |
| | ||||||
* | adding backwards compat for class cache references. <3<3 | Aaron Patterson | 2011-03-02 | 2 | -7/+13 | |
| | ||||||
* | refactor Reference to a ClassCache object, fix lazy lookup in Middleware so ↵ | Aaron Patterson | 2011-03-01 | 2 | -3/+84 | |
| | | | | that anonymous classes are supported | |||||
* | fixing test case test on 1.9.3dev | Aaron Patterson | 2011-03-01 | 1 | -0/+4 | |
| | ||||||
* | Remove warnings about redefined test methods | Sam Elliott | 2011-03-01 | 1 | -4/+4 | |
| | | | | | | [#6490 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | updated Time, Date and DateTime current methods in AS to use Time.zone and ↵ | Josh Kalderimis | 2011-02-28 | 5 | -37/+38 | |
| | | | | | | not Time.zone_default. [#6410 state:committed] | |||||
* | Make ActiveSupport::Configurable work with modules | Oriol Gual and Josep M. Bach | 2011-02-28 | 1 | -1/+7 | |
| | | | | | | [#6486 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fix tests on 1.8. | José Valim | 2011-02-22 | 2 | -27/+8 | |
| | ||||||
* | Allow tests to proceed as soon as the payload changes, instead of always ↵ | wycats | 2011-02-20 | 1 | -15/+37 | |
| | | | | having to wait for a timeout | |||||
* | Add tests for an FSSM backend for the file system watcher using the FSSM ↵ | wycats | 2011-02-20 | 1 | -0/+153 | |
| | | | | polling support. | |||||
* | added Range#count? for Ruby 1.8 | Diego Carrion | 2011-02-19 | 1 | -0/+12 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | WeakHash is not used, remove it. | Emilio Tagua | 2011-02-18 | 1 | -33/+0 | |
| | ||||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-18 | 3 | -4/+8 | |
|\ | | | | | | | | | | | Conflicts: activerecord/lib/active_record/associations/association.rb activerecord/lib/active_record/fixtures.rb | |||||
| * | Remove unused line in test setup. | Ben Orenstein | 2011-02-17 | 1 | -1/+0 | |
| | | | | | | | | | | | | [#6442 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | handle double pluralization for irregular plurals | Dan Pickett | 2011-02-16 | 2 | -0/+8 | |
| | | | | | | | | | | | | [#6363] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | Remove unused code. | Ben Orenstein | 2011-02-16 | 1 | -3/+0 | |
| | | | | | | | | | | | | [#6437 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 20 | -94/+373 | |
|\| | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb | |||||
| * | Add Date#rfc3339 and Date#iso8601 to AS | Santiago Pastorino | 2011-02-13 | 1 | -0/+10 | |
| | | ||||||
| * | Updated the json date regex to recognize xmlschema formatted date times ↵ | Josh Kalderimis | 2011-02-12 | 1 | -0/+4 | |
| | | | | | | | | | | | | during json decoding. [#3031 state:resolved] Signed-off-by: Santiago Pastorino and Emilio Tagua <santiago+emilioe@wyeworks.com> | |||||
| * | Fixes an issue when decoding a json string which looks like a date but is ↵ | Josh Kalderimis | 2011-02-11 | 1 | -0/+2 | |
| | | | | | | | | | | | | invalid. This DateTime parse error is now caught and the original string is instead passed back [#6286 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵ | Josh Kalderimis | 2011-02-10 | 1 | -44/+0 | |
| | | | | | | | | | | | | the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | Revert "Removed Array#safe_join in AS core_ext and moved it to a view helper ↵ | José Valim | 2011-02-10 | 1 | -0/+44 | |
| | | | | | | | | | | | | | | | | with the same same." Applied the wrong version. This reverts commit 98c0c5db50a7679b3d58769ac22cb0a27a62c930. | |||||
| * | Removed Array#safe_join in AS core_ext and moved it to a view helper with ↵ | Josh Kalderimis | 2011-02-10 | 1 | -44/+0 | |
| | | | | | | | | the same same. | |||||
| * | Corrected the html_safe implementation for Array. Moved the html safe ↵ | Josh Kalderimis | 2011-02-10 | 1 | -13/+13 | |
| | | | | | | | | version of join to its own method (safe_join) as not to degrade the performance of join for unrelated html_safe use. [#6298 state:resolved] | |||||
| * | Initial html_safe implemention for Array | Paul Hieromnimon | 2011-02-10 | 1 | -0/+44 | |
| | | ||||||
| * | just use an attr_accessor so we do not pay ||= on every notification call | Aaron Patterson | 2011-02-09 | 1 | -2/+7 | |
| | | ||||||
| * | Add missing require | Santiago Pastorino and Emilio Tagua | 2011-02-09 | 1 | -1/+2 | |
| | | ||||||
| * | fix for AS Gzip returning a UTF-8 string in Ruby 1.9 when it is actually ↵ | Josh Kalderimis | 2011-02-09 | 1 | -0/+10 | |
| | | | | | | | | | | | | binary [#6386 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
| * | use === so that regular expressions are not required | Aaron Patterson | 2011-02-08 | 1 | -0/+10 | |
| | | ||||||
| * | Add initial FileWatcher implementation. The Backend is just an abstract ↵ | wycats | 2011-02-06 | 1 | -0/+65 | |
| | | | | | | | | implementation, which will be inherited by backends that do the heavy lifting. | |||||
| * | just < 1.9 is fine and 1.9.1 is not supported | Santiago Pastorino | 2011-02-03 | 1 | -3/+3 | |
| | | ||||||
| * | fix OrderedHash#each* methods to return Enumerators when called without a ↵ | Gabriel Horner | 2011-02-03 | 1 | -0/+6 | |
| | | | | | | | | | | | | block [#6366 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | Ruby 1.8.7+ provides to_date/to_datetime, AS just makes them public. | John Firebaugh | 2011-02-03 | 1 | -13/+3 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | Preserve fractional seconds in DateTime#to_time | John Firebaugh | 2011-02-03 | 1 | -0/+2 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | Fix tests providing valid JSON | Santiago Pastorino | 2011-02-02 | 1 | -2/+2 | |
| | | ||||||
| * | Fix JSON decoding of newline character with Yaml backend [#3479 state:resolved] | Maxime RETY | 2011-02-02 | 1 | -1/+5 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | OrderedHash#each* methods return self like Hash does [#6364 state:resolved] | Gabriel Horner | 2011-02-02 | 1 | -3/+3 | |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵ | John Firebaugh | 2011-01-31 | 2 | -2/+2 | |
| | | | | | | | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
| * | make sure we play nicely when syck is activated | Aaron Patterson | 2011-01-28 | 1 | -0/+22 | |
| | |