Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix ActiveSupport::JSON encoding of control characters [\x00-\x1f] | Dwayne Litzenberger | 2009-12-23 | 1 | -1/+3 | |
| | | | | | | | | | | | | | | According to RFC 4627, only the following Unicode code points are allowed unescaped in JSON: unescaped = %x20-21 / %x23-5B / %x5D-10FFFF However, ActiveSupport::JSON did not escape the range %x00-1f. This caused parse errors when trying to decode the resulting output. [#3345 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Add test for TimeWithZone#to_i with wrapped DateTime | Geoff Buesing | 2009-12-15 | 1 | -0/+6 | |
| | ||||||
* | Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ↵ | Serguei Filimonov | 2009-12-15 | 1 | -0/+4 | |
| | | | | ActiveRecord models with DateTime attributes. | |||||
* | Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if ↵ | David Heinemeier Hansson | 2009-12-14 | 1 | -0/+5 | |
| | | | | !x.include?/else calls [DHH] | |||||
* | Modify backtrace test to take implementations with slightly different ↵ | Yehuda Katz | 2009-12-13 | 1 | -1/+1 | |
| | | | | backtrace output into consideration. | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 3 | -0/+84 | |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | |||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 1 | -4/+4 | |
| | ||||||
* | Notifications: synchronous fanout queue pushes events to subscribers rather ↵ | Jeremy Kemper | 2009-11-29 | 1 | -0/+10 | |
| | | | | than having them concurrently pull | |||||
* | Notifications: extract central Notifier, cordon off the internal Fanout ↵ | Jeremy Kemper | 2009-11-28 | 1 | -158/+112 | |
| | | | | implementation, and segregate instrumentation concerns | |||||
* | Expose a simple Queue#wait to block until all notifications are drained | Jeremy Kemper | 2009-11-28 | 1 | -1/+1 | |
| | ||||||
* | Revert "Create SyncListener. Since they do not rely on Thread, they can be ↵ | Jeremy Kemper | 2009-11-28 | 1 | -16/+1 | |
| | | | | | | | | used on Google App Engine." Take a step back on this API direction. This reverts commit 8104f65c3225453d13307c3c2733c2a8f99e491a. | |||||
* | Create SyncListener. Since they do not rely on Thread, they can be used on ↵ | José Valim | 2009-11-23 | 1 | -1/+16 | |
| | | | | | | Google App Engine. Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | |||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 4 | -1/+5 | |
| | ||||||
* | No need for test stub | Jeremy Kemper | 2009-11-14 | 1 | -2/+2 | |
| | ||||||
* | Consolidate date & time landscape: require 'active_support/time' | Jeremy Kemper | 2009-11-14 | 3 | -3/+3 | |
| | ||||||
* | Notifications: queue.drained? for testability in place of brittle sleeps | Jeremy Kemper | 2009-11-13 | 1 | -10/+14 | |
| | ||||||
* | Fix duration check for longer sleep | Jeremy Kemper | 2009-11-13 | 1 | -1/+1 | |
| | ||||||
* | CI: slow down brittle notifications tests | Jeremy Kemper | 2009-11-13 | 1 | -9/+10 | |
| | ||||||
* | Ruby 1.9.2: fix broken to_ary expectation | Jeremy Kemper | 2009-11-13 | 1 | -1/+3 | |
| | ||||||
* | Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵ | Jeremy Kemper | 2009-11-13 | 2 | -16/+24 | |
| | | | | friendly nil errors for Array and Active Record methods. | |||||
* | Test that Array.wrap works with proxy objects and structs | Jeremy Kemper | 2009-11-13 | 1 | -0/+20 | |
| | ||||||
* | Avoid adding component lib/ to load path multiple times | Joshua Peek | 2009-11-09 | 1 | -1/+2 | |
| | ||||||
* | Always add AS lib/ to path when running its test suite | Joshua Peek | 2009-11-09 | 1 | -4/+4 | |
| | ||||||
* | Remove automatic rubygems loading from AS test runner | Joshua Peek | 2009-11-09 | 1 | -9/+1 | |
| | ||||||
* | Ditto | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 | |
| | ||||||
* | Fix missing dependency | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 | |
| | ||||||
* | Enumerable#none? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -11/+0 | |
| | ||||||
* | Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -16/+0 | |
| | ||||||
* | String#each_char is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -11/+0 | |
| | ||||||
* | String#start_with? and String#end_with? are not needed for Ruby >= 1.8.7, ↵ | Xavier Noria | 2009-11-09 | 1 | -8/+0 | |
| | | | | leaves their plural aliases though | |||||
* | String#bytesize is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 | |
| | ||||||
* | Object#tap is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -9/+0 | |
| | ||||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 3 | -11/+0 | |
| | ||||||
* | Object#instance_variable_defined? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 | |
| | ||||||
* | Work around assert_raise limitation | Jeremy Kemper | 2009-11-08 | 1 | -3/+3 | |
| | ||||||
* | Ruby 1.9.2: work around changes to flatten and nil.to_str | Jeremy Kemper | 2009-11-08 | 1 | -3/+3 | |
| | ||||||
* | Fix OrderedHash#replace | Chris Hapgood | 2009-11-05 | 1 | -0/+7 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Make ActiveSupport::Chars#limit run on Ruby 1.9. | Manfred Stienstra | 2009-11-04 | 1 | -29/+27 | |
| | ||||||
* | Add ActiveSupport::Multibyte::Chars#limit. | Manfred Stienstra | 2009-11-04 | 1 | -0/+59 | |
| | | | | | | | | | | The limit method limits the number of bytes in a string. Useful when the storage space of the string is limited, for instance in a database column definition. Sharpen up the implementation of translate offset. [#3192 state:committed] | |||||
* | Fix chars.reverse for multibyte decomposed strings | Matias Flores | 2009-11-02 | 1 | -0/+11 | |
| | | | | | | [#597 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 1 | -3/+3 | |
| | ||||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 6 | -68/+62 | |
| | ||||||
* | Ruby 1.9.2: URI.escape is obsolete | Jeremy Kemper | 2009-11-02 | 1 | -2/+6 | |
| | ||||||
* | Ruby 1.9 doesn't recognize EM SPACE as whitespace, breaking String#strip | Jeremy Kemper | 2009-11-02 | 1 | -1/+7 | |
| | ||||||
* | Give useful test:isolated failures | Jeremy Kemper | 2009-11-02 | 1 | -2/+2 | |
| | ||||||
* | Allow :instance_reader to be given to superclass_delegating_accessor as well. | José Valim | 2009-11-01 | 1 | -0/+7 | |
| | ||||||
* | Change Event#thread_id to #transaction_id. Defaults to one "transaction" per ↵ | Yehuda Katz | 2009-10-28 | 1 | -0/+20 | |
| | | | | thread but you can explicitly declare the start of a new one. This makes it possible for each request to have it own id. | |||||
* | AS::Notifications.subscribe blocks are now yielded the arguments to pass to ↵ | Yehuda Katz | 2009-10-27 | 1 | -4/+14 | |
| | | | | AS::Notifications::Event.new | |||||
* | Some optimizations on AS::Notifications. This does not change the ↵ | Yehuda Katz | 2009-10-27 | 1 | -11/+18 | |
| | | | | public-facing API. | |||||
* | Have all the tests running off a single Gemfile | Yehuda Katz + Carl Lerche | 2009-10-20 | 1 | -1/+8 | |
| |