Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix typo in deprecation notice | Claudio Poli | 2011-09-16 | 1 | -1/+1 |
| | |||||
* | Fix typo in deprecation warning. | Peter Suschlik | 2011-09-16 | 1 | -1/+1 |
| | |||||
* | Test deprecation warning when not using an options hash as second parameter. | Willem van Bergen | 2011-09-15 | 2 | -2/+14 |
| | |||||
* | Use an options hash to specify digest/cipher algorithm and a serializer for ↵ | Willem van Bergen | 2011-09-15 | 4 | -20/+26 |
| | | | | MessageVerifier and MessageEncryptor. | ||||
* | Add some documentation for the new serializer property of MessageVerifier ↵ | Willem van Bergen | 2011-09-15 | 1 | -0/+5 |
| | | | | and MessageEncryptor. | ||||
* | Implement API suggestions of pull request. | Willem van Bergen | 2011-09-15 | 4 | -18/+34 |
| | |||||
* | Fixed tests so that they will also run properly in other timezones. | Willem van Bergen | 2011-09-15 | 2 | -4/+4 |
| | |||||
* | Custom serializers and deserializers in MessageVerifier and MessageEncryptor. | Willem van Bergen | 2011-09-15 | 4 | -5/+30 |
| | | | | | By default, these classes use Marshal for serializing and deserializing messages. Unfortunately, the Marshal format is closely associated with Ruby internals and even changes between different interpreters. This makes the resulting message very hard to impossible to unserialize messages generated by these classes in other environments like node.js. This patch solves this by allowing you to set your own custom serializer and deserializer lambda functions. By default, it still uses Marshal to be backwards compatible. | ||||
* | update 3.1 release date in changelogs | Vijay Dev | 2011-09-14 | 1 | -1/+1 |
| | |||||
* | Fix a typo in date | Semyon Perepelitsa | 2011-09-12 | 1 | -1/+1 |
| | |||||
* | revert the changes from c60995f3 - related to marking sub,gsub as ↵ | Vijay Dev | 2011-09-09 | 1 | -20/+1 |
| | | | | unavailable to use with safe strings | ||||
* | delete the CHANGELOG entry re SafeBuffer and sub/gsub, since it has been ↵ | Xavier Noria | 2011-09-08 | 1 | -2/+0 |
| | | | | reverted | ||||
* | Revert removing gsub and sub from safe buffer. | José Valim | 2011-09-08 | 5 | -63/+45 |
| | |||||
* | mention the issue number for future reference | Xavier Noria | 2011-09-08 | 1 | -1/+1 |
| | |||||
* | registers removal of sub and friends for safe strings in the CHANGELOG | Xavier Noria | 2011-09-08 | 1 | -0/+2 |
| | |||||
* | this should have gone with the previous commit | Xavier Noria | 2011-09-08 | 2 | -6/+6 |
| | |||||
* | copy-edits a couple of exception messages | Xavier Noria | 2011-09-08 | 1 | -4/+4 |
| | | | | | | | "Safe Buffer" should either be the constant with the class name, or go in lower case. I've chosen to follow the same terminology that is used in the AS core extensiong guide, "safe string", though "safe buffer" is also used elsewhere, we should pick one. | ||||
* | better method documentation on disable safe string methods | Damien Mathieu | 2011-09-08 | 1 | -6/+12 |
| | |||||
* | remove support of symbols on classify and camelize | Damien Mathieu | 2011-09-08 | 4 | -34/+52 |
| | |||||
* | make gsub and sub unavailable in SafeBuffers - Closes #1555 | Damien Mathieu | 2011-09-08 | 2 | -11/+24 |
| | |||||
* | Make sure require_tzinfo only calls Kernel#require if TZInfo isn't already ↵ | Tim Lucas | 2011-09-07 | 1 | -1/+1 |
| | | | | | | | | present. This wasn't a problem when require_tzinfo was only called from TimeZone#initialize, but now it's being called for every lookup to TimeZone.[] (via lazy_zones_map) TimeZone lookup can occur when unmarshalling TimeWithZone objects, which is where I first saw the big slowdown (500ms for each Rails action that loaded from Rails.cache) | ||||
* | We can't simply check the first line of the backtrace, | Arun Agrawal | 2011-09-04 | 1 | -4/+6 |
| | | | because JRuby reports the call to __send__ in the backtrace. | ||||
* | Modified content in guides and comments | Arun Agrawal | 2011-09-04 | 1 | -2/+2 |
| | | | | | | for "assert /" warnings. Removed because if somebody will use this code they will get warnings! | ||||
* | Merge pull request #2827 from sikachu/extractable_ordered_hash | José Valim | 2011-09-03 | 3 | -0/+12 |
|\ | | | | | Make `ActiveSupport::OrderedHash` extractable when using `Array#extract_options! | ||||
| * | Make `ActiveSupport::OrderedHash` extractable when using ↵ | Prem Sichanugrist | 2011-09-03 | 3 | -0/+12 |
| | | | | | | | | | | `Array#extract_options!` `ActiveSupport::OrderedHash` is actually a subclass of the hash, so it does make sense that it should be extractable from the array list. | ||||
* | | docs formatting changes | Vijay Dev | 2011-09-01 | 3 | -4/+4 |
|/ | |||||
* | Revert "Ruby 1.8.7+ provides to_date/to_datetime, AS just makes them ↵ | Chris Griego | 2011-08-31 | 1 | -0/+22 |
| | | | | | | | | public." to support date implementations without private to_date/to_datetime on Time (home_run). This reverts commit 080345baca1076a9788dff4803153600aec31f86. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Merge pull request #2723 from guilleiguaran/3-1-0-changelogs | Santiago Pastorino | 2011-08-28 | 1 | -0/+12 |
| | | | | Update changelogs for Rails 3.1.0 | ||||
* | Revert all the stuff to do with disallowing non-public methods for ↵ | Jon Leighton | 2011-08-25 | 6 | -170/+3 |
| | | | | Module#delegate | ||||
* | stop circular require warnings | Aaron Patterson | 2011-08-24 | 2 | -2/+0 |
| | |||||
* | only backport the to_d method if it does not exist | Aaron Patterson | 2011-08-24 | 1 | -2/+5 |
| | |||||
* | dealing with some -w warnings on startup | Aaron Patterson | 2011-08-24 | 1 | -0/+2 |
| | |||||
* | Fix autoload_once_paths when using Pathnames & ruby 1.9 | Jonathan del Strother | 2011-08-24 | 2 | -1/+20 |
| | | | | | | | Under ruby 1.9.2 - "/var/log".starts_with?(Pathname.new("/var")) # => false so setting config.autoload_once_paths with Pathnames would not work | ||||
* | `load` should also return the value from `super` | Aaron Patterson | 2011-08-23 | 1 | -1/+3 |
| | |||||
* | require needs to return true or false. thank you Ryan "zenspider" Davis | Aaron Patterson | 2011-08-23 | 1 | -1/+3 |
| | |||||
* | Remove trailing whitespace | Daniel Schierbeck | 2011-08-23 | 1 | -2/+2 |
| | |||||
* | properly escape html to avoid invalid utf8 causing XSS attacks | Aaron Patterson | 2011-08-16 | 2 | -1/+8 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Xavier Noria | 2011-08-16 | 1 | -0/+2 |
|\ | |||||
| * | Document Hash#extract!. | Sebastian Martinez | 2011-08-15 | 1 | -0/+2 |
| | | |||||
* | | prefer ends_with? over slicing | Xavier Noria | 2011-08-16 | 1 | -1/+2 |
| | | |||||
* | | Fix tzinfo require (it broke ↵ | Jon Leighton | 2011-08-16 | 1 | -6/+13 |
| | | | | | | | | test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties) | ||||
* | | Be more lazy about creating time zone objects. Decreases startup time by ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+13 |
| | | | | | | | | about 10%. (#734) | ||||
* | | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 4 | -0/+20 |
| | | | | | | | | alias for Array#<< [DHH] | ||||
* | | Requiring delegate. | Arun Agrawal | 2011-08-16 | 1 | -0/+1 |
| | | |||||
* | | Removing unnecessary require, solve 'circular require considered harmful' ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+0 |
| | | | | | | | | warning. | ||||
* | | Document Object#public_send | Jon Leighton | 2011-08-15 | 1 | -1/+1 |
| | | |||||
* | | Add a test for delegating a method ending in '=' as this is a special case. | Jon Leighton | 2011-08-15 | 2 | -0/+9 |
| | | |||||
* | | Need to include public_send | Arun Agrawal | 2011-08-15 | 1 | -0/+1 |
| | | |||||
* | | Split up the definitions in Module#delegate depending on :allow_nil, and ↵ | Jon Leighton | 2011-08-15 | 2 | -17/+34 |
| | | | | | | | | don't use exceptions for flow control in the :allow_nil => true case. | ||||
* | | Fix the line number in the backtrace when Module#delegate raises | Jon Leighton | 2011-08-15 | 2 | -2/+14 |
| | |