Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵ | Michael Koziarski | 2008-11-25 | 1 | -0/+46 |
| | | | | | | | | encryption. The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to A motivated coder could use this to add an :encrypt=>true option to the cookie store. | ||||
* | Explicitly require Builder in test that uses it | Jeremy Kemper | 2008-11-24 | 1 | -0/+1 |
| | |||||
* | Revert "Hack builder to look for fast_xs instead of insisting on its own ↵ | Jeremy Kemper | 2008-11-24 | 1 | -1/+0 |
| | | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b. | ||||
* | Allow optional arguments and/or block for Object#try like Object#send does. ↵ | Eloy Duran | 2008-11-24 | 1 | -0/+7 |
| | | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Require Mocha >= 0.9.3 which includes a MiniTest adapter | Jeremy Kemper | 2008-11-23 | 1 | -1/+1 |
| | |||||
* | Hack builder to look for fast_xs instead of insisting on its own String#to_xs | Jeremy Kemper | 2008-11-23 | 1 | -0/+1 |
| | |||||
* | Don't need _message as it's in the class name already | Michael Koziarski | 2008-11-23 | 1 | -4/+4 |
| | |||||
* | Add ActiveSupport::MessageVerifier to aid users who need to store ↵ | Michael Koziarski | 2008-11-23 | 1 | -0/+25 |
| | | | | | | tamper-proof messages in cookies etc. This is particularly useful for things like remember-me tokens in web applications and auto-unsubscribe links in emails. | ||||
* | Ruby 1.9 compat: don't use defined? on complex expressions | Jeremy Kemper | 2008-11-22 | 1 | -1/+1 |
| | |||||
* | Require mocha >= 0.9.0 for AS tests | Jeremy Kemper | 2008-11-22 | 14 | -570/+524 |
| | |||||
* | Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵ | David Heinemeier Hansson | 2008-11-22 | 3 | -1/+49 |
| | | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH] | ||||
* | Reduced the number of literal aliases to the range that has actually seen ↵ | David Heinemeier Hansson | 2008-11-21 | 1 | -6/+2 |
| | | | | personal use. With the massive savings in overhead, I was able to fit Array#forty_two | ||||
* | Require mocha >= 0.9.0 for Active Support tests. Don't manipulate the load path. | Jeremy Kemper | 2008-11-20 | 1 | -32/+17 |
| | |||||
* | Ensure only delegations to methods can have an automatic prefix. [#1235 ↵ | Daniel Schierbeck | 2008-11-21 | 1 | -0/+11 |
| | | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Enumerable#none? conforms to Ruby 1.8.7 behavior | Jeremy Kemper | 2008-11-19 | 1 | -1/+2 |
| | |||||
* | Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵ | Pratik Naik | 2008-11-19 | 1 | -0/+25 |
| | | | | Wanstrath] | ||||
* | Added Enumerable#none? to check that none of the elements match the block ↵ | Damian Janowski | 2008-11-19 | 1 | -0/+10 |
| | | | | | | [#1408 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | TimeZone offset tests: use current_period, to ensure TimeZone#utc_offset is ↵ | gbuesing | 2008-11-18 | 1 | -1/+1 |
| | | | | up-to-date | ||||
* | use :en as a default locale (in favor of :en-US) | Sven Fuchs | 2008-11-18 | 1 | -2/+2 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Switch to AS::TestCase for assert_deprecated | Jeremy Kemper | 2008-11-15 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-15 | 2 | -1/+9 |
|\ | |||||
| * | Added lambda merging to OptionMerger (especially useful with named_scope and ↵ | David Heinemeier Hansson | 2008-11-15 | 1 | -0/+8 |
| | | | | | | | | with_options) [#740 state:committed] (Paweł Kondzior) | ||||
| * | TimeZone: fix base offset for Sri Jayawardenepura. Anchor tests for zone ↵ | gbuesing | 2008-11-13 | 1 | -1/+1 |
| | | | | | | | | offsets to more current date | ||||
* | | Merge branch 'master' into testing | Jeremy Kemper | 2008-11-11 | 1 | -5/+5 |
|\| | |||||
| * | Only track new constant definitions when we're reloading dependencies | Jeremy Kemper | 2008-11-10 | 1 | -5/+5 |
| | | |||||
* | | Just rescue exception rather than checking for both miniunit and test/unit | Jeremy Kemper | 2008-11-07 | 2 | -7/+3 |
| | | |||||
* | | Subclass AS::TestCase to get custom assertions | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | | |||||
* | | Rework testing extensions to reflect the recent miniunit upheaval | Jeremy Kemper | 2008-11-07 | 3 | -17/+25 |
| | | |||||
* | | Remove direct TestCase mixins. Add miniunit compatibility. | Jeremy Kemper | 2008-11-07 | 2 | -3/+3 |
|/ | |||||
* | Fix indentation mismatch | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | Increment the version of our modified memcache_client code to prevent users ↵ | Luca Guidi | 2008-11-06 | 1 | -0/+6 |
| | | | | | | | | with the gem installed not seeing our changes. The changes will be submitted upstream. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1239 state:committed] | ||||
* | Remove stuff that was deprecated in 2-1-stable | Pratik Naik | 2008-10-21 | 1 | -1/+0 |
| | |||||
* | TimeWithZone#freeze: preload instance variables so that we can actually freeze | gbuesing | 2008-10-19 | 1 | -0/+13 |
| | |||||
* | Moved test object instantiation to a setup method. | Daniel Schierbeck | 2008-10-19 | 1 | -9/+9 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Made the :prefix option on Module#delegate accept a custom prefix. | Daniel Schierbeck | 2008-10-19 | 1 | -0/+9 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Added :prefix option to Module#delegate. | Daniel Schierbeck | 2008-10-19 | 1 | -0/+12 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix test warnings | Pratik Naik | 2008-10-17 | 1 | -2/+2 |
| | |||||
* | Skip tests that depend on memcached if not running. | Doug Barth | 2008-10-17 | 2 | -18/+30 |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Bring MemCacheStore and CompressedMemCacheStore inline with expected counter ↵ | Doug Barth | 2008-10-17 | 1 | -10/+0 |
| | | | | | | manipulation semantics. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Fix cache counter semantics for MemoryCache, FileStoreCache, and ↵ | Doug Barth | 2008-10-17 | 1 | -22/+74 |
| | | | | | | (presumably) the DRbStore. Signed-off-by: Michael Koziarski <michael@koziarski.com> | ||||
* | Enhance testing for fractional days and weeks. Update changelog. | gbuesing | 2008-10-13 | 2 | -13/+17 |
| | |||||
* | Added deprecated warning messages to Float#months and Float#years deprications. | Tom Lea | 2008-10-13 | 1 | -8/+10 |
| | |||||
* | Deprecated Float#years and Float#months, moved Numeric#years and ↵ | Tom Lea | 2008-10-13 | 1 | -0/+18 |
| | | | | Numeric#months into Integer. | ||||
* | Time#advance recognizes fractional days and weeks [#970 state:resolved] | Tom Lea | 2008-10-13 | 1 | -0/+34 |
| | |||||
* | test nested hash with float | Dan Barry | 2008-10-12 | 1 | -0/+12 |
| | | | | | | [#652 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Made i18n simple backend able to store false values (and not confuse them ↵ | Tarmo Tänav | 2008-10-09 | 1 | -0/+16 |
| | | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Mark utf-8 source encoding | Jeremy Kemper | 2008-10-06 | 1 | -0/+2 |
| | |||||
* | Fix memoize_all for methods with punctuation [#1175 state:resolved] | Eugene Pimenov | 2008-10-05 | 1 | -0/+5 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Add tests for ActiveSupport::Rescuable. Use ActiveSupport::Rescuable in ↵ | Pratik Naik | 2008-10-04 | 1 | -0/+75 |
| | | | | ActionController::Base. | ||||
* | 1.8 compatibility for random_number method on SecureRandom. | Michael Koziarski | 2008-10-04 | 1 | -0/+4 |
| | | | | 1.9 has its own version. |