Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 31, 2009
  1. @josh

    Duplicating the options hash in Date#advance to prevent modification …

    Jay Pignata authored josh committed
    …of the original [#1133 state:resolved]
    
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
Commits on Aug 10, 2009
  1. @brynary @jeremy
Commits on Aug 9, 2009
  1. @lifo

    Fix that Hash#to_xml and Array#to_xml shouldn't modify their options …

    David Burger authored lifo committed
    …hashes [#672 state:resolved] [David Burger, Dana Jones]
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  2. @hugopeixoto @lifo

    Fixed the end_of_* to work with Time.usec (and Time.nsec in ruby1.9) [#…

    hugopeixoto authored lifo committed
    …1225 status:resolved]
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
  3. @marcandre @jeremy

    Enumerable#sum now works will all enumerables, even if they don't res…

    marcandre authored jeremy committed
    …pond to :size
    
    [#2489 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Aug 2, 2009
  1. @jeremy

    Extract String#bytesize shim

    jeremy authored
Commits on Jul 1, 2009
  1. @jeremy
  2. Move mocha down below initial T::U require and bump version to 0.9.7 [#…

    Yehuda Katz + Carl Lerche authored
    …2858 state:resolved]
Commits on Jun 19, 2009
  1. @jeremy
Commits on Jun 18, 2009
  1. @jeremy
Commits on Jun 13, 2009
  1. @jeremy

    Bytes calculation speed up

    Luca Guidi authored jeremy committed
    [#2800 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Jun 9, 2009
  1. @jeremy
  2. @jeremy
Commits on Jun 8, 2009
  1. @jeremy

    Don't rely on Rails.logger

    jeremy authored
Commits on May 10, 2009
  1. @JohnSmall @NZKoz

    Add configuration options for :dasherize and :camelize calls to Hash#…

    JohnSmall authored NZKoz committed
    …to_xml
    
    People using ActiveResource & REST to integrate with other systems need to be able to control the default dasherize behavior of Hash.to_xml.
    Currently there is no test for a default value, but existing code asssumes it's true. This patch adds tests for the default value and adds
    mattr_accessor to ActiveSupport for :dasherize_xml and :camelize_xml. These module attributes set the defaults for :dasherize and :camelize in
    rename_keys inside Hash#to_xml. The tests have been changed to separate out the testing of the parameter options for :camelize
    and :dasherize so that we only test one thing at a time. We also test default values for :camelize_xml and :dasherize_xml.
    
    The module attribute dasherize_xml is set to true in this patch to maintain existing code. But at some point in the future it should be set to
    false because Hash#to_xml probably should not set underscores to dashes by default.
    
    Changed documentation on ActiveResource#to_xml to correctly describe the behaviour of Hash#to_xml. The previous documentation said that
    the default for :dasherize was false, in fact it was and still is true, but we now have a way to change the default. I've also added
    documentation for the :camelize option.
    
    Signed-off-by: Michael Koziarski <michael@koziarski.com>
Commits on May 4, 2009
  1. @NZKoz

    Remove stray underscore from the hash conversion methods which broke …

    codebrulee authored NZKoz committed
    …backwards compatibility with Hash.from_xml
    
    Also add an all-caps test to prevent future regressions
Commits on Apr 17, 2009
  1. @jeremy
Commits on Mar 16, 2009
  1. @lifo

    Merge docrails

    lifo authored
Commits on Mar 12, 2009
  1. @lifo

    Use xmlschema when serializing TimeWithZones to xml [#2223 state:reso…

    Jonathan del Strother authored lifo committed
    …lved]
    
    When using Hash#to_xml, any TimeWithZone objects now use xmlschema (iso8601), rather than a simple TimeWithZone#to_s.
    
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  2. @bfolkens @lifo

    Ensure HWIA#reverse_merge! retrurns HWIA [#421 state:resolved]

    bfolkens authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Mar 7, 2009
  1. @samgranieri @lifo

    Allow String#parameterize to accept a separator [#2157 state:resolved]

    samgranieri authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Commits on Feb 27, 2009
  1. @dhh
Commits on Feb 22, 2009
  1. @guillermo @dhh

    Deprecated warnings for :skip_last_command and :connector of to_sente…

    guillermo authored dhh committed
    …nce [#1847 state:committed]
    
    Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Commits on Feb 21, 2009
  1. @jeremy

    Broaden URI.unescape fix to all affected 1.9.x by checking for broken…

    jeremy authored
    … behavior instead of specific patchlevel
  2. @jeremy
  3. @moro @jeremy

    Ruby 1.9.1p0's URI.decode() bug fix

    moro authored jeremy committed
    backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005].
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Feb 20, 2009
  1. @brunetton @josh

    Make atomic_write() puts the check_file in the cache dir, not in appl…

    brunetton authored josh committed
    …ication
    
    root [#1962 state:resolved]
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
Commits on Feb 11, 2009
  1. @willbryant @jeremy

    Array#wrap should use #to_ary so association collections and named sc…

    willbryant authored jeremy committed
    …opes are not re-wrapped
    
    [#1935 state:committed]
    
    Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Commits on Feb 10, 2009
  1. @zdzolton @gbuesing

    Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and n…

    zdzolton authored gbuesing committed
    …on-standard %z directive [#1899 state:resolved]
Commits on Feb 6, 2009
  1. @jeremy
  2. @jeremy

    Avoid circular require

    jeremy authored
  3. @jeremy

    Introduce Array.wrap(foo) to wrap the argument in an array unless it'…

    jeremy authored
    …s already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable.
Commits on Feb 1, 2009
  1. @lifo

    Merge docrails

    lifo authored
Commits on Jan 18, 2009
  1. @lifo

    Merge docrails

    lifo authored
  2. @joshsusser @lifo

    Refactor Object#try to use inheritance. [#1774 state:resolved]

    joshsusser authored lifo committed
    Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Something went wrong with that request. Please try again.