Commit graph

24 commits

Author SHA1 Message Date
minskim
c4230236a6 Update ruby-activesupport to 2.3.8. Patch by Wen Heping in PR 43425.
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]
2010-06-06 18:21:38 +00:00
minskim
812f0f274e Update rails packages to 2.3.5. This fixes a cross-site scripting
vulnerability in ruby-actionpack.

Major changes:
- Improved compatibility with Ruby 1.9
- RailsXss plugin availability
- Fixes for the Nokogiri backend for XmlMini
2009-12-01 23:24:24 +00:00
minskim
4a3340c71a Update rails packages to 2.3.4.
Changes since 2.3.2:
* I18n support for plugins.
2009-09-12 22:14:16 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
minskim
9af1640e70 Update rails packages to 2.3.1.
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]
2009-04-07 17:13:26 +00:00
minskim
03e7b971f2 Update ruby-activesupport to 2.1.1.
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)
2008-09-15 05:31:53 +00:00
minskim
83d596e63d Update ruby-activesupport to 2.1.0.
Too many changes since 2.0.2.  See CHANGELOG for the complete list.
2008-06-20 04:23:56 +00:00
jlam
49044b1ec2 Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
2008-04-04 15:30:00 +00:00
jlam
4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00
minskim
f3c83c6461 Update ruby18-activesupport to 2.0.2.
There have been too many changes.  Please see CHANGELOG for the complete list:

http://dev.rubyonrails.org/browser/tags/rel_2-0-2/activesupport/CHANGELOG?rev=8664
2008-02-09 06:18:27 +00:00
minskim
11442f9d6c Update ruby-activesupport to 1.4.4.
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
2007-10-16 02:56:02 +00:00
minskim
fc41ad2aa4 Update ruby-activesupport to 1.4.2.
Changes:
* Deprecation: warn on stderr if RAILS_DEFAULT_LOGGER isn't set yet.
2007-03-17 10:59:26 +00:00
minskim
462bb37a73 Update ruby-activesupport to 1.4.1.
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]
2007-02-18 23:03:11 +00:00
minskim
c469d9c0f5 Make this work with ruby18-base>1.8.5.
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.
2007-02-03 22:01:05 +00:00
minskim
4ac5ea7db7 Make sure that .orig files are not installed. 2007-01-29 08:14:42 +00:00
minskim
cccfe6878e Update ruby-activesupport to 1.4.0.
Changes include adding ActiveSupport::Multibyte and respecting
DST changes.
2007-01-28 04:39:50 +00:00
minskim
e7c0e7f8d6 Update ruby-activesupport to 1.3.1. Too many changes since 1.2.1,
including many new methods and bug fixes.

See ${RUBY_DOCDIR}/CHANGELOG.activesupport for the complete list.
2006-10-08 04:10:05 +00:00
taca
39a1b534b3 Sort PLIST. 2006-09-07 15:51:25 +00:00
taca
dccd827fac Stop handling DIST_SUBDIR default for Ruby based packages.
Second, update distinfo and/or stop using USE_RUBY_DIST_SUBDIR in Makefiles.
2006-01-03 14:25:49 +00:00
joerg
0a07bf96d0 Create the directory first with INSTALL_DATA_DIR, install the file
with INSTALL_DATA afterwards. Don't use find -print + xargs, use
find -exec directly.
2005-12-30 13:17:51 +00:00
taca
f90fdf7174 Update ruby-activesupport package to 1.2.1.
Changes from 1.1.1 are many to write here, please see
CHANGELOG.activesupport file in ${RUBY_DOCDIR}.
2005-11-02 14:06:22 +00:00
taca
65dec62577 Update ruby-activesupport package to 1.1.1.
*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]
2005-09-04 13:55:53 +00:00
jlam
81edaaa606 Create directories before installing files into them. 2005-06-16 06:57:37 +00:00
minskim
4e3b641f1f Import ruby-activesupport.
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.
2005-04-10 02:47:00 +00:00