CHANGELOG in activesupport-2.2.3 vs CHANGELOG in activesupport-2.3.2
- old
+ new
@@ -1,37 +1,76 @@
-*2.2.3 (September 4th, 2009)*
+*2.3.2 [Final] (March 15, 2009)*
-* Introduce ActiveSupport::Multibyte.clean to clean invalid multibyte strings.
+* XmlMini supports LibXML and Nokogiri backends. #2084, #2190 [Bart ten Brinke, Aaron Patterson]
+ Example: XmlMini.backend = 'Nokogiri'
+* Vendorize i18n 0.1.3 gem (fixes issues with incompatible character encodings in Ruby 1.9) #2038 [Akira Matsuda]
+
+* Update bundled memcache-client from 1.5.0.5 to 1.6.4.99. See http://www.mikeperham.com/2009/02/15/memcache-client-performance/ [Mike Perham]
+
* Ruby 1.9.1p0 fix: URI.unescape can decode multibyte chars. #2033 [MOROHASHI Kyosuke]
+* Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and non-standard %z directive #1899 [Zachary Zolton]
+
+* Make TimeWithZone#to_formatted_s an alias to TimeWithZone#to_s #1796 [Levin Alexander]
+
+* Introduce Array.wrap(foo) to wrap the argument in an array unless it's already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable. [Jeremy Kemper]
+
* TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 state:resolved] [Nicholas Dainty]
+* Object#tap shim for Ruby < 1.8.7. Similar to Object#returning, tap yields self then returns self. [Jeremy Kemper]
+ array.select { ... }.tap(&:inspect).map { ... }
+
* TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime argument [Geoff Buesing]
+* Updated i18n gem to version 0.1.1 #1635 [Yaroslav Markin]
+
+* Add :allow_nil option to delegate. #1127 [Sergio Gil]
+
+* Add Benchmark.ms convenience method to benchmark realtime in milliseconds. [Jeremy Kemper]
+
+* Updated included memcache-client to the 1.5.0.5 version which includes fixes from fiveruns and 37signals to deal with failover and timeouts #1535 [Joshua Sierles]
+
* Multibyte: add multibyte-safe Chars#ord rather than falling back to String#ord. #1483 [Jason Cheow]
+* I18n support for Array#to_sentence. Introduces support.array.words_connector, .two_words_connector, and .last_word_connector translation keys. #1397 [Akira Matsuda]
-*2.2.2 (November 21st, 2008)*
+* Added ActiveSupport::OrderedHash#each_key and ActiveSupport::OrderedHash#each_value #1410 [Christoffer Sawicki]
+* Added ActiveSupport::MessageVerifier and MessageEncryptor to aid users who need to store signed and/or encrypted messages. [Michael Koziarski]
+
+* Added ActiveSupport::BacktraceCleaner to cut down on backtrace noise according to filters and silencers [David Heinemeier Hansson]
+
+* Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris Wanstrath]
+
+* Added Enumerable#none? to check that none of the elements match the block #1408 [Damian Janowski]
+
* TimeZone offset tests: use current_period, to ensure TimeZone#utc_offset is up-to-date [Geoff Buesing]
* Update bundled TZInfo to 0.3.12 [Geoff Buesing]
+* Added lambda merging to OptionMerger (especially useful with named_scope and with_options) #726 [Paweł Kondzior]
+
+
+*2.2.1 [RC2] (November 14th, 2008)*
+
* Increment the version of our altered memcache-client to prevent confusion caused when the 1.5.0 gem is installed.
* Fixed the option merging in Array#to_xml #1126 [Rudolf Gavlas]
-* Make I18n::Backend::Simple reload its translations in development mode [DHH/Sven Fuchs]
+* Make I18n::Backend::Simple reload its translations in development mode [David Heinemeier Hansson/Sven Fuchs]
+
+*2.2.0 [RC1] (October 24th, 2008)*
+
* TimeWithZone#freeze: preload instance variables so that we can actually freeze [Geoff Buesing]
* Fix Brasilia timezone #1180 [Marcus Derencius, Kane]
* Time#advance recognizes fractional days and weeks. Deprecate Durations of fractional months and years #970 [Tom Lea]
-* Add ActiveSupport::Rescuable module abstracting ActionController::Base rescue_from features. [Norbert Crombach, Pratik]
+* Add ActiveSupport::Rescuable module abstracting ActionController::Base rescue_from features. [Norbert Crombach, Pratik Naik]
* Switch from String#chars to String#mb_chars for the unicode proxy. [Manfred Stienstra]
This helps with 1.8.7 compatibility and also improves performance for some operations by reducing indirection.
@@ -41,11 +80,11 @@
* Fixed Sri Jayawardenepura time zone to map to Asia/Colombo [Jamis Buck]
* Added Inflector#parameterize for easy slug generation ("Donald E. Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby]
-* Changed cache benchmarking to be reported in milliseconds [DHH]
+* Changed cache benchmarking to be reported in milliseconds [David Heinemeier Hansson]
* Fix Ruby's Time marshaling bug in pre-1.9 versions of Ruby: utc instances are now correctly unmarshaled with a utc zone instead of the system local zone [#900 state:resolved] [Luca Guidi, Geoff Buesing]
* Add Array#in_groups which splits or iterates over the array in specified number of groups. #579. [Adrian Mugnolo] Example:
@@ -57,11 +96,11 @@
* Added Memoizable mixin for caching simple lazy loaded attributes [Josh Peek]
* Move the test related core_ext stuff out of core_ext so it's only loaded by the test helpers. [Michael Koziarski]
-* Add Inflection rules for String#humanize. #535 [dcmanges]
+* Add Inflection rules for String#humanize. #535 [Dan Manges]
ActiveSupport::Inflector.inflections do |inflect|
inflect.human(/_cnt$/i, '\1_count')
end
@@ -69,23 +108,23 @@
* TimeWithZone: when crossing DST boundary, treat Durations of days, months or years as variable-length, and all other values as absolute length. A time + 24.hours will advance exactly 24 hours, but a time + 1.day will advance 23-25 hours, depending on the day. Ensure consistent behavior across all advancing methods [Geoff Buesing]
* Added TimeZone #=~, to support matching zones by regex in time_zone_select. #195 [Ernie Miller]
-* Added Array#second through Array#fifth as aliases for Array#[1] through Array#[4] + Array#forty_two as alias for Array[41] [DHH]
+* Added Array#second through Array#fifth as aliases for Array#[1] through Array#[4] + Array#forty_two as alias for Array[41] [David Heinemeier Hansson]
* Added test/do declaration style testing to ActiveSupport::TestCase [DHH via Jay Fields]
-* Added Object#present? which is equivalent to !Object#blank? [DHH]
+* Added Object#present? which is equivalent to !Object#blank? [David Heinemeier Hansson]
-* Added Enumberable#many? to encapsulate collection.size > 1 [DHH/Damian Janowski]
+* Added Enumberable#many? to encapsulate collection.size > 1 [David Heinemeier Hansson/Damian Janowski]
* Add more standard Hash methods to ActiveSupport::OrderedHash [Steve Purcell]
* Namespace Inflector, Dependencies, OrderedOptions, and TimeZone under ActiveSupport [Josh Peek]
-* Added StringInquirer for doing things like StringInquirer.new("production").production? # => true and StringInquirer.new("production").development? # => false [DHH]
+* Added StringInquirer for doing things like StringInquirer.new("production").production? # => true and StringInquirer.new("production").development? # => false [David Heinemeier Hansson]
* Fixed Date#end_of_quarter to not blow up on May 31st [#289 state:resolved] (Danger)
*2.1.0 (May 31st, 2008)*
@@ -118,11 +157,11 @@
* Refactor TimeWithZone: don't send #since, #ago, #+, #-, #advance through method_missing [Geoff Buesing]
* TimeWithZone respects config.active_support.use_standard_json_time_format [Geoff Buesing]
-* Add config.active_support.escape_html_entities_in_json to allow disabling of html entity escaping. [rick]
+* Add config.active_support.escape_html_entities_in_json to allow disabling of html entity escaping. [Rick Olson]
* Improve documentation. [Xavier Noria]
* Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments.
@@ -130,11 +169,11 @@
* TimeWithZone: Adding tests for dst and leap day edge cases when advancing time [Geoff Buesing]
* TimeWithZone#method_missing: send to utc to advance with dst correctness, otherwise send to time. Adding tests for time calculations methods [Geoff Buesing]
-* Add config.active_support.use_standard_json_time_format setting so that Times and Dates export to ISO 8601 dates. [rick]
+* Add config.active_support.use_standard_json_time_format setting so that Times and Dates export to ISO 8601 dates. [Rick Olson]
* TZInfo: Removing unneeded TimezoneProxy class [Geoff Buesing]
* TZInfo: Removing unneeded TimezoneIndexDefinition, since we're not including Indexes::Timezones [Geoff Buesing]
@@ -148,13 +187,13 @@
* TimeWithZone time conversions don't need to be wrapped in TimeOrDateTime, because TZInfo does this internally [Geoff Buesing]
* TimeWithZone#usec returns 0 instead of error when DateTime is wrapped [Geoff Buesing]
-* Improve documentation. [Radar, Jan De Poorter, chuyeow, xaviershay, danger, miloops, Xavier Noria, Sunny Ripert]
+* Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
-* Ensure that TimeWithZone#to_yaml works when passed a YAML::Emitter. [rick]
+* Ensure that TimeWithZone#to_yaml works when passed a YAML::Emitter. [Rick Olson]
* Ensure correct TimeWithZone#to_date [Geoff Buesing]
* Make TimeWithZone work with tzinfo 0.2.x: use TZInfo::Timezone#zone_identifier alias for #abbreviation, silence warnings on tests. Raise LoadError when TZInfo version is < 0.2 by sniffing for TZInfo::TimeOrDateTime constant. Move all tzinfo-dependent TimeZone tests into uses_tzinfo block [Geoff Buesing]
@@ -182,23 +221,23 @@
* test_time_with_datetime_fallback expects DateTime.local_offset instead of DateTime.now.offset [Geoff Buesing]
* Adding TimeWithZone #marshal_dump and #marshal_load [Geoff Buesing]
-* Add OrderedHash#to_hash [josh]
+* Add OrderedHash#to_hash [Josh Peek]
* Adding Time#end_of_day, _quarter, _week, and _year. #9312 [Juanjo Bazan, Tarmo Tänav, BigTitus]
* Adding TimeWithZone#between? [Geoff Buesing]
* Time.=== returns true for TimeWithZone instances [Geoff Buesing]
* TimeWithZone #+ and #- behave consistently with numeric arguments regardless of whether wrapped time is a Time or DateTime; consistenty answers false to #acts_like?(:date) [Geoff Buesing]
-* Add String#squish and String#squish! to remove consecutive chunks of whitespace. #11123 [jordi, Henrik N]
+* Add String#squish and String#squish! to remove consecutive chunks of whitespace. #11123 [Jordi Bunster, Henrik N]
-* Serialize BigDecimals as Floats when using to_yaml. #8746 [ernesto.jimenez]
+* Serialize BigDecimals as Floats when using to_yaml. #8746 [Ernesto Jimenez]
* Adding TimeWithZone #to_yaml, #to_datetime, #eql? and method aliases for duck-typing compatibility with Time [Geoff Buesing]
* TimeWithZone #in_time_zone returns +self+ if zone argument is the same as #time_zone [Geoff Buesing]
@@ -212,19 +251,19 @@
* Pruning unneeded Time#change_time_zone_to_current. Enhanced docs to #change_time_zone to explain the difference between this method and #in_time_zone [Geoff Buesing]
* TimeZone#new method renamed #local; when used with Time.zone, constructor now reads: Time.zone.local() [Geoff Buesing]
-* Added Base64.encode64s to encode values in base64 without the newlines. This makes the values immediately usable as URL parameters or memcache keys without further processing [DHH]
+* Added Base64.encode64s to encode values in base64 without the newlines. This makes the values immediately usable as URL parameters or memcache keys without further processing [David Heinemeier Hansson]
* Remove :nodoc: entries around the ActiveSupport test/unit assertions. #10946 [dancroak, jamesh]
* Add Time.zone_default accessor for setting the default time zone. Rails::Configuration.time_zone sets this. #10982 [Geoff Buesing]
* cache.fetch(key, :force => true) to force a cache miss. [Jeremy Kemper]
-* Support retrieving TimeZones with a Duration. TimeZone[-28800] == TimeZone[-480.minutes]. [rick]
+* Support retrieving TimeZones with a Duration. TimeZone[-28800] == TimeZone[-480.minutes]. [Rick Olson]
* TimeWithZone#- added, so that #- can handle a Time or TimeWithZone argument correctly [Geoff Buesing]
* with_timezone test helper renamed with_env_tz, to distinguish between setting ENV['TZ'] and setting Time.zone in tests [Geoff Buesing]
@@ -268,54 +307,54 @@
* Continue evolution toward ActiveSupport::TestCase. #10679 [Josh Peek]
* TestCase: introduce declared setup and teardown callbacks. Pass a list of methods and an optional block to call before setup or after teardown. Setup callbacks are run in the order declared; teardown callbacks are run in reverse. [Jeremy Kemper]
-* Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke]
+* Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Lütke]
* Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel]
-* Added ActiveSupport::Cache::* framework as an extraction from ActionController::Caching::Fragments::* [DHH]
+* Added ActiveSupport::Cache::* framework as an extraction from ActionController::Caching::Fragments::* [David Heinemeier Hansson]
* Fixed String#titleize to work for strings with 's too #10571 [trek]
-* Changed the implementation of Enumerable#group_by to use a double array approach instead of a hash such that the insert order is honored [DHH/Marcel]
+* Changed the implementation of Enumerable#group_by to use a double array approach instead of a hash such that the insert order is honored [David Heinemeier Hansson/Marcel Molina Jr.]
-* remove multiple enumerations from ActiveSupport::JSON#convert_json_to_yaml when dealing with date/time values. [rick]
+* remove multiple enumerations from ActiveSupport::JSON#convert_json_to_yaml when dealing with date/time values. [Rick Olson]
* Hash#symbolize_keys skips keys that can't be symbolized. #10500 [Brad Greenlee]
-* Ruby 1.9 compatibility. #1689, #10466, #10468, #10554, #10594, #10632 [Cheah Chu Yeow, Pratik Naik, Jeremy Kemper, Dirkjan Bussink, fxn]
+* Ruby 1.9 compatibility. #1689, #10466, #10468, #10554, #10594, #10632 [Cheah Chu Yeow, Pratik Naik, Jeremy Kemper, Dirkjan Bussink, Xavier Noria]
* TimeZone#to_s uses UTC rather than GMT. #1689 [Cheah Chu Yeow]
* Refactor of Hash#symbolize_keys! to use Hash#replace. Closes #10420 [ReinH]
* Fix HashWithIndifferentAccess#to_options! so it doesn't clear the options hash. Closes #10419 [ReinH]
*2.0.1* (December 7th, 2007)
-* Added Array#from and Array#to that behaves just from String#from and String#to [DHH]
+* Added Array#from and Array#to that behaves just from String#from and String#to [David Heinemeier Hansson]
* Fix that empty collections should be treated as empty arrays regardless of whitespace for Hash#from_xml #10255 [adamj]
* Time#time_with_datetime_fallback, Time#to_datetime, Date#to_datetime and String#to_datetime honor Ruby's default calendar reform setting. #10201 [Geoff Buesing]
* Change Time and DateTime #end_of_month to return last second of month instead of beginning of last day of month. Closes #10200 [Geoff Buesing]
-* Speedup String#blank? [Jeremy Kemper, Koz]
+* Speedup String#blank? [Jeremy Kemper, Michael Koziarski]
* Add documentation for Hash#diff. Closes #9306 [Tarmo Tänav]
-* Add new superclass_delegating_accessors. Similar to class inheritable attributes but with subtly different semantics. [Koz, Tarmo Tänav]
+* Add new superclass_delegating_accessors. Similar to class inheritable attributes but with subtly different semantics. [Michael Koziarski, Tarmo Tänav]
* Change JSON to encode %w(< > &) as 4 digit hex codes to be in compliance with the JSON spec. Closes #9975 [Josh Peek, Cheah Chu Yeow, Tim Pope]
-* Fix JSON encoding/decoding bugs dealing with /'s. Closes #9990 [Rick, theamazingrando]
+* Fix JSON encoding/decoding bugs dealing with /'s. Closes #9990 [Rick Olson, theamazingrando]
-* Introduce a base class for all test cases used by rails applications. ActiveSupport::TestCase [Koz]
+* Introduce a base class for all test cases used by rails applications. ActiveSupport::TestCase [Michael Koziarski]
The intention is to use this to reduce the amount of monkeypatching / overriding that
is done to test/unit's classes.
* Document Enumerable and Hash #to_json. #9970 [Cheah Chu Yeow]
@@ -364,29 +403,29 @@
* Alias Object#send to send! for Ruby 1.9 forward compatibility. [Jeremy Kemper]
* Backport Object#instance_variable_defined? for Ruby < 1.8.6. [Jeremy Kemper]
-* BufferedLogger#add converts the message to a string. #9702, #9724 [eigentone, DrMark, tomafro]
+* BufferedLogger#add converts the message to a string. #9702, #9724 [eigentone, DrMark, Tom Ward]
-* Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [DHH]
+* Added ActiveSupport::BufferedLogger as a duck-typing alternative (albeit with no formatter) to the Ruby Logger, which provides a very nice speed bump (inspired by Ezra's buffered logger) [David Heinemeier Hansson]
* Object#instance_exec produces fewer garbage methods. [Mauricio Fernandez]
-* Decode json strings as Dates/Times if they're using a YAML-compatible format. Closes #9614 [Rick]
+* Decode json strings as Dates/Times if they're using a YAML-compatible format. Closes #9614 [Rick Olson]
* Fixed cache_page to use the request url instead of the routing options when picking a save path. #8614 [Josh Peek]
* Object.subclasses_of includes anonymous subclasses. [Jeremy Kemper]
* Fixed that pluralizing an empty string should return the same empty string, not "s". #7720 [Josh Peek]
-* Added call to inspect on non-string classes for the logger #8533 [codahale]
+* Added call to inspect on non-string classes for the logger #8533 [Coda Hale]
* Deprecation: remove deprecated :mday option from Time, Date, and DateTime#change. [Jeremy Kemper]
-* Fix JSON decoder with nested quotes and commas. #9579 [zdennis]
+* Fix JSON decoder with nested quotes and commas. #9579 [Zach Dennis]
* Hash#to_xml doesn't double-unescape. #8806 [Ezran]
* Added Array#rand #9170 [Norbert Crombach]. Examples:
@@ -394,31 +433,31 @@
['a'].rand # => 'a'
[1,2,3].rand # => 1 or 2 or 3
* Deprecation: removed Reloadable. [Jeremy Kemper]
-* Make the utf-handler return the correct value for non-matching regular expressions. Closes #9049 [manfred]
+* Make the utf-handler return the correct value for non-matching regular expressions. Closes #9049 [Manfred Stienstra]
-* Add ljust, rjust and center to utf8-handler. Closes #9165 [manfred]
+* Add ljust, rjust and center to utf8-handler. Closes #9165 [Manfred Stienstra]
-* Fix Time#advance bug when trying to advance a year from leap day. Closes #8655 [gbuesing]
+* Fix Time#advance bug when trying to advance a year from leap day. Closes #8655 [Geoff Buesing]
-* Add support for []= on ActiveSupport::Multibyte::Chars. Closes #9142. [ewan, manfred]
+* Add support for []= on ActiveSupport::Multibyte::Chars. Closes #9142. [ewan, Manfred Stienstra]
* Added Array#extract_options! to encapsulate the pattern of getting an options hash out of a variable number of parameters. #8759 [Norbert Crombach]
* Let alias_attribute work with attributes with initial capital letters (legacy columns etc). Closes #8596 [mpalmer]
-* Added Hash#except which is the inverse of Hash#slice -- return the hash except the keys that are specified [DHH]
+* Added Hash#except which is the inverse of Hash#slice -- return the hash except the keys that are specified [David Heinemeier Hansson]
-* Added support for pluralization with a different starting letter than the singular version (cow/kine) #4929 [norri_b/hasmanyjosh]
+* Added support for pluralization with a different starting letter than the singular version (cow/kine) #4929 [norri_b/Josh Susser]
* Demote Hash#to_xml to use XmlSimple#xml_in_string so it can't read files or stdin. #8453 [candlerb, Jeremy Kemper]
-* Backport clean_logger changes to support ruby 1.8.2 [mislav]
+* Backport clean_logger changes to support ruby 1.8.2 [Mislav Marohnić]
-* Added proper handling of arrays #8537 [hasmanyjosh]
+* Added proper handling of arrays #8537 [Josh Susser]
Before:
Hash.from_xml '<images></images>'
# => {:images => nil}
@@ -448,19 +487,19 @@
* Readable Date and DateTime#inspect. #8570 [Geoff Buesing]
* Move common DateTime calculations to Date. #8536 [Geoff Buesing]
-* Added Date#change (like Time#change) [DHH]
+* Added Date#change (like Time#change) [David Heinemeier Hansson]
* DateTime#to_time converts to Time unless out of range. #8512 [Geoff Buesing]
* Date#to_datetime, #to_s(:rfc822). #8512 [Geoff Buesing]
* Time durations use since instead of + for accuracy. #8513 [Geoff Buesing]
-* escape <'s and >'s in JSON strings. #8371 [Rick]
+* escape <'s and >'s in JSON strings. #8371 [Rick Olson]
* Inflections: MatrixTest -> MatrixTests instead of MatricesTest. #8496 [jbwiv]
* Multibyte strings respond_to the String methods they proxy so they can be duck-typed. #6549 [Tuxie]
@@ -472,15 +511,15 @@
* Date, Time, and DateTime#to_json. #8399 [wycats]
* Simplify API of assert_difference by passing in an expression that is evaluated before and after the passed in block. See documenation for examples of new API. [Marcel Molina Jr.]
-* Added assert_difference and assert_no_difference to test/unit assertions [Tobias Luetke]
+* Added assert_difference and assert_no_difference to test/unit assertions [Tobias Lütke]
-* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
+* Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [David Heinemeier Hansson]
-* Added parsing of file type in Hash.xml_in so you can easily do file uploads with base64 from an API [DHH]
+* Added parsing of file type in Hash.xml_in so you can easily do file uploads with base64 from an API [David Heinemeier Hansson]
<person>
<name>David</name>
<avatar type="file" name="me.jpg" content_type="image/jpg">R0lGODlhkACZAPUAAM5lcfjrtMQCG=\n</avatar>
</person>
@@ -496,13 +535,13 @@
* Improved multibyte performance by relying less on exception raising #8159 [Blaine]
* Use XSD-compatible type names for Hash#to_xml and make the converters extendable #8047 [Tim Pope]
-* Added yielding of builder in Hash#to_xml [DHH]
+* Added yielding of builder in Hash#to_xml [David Heinemeier Hansson]
-* Hash#with_indifferent_access now also converts hashes kept in arrays to indifferent access (makes it easier to treat HTML and XML parameters the same) [DHH]
+* Hash#with_indifferent_access now also converts hashes kept in arrays to indifferent access (makes it easier to treat HTML and XML parameters the same) [David Heinemeier Hansson]
* Hash#to_xml supports YAML attributes. #7502 [jonathan]
* Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. [Sam Stephenson]
@@ -516,22 +555,22 @@
* DateTime calculations analogous to the Date and Time extensions. #7693 [Geoff Buesing]
* Give DateTime correct .to_s implementations, lets it play nice with ActiveRecord quoting. #7649 [Geoff Buesing]
-* Add File.atomic_write, allows you to write large files in an atomic manner, preventing users from seeing half written files. [Koz]
+* Add File.atomic_write, allows you to write large files in an atomic manner, preventing users from seeing half written files. [Michael Koziarski]
-* Allow users to provide custom formatters to Logger. [aeden]
+* Allow users to provide custom formatters to Logger. [Anthony Eden]
* Hash#to_query CGI-escapes its keys. [Jeremy Kemper]
* Optimize Class Inheritable Attributes so that unnecessary hashes are not created. Closes #7472 [Bruce Perens]
* :db format for Date#to_s [Jeremy Kemper]
Date.new(2007, 1, 27).to_s(:db) # => '2007-01-27'
-* Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick]
+* Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick Olson]
* Added Hash#to_query to turn a hash of values into a form-encoded query string [Nicholas Seckar]
* Increase test coverage for subclasses_of. Closes #7335. [Roman2K, Nicholas Seckar]
@@ -562,11 +601,11 @@
*1.4.1* (February 5th, 2007)
* Optimize Class Inheritable Attributes so that unnecessary hashes are not created. Closes #7472 [Bruce Perens]
-* Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick]
+* Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick Olson]
* Full test coverage for Inflector. #7228 [Dan Kubb]
*1.4.0* (January 16th, 2007)
@@ -587,31 +626,31 @@
* Fix remove_constant to correctly handle constant names of the form "::A::...". References #6720. [Nicholas Seckar]
* Fixed Array#to_xml when it contains a series of hashes (each piece would get its own XML declaration) #6610 [thkarcher/cyu]
-* Added Time#to_s(:time) which will just return H:M, like 17:44 [DHH]
+* Added Time#to_s(:time) which will just return H:M, like 17:44 [David Heinemeier Hansson]
* Add Module#attr_accessor_with_default to initialize value of attribute before setting it. Closes #6538. [Stuart Halloway, Marcel Molina Jr.]
-* Hash#to_xml handles keys with the same name as Kernel methods. #6613 [Catfish]
+* Hash#to_xml handles keys with the same name as Kernel methods. #6613 [Jonathan del Strother]
-* Added Time#end_of_day to get 23:59:59 of that day [DHH]
+* Added Time#end_of_day to get 23:59:59 of that day [David Heinemeier Hansson]
* Don't quote hash keys in Hash#to_json if they're valid JavaScript identifiers. Disable this with ActiveSupport::JSON.unquote_hash_key_identifiers = false if you need strict JSON compliance. [Sam Stephenson]
* Lazily load the Unicode Database in the UTF-8 Handler [Rick Olson]
* Update dependencies to delete partially loaded constants. [Nicholas Seckar]
* Fix unicode JSON regexp for Onigurama compatibility. #6494 [whitley]
-* update XmlSimple to 1.0.10. Closes #6532. [nicksieger]
+* update XmlSimple to 1.0.10. Closes #6532. [Nick Sieger]
* Update dependencies to allow constants to be defined alongside their siblings. A common case for this is AR model classes with STI; user.rb might define User, Administrator and Guest for example. [Nicholas Seckar]
-* next_week respects DST changes. #6483, #5617, #2353, #2509, #4551 [marclove, rabiedenharn, rails@roetzel.de, jsolson@damogran.org, drbrain@segment7.net]
+* next_week respects DST changes. #6483, #5617, #2353, #2509, #4551 [marclove, Rob Biedenharn, rails@roetzel.de, jsolson@damogran.org, drbrain@segment7.net]
* Expose methods added to Enumerable in the documentation, such as group_by. Closes #6170. [sergeykojin@gmail.com, Marcel Molina Jr.]
* Ensure Chars#tidy_bytes only tidies broken bytes. Closes #6397 [Manfred Stienstra]
@@ -627,13 +666,13 @@
* Fix issue with #class_inheritable_accessor saving updates to the parent class when initialized with an Array or Hash [mojombo]
* Hash#to_xml supports Bignum and BigDecimal. #6313 [edibiase]
-* Don't undefine #class in OptionMerger [Rick]
+* Don't undefine #class in OptionMerger [Rick Olson]
-* Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [DHH]
+* Hash.create_from_xml has been renamed to Hash.from_xml, alias will exist until Rails 2.0 [David Heinemeier Hansson]
* alias_method_chain works with accessor= methods also. #6153 [Caio Chassot]
* Fix loadable_constants_for_path to handle load paths that do not end with a slash. [Nicholas Seckar]
@@ -681,17 +720,17 @@
# def foo() @foo__rofl end
# def foo=(v) @foo__rofl = v end
self.attr_internal_naming_format = '@%s__rofl'
attr_internal :foo
-* Raise fully qualified names upon name errors. #5533 [lars@pinds.com, Nicholas Seckar]
+* Raise fully qualified names upon name errors. #5533 [Lars Pind, Nicholas Seckar]
* Add extention to obtain the missing constant from NameError instances. [Nicholas Seckar]
* Thoroughly document inflections. #5700 [petermichaux@gmail.com]
-* Added Module#alias_attribute [Jamis/DHH]. Example:
+* Added Module#alias_attribute [Jamis/David Heinemeier Hansson]. Example:
class Content < ActiveRecord::Base
# has a title attribute
end
@@ -709,27 +748,27 @@
* Deprecation: easier to work with warning behavior as procs; default behaviors for each environment so users needn't update env.rb; and testing pleasure with assert_deprecated, assert_not_deprecated. [Jeremy Kemper]
By default, test prints to $stderr, dev logs, production ignores.
Provide your own per-environment in e.g. config/environments/development.rb:
ActiveSupport::Deprecation.behavior = Proc.new { |message| raise message }
-* First cut of the Rails Deprecation system. [Koz]
+* First cut of the Rails Deprecation system. [Michael Koziarski]
* Strip boolean XML content before checking for 'true' [Rick Olson]
-* Customize default BigDecimal formatting. References #5672 [dave@pragprog.com]
+* Customize default BigDecimal formatting. References #5672 [Dave Thomas]
-* Correctly convert <foo nil="true"> to nil when using Hash.create_from_xml. [Rick]
+* Correctly convert <foo nil="true"> to nil when using Hash.create_from_xml. [Rick Olson]
* Optional identity for Enumerable#sum defaults to zero. #5657 [gensym@mac.com]
-* HashWithIndifferentAccess shouldn't confuse false and nil. #5601 [shugo@ruby-lang.org]
+* HashWithIndifferentAccess shouldn't confuse false and nil. #5601 [Shugo Maeda]
* Fixed HashWithIndifferentAccess#default #5586 [chris@seagul.co.uk]
* More compatible Hash.create_from_xml. #5523 [nunemaker@gmail.com]
-* Added Enumerable#sum for calculating a sum from the elements [DHH, jonathan@daikini.com]. Examples:
+* Added Enumerable#sum for calculating a sum from the elements [David Heinemeier Hansson, jonathan@daikini.com]. Examples:
[1, 2, 3].sum
payments.sum { |p| p.price * p.tax_rate }
payments.sum(&:price)
@@ -747,11 +786,11 @@
* Enhance Symbol#to_proc so it works with list objects, such as multi-dimensional arrays. Closes #5295 [nov@yo.rim.or.jp]. Example:
{1 => "one", 2 => "two", 3 => "three"}.sort_by(&:first).map(&:last)
#=> ["one", "two", "three"]
-* Added Hash.create_from_xml(string) which will create a hash from a XML string and even typecast if possible [DHH]. Example:
+* Added Hash.create_from_xml(string) which will create a hash from a XML string and even typecast if possible [David Heinemeier Hansson]. Example:
Hash.create_from_xml <<-EOT
<note>
<title>This is a note</title>
<created-at type="date">2004-10-10</created-at>
@@ -760,25 +799,25 @@
...would return:
{ :note => { :title => "This is a note", :created_at => Date.new(2004, 10, 10) } }
-* Added Jim Weirich's excellent FlexMock class to vendor (Copyright 2003, 2004 by Jim Weirich (jim@weriichhouse.org)) -- it's not automatically required, though, so require 'flexmock' is still necessary [DHH]
+* Added Jim Weirich's excellent FlexMock class to vendor (Copyright 2003, 2004 by Jim Weirich (jim@weriichhouse.org)) -- it's not automatically required, though, so require 'flexmock' is still necessary [David Heinemeier Hansson]
* Fixed that Module#alias_method_chain should work with both foo? foo! and foo at the same time #4954 [anna@wota.jp]
* to_xml fixes, features, and speedup: introduce :dasherize option that converts updated_at to updated-at if true (the existing default); binary columns get encoding="base64" attribute; nil values get nil="true" attribute to distinguish empty values; add type information for float columns; allow arbitrarily deep :include; include SQL type information as the type attribute. #4989 [Blair Zajac <blair@orcaware.com>]
* Add OrderedHash#values. [Sam Stephenson]
-* Added Array#to_s(:db) that'll produce a comma-separated list of ids [DHH]. Example:
+* Added Array#to_s(:db) that'll produce a comma-separated list of ids [David Heinemeier Hansson]. Example:
Purchase.find(:all, :conditions => "product_id IN (#{shops.products.to_s(:db)})"
* Normalize classify's argument to a String so that it plays nice with Symbols. [Marcel Molina Jr.]
-* Strip out leading schema name in classify. References #5139. [schoenm@earthlink.net]
+* Strip out leading schema name in classify. References #5139. [Michael Schoen]
* Remove Enumerable#first_match since break(value) handles the use case well enough. [Nicholas Seckar]
Enumerable#first_match was like detect, but instead of returning the matching element, the yielded value returned. For example:
@@ -806,11 +845,11 @@
* Allow default options in with_options to be overridden. Closes #4480. [murphy@cYcnus.de]
* Added Module#alias_method_chain [Jamis Buck]
-* Updated to Builder 2.0 [DHH]
+* Updated to Builder 2.0 [David Heinemeier Hansson]
* Add Array#split for dividing arrays into one or more subarrays by value or block. [Sam Stephenson]
*1.3.1* (April 6th, 2006)
@@ -837,24 +876,24 @@
* Update Object.remove_subclasses_of to use Class.remove_class, reducing duplication. [Nicholas Seckar]
* Added Fixnum#seconds for consistency, so you can say 5.minutes + 30.seconds instead of 5.minutes + 30 #4389 [François Beausoleil]
-* Added option to String#camelize to generate lower-cased camel case by passing in :lower, like "super_man".camelize(:lower) # => "superMan" [DHH]
+* Added option to String#camelize to generate lower-cased camel case by passing in :lower, like "super_man".camelize(:lower) # => "superMan" [David Heinemeier Hansson]
* Added Hash#diff to show the difference between two hashes [Chris McGrath]
* Added Time#advance to do precise time time calculations for cases where a month being approximated to 30 days won't do #1860 [Rick Olson]
* Enhance Inflector.underscore to convert '-' into '_' (as the inverse of Inflector.dasherize) [Jamis Buck]
-* Switched to_xml to use the xml schema format for datetimes. This allows the encoding of time zones and should improve operability. [Koz]
+* Switched to_xml to use the xml schema format for datetimes. This allows the encoding of time zones and should improve operability. [Michael Koziarski]
* Added a note to the documentation for the Date related Numeric extensions to indicate that they're
-approximations and shouldn't be used for critical calculations. [Koz]
+approximations and shouldn't be used for critical calculations. [Michael Koziarski]
-* Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML from basic structures [DHH]. Examples:
+* Added Hash#to_xml and Array#to_xml that makes it much easier to produce XML from basic structures [David Heinemeier Hansson]. Examples:
{ :name => "David", :street_name => "Paulina", :age => 26, :moved_on => Date.new(2005, 11, 15) }.to_xml
...returns:
@@ -863,11 +902,11 @@
<name>David</name>
<age type="integer">26</age>
<moved-on type="date">2005-11-15</moved-on>
</person>
-* Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [DHH]
+* Moved Jim Weirich's wonderful Builder from Action Pack to Active Support (it's simply too useful to be stuck in AP) [David Heinemeier Hansson]
* Fixed that Array#to_sentence will return "" on an empty array instead of ", and" #3842, #4031 [rubyonrails@beautifulpixel.com]
* Add Enumerable#group_by for grouping collections based on the result of some
block. Useful, for example, for grouping records by date.
@@ -892,11 +931,11 @@
["4", "5", "6"]
["7", nil, nil]
[Marcel Molina Jr., Sam Stephenson]
-* Added Kernel#daemonize to turn the current process into a daemon that can be killed with a TERM signal [DHH]
+* Added Kernel#daemonize to turn the current process into a daemon that can be killed with a TERM signal [David Heinemeier Hansson]
* Add 'around' methods to Logger, to make it easy to log before and after messages for a given block as requested in #3809. [Michael Koziarski] Example:
logger.around_info("Start rendering component (#{options.inspect}): ",
"\n\nEnd of component rendering") { yield }
@@ -907,11 +946,11 @@
* Fix constantize to properly handle names beginning with '::'. [Nicholas Seckar]
* Make String#last return the string instead of nil when it is shorter than the limit [Scott Barron].
-* Added delegation support to Module that allows multiple delegations at once (unlike Forwardable in the stdlib) [DHH]. Example:
+* Added delegation support to Module that allows multiple delegations at once (unlike Forwardable in the stdlib) [David Heinemeier Hansson]. Example:
class Account < ActiveRecord::Base
has_one :subscription
delegate :free?, :paying?, :to => :subscription
delegate :overdue?, :to => "subscription.last_payment"
@@ -942,19 +981,19 @@
class Setting
include Reloadable
end
- Reloading a class is done by removing its constant which will cause it to be loaded again on the next reference. [DHH]
+ Reloading a class is done by removing its constant which will cause it to be loaded again on the next reference. [David Heinemeier Hansson]
* Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]
* Add Object#instance_exec, like instance_eval but passes its arguments to the block. (Active Support will not override the Ruby 1.9 implementation of this method.) [Sam Stephenson]
* Add Proc#bind(object) for changing a proc or block's self by returning a Method bound to the given object. Based on why the lucky stiff's "cloaker" method. [Sam Stephenson]
-* Fix merge and dup for hashes with indifferent access #3404 [kenneth.miller@bitfield.net]
+* Fix merge and dup for hashes with indifferent access #3404 [Ken Miller]
* Fix the requires in option_merger_test to unbreak AS tests. [Sam Stephenson]
* Make HashWithIndifferentAccess#update behave like Hash#update by returning the hash. #3419, #3425 [asnem@student.ethz.ch, JanPrill@blauton.de, Marcel Molina Jr.]
@@ -1057,25 +1096,25 @@
* Added native, faster implementations of .blank? for the core types #2286 [skae]
* Fixed clean logger to work with Ruby 1.8.3 Logger class #2245
-* Fixed memory leak with Active Record classes when Dependencies.mechanism = :load #1704 [c.r.mcgrath@gmail.com]
+* Fixed memory leak with Active Record classes when Dependencies.mechanism = :load #1704 [Chris McGrath]
* Fixed Inflector.underscore for use with acronyms, so HTML becomes html instead of htm_l #2173 [k@v2studio.com]
* Fixed dependencies related infinite recursion bug when a controller file does not contain a controller class. Closes #1760. [rcolli2@tampabay.rr.com]
* Fixed inflections for status, quiz, move #2056 [deirdre@deirdre.net]
* Added Hash#reverse_merge, Hash#reverse_merge!, and Hash#reverse_update to ease the use of default options
-* Added Array#to_sentence that'll turn ['one', 'two', 'three'] into "one, two, and three" #2157 [m.stienstra@fngtps.com]
+* Added Array#to_sentence that'll turn ['one', 'two', 'three'] into "one, two, and three" #2157 [Manfred Stienstra]
* Added Kernel#silence_warnings to turn off warnings temporarily for the passed block
-* Added String#starts_with? and String#ends_with? #2118 [thijs@vandervossen.net]
+* Added String#starts_with? and String#ends_with? #2118 [Thijs van der Vossen]
* Added easy extendability to the inflector through Inflector.inflections (using the Inflector::Inflections singleton class). Examples:
Inflector.inflections do |inflect|
inflect.plural /^(ox)$/i, '\1\2en'
@@ -1114,11 +1153,11 @@
* Fixed conflict with Glue gem #1606 [Rick Olson]
* Added new rules to the Inflector to deal with more unusual plurals mouse/louse => mice/lice, information => information, ox => oxen, virus => viri, archive => archives #1571, #1583, #1490, #1599, #1608 [foamdino@gmail.com/others]
-* Fixed memory leak with Object#remove_subclasses_of, which inflicted a Rails application running in development mode with a ~20KB leak per request #1289 [c.r.mcgrath@gmail.com]
+* Fixed memory leak with Object#remove_subclasses_of, which inflicted a Rails application running in development mode with a ~20KB leak per request #1289 [Chris McGrath]
* Made 1.year == 365.25.days to account for leap years. This allows you to do User.find(:all, :conditions => ['birthday > ?', 50.years.ago]) without losing a lot of days. #1488 [tuxie@dekadance.se]
* Added an exception if calling id on nil to WhinyNil #584 [kevin-temp@writesoon.com]
@@ -1149,11 +1188,11 @@
*1.0.4* (19th April, 2005)
* Fixed that in some circumstances controllers outside of modules may have hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar]
-* Fixed inflection of perspectives and similar words #1045 [thijs@vandervossen.net]
+* Fixed inflection of perspectives and similar words #1045 [Thijs van der Vossen]
* Added Fixnum#even? and Fixnum#odd?
* Fixed problem with classes being required twice. Object#const_missing now uses require_dependency to load files. It used to use require_or_load which would cause models to be loaded twice, which was not good for validations and other class methods #971 [Nicholas Seckar]
@@ -1191,11 +1230,11 @@
* Added Object#blank? -- see http://redhanded.hobix.com/inspect/objectBlank.html #783 [_why the lucky stiff]
* Added inflection rules for "sh" words, like "wish" and "fish" #755 [phillip@pjbsoftware.com]
-* Fixed an exception when using Ajax based requests from Safari because Safari appends a \000 to the post body. Symbols can't have \000 in them so indifferent access would throw an exception in the constructor. Indifferent hashes now use strings internally instead. #746 [Tobias Luetke]
+* Fixed an exception when using Ajax based requests from Safari because Safari appends a \000 to the post body. Symbols can't have \000 in them so indifferent access would throw an exception in the constructor. Indifferent hashes now use strings internally instead. #746 [Tobias Lütke]
* Added String#to_time and String#to_date for wrapping ParseDate
*1.0.0* (24th February, 2005)
@@ -1257,10 +1296,10 @@
Bar.read_and_write_me = 'bar'
Bar.read_and_write_me != Foo.read_and_write_me
* Added Inflections as an extension on String, so Inflector.pluralize(Inflector.classify(name)) becomes name.classify.pluralize #476 [Jeremy Kemper]
-* Added Byte operations to Numeric, so 5.5.megabytes + 200.kilobytes #461 [Marcel Molina]
+* Added Byte operations to Numeric, so 5.5.megabytes + 200.kilobytes #461 [Marcel Molina Jr.]
* Fixed that Dependencies.reload can't load the same file twice #420 [Kent Sibilev]
* Added Fixnum#ago/until, Fixnum#since/from_now #450 [Jeremy Kemper]