2.3.14:
Security fix with Ruby 1.8.x not affected Ruby 1.9.x:
Ruby on Rails has provided a high performance replacement for
ERB::Util.h since version 2.0.0. Due to a bug in the Ruby 1.8 Regular
Expression code this replacement version will fail to escape certain
malformed unicode strings. This malformed output will then be
interpreted as HTML by some browsers on some operating systems.
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE.
* Remove default value of GEM_BUILD.
*2.3.9 (September 4, 2010)*
* i18n: bundle i18n 0.4.1 for forward compatibility with Rails 3.
Deprecates {{foo}} interpolation syntax in favor of 1.9-native %{foo}.
* Deprecate Kernel#returning in favor of Object#tap since it's included
in Ruby 1.8.7 and later. [Santiago Pastorino]
* Deprecates ActiveSupport::Dependencies.load_(once_)paths, renamed to
autoload_(once_)paths. [fxn]
* Deprecates Array#random_element, renamed to sample to match Ruby 1.9,
thanks to Marc-Andre Lafortune. [fxn]
Changes since 2.3.5:
* HTML safety: fix compatibility with the optional rails_xss plugin.
[Nathan Weizenbaum, Santiago Pastorino]
* 1.9 compat: deprecated last_(month|year) in favor of
prev_(month|year). [fxn]
* Deprecated Array#rand in favor of Array#random_element. [Santiago
Pastorino, Rizwan Reza]
* Added Object#presence that returns the object if it's #present?
otherwise returns nil [DHH/Colin Kelley]
* New assertions assert_blank and assert_present. #4299 [Juanjo Bazan]
* Use Object#singleton_class instead of #metaclass. Prefer Ruby's
choice. [Jere my Kemper]
* JSON backend for YAJL. Preferred if available. #2666 [Brian Lopez]
* Introduce String#html_safe for rails_xss plugin and
forward-compatibility with Rails 3. [Michael Koziarski, Santiago
Pastorino, José Ignacio Costa]
* Time#- with a DateTime argument behaves the same as with a Time
argument, i.e. returns the difference between self and arg as a
Float #3476 [Geoff Buesing]
* YAML serialization for OrderedHash. #3608 [Gregor Schmidt]
* Add Enumerable#exclude? to bring parity to Enumerable#include? and
avoid if !x .include?/else calls [DHH]
vulnerability in ruby-actionpack.
Major changes:
- Improved compatibility with Ruby 1.9
- RailsXss plugin availability
- Fixes for the Nokogiri backend for XmlMini
Changes since 2.1.1:
* Allow metal to live in plugins #2045 [Matthew Rudy]
* Added metal [Josh Peek]
* Remove script/performance/request in favour of the performance
integration tests. [Pratik Naik]
* Add a rake task to apply a template to an existing application :
rake rails:template LOCATION=~/template.rb [Pratik Naik]
* Add "-m/--template" option to Rails generator to apply a template to
the generated application. [Jeremy McAnally]
* Extracted the process scripts (inspector, reaper, spawner) into the
plugin irs_process_scripts [David Heinemeier Hansson]
* Changed Rails.root to return a Pathname object
* Added view path support for engines [David Heinemeier Hansson]
* Added that config/routes.rb files in engine plugins are
automatically loaded (and reloaded when they change in dev mode)
[David Heinemeier Hansson]
* Added app/[models|controllers|helpers] to the load path for plugins
that has an app directory (go engines ;)) [David Heinemeier Hansson]
* Add config.preload_frameworks to load all frameworks at
startup. Default to false so Rails autoloads itself as it's
used. Turn this on for Passenger and JRuby. Also turned on by
config.threadsafe! [Jeremy Kemper]
* Add a rake task to generate dispatchers : rake
rails:generate_dispatchers [Pratik Naik]
* "rails <app>" will not generate public/dispatch.cgi/fcgi/rb files by
default now. Please use "--with-dispatchers" option if you need
them. [Yaroslav Markin, Pratik Naik]
* Added rake rails:update:application_controller to renamed
application.rb to application_controller.rb -- included in rake
rails:update so upgrading to 2.3 will automatically trigger it #1439
[kastner]
* Added Rails.backtrace_cleaner as an accessor for the
Rails::BacktraceCleaner instance used by the framework to cut down
on backtrace noise and config/initializers/backtrace_silencers.rb to
add your own (or turn them all off) [David Heinemeier Hansson]
* Switch from Test::Unit::TestCase to ActiveSupport::TestCase. [Jeremy Kemper]
* Added config.i18n settings gatherer to config/environment,
auto-loading of all locales in config/locales/*.rb,yml, and
config/locales/en.yml as a sample locale [David Heinemeier Hansson]
* BACKWARDS INCOMPATIBLE: Renamed application.rb to
application_controller.rb and removed all the special casing that
was in place to support the former. You must do this rename in your
own application when you upgrade to this version [David Heinemeier
Hansson]
* Fixed plugin generator so that generated unit tests would subclass
ActiveSupport::TestCase, also introduced a helper script to reduce
the needed require statements #1137 [Mathias Meyer]
* Update Prototype to 1.6.0.3 [sam]
* Fixed that sqlite would report "db/development.sqlite3 already
exists" whether true or not on db:create #614 [Antonio Cangiano]
* Added config.threadsafe! to toggle allow concurrency settings and
disable the dependency loader [Josh Peek]
* Turn cache_classes on by default [Josh Peek]
* Added configurable eager load paths. Defaults to app/models,
app/controllers, and app/helpers [Josh Peek]
* Introduce simple internationalization support. [Ruby i18n team]
* Make script/plugin install <plugin> -r <revision> option work with
git based plugins. #257. [Tim Pope Jakub Kuźma]. Example:
* Added Rails.initialized? flag [Josh Peek]
* Make rake test:uncommitted work with Git. [Tim Pope]
* Added Thin support to script/server. #488 [Bob Klosinski]
* Fix script/about in production mode. #370 [Cheah Chu Yeow, Xavier
Noria, David Krmpotic]
* Add the gem load paths before the framework is loaded, so certain
gems like RedCloth and BlueCloth can be frozen.
* Fix discrepancies with loading rails/init.rb from gems.
* Plugins check for the gem init path (rails/init.rb) before the
standard plugin init path (init.rb) [Jacek Becela]
* Changed all generated tests to use the test/do declaration style
[David Heinemeier Hansson]
* Wrapped Rails.env in StringInquirer so you can do
Rails.env.development? [David Heinemeier Hansson]
* Fixed that RailsInfoController wasn't considering all requests local
in development mode (Edgard Castro) [#310 state:resolved]
Changes:
* 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]:activesupport/CHANGELOG
* 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]
* Fix TimeWithZone unmarshaling: coerce unmarshaled Time instances to
utc, because Ruby's marshaling of Time instances doesn't respect the
zone [Geoff Buesing]
* Added StringQuestioneer for doing things like
StringQuestioneer.new("productio n").production? # => true and
StringQuestioneer.new("production").development? # => false [DHH]
* Fixed Date#end_of_quarter to not blow up on May 31st [#289
state:resolved] (Danger)
Changes:
* Backport: allow array and hash query parameters. Array route parameters are
converted/to/a/path as before.
* Demote Hash#to_xml to use XmlSimple#xml_in_string so it can't read files or
stdin.
* Document Object#blank?.
* Update Dependencies to ignore constants inherited from ancestors.
* Improved multibyte performance by relying less on exception raising
Changes:
* Optimize Class Inheritable Attributes so that unnecessary hashes are not
creat ed. [Bruce Perens]
* Added :instance_writer option to #mattr_writer/accessor,
#cattr_writer/accesso r, and #class_inheritable_writer to skip the creation
of the instance writer. [ Rick]
* Full test coverage for Inflector. #7228 [Dan Kubb]
From activesupport svn:
Ruby 1.8-cvs and 1.9 define a private Time#to_date that overrides Active
Support. Make it public to preserve compatibility.
Bump PKGREVISION.
*1.1.1* (11 July, 2005)
* Added more efficient implementation of the development mode reset of classes #1638 [Chris McGrath]
*1.1.0* (6 July, 2005)
* 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]
* 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]
* Added Fix/Bignum#multiple_of? which returns true on 14.multiple_of?(7) and false on 16.multiple_of?(7) #1464 [Thomas Fuchs]
* Added even? and odd? to work with Bignums in addition to Fixnums #1464 [Thomas Fuchs]
* Fixed Time#at_beginning_of_week returned the next Monday instead of the previous one when called on a Sunday #1403 [jean.helou@gmail.com]
* Increased the speed of indifferent hash access by using Hash#default. #1436 [Nicholas Seckar]
* Added that " " is now also blank? (using strip if available)
* Fixed Dependencies so all modules are able to load missing constants #1173 [Nicholas Seckar]
* Fixed the Inflector to underscore strings containing numbers, so Area51Controller becomes area51_controller #1176 [Nicholas Seckar]
* Fixed that HashWithIndifferentAccess stringified all keys including symbols, ints, objects, and arrays #1162 [Nicholas Seckar]
* Fixed Time#last_year to go back in time, not forward #1278 [fabien@odilat.com]
* Fixed the pluralization of analysis to analyses #1295 [seattle@rootimage.msu.edu]
* Fixed that Time.local(2005,12).months_since(1) would raise "ArgumentError: argument out of range" #1311 [jhahn@niveon.com]
* Added silencing to the default Logger class
*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]
* 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]
Active Support is a collection of various utility classes and standard
library extensions that were found useful for Rails. All these
additions have hence been collected in this bundle as way to gather
all that sugar that makes Ruby sweeter.