Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added Object#present? which is equivalent to !Object#blank? [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+5 | |
| | ||||||
* | Merge branch 'master' of git@github.com:rails/rails | David Heinemeier Hansson | 2008-06-12 | 4 | -17/+44 | |
|\ | ||||||
| * | Add empty setup and teardown methods to rule out default setup behavior in ↵ | Jeremy Kemper | 2008-06-09 | 1 | -0/+6 | |
| | | | | | | | | base class | |||||
| * | Performance: faster Object.subclasses_of | Jeremy Kemper | 2008-06-08 | 1 | -1/+1 | |
| | | ||||||
| * | Wrap date part value method tests inside a uses mocha block. | Joshua Peek | 2008-06-07 | 1 | -16/+18 | |
| | | ||||||
| * | Move Class::ModelName to Active Support module core_ext | Jeremy Kemper | 2008-06-06 | 1 | -0/+19 | |
| | | ||||||
* | | Added Enumberable#several? to encapsulate collection.size > 1 [DHH] | David Heinemeier Hansson | 2008-06-12 | 1 | -0/+6 | |
|/ | ||||||
* | Renamed StringQuestioneer to StringInquirer. | Joshua Peek | 2008-06-04 | 2 | -15/+15 | |
| | ||||||
* | Namespaced StringQuestioneer under ActiveSupport. | Joshua Peek | 2008-06-04 | 1 | -3/+3 | |
| | ||||||
* | Wrapped Rails.env in StringQuestioneer so you can do Rails.env.development? ↵ | David Heinemeier Hansson | 2008-06-03 | 1 | -0/+15 | |
| | | | | [DHH] | |||||
* | Add more standard Hash methods to ActiveSupport::OrderedHash [#314 ↵ | Steve Purcell | 2008-06-03 | 1 | -0/+19 | |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Fixed ambiguous first argument warning in ArrayExtTest. | Joshua Peek | 2008-06-03 | 1 | -14/+12 | |
| | ||||||
* | Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ↵ | Joshua Peek | 2008-06-03 | 10 | -411/+420 | |
| | | | | ActiveSupport [#238 state:resolved] | |||||
* | Added tests [#279 state:resolved] (Nicholas Schlueter) | David Heinemeier Hansson | 2008-06-02 | 3 | -0/+10 | |
| | ||||||
* | Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] ↵ | David Heinemeier Hansson | 2008-06-02 | 1 | -0/+1 | |
| | | | | (Danger) | |||||
* | Added a test for Gzip | David Heinemeier Hansson | 2008-06-02 | 1 | -0/+7 | |
| | ||||||
* | Fixed Dependencies so load errors are not masked behind a 'Expected x.rb to ↵ | Tom Ward | 2008-05-31 | 1 | -6/+14 | |
| | | | | | | define X' message when mechanism is not set to :load [#87 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | TimeZone#to_s shows offset as GMT instead of UTC, because GMT will be more ↵ | gbuesing | 2008-05-25 | 1 | -1/+1 | |
| | | | | familiar to end users (see time zone selects used by Windows OS, google.com and yahoo.com.) Reverts [8370] | |||||
* | Fix Dependencies watch_frames collection. [#24 state:resolved] | Tom Ward | 2008-05-20 | 1 | -0/+6 | |
| | | | | | | | | | | Previously, the code collecting watch_frames could fail leaving watch_frames defined but nil. The cleanup code checks watch_frames is defined, but not that it holds a value, raising an undefined method on NilClass error rather than the original cause. This can make debugging the underlying cause a total pain. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Hash.from_xml: datetime xml types overflow to Ruby DateTime class when out ↵ | gbuesing | 2008-05-18 | 1 | -0/+38 | |
| | | | | of range of Time. Adding tests for utc offsets | |||||
* | TimeWithZone #+ and #- : ensure overflow to DateTime with Numeric arg | gbuesing | 2008-05-18 | 1 | -0/+7 | |
| | ||||||
* | Time#to_json: don't convert to utc before encoding. References #175 | gbuesing | 2008-05-18 | 1 | -0/+16 | |
| | ||||||
* | Create a seperate file for ActiveSupport::OrderedHash. | Joshua Peek | 2008-05-14 | 2 | -44/+45 | |
| | ||||||
* | Include time zone offset in TimeWithZone#to_json | Daniel Morrison | 2008-05-13 | 1 | -1/+1 | |
| | ||||||
* | Remove unnecessary DeprecatedInstanceVariable class | Pratik Naik | 2008-05-13 | 1 | -10/+0 | |
| | ||||||
* | Adding Date.current, which returns Time.zone.today if config.time_zone is ↵ | gbuesing | 2008-05-08 | 1 | -0/+23 | |
| | | | | set; otherwise returns Date.today. ActionView date_helper uses Date.current to determine locale-appropriate default | |||||
* | TimeWithZone: date part getter methods (#year #mon #day etc) are defined on ↵ | gbuesing | 2008-05-08 | 1 | -1/+9 | |
| | | | | class; no longer relying on method_missing | |||||
* | Time.zone.parse: return nil for strings with no date information | gbuesing | 2008-05-08 | 1 | -0/+8 | |
| | ||||||
* | Time.zone.parse: compatibility with far future date with time zone offset in ↵ | gbuesing | 2008-05-08 | 1 | -0/+9 | |
| | | | | string. Eliminate creation of additional TimeWithZone instance to determine utc offset. | |||||
* | Fix Time.zone.parse from stripping time zone information and make Time aware ↵ | Scott Fleckenstein | 2008-05-08 | 1 | -0/+8 | |
| | | | | attribute methods use Time.zone.parse instead of to_time | |||||
* | Add class to deprecate instance variables | Pratik Naik | 2008-05-06 | 1 | -0/+10 | |
| | | | | | Add ActiveSupport::Deprecation::DeprecatedInstanceVariable class to deprecate instance variables of primitive types such as stings. | |||||
* | Added OrderedHash#delete [#113 state:resolved] | Sean Ouimet | 2008-05-05 | 1 | -0/+13 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Ruby 1.9 compat: compatibility wrapper for new Module#const_defined? behavior | Jeremy Kemper | 2008-05-01 | 1 | -8/+2 | |
| | ||||||
* | Duration #since and #ago with no argument (e.g., 5.days.ago) return ↵ | gbuesing | 2008-04-20 | 2 | -0/+66 | |
| | | | | 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 | |||||
* | Tidy up ActiveSupport::Callbacks::CallbackChain instance API. | Joshua Peek | 2008-04-17 | 1 | -0/+31 | |
| | ||||||
* | Support options passed to ActiveSupport::Cache :mem_cache_store [#14 ↵ | jweiss | 2008-04-17 | 1 | -0/+13 | |
| | | | | | | 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 | 1 | -2/+53 | |
| | ||||||
* | Add #getutc alias for DateTime#utc | gbuesing | 2008-04-12 | 1 | -0/+1 | |
| | ||||||
* | TimeWithZone respects config.active_support.use_standard_json_time_format | gbuesing | 2008-04-12 | 1 | -0/+7 | |
| | ||||||
* | Add config.active_support.escape_html_entities_in_json to allow disabling of ↵ | Rick Olson | 2008-04-08 | 1 | -0/+3 | |
| | | | | | | html entity escaping. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Time #yesterday and #tomorrow behave correctly crossing DST boundary. Closes ↵ | Geoff Buesing | 2008-04-04 | 1 | -0/+52 | |
| | | | | | | #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 | 1 | -0/+35 | |
| | | | | 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 | 1 | -32/+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 | 1 | -0/+32 | |
| | | | | 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 | 1 | -0/+63 | |
| | | | | | | 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 | 1 | -3/+12 | |
| | | | | | | 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 | |||||
* | Add query methods for superclass_delegating_reader | Jeremy Kemper | 2008-03-31 | 1 | -4/+14 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9156 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 | |||||
* | Removing unnecessary uses_tzinfo helper from tests, given that TZInfo is now ↵ | Geoff Buesing | 2008-03-30 | 3 | -627/+614 | |
| | | | | | | 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 | 1 | -1/+1 | |
| | | | | | | 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 |