Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright notices to 2016 [ci skip] | Rashmi Yadav | 2015-12-31 | 1 | -1/+1 |
| | |||||
* | renames AS::FileEventedUpdateChecker to AS::EventedFileUpdateChecker | Xavier Noria | 2015-12-09 | 1 | -1/+1 |
| | | | | Better English. | ||||
* | implements an evented file update checker [Puneet Agarwal] | Xavier Noria | 2015-11-08 | 1 | -0/+1 |
| | | | | | | | | | | | | This is the implementation of the file update checker written by Puneet Agarwal for GSoC 2015 (except for the tiny version of the listen gem, which was 3.0.2 in the original patch). Puneet's branch became too out of sync with upstream. This is the final work in one single clean commit. Credit goes in the first line using a convention understood by the contrib app. | ||||
* | Refactor AS::Callbacks halt config and fix the documentation | Roque Pinel | 2015-10-01 | 1 | -2/+2 |
| | | | | | | | | | Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a818d413c64ff9867125f0b03788fc306f8 | ||||
* | Avoid to define an initializer after the load_config_initializers | Rafael Mendonça França | 2015-04-07 | 1 | -0/+8 |
| | | | | | This make the config/initializers run before the railties are loaded what can break some configurations. | ||||
* | Add ActiveSupport::ArrayInquirer and Array#inquiry | George Claghorn | 2015-03-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | Wrapping an array in an `ArrayInquirer` gives a friendlier way to check its string-like contents. For example, `request.variant` returns an `ArrayInquirer` object. To check a request's variants, you can call: request.variant.phone? request.variant.any?(:phone, :tablet) ...instead of: request.variant.include?(:phone) request.variant.any? { |v| v.in?([:phone, :tablet]) } `Array#inquiry` is a shortcut for wrapping the receiving array in an `ArrayInquirer`: pets = [:cat, :dog] pets.cat? # => true pets.ferret? # => false pets.any?(:cat, :ferret} # => true | ||||
* | Merge pull request #18090 from egilburg/patch-3 | Rafael Mendonça França | 2015-01-04 | 1 | -9/+1 |
|\ | | | | | | | simplify ActiveSupport.test_order definition | ||||
| * | simplify ActiveSupport.test_order definition | Eugene Gilburg | 2014-12-18 | 1 | -9/+2 |
| | | |||||
* | | Update copyright notices to 2015 [ci skip] | Arun Agrawal | 2014-12-31 | 1 | -1/+1 |
|/ | |||||
* | Add docs for AS::TestCase::test_order | claudiob | 2014-12-18 | 1 | -2/+2 |
| | | | | | | Document `test_order` and `test_order=` from `ActiveSupport::TestCase`. [ci skip] | ||||
* | Define the configuration at Active Support | Rafael Mendonça França | 2014-09-11 | 1 | -0/+10 |
| | |||||
* | update copyright notices to 2014. [ci skip] | Vipul A M | 2014-01-01 | 1 | -1/+1 |
| | |||||
* | Make load of NumberHelper thread safe | Rafael Mendonça França | 2013-12-02 | 1 | -0/+7 |
| | |||||
* | Remove deprecated AS::BasicObject, use AS::ProxyObject instead | Carlos Antonio da Silva | 2013-07-01 | 1 | -1/+0 |
| | |||||
* | Updated copyright notices for 2013 | Andrew Nesbitt | 2012-12-31 | 1 | -1/+1 |
| | |||||
* | Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject | Francesco Rodriguez | 2012-12-07 | 1 | -0/+1 |
| | | | | | AS::BasicObject is used for proxy classes. Let's give it a less concerning name. Also, it avoids the confusion with Ruby's Basic Object. | ||||
* | Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 | Michael Koziarski | 2012-10-01 | 1 | -0/+1 |
| | | | | | | This will be used to derive keys from the secret and a salt, in order to allow us to do things like encrypted cookie stores without using the secret for multiple purposes directly. | ||||
* | Make ActiveSupport::Autoload local | José Valim | 2012-08-21 | 1 | -2/+1 |
| | | | | | | | Previously, ActiveSupport::Autoload was global and reserved for usage inside Rails. This pull request makes it local, fixes its test (they were not being run because its file was named wrongly) and make it part of Rails public API. | ||||
* | Fix the build | Santiago Pastorino | 2012-05-22 | 1 | -0/+1 |
| | |||||
* | require active_support/lazy_load_hooks where is needed | Santiago Pastorino | 2012-05-22 | 1 | -1/+0 |
| | |||||
* | refactor lazy_load_hooks load position | Jan Xie | 2012-05-22 | 1 | -0/+1 |
| | |||||
* | Removed ActiveSupport#load_all! | Pan Thomakos | 2012-03-18 | 1 | -14/+1 |
| | | | | | | This is no longer used and actually raises an error when trying to load `ActiveSupport::Dependencies`. I removed the related code and added the `Dependencies` module to the autoload list. | ||||
* | remove ActiveSupport::Base64 in favor of ::Base64 | Sergey Nartimov | 2012-01-02 | 1 | -1/+0 |
| | |||||
* | Merge pull request #4248 from andrew/2012 | Vijay Dev | 2011-12-31 | 1 | -1/+1 |
|\ | | | | | Updated copyright notices for 2012 | ||||
| * | Updated copyright notices for 2012 | Andrew Nesbitt | 2011-12-31 | 1 | -1/+1 |
| | | |||||
* | | Update activesupport/lib/active_support.rb | José Valim | 2011-12-22 | 1 | -1/+1 |
| | | |||||
* | | Remove deprecations from Active Support. | José Valim | 2011-12-20 | 1 | -1/+0 |
| | | |||||
* | | * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger | Aaron Patterson | 2011-12-19 | 1 | -1/+1 |
| | | | | | | | | from Ruby stdlib. | ||||
* | | Added X-Request-Id tracking and TaggedLogging to easily log that and other ↵ | David Heinemeier Hansson | 2011-10-19 | 1 | -0/+1 |
|/ | | | | production concerns | ||||
* | Removed ActiveSupport::SecureRandom in favour of SecureRandom from the ↵ | Jon Leighton | 2011-05-23 | 1 | -1/+0 |
| | | | | standard library. (It has been deprecated in the 3-1-stable branch.) | ||||
* | Replace references to ActiveSupport::SecureRandom with just SecureRandom, ↵ | Jon Leighton | 2011-05-23 | 1 | -1/+3 |
| | | | | and require 'securerandom' from the stdlib when active support is required. | ||||
* | Update copyright year in Active Resource and Active Support | Vijay Dev | 2011-05-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | File watcher won't make the cut for 3.1. Maybe on 3.2. | José Valim | 2011-04-23 | 1 | -1/+0 |
| | |||||
* | Add initial FileWatcher implementation. The Backend is just an abstract ↵ | wycats | 2011-02-06 | 1 | -0/+1 |
| | | | | implementation, which will be inherited by backends that do the heavy lifting. | ||||
* | Always pull in version for frameworks (standardize autoload / require / none) | wycats | 2010-10-10 | 1 | -1/+1 |
| | |||||
* | Make ActiveSupport load own version. | Barry Sears | 2010-10-10 | 1 | -0/+1 |
| | | | | | | [#5739 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -1/+2 |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] | ||||
* | Add ActiveSupport::FileUpdateChecker. | José Valim | 2010-06-20 | 1 | -1/+3 |
| | |||||
* | Add ActiveSupport::DescendantsTracker. | José Valim | 2010-06-19 | 1 | -0/+1 |
| | |||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -0/+3 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -0/+1 |
| | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. | ||||
* | Unvendor'd MemCache-Client. Now requires the MemCache Client gem as a ↵ | Mikel Lindsaar | 2010-01-28 | 1 | -2/+0 |
| | | | | dependency - Don't forget to gem bundle buys and girls | ||||
* | Autoload AS test case | Joshua Peek | 2010-01-04 | 1 | -0/+2 |
| | |||||
* | Get rid of DeprecatedCallbacks in ActiveRecord::Associations and finally ↵ | José Valim | 2009-12-30 | 1 | -1/+0 |
| | | | | remove it. | ||||
* | Fix the i18n dependency problem | David Heinemeier Hansson | 2009-12-27 | 1 | -3/+0 |
| | |||||
* | Flip deferrable autoload convention | Joshua Peek | 2009-12-22 | 1 | -25/+28 |
| | |||||
* | Should fix a few Sam Ruby fails. | Yehuda Katz | 2009-12-03 | 1 | -1/+32 |
| | |||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+2 |
| | | | | vendor requires. | ||||
* | Convert the other vendored libs to avoid pulling in old gems. Works even if ↵ | Jeremy Kemper | 2009-09-24 | 1 | -1/+0 |
| | | | | rubygems isn't loaded. | ||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 1 | -7/+1 |
| |