Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add #element and #collection to ModelName | Jeremy Kemper | 2009-06-08 | 1 | -0/+8 | |
| | ||||||
* | String #to_time and #to_datetime: handle fractional seconds [#864 ↵ | Jason Frey (Fryguy) | 2009-06-07 | 1 | -0/+3 | |
| | | | | state:resolved] | |||||
* | Pull in time extensions also | Jeremy Kemper | 2009-06-05 | 1 | -1/+1 | |
| | ||||||
* | Remove 'core' fluff. Hookable ActiveSupport.load_all! | Jeremy Kemper | 2009-05-20 | 4 | -4/+4 | |
| | ||||||
* | Make module dependency DSL opt in | Joshua Peek | 2009-05-07 | 1 | -74/+0 | |
| | ||||||
* | Add test coverage to module setup extensions | Joshua Peek | 2009-05-07 | 1 | -0/+74 | |
| | ||||||
* | Fixed Hash#from_xml with keys that are all caps. | codebrulee | 2009-05-04 | 1 | -0/+16 | |
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Work around Float faux precision | Jeremy Kemper | 2009-04-30 | 3 | -15/+15 | |
| | ||||||
* | * Add pluggable JSON backends with support for the JSON gem. [rick] | rick | 2009-04-23 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end | |||||
* | Fix dependencies revealed by testing in isolation | Jeremy Kemper | 2009-04-22 | 21 | -5/+31 | |
| | ||||||
* | Opt in to Dependencies | Jeremy Kemper | 2009-04-22 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' into cherry | Jeremy Kemper | 2009-04-20 | 4 | -16/+75 | |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activesupport/CHANGELOG activesupport/lib/active_support/core_ext/class/delegating_attributes.rb activesupport/lib/active_support/core_ext/hash/conversions.rb activesupport/lib/active_support/core_ext/module/attribute_accessors.rb activesupport/lib/active_support/core_ext/string/multibyte.rb activesupport/lib/active_support/core_ext/time/calculations.rb activesupport/lib/active_support/deprecation.rb | |||||
| * | Clearer String#first and #last edge cases. Fix that foo.first(0) == instead ↵ | Jeremy Kemper | 2009-04-17 | 1 | -0/+2 | |
| | | | | | | | | of foo. | |||||
| * | Test cleanup | Geoff Buesing | 2009-04-05 | 1 | -3/+3 | |
| | | ||||||
| * | TimeWithZone.name returns 'Time', to further thwart type checking | Geoff Buesing | 2009-04-05 | 1 | -0/+4 | |
| | | ||||||
| * | Enhance Time #since and #ago DST tests. | Geoff Buesing | 2009-03-29 | 1 | -16/+57 | |
| | | ||||||
| * | Time.local instances: Adding 24.hours across the DST boundary adds 24 hours ↵ | Michael Curtis | 2009-03-29 | 2 | -16/+28 | |
| | | | | | | | | instead of one day [#2066 state:resolved] | |||||
* | | Eliminate Pathname extensions | Jeremy Kemper | 2009-04-17 | 1 | -10/+0 | |
| | | ||||||
* | | Explicit test dependencies | Jeremy Kemper | 2009-03-29 | 1 | -0/+1 | |
| | | ||||||
* | | Explicit BigDecimal extension dependency | Jeremy Kemper | 2009-03-29 | 1 | -1/+1 | |
| | | ||||||
* | | Explicit test dependencies | Jeremy Kemper | 2009-03-29 | 5 | -2/+5 | |
| | | ||||||
* | | Explicit test dependencies | Jeremy Kemper | 2009-03-28 | 14 | -11/+36 | |
| | | ||||||
* | | Explicitly require core extension under test | Jeremy Kemper | 2009-03-24 | 1 | -0/+1 | |
| | | ||||||
* | | Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offset | Jeremy Kemper | 2009-03-23 | 1 | -15/+0 | |
| | | ||||||
* | | Only require builder at startup if we need to monkey with its String#to_xs ↵ | Jeremy Kemper | 2009-03-21 | 1 | -1/+0 | |
| | | | | | | | | demands | |||||
* | | * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc) | Jeremy Kemper | 2009-03-21 | 2 | -20/+1 | |
|/ | | | | | | * Convert some extension modules to simply reopening the class * Remove deprecated Float time extensions * Fold Base64 extension into ActiveSupport::Base64 since stdlib Base64 is gone | |||||
* | Use xmlschema when serializing TimeWithZones to xml [#2223 state:resolved] | Jonathan del Strother | 2009-03-12 | 1 | -0/+9 | |
| | | | | | | When using Hash#to_xml, any TimeWithZone objects now use xmlschema (iso8601), rather than a simple TimeWithZone#to_s. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Ensure HWIA#reverse_merge! retrurns HWIA [#421 state:resolved] | Bradford Folkens | 2009-03-12 | 1 | -0/+7 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | adding more nokogiri tests and making the main rails tests pass | Aaron Patterson | 2009-03-10 | 1 | -1/+6 | |
| | | | | | | [#2190 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0. | Jeremy Kemper | 2009-03-09 | 1 | -1/+2 | |
| | | | | Delegate parsing to a switchable backend. | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 7 | -17/+17 | |
| | | | | [#1617 state:resolved] | |||||
* | Allow String#parameterize to accept a separator [#2157 state:resolved] | Sam Granieri | 2009-03-07 | 1 | -0/+18 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Deprecated warnings for :skip_last_command and :connector of to_sentence ↵ | Guillermo Álvarez | 2009-02-22 | 1 | -0/+18 | |
| | | | | | | [#1847 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | |||||
* | Broaden URI.unescape fix to all affected 1.9.x by checking for broken ↵ | Jeremy Kemper | 2009-02-20 | 1 | -5/+6 | |
| | | | | behavior instead of specific patchlevel | |||||
* | Ruby 1.9.1p0's URI.decode() bug fix | moro | 2009-02-20 | 1 | -0/+11 | |
| | | | | | | backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005]. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Remove obsolete silence_warnings wrappers from TZInfo-dependent tests in ↵ | Levin Alexander | 2009-02-14 | 3 | -274/+178 | |
| | | | | ActiveSupport [#1914 state:resolved] | |||||
* | Array#wrap should use #to_ary so association collections and named scopes ↵ | Will Bryant | 2009-02-10 | 1 | -0/+10 | |
| | | | | | | | | are not re-wrapped [#1935 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and ↵ | Zachary Zolton | 2009-02-09 | 1 | -0/+4 | |
| | | | | non-standard %z directive [#1899 state:resolved] | |||||
* | Make TimeWithZone#to_formatted_s an alias to TimeWithZone#to_s [#1796 ↵ | Levin Alexander | 2009-02-08 | 1 | -0/+6 | |
| | | | | state:resolved] | |||||
* | Introduce Array.wrap(foo) to wrap the argument in an array unless it's ↵ | Jeremy Kemper | 2009-02-06 | 1 | -0/+24 | |
| | | | | already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. | |||||
* | Merge docrails | Pratik Naik | 2009-01-18 | 1 | -2/+2 | |
| | ||||||
* | Change Object#try to raise NoMethodError on private methods and always ↵ | Pratik Naik | 2009-01-13 | 1 | -9/+10 | |
| | | | | return nil when Object is nil [Pratik Naik, Lawrence Pit] | |||||
* | TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 ↵ | Nicholas Dainty | 2009-01-11 | 1 | -0/+9 | |
| | | | | state:resolved] | |||||
* | Object#tap for Ruby < 1.8.7 | Jeremy Kemper | 2009-01-07 | 1 | -0/+8 | |
| | ||||||
* | TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime ↵ | gbuesing | 2009-01-04 | 1 | -0/+9 | |
| | | | | argument | |||||
* | MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved] | trans | 2008-12-26 | 1 | -3/+17 | |
| | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | |||||
* | Add :allow_nil option to delegate [#1127 state:resolved] | Sergio Gil | 2008-12-21 | 1 | -0/+27 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Added a :camelize option to ActiveRecord and Hash to_xml serialization and ↵ | Bruce Krysiak | 2008-12-10 | 1 | -0/+7 | |
| | | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com> | |||||
* | Change Array#to_sentence I18n options to pass comma and space character from ↵ | Akira Matsuda | 2008-12-08 | 1 | -9/+10 | |
| | | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Explicitly require Builder in test that uses it | Jeremy Kemper | 2008-11-24 | 1 | -0/+1 | |
| |