aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
...
* Make I18n::Backend::Simple reload its translations in development mode [DHH]David Heinemeier Hansson2008-10-281-2/+9
|
* Follow style conventionsDavid Heinemeier Hansson2008-10-281-14/+14
|
* Merge with docrails. Also add a rake task to generate guides in your rails ↵Pratik Naik2008-10-211-2/+2
| | | | | | | | application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
* Bump active_support/vendor.rb tzinfo version number [#1237 state:resolved]Geoff Garside2008-10-201-1/+1
|
* TimeWithZone#freeze: preload instance variables so that we can actually freezegbuesing2008-10-191-2/+2
|
* Bundle TzInfo version 0.3.11gbuesing2008-10-19140-201/+251
|
* Simplified the implementation of the :prefix option.Daniel Schierbeck2008-10-191-1/+1
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#984 state:committed]
* Added documentation of the new :prefix option.Daniel Schierbeck2008-10-191-0/+25
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Made the :prefix option on Module#delegate accept a custom prefix.Daniel Schierbeck2008-10-191-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Added :prefix option to Module#delegate.Daniel Schierbeck2008-10-191-1/+3
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix Brasilia timezone. [#1180 state:resolved]Pratik Naik2008-10-172-1/+172
|
* Bring MemCacheStore and CompressedMemCacheStore inline with expected counter ↵Doug Barth2008-10-172-2/+10
| | | | | | manipulation semantics. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Fix cache counter semantics for MemoryCache, FileStoreCache, and ↵Doug Barth2008-10-171-0/+1
| | | | | | (presumably) the DRbStore. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Avoid warnings by undefining the old method transliterate.Michael Koziarski2008-10-141-0/+1
|
* Reverse the order of the iconv arguments to remain compatible with older ↵Michael Koziarski2008-10-141-1/+1
| | | | | | rubies / iconvs. [#1195 state:resolved]
* Added deprecated warning messages to Float#months and Float#years deprications.Tom Lea2008-10-131-2/+2
|
* Deprecated Float#years and Float#months, moved Numeric#years and ↵Tom Lea2008-10-135-10/+76
| | | | Numeric#months into Integer.
* Time#advance recognizes fractional days and weeks [#970 state:resolved]Tom Lea2008-10-131-0/+10
|
* Made i18n simple backend able to store false values (and not confuse them ↵Tarmo Tänav2008-10-093-3/+17
| | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Reduce memory usage slightly in String#parameterizeMichael Koziarski2008-10-071-5/+9
| | | | [#1034 state:committed]
* Extract transliteration code to a seperate method.Michael Koziarski2008-10-071-2/+17
| | | | Use iconv by default, but only when the transliteration is well behaved. When it isn't, fallback to mb_chars
* Fix a typo in ActiveSupport::Multibyte::NORMALIZATION_FORMS. [#1179 ↵Manfred Stienstra2008-10-061-2/+2
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix memoize_all for methods with punctuation [#1175 state:resolved]Eugene Pimenov2008-10-051-3/+7
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Merge docrailsPratik Naik2008-10-054-27/+61
|
* Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵Pratik Naik2008-10-041-20/+54
| | | | ActionController::Base.
* First draft of ActiveSupport::RescuableNorbert Crombach2008-10-041-0/+74
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* 1.8 compatibility for random_number method on SecureRandom.Michael Koziarski2008-10-041-2/+2
| | | | 1.9 has its own version.
* added nicer failure reporting to #assert_difference to tell you the ↵madlep2008-10-031-4/+7
| | | | | | | expression that failed rather than just the expected and actual values Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1161 state:committed]
* Provide alternate implementation of Object#subclasses_of for JRubyNick Sieger2008-10-031-12/+33
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed]
* slice now returns indifferent hash if called on oneadam2008-09-231-1/+1
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1096 state:committed]
* Modified ActiveSupport::Inflector#parameterize with code from slugalizer ↵Adam Cigánek2008-09-231-5/+11
| | | | | | | | | (http://github.com/henrik/slugalizer) Handles trailing and leading slashes, and squashes repeated separators into a single character. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1034 state:committed]
* Merge branch 'patches' into multibyteMichael Koziarski2008-09-221-1/+1
|\
| * Bump the Version constants to align with the *next* release rather than the ↵Michael Koziarski2008-09-221-1/+1
| | | | | | | | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants.
* | Change call to String#chars in inflector to String#mb_chars.Manfred Stienstra2008-09-211-1/+1
| |
* | Deprecated String#chars in favor of String#mb_chars.Manfred Stienstra2008-09-211-1/+4
| |
* | Add tests for u_unpack to make sure it raises an EncodingError on invalid ↵Manfred Stienstra2008-09-211-1/+1
| | | | | | | | UTF-8 strings.
* | Non-string results from forwarded methods should be returned vertabim.Manfred Stienstra2008-09-211-2/+3
| |
* | Improve documentation.Manfred Stienstra2008-09-214-67/+74
| |
* | All methods which normally return a string now return a proxy instance.Manfred Stienstra2008-09-211-2/+1
| |
* | Change all calls to String#chars to String#mb_chars.Manfred Stienstra2008-09-212-15/+15
| |
* | Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9.Manfred Stienstra2008-09-2112-966/+848
|/ | | | | | * Unicode methods are now defined directly on Chars instead of a handler * Updated Unicode database to Unicode 5.1.0 * Improved documentation
* I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵Sven Fuchs2008-09-202-12/+29
| | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* I18n: move old-style interpolation syntax deprecation to Active Record. ↵Sven Fuchs2008-09-201-7/+0
| | | | | | [#1044 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved]Carlos Brando2008-09-191-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure old buffers get properly cleared to avoid leaking memoryDuff OMelia2008-09-181-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Enhance the test "some string" method to support creating 'pending' tests.Michael Koziarski2008-09-161-1/+7
| | | | If no block is provided to the test method, a default test will be generated which simply flunks. This makes it easy for you to generate a list of what you intend to do, then flesh it out with actual tests.
* TimeWithZone #wday, #yday and #to_date avoid trip through #method_missinggbuesing2008-09-141-1/+1
|
* Add thorough tests for Time-object #past?, #future? and #today. Fix ↵gbuesing2008-09-141-1/+1
| | | | TimeWithZone #today? to use #time instead of #utc for date comparison. Update changelog. [#720 state:resolved]
* Introduce convenience methods past?, today? and future? for Date and Time ↵Clemens Kofler2008-09-144-64/+120
| | | | classes to facilitate Date/Time comparisons.
* Make sure the permissions check file is closed before being unlinked.Michael Koziarski2008-09-141-1/+1
| | | | [#1035 state:committed]