Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added nicer failure reporting to #assert_difference to tell you the ↵ | madlep | 2008-10-03 | 2 | -4/+25 |
| | | | | | | | 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 JRuby | Nick Sieger | 2008-10-03 | 1 | -12/+33 |
| | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed] | ||||
* | slice now returns indifferent hash if called on one | adam | 2008-09-23 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1096 state:committed] | ||||
* | Adds failed test case for slicing hash with indifferent access with symbol keys | adam | 2008-09-23 | 1 | -0/+10 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Modified ActiveSupport::Inflector#parameterize with code from slugalizer ↵ | Adam Cigánek | 2008-09-23 | 3 | -6/+21 |
| | | | | | | | | | (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] | ||||
* | Changelog entry for manfred's multibyte changes | Michael Koziarski | 2008-09-22 | 1 | -0/+4 |
| | |||||
* | Merge branch 'patches' into multibyte | Michael Koziarski | 2008-09-22 | 1 | -1/+1 |
|\ | |||||
| * | Bump the Version constants to align with the *next* release rather than the ↵ | Michael Koziarski | 2008-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants. | ||||
* | | Set encoding of the multibyte test helpers file to UTF-8 so the strings can ↵ | Manfred Stienstra | 2008-09-21 | 1 | -0/+2 |
| | | | | | | | | be read by Ruby 1.9. | ||||
* | | Change call to String#chars in inflector to String#mb_chars. | Manfred Stienstra | 2008-09-21 | 1 | -1/+1 |
| | | |||||
* | | Deprecated String#chars in favor of String#mb_chars. | Manfred Stienstra | 2008-09-21 | 2 | -1/+10 |
| | | |||||
* | | Move multibyte test helpers to a separate file and make the conformance ↵ | Manfred Stienstra | 2008-09-21 | 3 | -22/+26 |
| | | | | | | | | tests run again. | ||||
* | | Add tests for u_unpack to make sure it raises an EncodingError on invalid ↵ | Manfred Stienstra | 2008-09-21 | 2 | -1/+12 |
| | | | | | | | | UTF-8 strings. | ||||
* | | Non-string results from forwarded methods should be returned vertabim. | Manfred Stienstra | 2008-09-21 | 2 | -9/+15 |
| | | |||||
* | | Improve documentation. | Manfred Stienstra | 2008-09-21 | 4 | -67/+74 |
| | | |||||
* | | All methods which normally return a string now return a proxy instance. | Manfred Stienstra | 2008-09-21 | 2 | -9/+43 |
| | | |||||
* | | Change all calls to String#chars to String#mb_chars. | Manfred Stienstra | 2008-09-21 | 2 | -15/+15 |
| | | |||||
* | | Move with_kcode helper to abstract_unit. Add tests for multibyte string ↵ | Manfred Stienstra | 2008-09-21 | 3 | -19/+61 |
| | | | | | | | | extensions. | ||||
* | | Add a test for ActiveSupport::Multibyte::Chars.consumes?. | Manfred Stienstra | 2008-09-21 | 1 | -1/+8 |
| | | |||||
* | | Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9. | Manfred Stienstra | 2008-09-21 | 18 | -1550/+1562 |
|/ | | | | | | * 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 Fuchs | 2008-09-20 | 3 | -13/+30 |
| | | | | | | 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 Fuchs | 2008-09-20 | 1 | -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 Brando | 2008-09-19 | 2 | -1/+2 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ensure old buffers get properly cleared to avoid leaking memory | Duff OMelia | 2008-09-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Enhance the test "some string" method to support creating 'pending' tests. | Michael Koziarski | 2008-09-16 | 1 | -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_missing | gbuesing | 2008-09-14 | 3 | -2/+6 |
| | |||||
* | Add thorough tests for Time-object #past?, #future? and #today. Fix ↵ | gbuesing | 2008-09-14 | 6 | -42/+198 |
| | | | | 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 Kofler | 2008-09-14 | 8 | -79/+199 |
| | | | | classes to facilitate Date/Time comparisons. | ||||
* | Make sure the permissions check file is closed before being unlinked. | Michael Koziarski | 2008-09-14 | 1 | -1/+1 |
| | | | | [#1035 state:committed] | ||||
* | Merge docrails | Pratik Naik | 2008-09-13 | 1 | -6/+6 |
| | |||||
* | Ensure Hash#except is allowed on a frozen hash. References #382 | Mislav Marohnić | 2008-09-13 | 2 | -1/+15 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵ | Manfred Stienstra | 2008-09-11 | 5 | -0/+30 |
| | | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed] | ||||
* | Flesh out the parameterize method to support non-ascii text and underscores. | Michael Koziarski | 2008-09-11 | 2 | -2/+5 |
| | |||||
* | Add the Asia/Colombo definition from the tzinfo gem | Jamis Buck | 2008-09-11 | 1 | -0/+30 |
| | |||||
* | Removed monitor from MemoryStore and created a seperate threadsafe store ↵ | Joshua Peek | 2008-09-10 | 2 | -39/+57 |
| | | | | called SynchronizedMemoryStore | ||||
* | Fix Sri Jayawardenepura time zone to map to Asia/Colombo | Jamis Buck | 2008-09-10 | 2 | -1/+3 |
| | |||||
* | Added Inflector#parameterize for easy slug generation ("Donald E. ↵ | David Heinemeier Hansson | 2008-09-10 | 5 | -0/+51 |
| | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby] | ||||
* | No local variable in the global namespace plz | David Heinemeier Hansson | 2008-09-09 | 1 | -3/+2 |
| | |||||
* | Fixed that REXML fix would break on earlier versions of ruby (Frederick ↵ | David Heinemeier Hansson | 2008-09-09 | 1 | -1/+3 |
| | | | | Cheung) [state:resolved #987] | ||||
* | Revert "Remove the Version check as it's not always available." | David Heinemeier Hansson | 2008-09-09 | 1 | -20/+22 |
| | | | | This reverts commit 6e2851d4261fbbea00e8e74802a507a89af80e2f. | ||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2008-09-09 | 1 | -22/+20 |
|\ | |||||
| * | Remove the Version check as it's not always available. | Michael Koziarski | 2008-09-09 | 1 | -22/+20 |
| | | |||||
* | | Check whether memoized ivar is initialized | Jeremy Kemper | 2008-09-08 | 1 | -1/+1 |
|/ | |||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-09-08 | 3 | -3/+3 |
| | |||||
* | Don't shadow arg with block var | Jeremy Kemper | 2008-09-08 | 1 | -2/+2 |
| | |||||
* | BigDecimal to_s and yaml housekeeping | Jeremy Kemper | 2008-09-08 | 1 | -22/+18 |
| | |||||
* | Ruby 1.9 compat: use method_defined? instead of instance_methods.include? ↵ | Jeremy Kemper | 2008-09-06 | 1 | -3/+6 |
| | | | | Don't encourage args abuse by flattening. | ||||
* | Changed all benchmarking reports to be in milliseconds | David Heinemeier Hansson | 2008-09-05 | 2 | -1/+3 |
| | |||||
* | Deprecate %d and %s in message interpolation, but only in the bundled i18n lib. | Jeremy Kemper | 2008-09-04 | 1 | -2/+7 |
| | |||||
* | Handle the case where there is no ivar set. | Michael Koziarski | 2008-09-04 | 1 | -1/+1 |
| | | | | This happens on jruby due to a bug, but also on historically marshalled data. |