Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Alias Object#instance_variable_names to Object#instance_variables for Ruby 1.8.x | Pratik Naik | 2008-04-21 | 1 | -2/+6 | |
| | ||||||
* | Merge branch 'master' of git@github.com:rails/rails | gbuesing | 2008-04-20 | 5 | -19/+32 | |
|\ | ||||||
| * | Ruby 1.8.7 compat: detect and alias non-superclass DateTime#to_s | Jeremy Kemper | 2008-04-20 | 1 | -4/+9 | |
| | | ||||||
| * | Ruby 1.8.7 compat: override unordered Enumerable#group_by | Jeremy Kemper | 2008-04-20 | 1 | -1/+4 | |
| | | ||||||
| * | Ruby 1.8.7 compat: String#start_with? and #end_with? | Jeremy Kemper | 2008-04-20 | 3 | -14/+19 | |
| | | ||||||
* | | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵ | gbuesing | 2008-04-20 | 5 | -3/+76 | |
|/ | | | | TimeWithZone when config.time_zone is set. Introducing Time.current, which returns Time.zone.now if config.time_zone is set, otherwise just returns Time.now | |||||
* | Use append_features instead of included to get the inclusion order right | Jeremy Kemper | 2008-04-20 | 1 | -1/+2 | |
| | ||||||
* | Merge commit 'rails/master' | Jeremy Kemper | 2008-04-20 | 10 | -33/+157 | |
|\ | ||||||
| * | Use define_callbacks helper for ActiveRecord validations. | Joshua Peek | 2008-04-20 | 1 | -10/+10 | |
| | | ||||||
| * | Slight optimization to CallbackChain#union and delete. | Joshua Peek | 2008-04-18 | 1 | -6/+5 | |
| | | ||||||
| * | Tidy up ActiveSupport::Callbacks::CallbackChain instance API. | Joshua Peek | 2008-04-17 | 2 | -8/+48 | |
| | | ||||||
| * | Support options passed to ActiveSupport::Cache :mem_cache_store [#14 ↵ | jweiss | 2008-04-17 | 2 | -1/+15 | |
| | | | | | | | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
| * | Time#since behaves correctly when passed a Duration. Closes #11527 [kemiller] | gbuesing | 2008-04-12 | 3 | -7/+63 | |
| | | ||||||
| * | Add #getutc alias for DateTime#utc | gbuesing | 2008-04-12 | 3 | -0/+4 | |
| | | ||||||
| * | Refactor TimeWithZone: don't send #since, #ago, #+, #-, #advance through ↵ | gbuesing | 2008-04-12 | 2 | -9/+20 | |
| | | | | | | | | method_missing | |||||
* | | Incompatible Symbol#to_proc was reverted upstream | Jeremy Kemper | 2008-04-20 | 1 | -7/+0 | |
| | | ||||||
* | | Override incompatible 1.8.7p1 String#chars | Jeremy Kemper | 2008-04-19 | 1 | -0/+6 | |
| | | ||||||
* | | Feature check :force_encoding instead of RUBY_VERSION | Jeremy Kemper | 2008-04-19 | 2 | -2/+2 | |
| | | ||||||
* | | Override Ruby 1.8.7's incompatible Symbol#to_proc. | Jeremy Kemper | 2008-04-18 | 1 | -1/+8 | |
|/ | ||||||
* | TimeWithZone respects config.active_support.use_standard_json_time_format | gbuesing | 2008-04-12 | 3 | -1/+14 | |
| | ||||||
* | Add config.active_support.escape_html_entities_in_json to allow disabling of ↵ | Rick Olson | 2008-04-08 | 5 | -4/+31 | |
| | | | | | | html entity escaping. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix more typos and changelog | Pratik Naik | 2008-04-05 | 1 | -0/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 16 | -81/+89 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Replaced callback method evaluation in AssociationCollection class to use ↵ | Josh Peek | 2008-04-04 | 2 | -17/+13 | |
| | | | | | | ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ↵ | Geoff Buesing | 2008-04-04 | 3 | -2/+56 | |
| | | | | | | #7399 [sblackstone] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | TimeWithZone: Adding tests for dst and leap day edge cases when advancing time | Geoff Buesing | 2008-04-02 | 2 | -0/+37 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Revert [9209] Use Hash#except | Pratik Naik | 2008-04-02 | 3 | -50/+0 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Adding Hash#without Closes #7369 [eventualbuddha] | Pratik Naik | 2008-04-02 | 3 | -0/+50 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | TimeWithZone#method_missing: send to utc to advance with dst correctness, ↵ | Geoff Buesing | 2008-04-02 | 3 | -18/+72 | |
| | | | | | | otherwise send to time. Adding tests for time calculations methods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Add config.active_support.use_standard_json_time_format setting so that ↵ | Rick Olson | 2008-04-01 | 6 | -6/+31 | |
| | | | | | | Times and Dates export to ISO 8601 dates. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fine, warn. Just don't recurse to death in cc.rb | Jeremy Kemper | 2008-03-31 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Add query methods for superclass_delegating_reader | Jeremy Kemper | 2008-03-31 | 2 | -5/+21 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Always alias DateTime#to_s to #to_default_s | Jeremy Kemper | 2008-03-31 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | require fileutils | Jeremy Kemper | 2008-03-31 | 1 | -0/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | TZInfo: Removing unneeded TimezoneProxy class | Geoff Buesing | 2008-03-30 | 4 | -87/+4 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | TZInfo: Removing unneeded TimezoneIndexDefinition, since we're not including ↵ | Geoff Buesing | 2008-03-30 | 3 | -73/+3 | |
| | | | | | | Indexes::Timezones git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ↵ | Geoff Buesing | 2008-03-30 | 4 | -627/+616 | |
| | | | | | | bundled git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Bundling abbreviated version of TZInfo gem 0.3.8: only the classes and zone ↵ | Geoff Buesing | 2008-03-30 | 143 | -82/+16103 | |
| | | | | | | definitions required to support Rails time zone features are included. If a recent version of the full TZInfo gem is installed, this will take precedence over the bundled version git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Don't need to explicitly pass the same params to super. Remove trailing ↵ | Jeremy Kemper | 2008-03-30 | 1 | -62/+60 | |
| | | | | | | whitespace. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ruby 1.9 compat: Suppress Benchmark.realtime method redefined warning. | Josh Peek | 2008-03-30 | 1 | -3/+3 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Force json string encoding to ASCII-8BIT before unpacking for Ruby 1.9. | Josh Peek | 2008-03-29 | 1 | -2/+4 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Play nice with 1.9's DateTime#to_s | Jeremy Kemper | 2008-03-29 | 2 | -2/+3 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ensure threads finish running for time zone thread safety test. | Josh Peek | 2008-03-29 | 1 | -2/+4 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | config.time_zone and TimeWithZone#marshal_load accept tzinfo/Olson identifiers | Geoff Buesing | 2008-03-28 | 3 | -1/+14 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Time.zone= accepts TZInfo::Timezone instances and Olson identifiers; wraps ↵ | Geoff Buesing | 2008-03-28 | 5 | -4/+55 | |
| | | | | | | result in TimeZone instance git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9107 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | TimeWithZone time conversions don't need to be wrapped in TimeOrDateTime, ↵ | Geoff Buesing | 2008-03-28 | 3 | -12/+16 | |
| | | | | | | because TZInfo does this internally git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | TimeWithZone#usec returns 0 instead of error when DateTime is wrapped | Geoff Buesing | 2008-03-28 | 3 | -1/+14 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9105 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 32 | -116/+354 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Standardise the implementation of the extensions to BigDecimal. Closes ↵ | Michael Koziarski | 2008-03-26 | 2 | -23/+39 | |
| | | | | | | #10608 [mikong] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ensure that TimeWithZone#to_yaml works when passed a YAML::Emitter. [rick] | Rick Olson | 2008-03-23 | 3 | -1/+13 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |