Jeremy Kemper
005b40194e
Convert bigdecimal extension modules to class reopens
2009-03-21 04:35:16 -07:00
Jeremy Kemper
83fd1ae122
Convert array extension modules to class reopens
2009-03-21 04:35:16 -07:00
Jeremy Kemper
d5e87e3be0
Simple singleton. We don't need the full monty.
2009-03-21 04:35:16 -07:00
Jeremy Kemper
a970e32c91
Only require builder at startup if we need to monkey with its String#to_xs demands
2009-03-21 04:35:16 -07:00
Jeremy Kemper
dd15a3fee0
Prefer a less intrusive BlankSlate-alike that doesn't hook Object# and Kernel#method_added to remove future methods
2009-03-21 04:35:15 -07:00
Jeremy Kemper
a4e3aac40a
* Introduce ActiveSupport.core_ext Integer, %w(conversions time etc)
...
* Convert some extension modules to simply reopening the class
* Remove deprecated Float time extensions
* Fold Base64 extension into ActiveSupport::Base64 since stdlib Base64 is gone
2009-03-21 04:35:15 -07:00
Pratik Naik
18eb80ccc7
Merge docrails
2009-03-16 11:28:36 +00:00
David Heinemeier Hansson
73fc42cc0b
Prepare for final 2.3 release
2009-03-15 22:06:50 -05:00
Jonathan del Strother
9230678104
Use xmlschema when serializing TimeWithZones to xml [ #2223 state:resolved]
...
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>
2009-03-12 18:35:49 +00:00
Bradford Folkens
aa57e66fec
Ensure HWIA#reverse_merge! retrurns HWIA [ #421 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 15:03:01 +00:00
Ubiratan Pires Alberton
7b382cb9e5
Reverted affe50105f7027a44eb6e9cfb56f5b3fc070b19b and added more JSON decoding tests.
...
Works on Ruby 1.8 and 1.9
[#1100 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-11 14:36:14 -07:00
Aaron Patterson
b9e021df97
adding more nokogiri tests and making the main rails tests pass
...
[#2190 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-10 22:11:15 -07:00
Henrik N
ea0e41d8fa
Make Inflector#parameterize correctly squeeze multi-character separators [ #1489 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-10 21:36:46 +00:00
Ken Collins
4b4e7caffa
The latest trunk of Mocha > 0.9.5 which addresses issue with MiniUnit compatibility uses namespaced integration classes.
...
[#2060 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-10 14:07:40 -07:00
Jeremy Kemper
37cf224fdb
Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for XmlMini backend tests.
2009-03-10 12:08:42 -07:00
Aaron Patterson
694998ee4f
Nokogiri backend for XmlMini
...
[#2190 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-10 11:56:19 -07:00
Jeremy Kemper
d4091d3bc7
Properly set up libxml includes. Don't include LibXML in toplevel.
...
[#2084 state:resolved]
2009-03-10 11:37:23 -07:00
Pratik Naik
affe50105f
Remove untested part from 9b9b2937ce3bef3bca9d22821e76c40cc74fa689
2009-03-10 18:16:10 +00:00
Tim Pope
9b9b2937ce
Properly decode \u escape sequences in JSON [ #1100 state:resolved] [Tim Pope, Philip Hallstrom]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-10 17:05:17 +00:00
Jeremy Kemper
4458edc882
Use the REXML parser by default. XmlMini.backend = 'LibXML' to use libxml-ruby.
2009-03-09 13:42:42 -07:00
Jeremy Kemper
87d82ef76e
Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0.
...
Delegate parsing to a switchable backend.
2009-03-09 13:00:57 -07:00
Jeremy Kemper
146511e018
Revert "Revert "XmlMini supports different backend parsers, starting with libxml""
...
Will change to require a known-working libxml-ruby.
This reverts commit a995a738ca10f9bef023689df70d26aad8931b9a.
2009-03-09 12:39:20 -07:00
David Heinemeier Hansson
a995a738ca
Revert "XmlMini supports different backend parsers, starting with libxml"
...
Spews a ton undefined method `default_keep_blanks=' for XML:Module errors.
This reverts commit 822c41d69d9228c9912d29ac45155d3a16bb5c50.
2009-03-09 19:00:21 +01:00
Bart ten Brinke
822c41d69d
XmlMini supports different backend parsers, starting with libxml
...
[#2084 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-08 13:41:25 -07:00
Jeremy Kemper
1c36172c13
Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.
...
[#1617 state:resolved]
2009-03-08 13:11:58 -07:00
George Ogata
7438788481
Make Chars#slice! behave more like String#slice! [ #1243 state:resolved]
...
- Chars#slice! now returns the slice instead of itself
- Chars#slice! now removes the slice from itself
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-07 22:41:11 +00:00
Sam Granieri
20d3892f46
Allow String#parameterize to accept a separator [ #2157 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-07 10:54:27 +00:00
Niels Ganser
c67d25e3c4
Ensure ActiveSupport::Memoizable respects private methods. [ #2138 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-06 14:41:13 +00:00
David Heinemeier Hansson
dfef3d8b14
Release RC2 today
2009-03-05 11:00:04 +01:00
Jeremy Kemper
9d13b9eed8
Fix OrderedHash#inspect recursion
2009-03-04 16:21:44 -08:00
Jeremy Kemper
cb53452438
Fix OrderedHash#to_hash to return self instead of a new hash with self as default value
2009-03-03 19:10:33 -08:00
Jeremy Kemper
a242abbad8
Skip backtrace filters if BACKTRACE environment variable is set
2009-03-03 19:10:12 -08:00
David Heinemeier Hansson
7058c1366e
So it didnt happen yesterday, but very soon! Just need the final details ironed out
2009-02-28 10:30:49 +01:00
Sven Fuchs
943d64b1c8
Vendorize i18n 0.1.3 gem (fixes issues with incompatible character encodings in Ruby 1.9) (Akira Matsuda) [ #2038 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-02-27 17:15:15 +01:00
David Heinemeier Hansson
77b0994c78
Prep for RC2 later today
2009-02-27 14:46:23 +01:00
David Heinemeier Hansson
6de83562f9
Force all internal calls to Array#to_sentence to use English [ #2010 state:resolved]
2009-02-27 14:22:39 +01:00
Jeremy Kemper
e56b3e4c0b
Update bundled memcache-client from 1.5.0.5 to 1.6.4.99.
...
See http://www.mikeperham.com/2009/02/15/memcache-client-performance/
2009-02-23 19:28:01 -08:00
Guillermo Álvarez
ff1afbd650
Deprecated warnings for :skip_last_command and :connector of to_sentence [ #1847 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-02-22 16:11:40 +01:00
Jeremy Kemper
f4391c362d
Update changelog for URI.unescape fix
...
[#2033 state:committed]
2009-02-20 18:41:42 -08:00
Jeremy Kemper
69bbbe9068
Broaden URI.unescape fix to all affected 1.9.x by checking for broken behavior instead of specific patchlevel
2009-02-20 18:38:18 -08:00
Jeremy Kemper
98ddc64782
URI.unescape fix removes the old unescape method
2009-02-20 18:25:02 -08:00
moro
3b3dbd7973
Ruby 1.9.1p0's URI.decode() bug fix
...
backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005].
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-02-20 18:18:39 -08:00
Bruno Duyé
3668a64170
Make atomic_write() puts the check_file in the cache dir, not in application
...
root [#1962 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-02-19 21:01:18 -06:00
Akira Matsuda
7c0e008973
Ruby 1.9 compat: fix JSON decoding to work properly with multibyte values
...
[#1969 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-02-17 11:58:53 -08:00
Levin Alexander
b91d98011c
Remove obsolete silence_warnings wrappers from TZInfo-dependent tests in ActiveSupport [ #1914 state:resolved]
2009-02-14 12:22:39 -06:00
Joshua Sierles
11b4a6d74d
Allow memcache-client versions > 1.5.x to override bundled version
...
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-02-12 13:16:27 -06:00
Jiri Zajpt
7ed2e6c463
Adding inflection of databases (usually we wouldn't amend the current defaults, but this seems to obvious) [ #1942 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-02-12 14:31:27 +01:00
Will Bryant
1a2a71333f
Array#wrap should use #to_ary so association collections and named scopes are not re-wrapped
...
[#1935 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-02-10 18:03:33 -08:00
Geoff Buesing
3c6bf82115
TimeWithZone#advance: leverage Hash#values_at and non-block form of #any? for a little less line noise, and a slight speedup (thanks raggi and Roman2K)
2009-02-09 23:12:47 -06:00
Geoff Buesing
16cc69af6f
Changelog update for previous commit
2009-02-09 23:11:21 -06:00