Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | macruby: no format_datetime or msg2str | Jeremy Kemper | 2009-11-21 | 1 | -2/+2 |
| | |||||
* | Check whether another lib has implemented ruby 1.9 string interp syntax | Jeremy Kemper | 2009-11-18 | 1 | -1/+1 |
| | |||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 1 | -3/+0 |
| | |||||
* | Consolidate date & time landscape: require 'active_support/time' | Jeremy Kemper | 2009-11-14 | 3 | -22/+0 |
| | |||||
* | Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵ | Jeremy Kemper | 2009-11-13 | 1 | -1/+3 |
| | | | | friendly nil errors for Array and Active Record methods. | ||||
* | Ruby 1.9.2: work around Array allowing method_missing for to_ary | Jeremy Kemper | 2009-11-13 | 1 | -4/+3 |
| | |||||
* | Revert "the REXML security fix is not needed for Ruby >= 1.8.7" | Jeremy Kemper | 2009-11-09 | 1 | -0/+43 |
| | | | | | | Still required on older 1.8.7 patchlevels. This reverts commit a48f49e56bf53e0a2386da898576ef12d5258358. | ||||
* | the REXML security fix is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -43/+0 |
| | |||||
* | Enumerable#none? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -9/+0 |
| | |||||
* | Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 3 | -17/+7 |
| | |||||
* | String#each_char is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -14/+0 |
| | |||||
* | String#start_with? and String#end_with? are not needed for Ruby >= 1.8.7, ↵ | Xavier Noria | 2009-11-09 | 1 | -14/+0 |
| | | | | leaves their plural aliases though | ||||
* | String#bytesize is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -6/+0 |
| | |||||
* | Object#tap is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -17/+0 |
| | |||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -15/+0 |
| | |||||
* | Object#instance_variable_defined? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 |
| | |||||
* | Merge branch 'master' of github.com:rails/rails | Jeremy Kemper | 2009-11-09 | 1 | -1/+1 |
|\ | |||||
| * | Revert "Bundle I18n 0.2.0." | Yehuda Katz | 2009-11-09 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 83f329f5f30567a10bc96410da230bf986db8ad4. | ||||
* | | Merge commit 'brynary/fix-master-warnings' | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 |
|\ \ | |/ |/| | |||||
| * | Fix Ruby warning: method redefined; discarding old breakpoint | Bryan Helmkamp | 2009-11-09 | 1 | -0/+1 |
| | | |||||
* | | Bundle I18n 0.2.0. | José Valim | 2009-11-09 | 1 | -1/+1 |
|/ | |||||
* | Ruby 1.9.2: work around changes to flatten and nil.to_str | Jeremy Kemper | 2009-11-08 | 1 | -1/+2 |
| | |||||
* | Since we require 1.8.7 we don't need to shim instance_exec anymore | Yehuda Katz | 2009-11-07 | 1 | -27/+0 |
| | |||||
* | Break up inflector to reduce the dependency burden on dependency-les methods ↵ | Yehuda Katz | 2009-11-07 | 1 | -0/+2 |
| | | | | like constantize. | ||||
* | Clarify date/time dependencies | Jeremy Kemper | 2009-11-02 | 2 | -0/+2 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 9 | -67/+76 |
| | |||||
* | Ruby 1.9.2: rational.rb is deprecated | Jeremy Kemper | 2009-11-02 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9.2: URI.escape is obsolete | Jeremy Kemper | 2009-11-02 | 1 | -1/+2 |
| | |||||
* | Allow :instance_reader to be given to superclass_delegating_accessor as well. | José Valim | 2009-11-01 | 1 | -21/+39 |
| | |||||
* | First pass at cleaning up action caching | Yehuda Katz | 2009-10-28 | 1 | -0/+6 |
| | |||||
* | Array.wrap(struct) needs to return the wrapped struct | Yehuda Katz | 2009-10-28 | 1 | -12/+7 |
| | |||||
* | This is all that's needed in 1.8.7+ | Yehuda Katz | 2009-10-28 | 1 | -10/+11 |
| | |||||
* | Replace decaying routing internals w/ rack-mount | Joshua Peek | 2009-10-19 | 1 | -22/+0 |
| | |||||
* | Missed cherry-pick from 2e37effd7203cad84459661e11db2be44586cb4f | Jeremy Kemper | 2009-10-19 | 1 | -0/+1 |
| | |||||
* | Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵ | José Valim | 2009-10-17 | 2 | -13/+23 |
| | | | | responder to be set in the class level. | ||||
* | Switch to on-by-default XSS escaping for rails. | Michael Koziarski | 2009-10-08 | 2 | -1/+45 |
| | | | | | | | | | | | | This consists of: * String#html_safe! a method to mark a string as 'safe' * ActionView::SafeBuffer a string subclass which escapes anything unsafe which is concatenated to it * Calls to String#html_safe! throughout the rails helpers * a 'raw' helper which lets you concatenate trusted HTML from non-safety-aware sources (e.g. presantized strings in the DB) * New ERB implementation based on erubis which uses a SafeBuffer instead of a String Hat tip to Django for the inspiration. | ||||
* | Restore split between require-time and runtime load path mungery. Simplifies ↵ | Jeremy Kemper | 2009-09-24 | 3 | -3/+3 |
| | | | | vendor requires. | ||||
* | Rollback AS bundler work and improve activation of vendored dependencies | Joshua Peek | 2009-09-13 | 3 | -3/+3 |
| | |||||
* | require reporting before attempting to "shush" | Joshua Peek | 2009-09-13 | 1 | -0/+2 |
| | |||||
* | Shush, rexml | Jeremy Kemper | 2009-09-13 | 1 | -2/+2 |
| | |||||
* | Duplicating the options hash in Date#advance to prevent modification of the ↵ | Jay Pignata | 2009-08-31 | 1 | -0/+1 |
| | | | | | | original [#1133 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Correct Regexp#un/optionalize assertions and fix uncovered failures | Jeffrey Hardy | 2009-08-26 | 1 | -0/+2 |
| | | | | | | [#3102 state:incomplete] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Ruby 1.9: fix Time#beginning_of_day inaccuracy due to subtracting a Float | Jeremy Kemper | 2009-08-22 | 1 | -1/+2 |
| | |||||
* | Allow superclass_delegating_accessor to take a block for initial set. | Yehuda Katz | 2009-08-11 | 1 | -3/+4 |
| | |||||
* | Got overhead down from 127 to 85. All tests pass: | Yehuda Katz | 2009-08-11 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Tentatively replaced HeaderHash with SimpleHeaderHash, which does not preserve case but does handle converting Arrays to Strings in to_hash. This requires further discussion. * Moved default_charset to ActionDispatch::Response to avoid having to hop over to ActionController. Ideally, this would be a constant on AD::Response, but some tests expect to be able to change it dynamically and I didn't want to change them yet. * Completely override #initialize from Rack::Response. Previously, it was creating a HeaderHash, and then we were creating an entirely new one. There is no way to call super without incurring the overhead of creating a HeaderHash. * Override #write from Rack::Response. Its implementation tracks Content-Length, and doing so adds additional overhead that could be mooted if other middleware changes the body. It is more efficiently done at the top-level server. * Change sending_file to an instance_variable instead of header inspection. In general, if a state is important, it should be set as a property of the response not reconstructed later. * Set the Etag to @body instead of .body. AS::Cache.expand_cache_key handles Arrays fine, and it's more efficient to let it handle the body parts, since it is not forced to create a joined String. * If we detect the default cache control case, just set it, rather than setting the constituent parts and then running the normal (expensive) code to generate the string. | ||||
* | Allow delegating to nil, because the method might actually exist on it | Bryan Helmkamp | 2009-08-10 | 1 | -4/+9 |
| | |||||
* | Support deep-merging HashWithIndifferentAccess. | Andrew Moreland | 2009-08-09 | 1 | -4/+5 |
| | | | | | | [#2732 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix that Hash#to_xml and Array#to_xml shouldn't modify their options hashes ↵ | David Burger | 2009-08-09 | 2 | -0/+2 |
| | | | | | | [#672 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Remove unnecessary &block from Range#sum and add tests for (num..float).sum | Pratik Naik | 2009-08-09 | 1 | -1/+1 |
| | |||||
* | Optimize Range#sum only for integers [#2489] | José Valim | 2009-08-09 | 1 | -2/+3 |
| |