Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-02-05 | 1 | -4/+8 |
|\ | |||||
| * | Change Time.zone= docs. | Brian Morearty | 2011-02-04 | 1 | -4/+8 |
| | | | | | | | | | | Update the example to show how to reset the current thread's Time.zone upon exiting a request. | ||||
* | | Remove stupid mistake | Santiago Pastorino | 2011-02-04 | 1 | -1/+0 |
| | | |||||
* | | git am is better here | Santiago Pastorino | 2011-02-04 | 1 | -0/+1 |
| | | |||||
* | | 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 | 2 | -0/+9 |
| | | | | | | | | | | | | 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 | 2 | -35/+3 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Preserve fractional seconds in DateTime#to_time | John Firebaugh | 2011-02-03 | 2 | -1/+3 |
| | | | | | | | | 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 | 2 | -3/+11 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | OrderedHash#each* methods return self like Hash does [#6364 state:resolved] | Gabriel Horner | 2011-02-02 | 2 | -3/+6 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Ensure I18n setup is only executed once if triggered on eager loading [#6353 ↵ | Saimon Moore | 2011-02-01 | 1 | -12/+20 |
| | | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Additionally trigger i18n configuration setup before any eager loading ↵ | Saimon Moore | 2011-02-01 | 1 | -4/+11 |
| | | | | | | | | | [#6353 state:resolved] This handles the case where config.cache_classes is true and classes are loaded before the I18n load path has had a chance to be populated. 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 | 3 | -6/+6 |
| | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | make sure we play nicely when syck is activated | Aaron Patterson | 2011-01-28 | 2 | -5/+30 |
| | |||||
* | Psych correctly gets visitor for SafeBuffer from superclass | brainopia | 2011-01-28 | 1 | -2/+5 |
| | |||||
* | Remove unneeded yaml_as declaration | brainopia | 2011-01-28 | 1 | -2/+0 |
| | |||||
* | load psych by default if possible | Aaron Patterson | 2011-01-28 | 1 | -0/+5 |
| | |||||
* | use ! " " YAML string literal syntax rather than removing both quotes | Aaron Patterson | 2011-01-21 | 2 | -7/+5 |
| | |||||
* | prefering psych as the yaml parser if possible, fixing assertions for YAML ↵ | Aaron Patterson | 2011-01-21 | 3 | -2/+18 |
| | | | | 1.1 compatibility | ||||
* | fixing psych support in big decimal, fixing tests to support YAML 1.1 | Aaron Patterson | 2011-01-21 | 2 | -4/+11 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-01-20 | 1 | -113/+116 |
|\ | |||||
| * | editing comments regarding rescuable optoin in AS callbacks | Neeraj Singh | 2011-01-12 | 1 | -2/+3 |
| | | |||||
| * | Expand and clarify AS::Callbacks docs. | John Firebaugh | 2011-01-09 | 1 | -113/+115 |
| | | |||||
| * | Revert "Update CHANGELOGs to include 3.0.3 changes" | Xavier Noria | 2011-01-02 | 1 | -9/+1 |
| | | | | | | | | | | | | | | Reason: Sorry, CHANGELOGs can only be edited in master. If you provide a patch I'll apply it myself. Thanks! This reverts commit 1f8ecb85d7c1b3efdf45c3cf3461502b608c1a7c. | ||||
| * | Update CHANGELOGs to include 3.0.3 changes | Prem Sichanugrist | 2011-01-02 | 1 | -1/+9 |
| | | |||||
* | | removing usesless variable assignments | Aaron Patterson | 2011-01-18 | 1 | -1/+5 |
| | | |||||
* | | fixed a missing require that causes trouble when using AS in a non-rails env. | Nick Sutterer | 2011-01-18 | 5 | -1/+6 |
| | | |||||
* | | Class.__subclasses__ was removed from Rubinius. | John Firebaugh | 2011-01-18 | 1 | -34/+20 |
| | | | | | | | | | | https://github.com/evanphx/rubinius/issues/issue/11 https://github.com/evanphx/rubinius/commit/2fccbb5dad5cb3f5414d635547290538cfc0a2d4 | ||||
* | | ordering can change depending on ruby version, so parse the JSON and verify ↵ | Aaron Patterson | 2011-01-17 | 1 | -3/+10 |
| | | | | | | | | data structure equality | ||||
* | | Complex struct encoding fix | Alexey Nayden | 2011-01-15 | 1 | -0/+6 |
| | | | | | | | | | | | | [#6077 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | Complex struct encoding test | Alexey Nayden | 2011-01-15 | 1 | -0/+23 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | fixing whitespace errors | Aaron Patterson | 2011-01-12 | 1 | -1/+1 |
| | | |||||
* | | Fixed various isolated test missing requires within AS. | Josh Kalderimis | 2011-01-12 | 3 | -2/+6 |
| | | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | In AS, only inflector/methods is need in proxy_wrappers.rb, as well as date, ↵ | Josh Kalderimis | 2011-01-12 | 4 | -4/+4 |
| | | | | | | | | | | | | date_time, and time conversions.rb. This fixes an issue when requiring json and AS saying that i18n is also required. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | | adding to_d to BigDecimal | Aaron Patterson | 2011-01-10 | 2 | -1/+10 |
| | | |||||
* | | corrected docs for Hash#to_xml and added examples. | Nick Sutterer | 2011-01-06 | 1 | -2/+14 |
| | | |||||
* | | added tests for XmlMini#to_tag. | Nick Sutterer | 2011-01-06 | 1 | -42/+81 |
| | | |||||
* | | make our yaml output consistent | Aaron Patterson | 2011-01-04 | 2 | -6/+2 |
| | | |||||
* | | add Psych::SyntaxError to the list of rescued YAML exceptions | Aaron Patterson | 2011-01-04 | 1 | -1/+8 |
| | | |||||
* | | test that the custom ordered hash can be round-tripped | Aaron Patterson | 2011-01-04 | 2 | -5/+17 |
| | | |||||
* | | require Psych if possible, use Psych output when enabled | Aaron Patterson | 2011-01-04 | 1 | -1/+14 |
| | | |||||
* | | use dots for method calls | Aaron Patterson | 2011-01-04 | 1 | -3/+8 |
| | | |||||
* | | Implement deprecated version of AssociationReflection#primary_key_name, ↵ | Jon Leighton | 2011-01-03 | 1 | -1/+1 |
|/ | | | | which has been renamed to #foreign_key. Also bumping the deprecation_horizon in Active Support to 3.1. | ||||
* | Fix Duration#to_json | Pratik Naik | 2010-12-29 | 2 | -0/+9 |
| | |||||
* | while defining callbacks option :rescuable => true | Neeraj Singh | 2010-12-29 | 1 | -1/+30 |
| | | | | | | | can be passed. There were no tests for this case. This patch adds a test for :rescuable => true option. | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2010-12-23 | 4 | -2/+19 |
|\ | |||||
| * | expand on set_callback method to explain that in | Neeraj Singh | 2010-12-21 | 1 | -0/+4 |
| | | | | | | | | some cases an implicit :before is assumed | ||||
| * | Improve documentation on ActiveSupport::Deprecation. | Ryan Bigg | 2010-12-21 | 3 | -2/+15 |
| | | |||||
* | | Fix activesupport tests. These classes are not used anywhere | Piotr Sarnacki | 2010-12-22 | 1 | -12/+0 |
| | |