Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

port PR rails/rails#7416 #2

Merged
merged 1 commit into from Feb 4, 2013

Conversation

Projects
None yet
2 participants
Member

senny commented Jan 14, 2013

This is a port of rails/rails#7416. I modified the original implementation because there were two problems:

  1. perftest benchmarker did not work
  2. rake test:profile did not work

I solved 1.) by setting the environment variable for the benchmarker command. 2.) was related to the definitions of the rake tasks. They are always executed not only when triggered. This meant that the environment variable was always set. I created a setup task, which is a precondition of rake test:benchmark to work around this issue.

@senny senny referenced this pull request in rails/rails Jan 14, 2013

Closed

#4938 Fix launching performance tests #7416

As a side note, I believe everything should be working the way it is in 3-2 as long as people use the test unit gem.

Member

senny commented Jan 14, 2013

We could backport this to 3-2-stable... should I open a PR?

senny added a commit that referenced this pull request Feb 4, 2013

@senny senny merged commit 40f862c into master Feb 4, 2013

@senny senny deleted the port_pr_7416 branch Feb 4, 2013

senny added a commit to senny/rails that referenced this pull request Feb 4, 2013

senny added a commit to senny/rails that referenced this pull request Jun 27, 2013

senny added a commit to rails/rails that referenced this pull request Jun 27, 2013

reqorder added a commit to reqorder/rails that referenced this pull request Jul 11, 2013

Squashed commit of the following:
commit 714cb5a436e72d00ca0e5e6efa4b789c3e6f5b04
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Wed Jul 10 16:11:33 2013 +0100

    Add missing require so that DateTime has the right superclass

    If the DateTime core extensions were loaded before the Date core extensions
    then you would get a superclass mismatch as DateTime hasn't been defined
    yet so it gets set to Object by the acts_like core extension.

    Fixes #11206

    (cherry picked from commit 78f7d5b652000dbb1a11d34fe370c3fa82de840c)

commit b775987e72260233c66080483b3c964f9549d094
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Tue Jul 9 15:40:59 2013 +0100

    Return local time for backwards compatibility

commit ccad803bf44fe30602a041ff0ab1cbe985bc3840
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Tue Jul 9 14:04:49 2013 +0100

    Retain offset and fraction when using Time.at_with_coercion

    The standard Ruby behavior for Time.at is to return the same type of
    time when passing an instance of Time as a single argument. Since the
    an ActiveSupport::TimeWithZone instance may be a different timezone than
    the system timezone and DateTime just understands offsets the best we
    can do is to return an instance of Time with the correct offset.

    It also maintains the correct fractional second value as well.

    Fixes #11350.

    Backports:
    484253515c0e05760541dc48946361185c9e6904
    1b3873730b96035a238dbff7627bd5942e6dc4e7

commit d704c1cb9850bd563b7ad99762e75b9b3cb7aebf
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Tue Jul 9 07:34:58 2013 -0300

    Do not shallow the original exception in exec_cache

    when result_error_field is not defined on result raise the original
    exception.

    Fixes #11260

commit c4ad10e2547c9546d7ed49e4e82ba5cbb7bcf03f
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Jul 8 14:55:25 2013 -0300

    Remove git dependecy

commit 2ce875dfbdebeca33c32dcdc50bf9932dc2aa857
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Jul 8 14:51:19 2013 -0300

    Add license to the gemspec

commit b5830d168b935f2008bc38771b818f79c9aac040
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat Jul 6 20:14:50 2013 -0300

    New changelog entries always on the top [ci skip]

commit a72a0eb85b34a2a8d416245b98fd96579eb29cc1
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat Jul 6 17:16:14 2013 -0300

    Remove warning of assigned but unused variable

commit 29106ce99c74f5f7d57496ad68e2b16f3f632e35
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat Jul 6 17:10:55 2013 -0300

    Skip connection url test when the machine is using socket configuration.

    The connection url parssing don't accept the socket option

commit e359e3ab935d6790d9a1181e6ebe0038ad168b94
Author: Santiago Pastorino <santiago@wyeworks.com>
Date:   Sat Mar 17 12:42:29 2012 -0300

    Add missing require

commit b9771813e37c0034744d4c5b8c0896b2aadbcc80
Merge: 9a8f593 4265f1b
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Jul 1 11:36:19 2013 -0700

    Merge pull request #8881 from carsonreinke/3-2-stable

    3-2-stable ActiveSupport::TaggedLogging logging progname issue

commit 4265f1bccbabc293e87cc8433a5573dcb7fa5a60
Author: Carson Reinke <carson@reinke.co>
Date:   Thu Jan 10 13:36:05 2013 -0500

    Incorrectly providing program name the same as log message even when block is not provided.

commit 9a8f59340b86151b183d6561a94b953371c3daf3
Author: Yves Senn <yves.senn@gmail.com>
Date:   Thu Jun 27 22:00:27 2013 +0200

    unify duplicate CHANGELOG entry

commit 0a55bd7c6bdc4c3022cec858e341f7561ec8554b
Merge: 63d4894 b47f8d0
Author: Yves Senn <yves.senn@gmail.com>
Date:   Thu Jun 27 12:55:36 2013 -0700

    Merge pull request #9173 from senny/backport_perftest_fix

    Backport rails/rails-perftest#2 to fix rake test:benchmark

commit b47f8d035ec6a38a69eb5b3bdb1e27bb40e574c7
Author: Yves Senn <yves.senn@gmail.com>
Date:   Thu Jun 27 20:54:57 2013 +0200

    clear ARGV to prevent mintest autorun errors:

    Minitest expects the first argument in `ARGV` to be the path to a test file.
    Because `rails benchmarker` and `rails profiler` define an on-the-fly test-case,
    using the first `ARGV` to pass the code to execute this results in:

    ```
    /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:167:in `block in non_options': file not found: 1000.times{"a string"} (ArgumentError)
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:146:in `map!'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:146:in `non_options'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:207:in `non_options'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:52:in `process_args'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/minitest/unit.rb:891:in `_run'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:21:in `run'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
    	from /Users/senny/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
    ```

    clearing ARGV after defining the test-case solves this issue.

commit 1db54d7d01ea36a9d8c0c6276d66d04a9a6c2fac
Author: Yves Senn <yves.senn@gmail.com>
Date:   Mon Feb 4 17:16:25 2013 +0100

    Backport rails/rails-perftest#2 to fix rake test:benchmark

commit 63d4894a58825e9d1fb520ec6ac663e4d8529596
Merge: cacfa8e 839efc5
Author: Yves Senn <yves.senn@gmail.com>
Date:   Tue Jun 25 23:42:35 2013 -0700

    Merge pull request #11019 from tkhr/test_case_for_issue_10393

    Add test case for issue #10393 and fix warning message

commit cacfa8e3fb2cff59956a39a2640c8e3ade4b54c6
Author: Yves Senn <yves.senn@gmail.com>
Date:   Wed Jun 26 08:30:40 2013 +0200

    build fix, fall back to old hash syntax

commit 839efc5b6d754697682d5b2bd34ef28b2c5d2adf
Author: chapmajs <glitch@glitchwrks.com>
Date:   Tue Apr 30 23:11:49 2013 -0300

    Allow global override of default STI inheritance column

    This change fixes a bug by which 3.2-STABLE users can't globally override the default STI inheritance column with `ActiveRecord::Base.inheritance_column = 'some_column'`. 3.2-STABLE users are forced to use a deprecated method or monkey patch it otherwise.

    Test case written by tkhr <takehiro0740@gmail.com>.

commit b23e0d66394a7c5442cc1ebbf4f1f2441878a8d2
Merge: cde6ead 0c96169
Author: Yves Senn <yves.senn@gmail.com>
Date:   Tue Jun 25 22:45:36 2013 -0700

    Merge pull request #9893 from JonRowe/add_test_to_assert_association_doesnt_overwrite

    Add a test to assert autosaving associations doesn't overwrite id accessor methods

commit cde6ead573a6f9638bb866935f21d66b05fc712f
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Jun 25 22:04:52 2013 -0300

    Move changelog entry to the top [ci skip]

commit 07c6262c253cd60780735ab813bc255b606facbc
Merge: 27b3883 5519468
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Jun 25 22:03:01 2013 -0300

    Merge pull request #10373 from janko-m/fix-store-accessor

    Fix a bug in ActiveRecord::Store accessors

commit 27b38838467cf47f83caefbddcdb96aceca052ee
Author: Yves Senn <yves.senn@gmail.com>
Date:   Tue Jun 25 18:07:06 2013 +0200

    Revert "Revert "Merge pull request #10901 from armstrjare/fix_query_null_foreign_key_on_new_record_collection_ids_reader""

    This reverts commit 5009b078875e596a2fba7827336f7548aa6e35ac.

    Also updated the CHANGELOG and adjusted the test-case to match the one on master.

commit b0c65978ab0eff0eca8ac374046c26398f144a18
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Tue Jun 25 12:24:06 2013 +0100

    Use old style hash syntax for 3-2-stable

commit 622e4ab424ea260cd3ebe3768b1a2a4e5ae1384e
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Tue Jun 25 11:00:19 2013 +0100

    Fix shorthand routes where controller and action are in the scope

    Merge `:action` from routing scope and assign endpoint if both `:controller`
    and `:action` are present. The endpoint assignment only occurs if there is
    no `:to` present in the options hash so should only affect routes using the
    shorthand syntax (i.e. endpoint is inferred from the the path).

    Fixes #9856

    Backport of 37b4276

commit ca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Jun 24 16:19:38 2013 -0300

    Add CHANGELOG entry for #10971

    [ci skip]

commit 2553bd785c0b41193257851ac0267515ec3c9dc3
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Jun 17 10:01:03 2013 -0700

    Merge pull request #10971 from dtaniwaki/escape_link_to_unless

    Always escape the result of link_to_unless method

commit 119f27c519d1fbfe47fa266fde50eec47ab56aaa
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Jun 24 16:09:10 2013 -0300

    Fix textile markup

    Closes #11076

    [ci skip]

commit 5009b078875e596a2fba7827336f7548aa6e35ac
Author: Yves Senn <yves.senn@gmail.com>
Date:   Sat Jun 22 12:15:42 2013 +0200

    Revert "Merge pull request #10901 from armstrjare/fix_query_null_foreign_key_on_new_record_collection_ids_reader"

    This reverts commit 6675d713186c270de1c4684bc1e56742ea2e19e1, reversing
    changes made to 919d1a19d5e7871d50c1531351fc3f736bad5d07.

    I missed to check the target branch and wrongly merged it into 3-2-stable directly.

commit 6675d713186c270de1c4684bc1e56742ea2e19e1
Merge: 919d1a1 c2377f7
Author: Yves Senn <yves.senn@gmail.com>
Date:   Sat Jun 22 03:11:19 2013 -0700

    Merge pull request #10901 from armstrjare/fix_query_null_foreign_key_on_new_record_collection_ids_reader

    Fixes CollectionAssociation#ids_reader returning incorrect ids for new records

commit c2377f72d2c7df1103eac73b0eb3781c02ef2e18
Author: Jared Armstrong <jared.armstrong@gmail.com>
Date:   Mon Jun 10 15:45:58 2013 +1200

    Fixes CollectionAssociation#ids_reader returning incorrect ids for new records

commit 919d1a19d5e7871d50c1531351fc3f736bad5d07
Merge: b768647 f3b84e2
Author: Xavier Noria <fxn@hashref.com>
Date:   Thu Jun 20 14:48:44 2013 -0700

    Merge pull request #11033 from robin850/patch-1

    Update the feedback instructions

commit f3b84e2d9600abce51cd31f85fa173d688b3340e
Author: Robin Dupret <robin.dupret@gmail.com>
Date:   Thu Jun 20 21:11:50 2013 +0300

    Update the feedback instructions [ci skip]

    Since docrails as moved from lifo/docrails to rails/docrails we have
    to ask for commit rights or submit patches directly to the rails
    repository

commit b768647aa89b81137084e0847ff79bbea592e483
Merge: 9f754e8 31899da
Author: Yves Senn <yves.senn@gmail.com>
Date:   Wed Jun 19 02:19:51 2013 -0700

    Merge pull request #10883 from ifeelgoods/3-2-stable

    The default cache store is :file_store in caching_with_rails.textile

commit 31899da15955c54cf61f582911602a987a069505
Author: Matthieu Paret <matthieuparet69@gmail.com>
Date:   Fri Jun 7 12:27:15 2013 +0300

    indicate the default Rails cache store
    memory_store is the default cache store implementation if you call
    ActiveSupport::Cache.lookup_store without arguments.

commit 9f754e801f82aad8db760786ad3eb72cc7993108
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sun Jun 16 22:02:29 2013 -0300

    Compare host scheme using case-insensitive regexp

    Before:

        image_tag("HTTP://google.com")
        # => "<img alt=\"Google\" src=\"/assets/HTTP://google.com\" />"
        image_tag("http://google.com")
        # => "<img alt=\"Google\" src=\"http://google.com\" />"

    After:

        image_tag("HTTP://google.com")
        # => "<img alt=\"Google\" src=\"HTTP://google.com\" />"
        image_tag("http://google.com")
        # => "<img alt=\"Google\" src=\"http://google.com\" />"

    Backport of #10969

commit 7092467f064832907f8de53b9da659b6de10d7e8
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat Jun 15 11:40:12 2013 -0300

    nokogiri >= 1.6 doesn't work with ruby 1.8

commit a51d4e6c25d1e76327665db0c897094a5308d4ef
Author: Yves Senn <yves.senn@gmail.com>
Date:   Sat Jun 15 14:51:17 2013 +0200

    Merge pull request #10925 from senny/10917_test_to_prevent_regression

    regression test + mysql2 adapter raises correct error if conn is closed.
    Conflicts:

    	activerecord/CHANGELOG.md

commit f42e0fd3f4d3e2f4b806b001b6ed88c8da8cd833
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Sat Jun 8 08:22:29 2013 +0100

    Override Time.at to work with Time-like values

    Time.at allows passing a single Time argument which is then converted
    to an integer. The conversion code since 1.9.3r429 explicitly checks
    for an instance of Time so we need to override it to allow DateTime
    and ActiveSupport::TimeWithZone values.

commit 20daaf4e2ab30762eeaf023e4870f5a10c34c534
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Wed Jun 5 17:14:55 2013 +0900

    adding a test for #10830

commit 8799cfa72d071fe6ce78fa7dbbf5dd3c9d763a68
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Fri May 24 13:02:19 2013 +0100

    Restore rescue block for when IM is enabled

commit 7101a857b46e1c8aa3b9dd9641c4fc5b28a143e6
Merge: d293990 0e14973
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Fri May 24 03:35:20 2013 -0700

    Merge pull request #10745 from arunagw/build_fix_ruby187

    Build fix ruby187

commit 0e14973a3368945d9a7fddb4bfeefe3fc2f2a246
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri May 24 11:20:43 2013 +0200

    It's scoped in 3-2-stable!

    scope => scoped

commit b75c8e58ab2ea055324c6f95127b5b940e758d57
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri May 24 11:20:20 2013 +0200

    Using 1.8.7 syntax for 3-2-stable

commit d29399061e54092fdbf57780c38e19dd1921f45d
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu May 23 06:58:10 2013 -0700

    Merge pull request #10713 from senny/10693_fix_primary_key_option_on_has_many

    Fix the `:primary_key` option for `has_many` associations.
    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/associations/has_many_association.rb

commit f8c4805a8247a62594d29c5f3ef634d57d2abbf1
Merge: b0f96d4 c236246
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed May 22 15:38:15 2013 -0700

    Merge pull request #10681 from jholton/3-2-stable-fix_association_auto_save

    autosave_association issue that occurs when table has unique index (3.2.x backport)

commit b0f96d4436619b25b8024cc70a71c77bcfc12bf6
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon May 20 11:15:46 2013 -0700

    Merge pull request #10646 from kennyj/fix_am_20130517

    Fix ActionMailer testcase break with mail 2.5.4.
    Conflicts:
    	actionmailer/CHANGELOG.md
    	actionmailer/test/mailers/base_mailer.rb

commit c2362461cdf9615d5704d6f2942921b84b854c3c
Author: Johnny Holton <johnny@holton.co>
Date:   Sat May 18 18:16:38 2013 -0400

    destroys association records before saving/inserting new association records

    This is a backport of #10417

    fixes bug introduced by  #3329
    These are the conditions necessary to reproduce the bug:
    - For an association, autosave => true.
    - An association record is being destroyed
    - A new association record is being created.
    - There is a unique index one of the association's fields.
    - The record being created has the same value as the record being
    destroyed on the indexed field.

    Before, the deletion of records was postponed until after all
    insertions/saves.  Therefore the new record with the identical value in
    the indexed field caused a non-unique value error to be thrown at the
    database
    level.

    With this fix, the deletions happen first, before the insertions/saves.
    Therefore the record with the duplicate value is gone from the database
    before the new record is created, thereby avoiding the non-uniuqe value
    error.

commit 0d8dbd131b551051ce35379093832fa12fb0cf10
Merge: 5b020fa ec55866
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed May 15 18:00:11 2013 -0700

    Merge pull request #10578 from dingle/lu/back_port_to_json_fix

    Support include_root_in_json for ActiveResource properly.

commit ec55866e398feb1a52701027ab86857b62622ab6
Author: Xinjiang Lu <xinjiang.lu@gmail.com>
Date:   Sun May 12 12:10:02 2013 -0400

    Support include_root_in_json for ActiveResource properly.

    This commit is a backport from
    https://github.com/rails/activeresource/pull/29. The
    ActiveResource's include_root_in_json option is broken for 3.2.x.

commit 5b020fa1101b878e5f3b8b8a5e7d47e39b505b1e
Merge: 010ea71 23c656c
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Tue May 14 07:21:30 2013 -0700

    Merge pull request #10616 from Empact/backport-distinct-distinct

    Backport a super-simplified version of #6792, fixing that #exists? can produce invalid SQL: "SELECT DISTINCT DISTINCT"

commit 23c656c1bc113e5f198464ad29d72c5238bfd796
Author: Ben Woosley <ben.woosley@gmail.com>
Date:   Tue May 14 15:01:20 2013 +0200

    Backport a super-simplified version of #6792, fixing
    that #exists? and others can produce invalid SQL: "SELECT DISTINCT DISTINCT"

    The combination of a :uniq => true association and the #distinct call
    in #construct_limited_ids_condition combine to create invalid SQL, because
    we're explicitly selecting DISTINCT, and also sending #distinct on to AREL,
    via the relation#distinct_value.

    Where #6792 was the forever fix, this is the minimal fix. Instead of
    properly indicating the distinctness of the query through #uniq_value alone,
    we use a literal select statement and set #uniq_value to always be falsey

commit 010ea715f2a629059117054f8079a5a1f60f30f6
Author: Mikel Lindsaar <mikel@reinteractive.net>
Date:   Tue May 14 15:01:31 2013 +1000

    Update mail to minimum version 2.5.4

commit b1fb8efd9b541117af327b9c06f79f088442ba18
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sun May 12 18:45:57 2013 -0300

    Improve CHANGELOG entries

    [ci skip]

commit 442b7c8ccfe107e05b309e1ef72b760716fa4cba
Merge: 5919a55 38af354
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sun May 12 15:13:47 2013 -0300

    Merge pull request #7695 from benolee/backport_cc7dd66_and_c0ba0f0

    backport runner fixes to 3-2-stable

    Conflicts:
    	railties/CHANGELOG.md

commit 5919a552e4e4203b8d5eb5234428bc00dd462c49
Merge: 5c6cf4e c09829e
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat May 11 20:48:21 2013 -0700

    Merge pull request #10303 from ahorner/3-2-stable

    Preserve context for joins while merging relations

commit c09829e03db611b46bb52e2054991222cf57bfbe
Author: Andrew Horner <andrew@tablexi.com>
Date:   Thu Apr 18 23:41:58 2013 -0500

    Preserve context for joins while merging relations

    This is a backport of #10164, already merged into
    master. The issue is described in lengthy detail
    in issues #3002 and #5494.

commit 5c6cf4e59e3e9c75395541162f2741b82347af0a
Merge: e2804c6 ddaa5d5
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat May 11 16:01:44 2013 -0700

    Merge pull request #10571 from dasch/dasch/restore-explain-fix

    Don't try to EXPLAIN select_db calls

commit ddaa5d5181e8ed576c4a033062545b0d41a7da72
Author: Daniel Schierbeck <dasch@zendesk.com>
Date:   Sat May 11 16:14:49 2013 +0200

    Don't try to EXPLAIN select_db calls

    Now with a non-broken test.

commit e2804c62dfdd1946a11048196ea32aae17a7edd5
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat May 11 18:47:15 2013 -0300

    Add CHANGELOG entry removed by mistake [ci skip]

commit 0549ebea223beeb68c09ac9656579f02e893c0f7
Author: Xavier Noria <fxn@hashref.com>
Date:   Sat May 11 01:28:06 2013 +0200

    Revert "Don't try to EXPLAIN select_db calls"

    Reason: This was backported, but the test does not pass as is.

    This reverts commit a33d320cf4b57fabd9c299b09c217ee3955ecc77.

commit 0be27b709bd62a2dc5c8998adbfd993ec06790ac
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Fri May 10 14:10:10 2013 -0300

    So not make Fixnum#/ private on Ruby verions less than 1.9.3

    In those version to_date call Fixnum#/, what will cause a failure

commit a59d661a82e684e23fd7295443e5d1264315df2e
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Fri May 10 13:36:42 2013 -0300

    Fix test to ruby 2.0

    The default enconding changed on Ruby 2.0

commit a71119335e312acde8d346ffc8fe109b1a99f4bd
Merge: 4fa8607 afedb09
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Fri May 10 08:37:03 2013 -0700

    Merge pull request #10557 from arunagw/pluck-refactor-using-map

    Using map. No need to run query again

commit afedb090f07b0ab4944fdfb2204edeaf9ae98383
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri May 10 17:33:47 2013 +0200

    Using map. No need to run query again

commit 4fa860728fe2ed8f248e9f3e89f0a144b8f314c8
Merge: 3589181 a33d320
Author: Xavier Noria <fxn@hashref.com>
Date:   Fri May 10 08:05:54 2013 -0700

    Merge pull request #10555 from dasch/dasch/3-2-stable

    Don't try to EXPLAIN select_db calls

commit a33d320cf4b57fabd9c299b09c217ee3955ecc77
Author: Daniel Schierbeck <dasch@zendesk.com>
Date:   Fri May 10 16:21:59 2013 +0200

    Don't try to EXPLAIN select_db calls

commit 3589181122f1a70abc1acd8c6bf41b46e2be2f5a
Merge: 84c69a1 de5b89d
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Fri May 10 07:06:50 2013 -0700

    Merge pull request #10552 from arunagw/pluck-fixed-3-2-stable

    Pluck fixed 3 2 stable

commit de5b89ddc9f9f45760856a1eb55f53a11d067a74
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri May 10 15:41:51 2013 +0200

    Fixed pluck to be working with selects.

    See #9777 for details.

    Previously pluck is not returning what we wanted to
    Added a test also to make sure it's working fine.

    This will also fix the build for 1.8.7 as we
    were doing some sort on hash.

    Thanks @pixeltrix for helping me out.

    Thanks @linduxed for pairing with me.

commit 6ab3c730621035ef60eb117f7f9943f5c8fb4536
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri May 10 11:05:07 2013 +0200

    Remove useless else

commit 84c69a165380d4ae92322d4503a5b9a7201f6369
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed May 8 23:10:04 2013 -0300

    Revert "Merge pull request #8209 from senny/backport_8176"

    This reverts commit 724020278480855bddfe749c91f1074d4f50f3c6, reversing
    changes made to e4e2bcce75b85fb8c1c49509a17bd5dfe6034c32.

    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/relation/calculations.rb
    	activerecord/test/cases/calculations_test.rb

    Reason: This caused a regression since it changed the behavior in a
    stable release.

    Fixes #9777

commit c910388587220e962682b0b9187e79b8f1641c17
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed May 8 21:03:37 2013 -0300

    Revert "Remove unicode character encoding from ActiveSupport::JSON.encode"

    This reverts commit 815a9431ab61376a7e8e1bdff21f87bc557992f8.

    Conflicts:
    	activesupport/test/json/encoding_test.rb

    Reason: This was causing a regression where the resulting string is always
    returning UTF-8. Also it changes the behavior of this method on a stable release.

    Fixes #9498.

commit 8218a46adb5d2c360f54d5680966f9d78f5aa4bc
Merge: f8c4a31 8407ab1
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue May 7 05:13:49 2013 -0700

    Merge pull request #10496 from arunagw/build-fix-scaffold-generator

    Build fix for scaffold generator

commit 8407ab10f0547175b1d53dab4add1acd706bdfd5
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Tue May 7 12:53:23 2013 +0200

    Build fix for scaffold generator

    3-2 behaves different when scaffolding.

commit f8c4a31e0b35576c49cad16c12ebae270cdb0690
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon May 6 22:22:07 2013 -0300

    Merge pull request #10489 from greenriver/ar_counter_cache_multiple_destroy

    Confirm a record has not already been destroyed before decrementing counter cache

    Conflicts:
    	activerecord/CHANGELOG.md

    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/associations/builder/belongs_to.rb

commit 0b35a3aacc384a9552832fdf0e5a0f71393ef2d1
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon May 6 18:12:13 2013 -0700

    Merge pull request #10478 from cainlevy/patch-1

    use canonical #controller_path logic in controller test cases
    Conflicts:
    	actionpack/lib/action_controller/test_case.rb

commit fb90ce015f5ba0919d1546a77ac65ca2c3539a74
Merge: 3c01a69 5a6d9d5
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon May 6 07:27:59 2013 -0700

    Merge pull request #10406 from greenriver/distance_of_time_rational

    Correct time_ago_in_words to handle situation where Fixnum#/ returns a Rational (thanks to mathn)

commit 5a6d9d54917e1311a9aef78a82313c296d821150
Author: Ben Tucker <ben@btucker.net>
Date:   Wed May 1 18:09:04 2013 -0400

    Merging in fix from #8222

commit 3c01a693d9306012883f8319b476dc7f841c4d24
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Sun May 5 07:06:50 2013 -0700

    Merge pull request #10466 from prathamesh-sonpatki/scaffold-assets

    Fix tests related to scaffolding generator with --assets=false switch

commit 927a04da40b3d9b97cb23be7c0820eee629f0f7a
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sat May 4 06:50:45 2013 -0700

    Merge pull request #10448 from arunagw/bug-fix-scaffold-generator-master

    Fixes Scaffold generator with --assets=false
    Conflicts:
    	railties/CHANGELOG.md

    Conflicts:
    	railties/CHANGELOG.md
    	railties/lib/rails/generators/rails/scaffold/scaffold_generator.rb

commit 5519468523b2017df7b36e608c977920f5a54a88
Author: Janko Marohnić <janko.marohnic@gmail.com>
Date:   Mon Apr 29 20:39:18 2013 +0200

    Fix ActiveRecord::Store not tracking changes

commit 9d7a748a5174224ead4d44aedc3849d1d1e37b18
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Tue Mar 5 14:34:54 2013 -0800

    adding test for the symbol refs

commit ba12ef6ae15208a608733a06b78940ef92f305b8
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Wed Apr 17 11:36:08 2013 -0700

    just clear the caches on clear! rather than replacing. fixes #10251

commit 03d071d3cf9a29708aaceb19f2a7b934a1dec0d1
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Wed Apr 17 11:20:12 2013 -0700

    adding a test for root path in the app

commit dddc093a1a3330a0366f9220f14435b17555a6bb
Merge: 624428b cd548d9
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Wed Apr 17 05:23:03 2013 -0700

    Merge pull request #10246 from prathamesh-sonpatki/3.2.13-https-rubygems

    Using secure source https://rubygems.org when generating new plugin with Rails 3.2

commit cd548d9283c9c54d2d4247610cbaca793ff7b173
Author: Prathamesh Sonpatki <csonpatki@gmail.com>
Date:   Wed Apr 17 12:25:55 2013 +0530

    Use secure source in generated Gemfile for creating new plugin. Closes #10245

commit 624428b27854ebd36361ff9ece00010c084d6bf6
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Apr 16 20:25:33 2013 -0300

    Fix "Scaling Rails Screencasts" link in caching guide

    Closes #10241 [ci skip]

commit 130f96c4322d32ef018d5bc0cf50f12d3e9225c6
Merge: 6823948 efd8631
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Sat Apr 13 15:11:26 2013 -0700

    Merge pull request #9688 from alexeymuranov/doc-nested-attributes-3-2

    3-2-stable documentation: the possibility to use a hash of hashes for nested attributes

commit efd86315a71231f7cfa6510151c6f8cd792f3a22
Author: Alexey Muranov <alexey.muranov@gmail.com>
Date:   Tue Mar 12 17:11:24 2013 +0100

    Document nested attributes as hash of hashes

    Document the possibility to use a hash of hashes for nested attributes for a one-to-many association (in addition to the documented possibility to use an array of hashes).

    Align indentation in comments.

commit 68239487bfbb467d1f7e7e33f493257e041a90a8
Merge: 536f316 a6d9e16
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Apr 11 06:41:49 2013 -0700

    Merge pull request #10172 from senny/10098_backport

    Backport: Correctly parse bigint defaults in PostgreSQL

commit a6d9e16e41906ce656993781d2579c4a848a83a1
Author: Erik Peterson <erik@subwindow.com>
Date:   Thu Apr 4 21:06:52 2013 -0400

    Correctly parse bigint defaults in PostgreSQL, Backpost #10098.

    Conflicts:

    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb
    	activerecord/test/cases/schema_dumper_test.rb

commit 536f316cd3586e63675e6aba440763b4f0deee9c
Merge: c9bd202 c35d913
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Tue Apr 9 09:22:42 2013 -0700

    Merge branch '3-2-later' into 3-2-stable

    * 3-2-later:
      adding test for CVE

commit c9bd2022d42890f97f6f9f5896594f030c491add
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Fri Apr 5 16:43:04 2013 -0300

    Improve the changelog entry [ci skip]

commit dbe25910faabedfeae3e1f284cbfb6af746201c6
Merge: fe58853 44a9aed
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Fri Apr 5 12:53:26 2013 -0700

    Merge pull request #10105 from rmm5t/fix-explicit-name-on-multiple-fields

    Fix explicit names on multiple file fields

commit 44a9aedd7b8d65517b15bbbb7729f3f16991e23f
Author: Ryan McGeary <ryan@mcgeary.org>
Date:   Fri Apr 5 14:51:15 2013 -0400

    Fix explicit names on multiple file fields

    If a file field tag is passed the multiple option, it is turned into an
    array field (appending "[]"), but if the file field is passed an
    explicit name as an option, leave the name alone (do not append "[]").

    Fixes #9830

commit fe588537654adc583d54157b1a5db48786452adf
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Wed Apr 3 20:56:12 2013 -0300

    Fix typo in view name

    Introduced in 2c22376fe04b89e8f34620139720b85a85ce3428

commit e252e0ffe1a410513c36b67fb7729ea56de246c2
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Wed Apr 3 20:54:48 2013 -0300

    Use 1.8 hash style in test views

    Introduced in 2c22376fe04b89e8f34620139720b85a85ce3428

commit e59f3809efd8905183056c0a965b93df52a6f62e
Merge: 2c22376 453c7d6
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Wed Apr 3 15:43:59 2013 -0700

    Merge pull request #7792 from seejee/chained_scopes_preload_properly

    Fixes Issue #7490: Chained scopes will preload properly

commit 453c7d6c47be01c9938af14962279e4cb2d6e506
Author: Chris Geihsler <chris@geihsler.net>
Date:   Sat Sep 29 18:32:56 2012 -0400

    Chained scopes will be preloaded properly. Fixes #7490

commit 2c22376fe04b89e8f34620139720b85a85ce3428
Author: Dmitry Vorotilin <d.vorotilin@gmail.com>
Date:   Wed Jul 11 12:18:52 2012 +0400

    Common behavior with adding formats to lookup_context for TemplateRenderer and PartialRenderer

commit 060fca78970e54b6400296325a212632de727b21
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Sat Mar 30 16:42:52 2013 -0300

    Fix formatting and minor review in AP changelog

    Sentences starting with # are considered headings.

commit bac6928eefffcacc84887aec9a81ec2e642ab42d
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Fri Mar 29 16:28:04 2013 -0700

    Add attr_accessible to the Getting Started Guide.

    This was brought up in #9995, but is only present in 3-2-stable, since
    mass assignment is removed from Rails 4.

commit e06b4fab8e77f36e534804780eb80eae46587a4a
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Mar 28 13:20:07 2013 -0300

    Removing explain support warning from the Railtie

    This is causing a regression since the Active Record Railtie is trying to
    connect to the development database in the application boot.

    See https://github.com/rails/rails/pull/6197#issuecomment-15199273

commit 75d0a81ffe48030bb8d6fa79f70f5b368f748b7c
Merge: df37c91 dee5915
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Mar 26 19:43:14 2013 -0700

    Merge pull request #9943 from fredwu/test_fix_for_74e59ea

    Fixed test failures on 1.8.7 caused by 74e59ea

commit dee5915aac009b6b6456a81ae7b8927866d0c240
Author: Fred Wu <ifredwu@gmail.com>
Date:   Wed Mar 27 11:29:37 2013 +1100

    Fixed test failures on 1.8.7 caused by 74e59ea

commit df37c91745a3fb241fafa23c03387e33eb82c74f
Merge: dbd26e9 8bd56f0
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Tue Mar 26 15:22:05 2013 -0700

    Merge pull request #9576 from fredwu/backport_fix_explicitly_inheraitance_column_to_3_2_stable

    [Backport to 3-2-stable] Don't reset inheritance_column when setting explicitly.

commit 8bd56f0f7ad2b48a50f12c49d436a469fdbb7135
Author: Fred Wu <ifredwu@gmail.com>
Date:   Wed Mar 27 09:20:04 2013 +1100

    Added changelog for 55e2954

commit 55e295470303a6abcf152f24a1a8c7864dab5ef6
Author: Fred Wu <ifredwu@gmail.com>
Date:   Wed Mar 6 10:45:29 2013 +1100

    Don't reset inheritance_column when setting explicitly.

    This is backported from master (cdfcbc4).

commit dbd26e92a7b943a57c2826a749ae25e3ce9e143c
Merge: 029dd43 74e59ea
Author: Jeremy Kemper <jeremy@bitsweat.net>
Date:   Sun Mar 24 13:19:20 2013 -0700

    Merge pull request #9899 from macksmind/backport_5808

    Backport #5808

commit 74e59ea8b674fac08a6ea4da03e58e29fc57a709
Author: Mack Earnhardt <mack@agilereasoning.com>
Date:   Sun Mar 24 07:54:55 2013 -0400

    Backport #5808

    df36c5f - Fix assert_template assertion with :layout option
    4bd05a7 - Fix assert_template :layout => nil assertion
    0d19a08 - Improve assert_template layout checking

commit 0c96169f590b1b5ca9c180b033e7899e322a0f99
Author: Jon Rowe <hello@jonrowe.co.uk>
Date:   Sun Mar 24 12:32:11 2013 +1300

    test case to assert that associations do not overwrite after create, fixes #9310

commit 029dd435e4e13eb4c9490fc0d65f5f976bdffa0a
Merge: ae2baab 845cc5c
Author: Jon Leighton <j@jonathanleighton.com>
Date:   Fri Mar 22 07:25:24 2013 -0700

    Merge pull request #9873 from senny/use_old_hash_syntax

    use ruby 1.8 Hash syntax [ci skip]

commit 845cc5c78d409a9cad589be09dda100f96544610
Author: Yves Senn <yves.senn@gmail.com>
Date:   Fri Mar 22 15:23:57 2013 +0100

    use ruby 1.8 Hash syntax [ci skip]

commit ae2baab1aa278c065dc742a3ffe65c65a7b87dc9
Merge: 69599b6 c8edd4f
Author: Jon Leighton <j@jonathanleighton.com>
Date:   Fri Mar 22 07:14:17 2013 -0700

    Merge pull request #9870 from senny/9806_eager_loading_regression

    do not reset associations when preloading twice.

commit c8edd4fda45bbc7c99beaaf2d53f4de59c3fac54
Author: Yves Senn <yves.senn@gmail.com>
Date:   Fri Mar 22 15:02:49 2013 +0100

    do not reset associations when preloading twice.

    Closes #9806.

    As the `through_options` always contained `{:order=>nil}` the second time,
    the preloader ran, the association was always reset. This patch only
    adds the `:order` to the `through_options` if it is set.

commit 69599b63de927091faf1d804b6457f65014080d6
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Mar 21 09:33:00 2013 -0300

    Fix test to Ruby 1.8

    Pathname doesn't respond to to_path

commit afe5880fa6e0aa805a9e70f460bdce9ba2bd369f
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Mar 21 09:16:48 2013 -0300

    Improve CHANGELOG entry [ci skip]

commit d1577cfe3d7f01f2876e3cbe682065012246697c
Merge: 38d0647 2c8f349
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Wed Mar 20 16:41:01 2013 -0700

    Merge branch '3-2-stable' into fredwu-slow_view_loading_fix

    * 3-2-stable:
      Merge pull request #9802 from newsline/fix-broken-action-missing
      Remove bad changelog entry from AR [ci skip]
      Wrong exception is occured when raising no translatable exception
      Don't crash exception translation w/ nil result attribute.

    Conflicts:
    	actionpack/CHANGELOG.md

commit 38d06478614adcf68a45947cb162c3152e2d7bb1
Author: Fred Wu <ifredwu@gmail.com>
Date:   Thu Mar 21 09:26:07 2013 +1100

    Added changelog for 687e68d

commit 2c8f34995378e4a18711cf5f947e8465227d3748
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed Mar 20 18:14:41 2013 -0300

    Merge pull request #9802 from newsline/fix-broken-action-missing

    Fix missing action_missing

    Conflicts:
    	actionpack/CHANGELOG.md

    Conflicts:
    	actionpack/test/controller/base_test.rb

    Fixes #9799

commit 7e8a74d40125be9d8afc8571ab7e28c67662c484
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Wed Mar 20 12:09:55 2013 -0300

    Remove bad changelog entry from AR [ci skip]

    Introduced in dc2bc388bc8c6c345337052bf0d60f5243d899d4.

commit dc2bc388bc8c6c345337052bf0d60f5243d899d4
Author: kennyj <kennyj@gmail.com>
Date:   Fri Mar 1 01:55:20 2013 +0900

    Wrong exception is occured when raising no translatable exception

    Conflicts:
    	activerecord/CHANGELOG.md

commit be913c3964069fa9ff7c8a615e06705e3a6ec435
Author: Steve Jorgensen <stevej@renewfund.com>
Date:   Mon May 21 09:50:29 2012 -0700

    Don't crash exception translation w/ nil result attribute.

    Exception.result is nil when attempting a query after PostgreSQL
    disconnect, resulting in new exception:
    NoMethodError: undefined method `error_field' for nil:NilClass

commit 687e68d88f5e1a7bb6a2d876fbbc5b8c4571d853
Author: Fred Wu <ifredwu@gmail.com>
Date:   Wed Mar 20 16:13:30 2013 +1100

    Fixed assets loading performance in 3.2.13

    The PR #8756 uses Sprockets for resolving files that already exists on disk, for those files their extensions don't need to be rewritten.

    Fixes #9803

commit 517060ab59c383f912c1be838a6d36afb128288f
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Mar 19 17:57:22 2013 -0300

    Be consistent with quotes in smtp example guide [ci skip]

commit 2011cc64e1bdcc252b96b9637c6283efb9402013
Merge: 493c10e ca6a12d
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Tue Mar 19 09:21:01 2013 -0700

    Merge pull request #9796 from dembskoi/clone_structure

    Reset postgreSQL search path in db:test:clone_structure.

commit ca6a12d6e5a8e1034e8d472fb6652111e1314a70
Author: Alexander <dembskoi@gmail.com>
Date:   Tue Mar 19 19:34:56 2013 +0400

    Reset postgreSQL search path in db:test:clone_structure.
    This patch resets the postgres search path in the structure.sql after
    the structure is dumped in order to find schema_migrations table when
    multiples schemas are used.

    Fixes #945

commit 493c10ea2999557b15e5a1efd523e6c987803750
Merge: 2cf38ae 1b12d08
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Tue Mar 19 07:59:15 2013 -0700

    Merge pull request #9804 from samsonasu/backport_number_to_human_fixes

    Backport #9347 to rails 3.2

commit 1b12d08a0f8489f0f3970f6d5e40ed119127c856
Author: hoffm <m@hof.fm>
Date:   Wed Feb 20 16:15:59 2013 -0500

    Backport #9347 to rails 3.2

commit 2cf38aebacaf78260848a54bfbb5bf5a9b627598
Merge: ef5faeb 8aadc6f
Author: José Valim <jose.valim@plataformatec.com.br>
Date:   Mon Mar 18 19:54:12 2013 -0700

    Merge pull request #9789 from puma/3-2-stable

    Change @env_config to @app_env_config

commit 8aadc6f0f4316d96397ef07876b1c0f9ff7dcf6c
Author: Evan Phoenix <evan@phx.io>
Date:   Mon Mar 18 19:21:13 2013 -0700

    Change @env_config to @app_env_config

    Moral of the story: One must be careful about lazily initializing
    instance variables when subclassing.

    I would like to draw your attention to https://github.com/rails/rails/issues/4652 where
    the reader will see that there appears to be some kind of initialization issue
    in rails.

    The source of this issue is that:
    1) Engine#env_config contains "@env_config ||= ..."
    2) Application#env_config contains "@env_config ||= ..."
    3) Threads are in the picture
    4) Thread A calls Application#env_config, which super's to Engine#env_config
    5) After Engine#env_config returns but before Application#env_config sets @env_config again, Thread B begins running
    6) Thread B calls Application#env_config
    7) Thread B finds @env_config to contain a value (the one set by Engine#env_config) and returns it
    8) Thread B blows up because key set by Application#env_config are there.
    9) People report bugs with puma, thin, rainbows, webrick, etc
    10) Evan becomes tired of seeing these bugs
    11) Evan pours himself a stiff drink, puts on Top Gear(tm), and begins debugging
    12) Evan finds the source of the bug
    13) Evan authors a PR
    14) RIGHT NOW.

    The bug is fixed by simply using a different ivar name in the methods.
    Alternately, Engine#env_config could just return a new Hash each time, not memoizing into @env_config.

    I bid you adieu.

commit ef5faeb4a5d0d3a49e4ac7dc378459cdba5a76b7
Merge: 167b645 0e56c1d
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Mar 18 14:57:13 2013 -0700

    Merge pull request #9785 from claudiob/add-3-2-13-release-date-to-changelogs

    Add release dates to documentation [ci skip]

commit 0e56c1de704370f3a2ef0cf9a2d945330b5653c7
Author: claudiob <claudiob@gmail.com>
Date:   Mon Mar 18 14:51:46 2013 -0700

    Add release dates to documentation [ci skip]

    Set "March 18, 2013" as the release date for 3.2.13

commit 167b645a2a0e983cb681d94adbe17480c824e701
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Mon Mar 18 18:25:45 2013 -0300

    Bring back test and changelog entry from #pluck method and select clause

commit 91942219210bc68d09deea0801e54b9f7c187bc9
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Mon Mar 18 18:27:35 2013 -0300

    Fix method name indent [ci skip]

commit a8e7a009d22f787046954b9e043363940deca3da
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Mon Mar 18 18:18:55 2013 -0300

    Fix changelog conflicts and remove release dates [ci skip]

commit afcd01bf25c0d7742d07b10dd8a465cffef4b9fe
Merge: 491d691 a4b5582
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Mon Mar 18 10:17:04 2013 -0700

    Merge branch '3-2-13' into 3-2-stable

    * 3-2-13:
      bumping to 3.2.13
      fix protocol checking in sanitization [CVE-2013-1857]
      JDOM XXE Protection [CVE-2013-1856]
      fix incorrect ^$ usage leading to XSS in sanitize_css [CVE-2013-1855]
      stop calling to_sym when building arel nodes [CVE-2013-1854]
      Merge pull request #9616 from exviva/multiple_select_name_double_square_brackets
      bumping to rc2
      Revert "Merge pull request #8209 from senny/backport_8176"
      Freeze columns only once per Result
      Preparing for 3.2.13.rc1 release
      Update CHANGELOGs for 3.2.13 release.

    Conflicts:
    	actionmailer/CHANGELOG.md
    	actionpack/CHANGELOG.md
    	activemodel/CHANGELOG.md
    	activeresource/CHANGELOG.md
    	activesupport/CHANGELOG.md
    	railties/CHANGELOG.md

commit a4b55827721a5967299f3c1531afb3d6d81e4ac0
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Mon Mar 18 09:23:04 2013 -0700

    bumping to 3.2.13

commit 491d6916c976c40bb8e0f0992f35d85ff7169d89
Merge: 1c2717d f662a74
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Mon Mar 18 08:53:48 2013 -0700

    Merge pull request #9768 from senny/do_not_freeze_number_helper_defaults

    Do not freeze NumberHelper defaults

commit f662a748a5d55159e1fae125a7b28695854141a2
Author: Yves Senn <yves.senn@gmail.com>
Date:   Mon Mar 18 09:34:56 2013 +0100

    do not freeze NumberHelper defaults.

    Closes #9767.

commit 99123ad12f71ce3e7fe70656810e53133665527c
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Fri Mar 15 15:04:00 2013 -0700

    fix protocol checking in sanitization [CVE-2013-1857]

    Conflicts:
    	actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb

commit c0d06633f0eafd1ef8cf51b4913894d6c8c9b58f
Author: Ben Murphy <benmmurphy@gmail.com>
Date:   Fri Feb 8 02:48:22 2013 +0000

    JDOM XXE Protection [CVE-2013-1856]

    Conflicts:
    	activesupport/test/xml_mini/jdom_engine_test.rb

commit ff3b9ca1308056b2c939ce77fbea1c4665f3619e
Author: Charlie Somerville <charlie@charliesomerville.com>
Date:   Wed Feb 13 09:09:53 2013 +1100

    fix incorrect ^$ usage leading to XSS in sanitize_css [CVE-2013-1855]

commit f980289fd2c1b9073a94b5d49b780a49f5e2933c
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Tue Mar 5 14:52:08 2013 -0800

    stop calling to_sym when building arel nodes [CVE-2013-1854]

commit 1c2717d3f5a3ce0ea97f832d1d008e053ad47acd
Author: Justin <justin@brightal.com>
Date:   Fri Mar 15 13:26:08 2013 +0530

    Typo fix [ci ski]

    Closes #9730.

commit 9d5699a05ca625d531988d563d2eda7e4b290fed
Merge: 3d4d742 ce75569
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Thu Mar 14 14:07:19 2013 -0700

    Merge pull request #7368 from jbarreneche/bug/render-locale-fallbacks

    i18n locale fallback for localized views

commit ce755697fc926b7fa5c783a27ca814574045c961
Author: Juan Barreneche <snipperme@gmail.com>
Date:   Thu Mar 14 18:02:20 2013 -0300

    Extract hardcoded lists to Redo::RestaurantsList

commit 3d4d7420ae43a35ae01343ced6d7c685d0b667ee
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Wed Mar 13 07:24:21 2013 +0000

    Fix ar:mysql2 build on Ruby 1.8.7

    The `skip` method is a no-op on Ruby 1.8.7 so we still need to
    force skip by returning early from each test.

commit ba910d76509158d531c637c4ab777beb8b20e53d
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Wed Mar 13 04:45:47 2013 +0000

    Fix `ActiveSupport::TimeZone.parse` when time is a local DST jump

    The previous implementation `ActiveSupport::TimeZone.parse` used `Time.parse`
    which applies the system time DST rules to the parsed time. Instead we now
    use `Time.utc` and manually apply the offset.

    Backport tests from:
    005d910624bbfa724b638426a000c8074d4201a2
    c89b6c4cdce7ee55ed3665c099d914222fe0344a
    03becb13099c439f6aea5058546bc8b0b19b8db8

    Fixes #9678.

commit 488699166c3558963fa82d4689a35f8c3fd93f47
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Sat Mar 9 06:48:04 2013 -0800

    Merge pull request #9616 from exviva/multiple_select_name_double_square_brackets

    Fix incorrectly appended square brackets to a multiple select box

    Before:

        select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
        # => <select name="post[category][][]" ...>

    After:

        select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
        # => <select name="post[category][]" ...>

    Conflicts:
    	actionpack/CHANGELOG.md
    	actionpack/lib/action_view/helpers/tags/base.rb
    	actionpack/test/template/form_options_helper_test.rb

commit a0c3c1e1f796c215685e4e4bcd3e8c9178936492
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Sat Mar 9 06:48:04 2013 -0800

    Merge pull request #9616 from exviva/multiple_select_name_double_square_brackets

    Fix incorrectly appended square brackets to a multiple select box

    Before:

        select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
        # => <select name="post[category][][]" ...>

    After:

        select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
        # => <select name="post[category][]" ...>

    Conflicts:
    	actionpack/CHANGELOG.md
    	actionpack/lib/action_view/helpers/tags/base.rb
    	actionpack/test/template/form_options_helper_test.rb

commit 348d693c6a846994f0f06ce307f23374101b25f6
Merge: 8f5c750 c8918c6
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Fri Mar 8 07:43:24 2013 -0800

    Merge pull request #9613 from arunagw/remove_fixme

    Removing FIXME

commit c8918c6972d122531a5ae750ae1b22ff7d539f10
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri Mar 8 15:50:34 2013 +0100

    Removing FIXME

    As we did in master.

commit 8f5c7509d6343d740e09364bef34ee984def0760
Merge: 075d0e2 3033dbe
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Fri Mar 8 04:41:21 2013 -0800

    Merge pull request #9609 from arunagw/using-latest-arjdbc

    Using latest AR-JDBC for JRuby

commit 3033dbed284c40678670fac232af9eefaf09a282
Author: Arun Agrawal <arunagw@gmail.com>
Date:   Fri Mar 8 11:22:27 2013 +0100

    Using latest AR-JDBC for JRuby

    1.2.5 and 1.2.6 are bad ones

commit 075d0e2c3f7d5b3b121fb833fc774e41e9505962
Merge: 9bd5c86 f01f03e
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Mar 7 11:49:56 2013 -0800

    Merge pull request #9600 from larrylv/fix-load-target-with-identity-map-on

    @target might be nil when Identity Map is enabled.

commit f01f03e96390fb493830337571de578241619d4f
Author: Larry Lv <larrylv1990@gmail.com>
Date:   Fri Mar 8 03:37:01 2013 +0800

    @target might be nil when Identity Map is enabled.

    * With Identity Map enabled, NameError might be raised and @target is
      nil. So we should always ensure `@target ||= find_target`.

    * Only force reload target when it is stale.

commit 9bd5c86c3bdc70bf29be7f756d1dec2fdd4eaaf0
Merge: bb0007f 939b896
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Mar 7 08:23:23 2013 -0800

    Merge pull request #9549 from larrylv/reload-stable-target-before-saving

    Fix issue #7526. Reload the association target if it's stale.

commit bb0007f70420445f140004587aa1228895ab6653
Merge: 51ae6f4 5d57b82
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Thu Mar 7 06:07:24 2013 -0800

    Merge pull request #9594 from yahonda/3-2-stable_prefix_suffix

    Use shorter prefix and suffix to support Oracle adapter

commit 5d57b821d04eab3fd9b4bdf78254dc428d203be7
Author: Yasuo Honda <yasuo.honda@gmail.com>
Date:   Thu Mar 7 06:41:41 2013 +0900

    Use shorter prefix and suffix as in Oracle database identifier
    cannot be larger than 30 characters

commit ccf256d8dcc68d975bbf00780c3b4096f47e29d3
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Wed Mar 6 15:05:13 2013 -0800

    bumping to rc2

commit 1b699fc8ad0eaf3503ec095413866ec5e4794162
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Tue Mar 5 11:33:16 2013 -0800

    Revert "Merge pull request #8209 from senny/backport_8176"

    This reverts commit 724020278480855bddfe749c91f1074d4f50f3c6, reversing
    changes made to e4e2bcce75b85fb8c1c49509a17bd5dfe6034c32.

    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/relation/calculations.rb
    	activerecord/test/cases/calculations_test.rb

commit 51ae6f4bb19014dc081b75864cbede1d612c02d2
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Tue Mar 5 11:22:55 2013 -0800

    Update CHANGELOGs for 3.2.13.rc1

commit b5445247ad19ee0fb7f9a5ca31fd654cdaf6b005
Author: Santiago Pastorino <santiago@wyeworks.com>
Date:   Thu Sep 20 12:59:31 2012 -0300

    Freeze columns only once per Result

    Conflicts:
    	activerecord/lib/active_record/result.rb

commit 0df96475973cf94b178de1825d935f42a6bd642e
Merge: 927e649 d0f22a9
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Mar 5 04:18:02 2013 -0800

    Merge pull request #9543 from maximerety/backport_fix_7774

    Backported #7774 to 3-2-stable

commit d0f22a99f9f24d07990e02da55ed937c98d41e03
Author: maximerety <maxime.rety@gmail.com>
Date:   Mon Mar 4 16:41:07 2013 +0100

    Backport fixes about #7774 to 3-2-stable

    Fix ActionDispatch::Request#formats when HTTP_ACCEPT header is an empty
    string.

commit 939b896a06c0cff661076d0ca3fbe8c1d5552e83
Author: larrylv <larrylv1990@gmail.com>
Date:   Mon Mar 4 17:38:22 2013 +0800

    Fix issue #7526. Reload the target if it's stale.

    * This has been fixed at master via `365b8b6`, but not at 3-2-stable branch.

    * @stale_state should be nil when a model isn't saved. via `0f3901e`.

    * set @stale_state to nil when reset the target.

commit 927e649bc9dc5740285e4b4e9899421c2bbfefbe
Merge: 0108eaf 1129cb3
Author: Guillermo Iguaran <guilleiguaran@gmail.com>
Date:   Sun Mar 3 11:35:33 2013 -0800

    Merge pull request #9531 from erik-escobedo/patch-1

    Fix typo on ActionPack's ChangeLog

commit 0108eaf3c1f4a769343889d5ef3e69045437c9b7
Merge: d2b9862 98739cf
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Sun Mar 3 11:34:23 2013 -0800

    Merge pull request #9528 from korny/patch-1

    Fix unused variable warning in mapper.rb

commit 1129cb31d73a9e291c179b85b3414119799046d2
Author: Érik Escobedo <erik.escobedo.e@gmail.com>
Date:   Sun Mar 3 13:33:45 2013 -0600

    Fix typo on CHANGELOG.md

commit 98739cf45fbcf2bbaa53bdf23bf4aa0250eca1c7
Author: Kornelius Kalnbach <murphy@rubychan.de>
Date:   Sun Mar 3 19:14:37 2013 +0100

    remove unused path_without_format variable

    Was forgotten in a72dab0.

commit d2b9862b247693af16ad00e56d4510ef460bcea7
Author: Santiago Pastorino <santiago@wyeworks.com>
Date:   Thu Sep 20 12:59:31 2012 -0300

    Freeze columns only once per Result

    Conflicts:
    	activerecord/lib/active_record/result.rb

commit 2e2f8c07d0ee9b209c35e41f69a44c50c501344a
Author: Yves Senn <yves.senn@gmail.com>
Date:   Thu Feb 28 08:59:07 2013 +0100

    Update docs, change_table does not use TableDefinition.

    [ci skip]

    Conflicts:
    	activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb

commit 9756aa640f505df35fbd829b5d938c4ed4a26e1e
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Thu Feb 28 09:03:37 2013 -0300

    Improve AR changelog [ci skip]

commit 5e1d629ff66dc433aa50a10130e477060da13bf8
Merge: 641a27d 3170d2b
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Thu Feb 28 04:00:38 2013 -0800

    Merge pull request #9485 from authorNari/backport-6755-to-3-2-stable

    Backported #6755 to 3-2-stable. Don't read csv file during executing db:fixtures:load.

    CSV fixtures have already been removed some time ago in 1716da07204193c8acf967e2d75a53a82e4c7c28, but the task was still loading them, even though later it tried to find the related yaml file.

commit 3170d2b7689f2e7f63bac4a5dee050ca03005678
Author: Narihiro Nakamura <authornari@gmail.com>
Date:   Thu Feb 28 18:00:15 2013 +0900

    Backported #6755 to 3-2-stable. Don't read csv file during executing db:fixtures:load.

commit 641a27d47baf4804e89d5a99ee6d843a75d868e6
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Wed Feb 27 21:03:59 2013 -0300

    Enforce i18n version >= v0.6.4

    v0.6.2 and v0.6.3 both have issues with Ruby 1.8.7, see
    https://github.com/svenfuchs/i18n/issues/192 for more info.

commit a1f18d3d722430d83783763eebe25fb05e8ce55c
Merge: 6a65a8c c27da1f
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed Feb 27 13:12:47 2013 -0800

    Merge pull request #9472 from yahonda/revert_7544c7a9

    Revert "Skip test_remove_column_with_array_as_an_argument_is_deprecated ...

commit c27da1fbcc243613949c682c44f05fffa71519c4
Author: Yasuo Honda <yasuo.honda@gmail.com>
Date:   Thu Feb 28 05:43:01 2013 +0900

    Revert "Skip test_remove_column_with_array_as_an_argument_is_deprecated with Oracle adapter."

    This reverts commit 7544c7a9f290a3ea25099ae38d52795458391785.

    Oracle enhanced adapter is supporting remove_column with Array.

commit 6a65a8caf38fb7a46521ffbc66ea6f375a0add89
Merge: 197b9f4 97df33d
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed Feb 27 12:36:04 2013 -0800

    Merge pull request #9471 from yahonda/5837_32-stable

    Fix ORA-00972 error at test_rename_table_with_prefix_and_suffix

commit 97df33d818602d452a0873e0affe0263ed3c2abb
Author: Yasuo Honda <yasuo.honda@gmail.com>
Date:   Thu Feb 28 05:22:08 2013 +0900

    Fix ORA-00972 error at test_rename_table_with_prefix_and_suffix

    backport pull request#5837 to 3-2-stable

commit 5ca59b02d1cc80f3463eef062ced079eb1b3998c
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Wed Feb 27 12:19:06 2013 -0800

    Preparing for 3.2.13.rc1 release

commit 23434f6162304292e8c4e28f2744e2cce719b372
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Wed Feb 27 10:01:29 2013 -0800

    Update CHANGELOGs for 3.2.13 release.

commit 197b9f4d61260bea9e2a0a4883977e02164a0667
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Tue Feb 26 20:28:35 2013 -0800

    Tighten up AS.gemspec.

    Apparently 0.6.2 has a call to force_encoding, which is not around
    in 1.8.7.

commit 1a88523f862738d4c270ab0134ed200c879d1f48
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Tue Feb 26 17:09:23 2013 -0800

    CHANGELOG entry for ee291b9.

    Since we released it, it should go in the CHANGELOG.

commit ee291b9b41a959e557b7732100d1ec3f27aae4f8
Author: Steve Klabnik <steve@steveklabnik.com>
Date:   Tue Feb 26 16:57:18 2013 -0800

    Revert "Merge pull request #9208 from dylanahsmith/3-2-mysql-quote-numeric"

    This reverts commit 921a296a3390192a71abeec6d9a035cc6d1865c8.

commit 55a1765942bc3d78ba5d449b5daf17a3c902e57c
Author: Hiroshige Umino <hiroshige88@gmail.com>
Date:   Tue Feb 26 11:32:04 2013 +0900

    Do not override attributes on `dup` by default scopes

commit c90e24d08782d583286ccb21cc15f60fa9ed8367
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Feb 26 08:38:12 2013 -0300

    Improve changelog entry [ci skip]

commit 06eb872035a115852d92121c037e3c54a7a10f58
Merge: 0761bb0 905b7df
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Tue Feb 26 03:36:06 2013 -0800

    Merge pull request #9430 from authorNari/backport-7072-to-3-2-stable

    Backported #7072 to 3-2-stable. Use database value for uniqueness validation scope

commit 905b7df1fac8332547b9eb7fc4d5b083c6fc1031
Author: Narihiro Nakamura <authornari@gmail.com>
Date:   Tue Feb 26 14:39:26 2013 +0900

    Backported #7072 to 3-2-stable. Use database value for uniqueness validation scope.

commit 0761bb029886bb6920a404ecf409013f83a44f58
Merge: e9d6592 6df2db3
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sun Feb 24 18:58:25 2013 -0800

    Merge pull request #9408 from mikeycgto/origin/3-2-stable

    Update RUBY_VERSION check for performance testing to handle 2.0.0

commit 6df2db329889590d516fa12307a5dddda59068d1
Author: mikeycgto <mikeycgto@gmail.com>
Date:   Sun Feb 24 21:43:32 2013 -0500

    Update RUBY_VERSION check for performance testing to handle 2.0.0

commit e9d659224bb6610d726bd333a9425b4f8f5796ba
Merge: 2647a3c 2a12a04
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Sun Feb 24 15:12:13 2013 -0800

    Merge pull request #9406 from rails/3-2-stable-ruby-2

    Rails 3.2.x is now compatible with Ruby 2.0.0

commit 2a12a04a54590d3a5f2abf4cd4eff3a7b1ee6ef4
Author: Prem Sichanugrist <s@sikac.hu>
Date:   Sun Feb 24 16:33:18 2013 -0500

    Rails 3.2.x is now compatible with Ruby 2.0.0

commit 621b5b7f0e608bc916a66a6e046f11485317949c
Author: SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
Date:   Sat Dec 29 14:07:09 2012 +0900

    added marshal_load and marshal_dump for ProxyTestResult. Behavior of method_missing with Marshal.dump and Marshal.load is changing in ruby 2.0.0 later.

commit 8598633cc1d5ea402f8b49b1f71cd92180cc1138
Author: Prem Sichanugrist <s@sikac.hu>
Date:   Fri Feb 22 17:29:08 2013 -0500

    Do not redirect cache logger to /dev/null in test

    For some reason, redirecting cache's logger to '/dev/null' resulting in
    a test failures and LoadError. I think it's because of Thread issue.
    Instead of trying to make every logger threadsafe for Rails 3.2, I think
    it's better to just don't set the logger for now.

    (Note: resetting the logger back to original value in the teardown block
    didn't fix the problem.)

commit 5693d444686d84d403de5af5d3e23ffe8147001d
Author: Jeremy Kemper <jeremy@bitsweat.net>
Date:   Sat Oct 6 20:57:22 2012 -0700

    Ruby 2 compat. Hash[] now raises on bad elements rather than ignoring them. No sense over-testing this MRI-specific behavior. See ruby/ruby@8d6add973ebcb3b4c1efbfaf07786550a3e219af

commit 0190dcae3c7d4dba5d8b322c04236feea22fc0f9
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Mon Nov 5 15:12:09 2012 -0200

    Make the tests pass with minitest 4.2

commit 979e198c14a95010aca17b6e640f386961360794
Author: Prem Sichanugrist <s@sikac.hu>
Date:   Fri Feb 22 14:26:20 2013 -0500

    Check for `method_missing` in public and protected

    Ruby 2.0 changed the behavior of `respond_to?` without argument to
    return only search for public method. We actually want to perform the
    action only if `method_missing` is either in public or protected.

commit abf0c710210440e50b33b3e708b1e7e1dfbf9d65
Author: thedarkone <thedarkone2@gmail.com>
Date:   Sat Jun 30 17:09:12 2012 +0200

    There is already a Set of non-hidden action_names lying around.

commit 42d7927c22a2c219d6145d9375be65a04a83dce3
Author: Jeremy Kemper <jeremy@bitsweat.net>
Date:   Sat Oct 6 21:06:10 2012 -0700

    Ruby 2 compat. CGI.escapeHTML has changed the way it escapes apostrophes a few times, so fix up the test to work with however it chooses to escape.

commit 2a5f6d8fe6898f2570ba66382336d56894a43322
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Mon Nov 12 18:17:06 2012 -0800

    Ruby 2.0.0 defaults source encoding to utf-8 so we need to specifically tag this file with us-ascii

commit 7cc26fd15e27c4a13705a844538bebfdd0461729
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Tue Mar 20 09:58:42 2012 -0700

    search private and protected methods for convert_key

commit 45e9cac12ca99a51ef10e5ee423a6712818ae145
Author: Prem Sichanugrist <s@sikac.hu>
Date:   Thu Feb 21 21:24:02 2013 -0500

    Define #inspect instead of #to_s

    Ruby 2.0 Object#inspect does not call #to_s by default anymore.

commit b59b72a5aeb799ddaa43dc7ed8ef8101a6c95896
Author: Prem Sichanugrist <s@sikac.hu>
Date:   Thu Feb 21 20:21:24 2013 -0500

    Fix failing test case when no database.yml

commit 9a0cdc68b5b0fc08e60069cb5512bf2ad6b2a76b
Author: Aaron Patterson <aaron.patterson@gmail.com>
Date:   Thu May 24 14:55:38 2012 -0700

    `name` should be public.

commit fe4fce80f3ee80b089fca482f04788af0b9d4d17
Author: Prem Sichanugrist <s@sikac.hu>
Date:   Thu Feb 21 18:47:18 2013 -0500

    Add in missing requires

commit 2647a3cabfb88ac0dac318207bf611b0b66d495f
Merge: 0c1558d 8f6fa34
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Sat Feb 23 06:26:20 2013 -0800

    Merge pull request #9388 from senny/9367_wrong_schema_after_remove_column

    Sqlite preserves primary keys when copying/altering tables.

commit 8f6fa345e5c865acefa063c3e2cd62553fa9f2eb
Author: Yves Senn <yves.senn@gmail.com>
Date:   Sat Feb 23 14:00:02 2013 +0100

    Sqlite preserves primary keys when copying/altering tables.

    Backport #2312.
    Fixes #9367.

    I also added a test-case to make sure that renaming or removing
    a column preserves the primary key.

commit 0c1558d32fe7f3198ef598ce552ea89a04ab7793
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Fri Feb 22 14:42:35 2013 -0300

    Use 1.8 hash style

commit e55b0f6d42ee224513aa0a3e1552268b10e5d182
Merge: fdcd7c0 a72dab0
Author: Andrew White <andyw@pixeltrix.co.uk>
Date:   Fri Feb 22 00:35:28 2013 -0800

    Merge pull request #9374 from senny/improved_match_shorthand_syntax

    determine the match shorthand target early.

commit a72dab0b6a16ef9e83e66c665b0f2b4364d90fb6
Author: Yves Senn <yves.senn@gmail.com>
Date:   Thu Feb 21 17:43:49 2013 +0100

    determine the match shorthand target early.

    Backport #9361.
    Closes #7554.

    This patch determines the `controller#action` directly
    in the `match` method when the shorthand syntax is used.
    this prevents problems with namespaces and scopes.

commit fdcd7c0f2ee264219c322e5cb8f880ca48e14d5f
Author: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Date:   Thu Feb 21 12:48:45 2013 -0300

    Change tabs to spaces in form options helper [ci skip]

commit a0d84227c2aa4f509abcfa81880dc1cd7cfa9d05
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Date:   Wed Feb 20 22:31:02 2013 -0300

    Use order to get the first record since postgresql returns in the
    desired order

commit 31436206d9fea09f6332d89e7863bc60e8db902f
Merge: b4e053e 9be7f63
Author: Rafael Mendonça França <rafaelmfranca@gmail.com>
Dat…

jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Sep 11, 2013

Update ruby-railties32 to 3.2.14.
## Rails 3.2.14 (Jul 22, 2013) ##

*   Fix bugs that crashed `rake test:benchmark`, `rails profiler` and
    `rails benchmarker`.
    Fixes #4938.
    Backport rails/rails-perftest#2.

    *Dmitry Vorotilin + Yves Senn*

*   Add support for runner hook.
    Backport #7695.

    *Ben Holley*

*   Fixes bug with scaffold generator with `--assets=false
    --resource-route=false`.  Fixes #9525.

    *Arun Agrawal*

jperkin pushed a commit to joyent/pkgsrc-legacy that referenced this pull request Dec 9, 2013

Update ruby-railties32 to 3.2.14.
## Rails 3.2.14 (Jul 22, 2013) ##

*   Fix bugs that crashed `rake test:benchmark`, `rails profiler` and
    `rails benchmarker`.
    Fixes #4938.
    Backport rails/rails-perftest#2.

    *Dmitry Vorotilin + Yves Senn*

*   Add support for runner hook.
    Backport #7695.

    *Ben Holley*

*   Fixes bug with scaffold generator with `--assets=false
    --resource-route=false`.  Fixes #9525.

    *Arun Agrawal*

jperkin pushed a commit to joyent/pkgsrc-legacy that referenced this pull request Jan 21, 2014

Update ruby-railties32 to 3.2.14.
## Rails 3.2.14 (Jul 22, 2013) ##

*   Fix bugs that crashed `rake test:benchmark`, `rails profiler` and
    `rails benchmarker`.
    Fixes #4938.
    Backport rails/rails-perftest#2.

    *Dmitry Vorotilin + Yves Senn*

*   Add support for runner hook.
    Backport #7695.

    *Ben Holley*

*   Fixes bug with scaffold generator with `--assets=false
    --resource-route=false`.  Fixes #9525.

    *Arun Agrawal*

jperkin pushed a commit to joyent/pkgsrc-legacy that referenced this pull request Mar 14, 2014

Update ruby-railties32 to 3.2.14.
## Rails 3.2.14 (Jul 22, 2013) ##

*   Fix bugs that crashed `rake test:benchmark`, `rails profiler` and
    `rails benchmarker`.
    Fixes #4938.
    Backport rails/rails-perftest#2.

    *Dmitry Vorotilin + Yves Senn*

*   Add support for runner hook.
    Backport #7695.

    *Ben Holley*

*   Fixes bug with scaffold generator with `--assets=false
    --resource-route=false`.  Fixes #9525.

    *Arun Agrawal*

jsonn pushed a commit to jsonn/pkgsrc that referenced this pull request Oct 11, 2014

Update ruby-railties32 to 3.2.14.
## Rails 3.2.14 (Jul 22, 2013) ##

*   Fix bugs that crashed `rake test:benchmark`, `rails profiler` and
    `rails benchmarker`.
    Fixes #4938.
    Backport rails/rails-perftest#2.

    *Dmitry Vorotilin + Yves Senn*

*   Add support for runner hook.
    Backport #7695.

    *Ben Holley*

*   Fixes bug with scaffold generator with `--assets=false
    --resource-route=false`.  Fixes #9525.

    *Arun Agrawal*

notxarb referenced this pull request in nanobox-io/nanobox-pkgsrc-lite May 8, 2015

Initial copy of pkgsrc project
Squashed commit of the following:

commit 130c8eb2df4b63034353a232af8e5fa4526693a5
Merge: 5888b51 a980f97
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Sun Apr 26 23:00:03 2015 +0100

    Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1

commit a980f97415f48af9407551d6e515a09104079a8d
Merge: 1cbc272 fdbe317
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Sun Apr 26 22:55:29 2015 +0100

    Merge branch 'pkgsrc_2015Q1' into joyent/feature/miscfix/2015Q1

commit fdbe317df493f113aa0a8bdcf1ec1b6b65937bf4
Author: tron <tron>
Date:   Sun Apr 26 08:47:38 2015 +0000

    Pullup tickets #4684, #4685 and #4686.

commit faae9e8bdb9fe7ab45c47c87b904784650e473d4
Author: tron <tron>
Date:   Sun Apr 26 08:47:12 2015 +0000

    Pullup ticket #4686 - requested by taca
    lang/ruby22-base: security update

    Revisions pulled up:
    - lang/ruby/rubyversion.mk                                      1.141
    - lang/ruby22-base/distinfo                                     1.2

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Sun Apr 19 16:25:10 UTC 2015

       Modified Files:
       	pkgsrc/lang/ruby: rubyversion.mk
       	pkgsrc/lang/ruby22-base: distinfo

       Log Message:
       Update ruby22-base and ruby22 package to 2.2.2.

       >From release announce:

       We are pleased to announce the release of Ruby 2.2.2. This is a TEENY version
       release of the stable 2.2 series.

       This release includes the security fix for a OpenSSL extension's hostname
       verification vulnerability.

           CVE-2015-1855: Ruby OpenSSL Hostname Verification

       There are also some bugfixes. See ChangeLog for details.

commit 6e88dba1add92447fc97f35ec9518d1a58ce2484
Author: tron <tron>
Date:   Sun Apr 26 08:36:34 2015 +0000

    Pullup ticket #4685 - requested by taca
    lang/ruby21-base: security update

    Revisions pulled up:
    - lang/ruby/rubyversion.mk                                      1.140
    - lang/ruby21-base/PLIST                                        1.6
    - lang/ruby21-base/distinfo                                     1.14-1.15
    - lang/ruby21-base/patches/patch-configure                      1.3
    - lang/ruby21-base/patches/patch-lib_rdoc_text.rb               deleted
    - lang/ruby21/Makefile                                          1.3

    ---
       Module Name:	pkgsrc
       Committed By:	jperkin
       Date:		Fri Apr  3 09:02:24 UTC 2015

       Modified Files:
       	pkgsrc/lang/ruby21-base: distinfo
       	pkgsrc/lang/ruby21-base/patches: patch-configure

       Log Message:
       Disable CPU detection on Darwin, the result for 32-bit (i486) is incompatible
       with pkgsrc MACHINE_ARCH (i386).  Fixes 32-bit build, no change for 64-bit.

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Sun Apr 19 16:19:00 UTC 2015

       Modified Files:
       	pkgsrc/lang/ruby: rubyversion.mk
       	pkgsrc/lang/ruby21-base: PLIST distinfo
       Removed Files:
       	pkgsrc/lang/ruby21-base/patches: patch-lib_rdoc_text.rb

       Log Message:
       Update ruby21-base and ruby21 packages to 2.1.6.

       >From release announce:

       Ruby 2.1.6 has been released.

       This release includes a security fix for OpenSSL extension. Please view the
       topic below for more details.

           CVE-2015-1855: Ruby OpenSSL Hostname Verification

       And, many bug fixes are also included. See tickets and ChangeLog for details.

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Sun Apr 19 16:20:42 UTC 2015

       Modified Files:
       	pkgsrc/lang/ruby21: Makefile

       Log Message:
       Reset PKGREVISION.

commit 072ebbdcf4981a4582ea66498337b1e25e302b8c
Author: tron <tron>
Date:   Sun Apr 26 08:26:15 2015 +0000

    Pullup ticket #4684 - requested by taca
    lang/ruby200-base: security update

    Revisions pulled up:
    - lang/ruby/rubyversion.mk                                      1.139
    - lang/ruby200-base/distinfo                                    1.23 via patch

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Sun Apr 19 16:12:23 UTC 2015

       Modified Files:
       	pkgsrc/lang/ruby: rubyversion.mk
       	pkgsrc/lang/ruby200-base: distinfo

       Log Message:
       Update ruby200 package to 2.0.0p645 (Ruby 2.0.0-p645).

       >From release announce:

       We are pleased to announce the release of Ruby 2.0.0-p645.

       This release includes a security fix for OpenSSL extension. Please view the
       topic below for more details.

           CVE-2015-1855: Ruby OpenSSL Hostname Verification

       Ruby 2.0.0 is now under the state of the security maintenance phase, until
       Feb. 24th, 2016. After the date, maintenance of Ruby 2.0.0 will be ended. We
       recommend you start planning migration to newer versions of Ruby, such as 2.1
       or 2.2.

       This release includes the security fix mentioned above along with small
       changes required for test environment (that shouldn't affect normal users).

       See ChangeLog for full details.

commit 58cd83802d5111831a785666eefc272c1c43051f
Author: bsiegert <bsiegert>
Date:   Sat Apr 25 20:08:09 2015 +0000

    Pullup ticket 4670

commit 259293bfa47febf9a2b4d4d71c94c3c467f0397f
Author: bsiegert <bsiegert>
Date:   Sat Apr 25 20:08:04 2015 +0000

    Pullup ticket #4670 - requested by joerg
    devel/rsltc: build fix

    Revisions pulled up:
    - devel/rsltc/Makefile                                          1.16

    ---
       Module Name:	pkgsrc
       Committed By:	joerg
       Date:		Sat Apr 18 20:40:46 UTC 2015

       Modified Files:
       	pkgsrc/devel/rsltc: Makefile

       Log Message:
       Let clang ignore the mixed up return use of the K&R code.

commit 5342fbe8148fa3cc6051f8087e07c96b646a573c
Author: bsiegert <bsiegert>
Date:   Sat Apr 25 19:28:44 2015 +0000

    Pullup ticket #4682 - requested by hiramatsu
    inputmethod/librime: build fix

    Revisions pulled up:
    - inputmethod/librime/distinfo                                  1.3
    - inputmethod/librime/patches/patch-src_dict_table.cc           1.2

    ---
       Module Name:	pkgsrc
       Committed By:	hiramatsu
       Date:		Tue Apr 21 13:59:31 UTC 2015

       Modified Files:
       	pkgsrc/inputmethod/librime: distinfo
       	pkgsrc/inputmethod/librime/patches: patch-src_dict_table.cc

       Log Message:
       Fix build break with gcc.

commit 924e69ca4577415c75e6b584de574ca82b51dcc1
Author: hiramatsu <hiramatsu>
Date:   Sat Apr 25 04:06:02 2015 +0000

    pullup #4683

commit ca4f2559fbd0e9f02fa251517d3b9d92ff68d961
Author: hiramatsu <hiramatsu>
Date:   Sat Apr 25 04:04:43 2015 +0000

    Pullup ticket #4683 - requested by joerg
    editors/p5-Wx-Scintilla: link fix patch

    Revisions pulled up:
    - editors/p5-Wx-Scintilla/distinfo                              1.3
    - editors/p5-Wx-Scintilla/patches/patch-aa                      1.3

    ---
       Module Name: pkgsrc
       Committed By:        joerg
       Date:                Fri Apr 17 15:22:44 UTC 2015

       Modified Files:
            pkgsrc/editors/p5-Wx-Scintilla: distinfo
            pkgsrc/editors/p5-Wx-Scintilla/patches: patch-aa

       Log Message:
       Don't depend on ${PREFIX}/lib to be added implicitly by the wrappers.
       Don't use empty arguments to -o.

commit 26b7efffbf80de9703df2d47f9fcd08a5374ec2c
Author: hiramatsu <hiramatsu>
Date:   Fri Apr 24 16:18:39 2015 +0000

    pullup #4654.

commit dc5bb12c74c6a65858d49e497554493bd3f63564
Author: hiramatsu <hiramatsu>
Date:   Fri Apr 24 16:07:10 2015 +0000

    Pullup ticket #4654 - requested by dsainty
    security/zoneminder: security update

    Revisions pulled up:
    - security/zoneminder/Makefile                                  1.18
    - security/zoneminder/distinfo                                  1.7
    - security/zoneminder/MESSAGE                                   1.3
    - security/zoneminder/PLIST                                     1.4
    - security/zoneminder/patches/patch-Makefile_am                 1.3
    - security/zoneminder/patches/patch-configure_ac                1.4
    - security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm 1.2
    - security/zoneminder/patches/patch-scripts_zm_in               1.3
    - security/zoneminder/patches/patch-src_Makefile_am             1.3
    - security/zoneminder/patches/patch-src_zm__thread.h            1.4
    - security/zoneminder/patches/patch-src_zm__timer.h             1.3
    - security/zoneminder/patches/patch-src_zm__utils.h             1.2
    - security/zoneminder/patches/patch-src_zm_ffmpeg_camera_cpp    1.1
    - security/zoneminder/patches/patch-src_zm_remote_camera_h      1.4
    - security/zoneminder/patches/patch-src_zm_signal_cpp           1.1
    - security/zoneminder/patches/patch-src_zm_signal_h             deleted
    - security/zoneminder/patches/patch-src_zmf_cpp                 deleted

    ---
       Module Name:    pkgsrc
       Committed By:   dsainty
       Date:           Sun Apr  5 08:51:08 UTC 2015

       Modified Files:
               pkgsrc/security/zoneminder: MESSAGE Makefile PLIST distinfo
               pkgsrc/security/zoneminder/patches: patch-Makefile_am
                   patch-configure_ac
                   patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm
                   patch-scripts_zm_in patch-src_Makefile_am patch-src_zm__thread.h
                   patch-src_zm__timer.h patch-src_zm__utils.h
                   patch-src_zm_remote_camera_h
       Removed Files:
               pkgsrc/security/zoneminder/patches: patch-src_zm_signal_h
                   patch-src_zmf_cpp

       Log Message:
       Update ZoneMinder from 1.25.0 to 1.28.1.

       Numerous changes, documented at:
        https://github.com/ZoneMinder/ZoneMinder/releases

       Addresses two security advisories:

         https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0
         http://secunia.com/advisories/62918/

       Pkgsrc changes:

       patch-src_zm_signal_h is no longer necessary because zm_signal.h uses
       HAVE_EXECINFO_H.

       patch-src_zmf_cpp appears to be applied upstream.

       patch-configure_ac no longer needs to set PATH_BUILD to
       PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build
       scripts as installed files.  Upstream has now implemented this via the
       ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory.

       src/Makefile.am no longer setuid's zmfix, as zmfix was removed from
       ZoneMinder 1.26.6.

       The code now uses clock_gettime(), which on some systems (like Linux), calls
       for -lrt.  Since the build system isn't aware of this, but Pkgsrc is, just set
       PTHREAD_AUTO_VARS=yes.

       The PHP code now uses PDO for DB access, but it looks like there are some
       straggling dependencies on the raw MySQL driver, so both are pulled in.

    ---
       Module Name:    pkgsrc
       Committed By:   dsainty
       Date:           Tue Apr  7 12:32:59 UTC 2015

       Modified Files:
               pkgsrc/security/zoneminder: Makefile

       Log Message:
       NetBSD's tar (6.1) does an exit(1) on the source archive, complaining:

        Invalid header, starting valid header search.

       As a workaround: EXTRACT_USING=gtar

    ---
       Module Name:    pkgsrc
       Committed By:   dsainty
       Date:           Tue Apr  7 12:54:36 UTC 2015

       Modified Files:
               pkgsrc/security/zoneminder: distinfo
               pkgsrc/security/zoneminder/patches: patch-configure_ac

       Log Message:
       Recognise lower-case "netbsd" as BSD.

       NB: This doesn't fix the threads portability issues yet for NetBSD, but gets
       through configuration.

    ---
       Module Name:    pkgsrc
       Committed By:   dsainty
       Date:           Fri Apr 10 02:53:20 UTC 2015

       Modified Files:
               pkgsrc/security/zoneminder: Makefile

       Log Message:
       New ZoneMinder supports the newer ffmpeg APIs, so switch the ffmpeg
       dependency from ffmpeg010 to ffmpeg2.

    ---
       Module Name:    pkgsrc
       Committed By:   dsainty
       Date:           Fri Apr 10 02:58:49 UTC 2015

       Modified Files:
               pkgsrc/security/zoneminder: Makefile distinfo
               pkgsrc/security/zoneminder/patches: patch-src_zm__thread.h
                   patch-src_zm__timer.h
       Added Files:
               pkgsrc/security/zoneminder/patches: patch-src_zm_ffmpeg_camera_cpp
                   patch-src_zm_signal_cpp

       Log Message:
       Patch up some Linux-specific assumptions in the code.

       Fixes build under NetBSD.

       Bump PKGREVISION for switch to ffmpeg2, and some portability changes that
       aren't expected to affect functionality.

    ---
       Module Name:    pkgsrc
       Committed By:   dsainty
       Date:           Wed Apr 22 15:13:44 UTC 2015

       Modified Files:
               pkgsrc/security/zoneminder: Makefile

       Log Message:
       Fix paths in two missed installed scripts.

       The intention of zmsystemctl.pl is to use bin/pkexec to allow the apache user
       to start and stop the ZoneMinder services on operating systems using systemd
       and newer versions of Polkit than Pkgsrc currently has.

       If the base OS doesn't use systemd (E.g. anything not Linux), this file
       shouldn't be used anyway.

       In Pkgsrc we ignore the potentially absent pkexec interpreter in this file.
       If the base OS uses systemd, it probably also has pkexec in its base
       installation.

       Bump PKGREVISION.

commit 5888b51a0b3b68add698d985f00528ba171625b4
Merge: 0d3b50c 1cbc272
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Thu Apr 23 12:34:40 2015 +0100

    Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1

commit 1cbc272373cd255cd6a62f723a2d6e3efd36e50e
Merge: ccca9bf cc4bcc6
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Thu Apr 23 12:33:54 2015 +0100

    Merge branch 'pkgsrc_2015Q1' into joyent/feature/miscfix/2015Q1

commit 0d3b50ce89ba6306650de22989cd367056fea258
Merge: a5f8d21 ccca9bf
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Thu Apr 23 10:40:08 2015 +0100

    Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1

commit ccca9bf3edab64da44b0dc2b92675a00155d6fed
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Thu Apr 23 10:38:13 2015 +0100

    www/curl: backport 7.42.0 update.

commit 9e10d96a16dc43313e438319d39b61658df06820
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Thu Apr 23 10:36:53 2015 +0100

    Backport changes to disable epoll/inotify.

commit cc4bcc659cd1f7d2b5f05c11d767b03ed87f07f4
Author: tron <tron>
Date:   Wed Apr 22 22:55:10 2015 +0000

    Pullup tickets #4680 and #4681.

commit da8721d64da4906e7d9cec770d35c0227d1e8c79
Author: tron <tron>
Date:   Wed Apr 22 22:54:34 2015 +0000

    Pullup ticket #4681 - requested by joerg
    graphics/p5-PerlMagick: bug fix patch

    Revisions pulled up:
    - graphics/p5-PerlMagick/Makefile                               1.110

    ---
       Module Name:	pkgsrc
       Committed By:	joerg
       Date:		Tue Apr 21 17:21:18 UTC 2015

       Modified Files:
       	pkgsrc/graphics/p5-PerlMagick: Makefile

       Log Message:
       Don't use the shipped Magick.pm, it has the wrong bootstrap version.

commit c9a8d86c67b8dbd0b626c588d5210245c521a90f
Author: tron <tron>
Date:   Wed Apr 22 22:43:54 2015 +0000

    Pullup ticket #4680 - requested by taca
    lang/php56: security update

    Revisions pulled up:
    - lang/php/phpversion.mk                                        1.96
    - lang/php56/distinfo                                           1.9

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Fri Apr 17 16:42:43 UTC 2015

       Modified Files:
       	pkgsrc/lang/php: phpversion.mk
       	pkgsrc/lang/php56: distinfo

       Log Message:
       Update php56 to 5.6.8.

       16 Apr 2015, PHP 5.6.8

       - Core:
         . Fixed bug #66609 (php crashes with __get() and ++ operator in some cases).
           (Dmitry, Laruence)
         . Fixed bug #68021 (get_browser() browser_name_regex returns non-utf-8
           characters). (Tjerk)
         . Fixed bug #68917 (parse_url fails on some partial urls). (Wei Dai)
         . Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM
           configuration options). (Anatol Belski)
         . Additional fix for bug #69152 (Type confusion vulnerability in
           exception::getTraceAsString). (Stas)
         . Fixed bug #69210 (serialize function return corrupted data when sleep has
           non-string values). (Juan Basso)
         . Fixed bug #69212 (Leaking VIA_HANDLER func when exception thrown in
           __call/... arg passing). (Nikita)
         . Fixed bug #69221 (Segmentation fault when using a generator in combination
           with an Iterator). (Nikita)
         . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion
           vulnerability). (Stas)
         . Fixed bug #69353 (Missing null byte checks for paths in various PHP
           extensions). (Stas)

       - Apache2handler:
         . Fixed bug #69218 (potential remote code execution with apache 2.4
           apache2handler). (Gerrit Venema)

       - cURL:
         . Implemented FR#69278 (HTTP2 support). (Masaki Kagaya)
         . Fixed bug #68739 (Missing break / control flow). (Laruence)
         . Fixed bug #69316 (Use-after-free in php_curl related to
           CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence)

       - Date:
         . Fixed bug #69336 (Issues with "last day of <monthname>"). (Derick Rethans)

       - Enchant:
         . Fixed bug #65406 (Enchant broker plugins are in the wrong place in windows
           builds). (Anatol)

       - Ereg:
         . Fixed bug #68740 (NULL Pointer Dereference). (Laruence)

       - Fileinfo:
         . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or
           segfault). (Anatol Belski)

       - Filter:
         . Fixed bug #69202: (FILTER_FLAG_STRIP_BACKTICK ignored unless other
           flags are used). (Jeff Welch)
         . Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127). (Jeff
           Welch)

       - OPCache:
         . Fixed bug #69297 (function_exists strange behavior with OPCache on
           disabled function). (Laruence)
         . Fixed bug #69281 (opcache_is_script_cached no longer works). (danack)
         . Fixed bug #68677 (Use After Free). (CVE-2015-1351) (Laruence)

       - OpenSSL
         . Fixed bugs #68853, #65137 (Buffered crypto stream data breaks IO polling
           in stream_select() contexts) (Chris Wright)
         . Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)
           (Daniel Lowrey)
         . Fixed bug #69215 (Crypto servers should send client CA list)
           (Daniel Lowrey)
         . Add a check for RAND_egd to allow compiling against LibreSSL (Leigh)

       - Phar:
         . Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
           (Mike)
         . Fixed bug #64931 (phar_add_file is too restrictive on filename). (Mike)
         . Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike)
         . Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing
           ".tar"). (Mike)
         . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas)
         . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in
           phar_set_inode). (Stas)

       - Postgres:
         . Fixed bug #68741 (Null pointer dereference). (CVE-2015-1352) (Laruence)

       - SPL:
         . Fixed bug #69227 (Use after free in zval_scan caused by
            spl_object_storage_get_gc). (adam dot scarr at 99designs dot com)

       - SOAP:
         . Fixed bug #69293 (NEW segfault when using SoapClient::__setSoapHeader
            (bisected, regression)). (Laruence)

       - Sqlite3:
         . Fixed bug #68760 (SQLITE segfaults if custom collator throws an exception).
            (Dan Ackroyd)
         . Fixed bug #69287 (Upgrade bundled libsqlite to 3.8.8.3). (Anatol)
         . Fixed bug #66550 (SQLite prepared statement use-after-free). (Sean Heelan)

commit fcea77f015634d2ceccf87aa8cb9d4d6f37c4fb8
Author: tron <tron>
Date:   Tue Apr 21 21:55:20 2015 +0000

    Pullup tickets #4676, #4677, #4678 and #4679.

commit 925ab7098bb6cc3ce910092b754e612ad6aad606
Author: tron <tron>
Date:   Tue Apr 21 21:53:52 2015 +0000

    Pullup ticket #4679 - requested by taca
    lang/php55: security update

    Revisions pulled up:
    - lang/php/phpversion.mk                                        1.95
    - lang/php55/distinfo                                           1.39

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Fri Apr 17 16:40:58 UTC 2015

       Modified Files:
       	pkgsrc/lang/php: phpversion.mk
       	pkgsrc/lang/php55: distinfo

       Log Message:
       Update php55 to 5.5.24.

       16 Apr 2015, PHP 5.5.24

       - Apache2handler:
         . Fixed bug #69218 (potential remote code execution with apache 2.4
           apache2handler). (Gerrit Venema)

       - Core:
         . Fixed bug #66609 (php crashes with __get() and ++ operator in some cases).
           (Dmitry, Laruence)
         . Fixed bug #67626 (User exceptions not properly handled in streams).
           (Julian)
         . Fixed bug #68021 (get_browser() browser_name_regex returns non-utf-8
           characters). (Tjerk)
         . Fixed bug #68917 (parse_url fails on some partial urls). (Wei Dai)
         . Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM
           configuration options). (Anatol Belski)
         . Additional fix for bug #69152 (Type confusion vulnerability in
           exception::getTraceAsString). (Stas)
         . Fixed bug #69212 (Leaking VIA_HANDLER func when exception thrown in
           __call/... arg passing). (Nikita)
         . Fixed bug #69221 (Segmentation fault when using a generator in combination
           with an Iterator). (Nikita)
         . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion
           vulnerability). (Stas)
         . Fixed bug #69353 (Missing null byte checks for paths in various PHP
           extensions). (Stas)

       - Curl:
         . Implemented FR#69278 (HTTP2 support). (Masaki Kagaya)
         . Fixed bug #69316 (Use-after-free in php_curl related to
           CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence)

       - Date:
         . Export date_get_immutable_ce so that it can be used by extensions. (Derick
           Rethans)
         . Fixed bug #69336 (Issues with "last day of <monthname>"). (Derick Rethans)

       - Enchant:
         . Fixed bug #65406 (Enchant broker plugins are in the wrong place in windows
           builds). (Anatol)

       - Fileinfo:
         . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or
           segfault). (Anatol Belski)

       - Filter:
         . Fixed bug #69202 (FILTER_FLAG_STRIP_BACKTICK ignored unless other
           flags are used). (Jeff Welch)
         . Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127). (Jeff
           Welch)

       - Mbstring:
         . Fixed bug #68846 (False detection of CJK Unified Ideographs Extension E).
           (Masaki Kagaya)

       - OPCache
          . Fixed bug #68677 (Use After Free). (CVE-2015-1351) (Laruence)
          . Fixed bug #69281 (opcache_is_script_cached no longer works). (danack)

       - OpenSSL:
         . Fixed bug #67403 (Add signatureType to openssl_x509_parse).
         . Add a check for RAND_egd to allow compiling against LibreSSL (Leigh)

       - Phar:
         . Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
           (Mike)
         . Fixed bug #64931 (phar_add_file is too restrictive on filename). (Mike)
         . Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike)
         . Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing
           ".tar"). (Mike)
         . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas)
         . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in
           phar_set_inode). (Stas)

       - Postgres:
         . Fixed bug #68741 (Null pointer dereference). (CVE-2015-1352) (Laruence)

       - SPL:
         . Fixed bug #69227 (Use after free in zval_scan caused by
            spl_object_storage_get_gc). (adam dot scarr at 99designs dot com)

       - SOAP:
         . Fixed bug #69293 (NEW segfault when using SoapClient::__setSoapHeader
            (bisected, regression)). (thomas at shadowweb dot org, Laruence)

       - SQLITE:
         . Fixed bug #68760 (SQLITE segfaults if custom collator throws an exception).
            (Dan Ackroyd)
         . Fixed bug #69287 (Upgrade bundled sqlite to 3.8.8.3). (Anatol)

commit 06cfdb83dfa6add7a1890739e737320f7ca3044b
Author: tron <tron>
Date:   Tue Apr 21 21:50:09 2015 +0000

    Pullup ticket #4677 - requested by taca
    lang/php54: security update

    Revisions pulled up:
    - lang/php/phpversion.mk                                        1.94
    - lang/php54/distinfo                                           1.56

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Fri Apr 17 16:39:56 UTC 2015

       Modified Files:
       	pkgsrc/lang/php: phpversion.mk
       	pkgsrc/lang/php54: distinfo

       Log Message:
       Update php54 to 5.4.40.

       16 Apr 2015 PHP 5.4.40

       - Apache2handler:
         . Fixed bug #69218 (potential remote code execution with apache 2.4
           apache2handler). (Gerrit Venema)

       - Core:
         . Additional fix for bug #69152 (Type confusion vulnerability in
           exception::getTraceAsString). (Stas)
         . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion
           vulnerability). (Stas)
         . Fixed bug #69353 (Missing null byte checks for paths in various PHP
           extensions). (Stas)

       - cURL:
         . Fixed bug #69316 (Use-after-free in php_curl related to
           CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence)

       - Ereg:
         . Fixed bug #68740 (NULL Pointer Dereference). (Laruence)

       - Fileinfo:
         . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or
           segfault). (Anatol Belski)

       - GD:
         . Fixed bug #68601 (buffer read overflow in gd_gif_in.c). (Remi)

       - Phar:
         . Fixed bug #68901 (use after free). (bugreports at internot dot info)
         . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas)
         . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in
           phar_set_inode). (Stas)

       - Postgres:
         . Fixed bug #68741 (Null pointer deference) (CVE-2015-1352). (Xinchen Hui)

       - SOAP:
         . Fixed bug #69152 (Type Confusion Infoleak Vulnerability in unserialize()
           with SoapFault). (Dmitry)

       - Sqlite3:
         . Fixed bug #66550 (SQLite prepared statement use-after-free). (Sean Heelan)

commit 259235aeb1391a7d418c7f05567d8fd849ecbf64
Author: tron <tron>
Date:   Tue Apr 21 21:44:22 2015 +0000

    Pullup ticket #4678 - requested by taca
    net/ntp4: security update

    Revisions pulled up:
    - net/ntp4/Makefile                                             1.85
    - net/ntp4/PLIST                                                1.18
    - net/ntp4/distinfo                                             1.21

    ---
       Module Name:	pkgsrc
       Committed By:	taca
       Date:		Wed Apr  8 03:31:34 UTC 2015

       Modified Files:
       	pkgsrc/net/ntp4: Makefile PLIST distinfo

       Log Message:
       Update ntp4 package to 4.2.8p2.

       NTP 4.2.8p2 (Harlan Stenn <stenn@ntp.org>, 2015/04/xx)

       Focus: Security and Bug fixes, enhancements.

       Severity: MEDIUM

       In addition to bug fixes and enhancements, this release fixes the
       following medium-severity vulnerabilities involving private key
       authentication:

       * [Sec 2779] ntpd accepts unauthenticated packets with symmetric key crypto.

           References: Sec 2779 / CVE-2015-1798 / VU#374268
           Affects: All NTP4 releases starting with ntp-4.2.5p99 up to but not
       	including ntp-4.2.8p2 where the installation uses symmetric keys
       	to authenticate remote associations.
           CVSS: (AV:A/AC:M/Au:N/C:P/I:P/A:P) Base Score: 5.4
           Date Resolved: Stable (4.2.8p2) 07 Apr 2015
           Summary: When ntpd is configured to use a symmetric key to authenticate
       	a remote NTP server/peer, it checks if the NTP message
       	authentication code (MAC) in received packets is valid, but not if
       	there actually is any MAC included. Packets without a MAC are
       	accepted as if they had a valid MAC. This allows a MITM attacker to
       	send false packets that are accepted by the client/peer without
       	having to know the symmetric key. The attacker needs to know the
       	transmit timestamp of the client to match it in the forged reply
       	and the false reply needs to reach the client before the genuine
       	reply from the server. The attacker doesn't necessarily need to be
       	relaying the packets between the client and the server.

       	Authentication using autokey doesn't have this problem as there is
       	a check that requires the key ID to be larger than NTP_MAXKEY,
       	which fails for packets without a MAC.
           Mitigation:
               Upgrade to 4.2.8p2, or later, from the NTP Project Download Page
       	or the NTP Public Services Project Download Page
               Configure ntpd with enough time sources and monitor it properly.
           Credit: This issue was discovered by Miroslav Lichvar, of Red Hat.

       * [Sec 2781] Authentication doesn't protect symmetric associations against
         DoS attacks.

           References: Sec 2781 / CVE-2015-1799 / VU#374268
           Affects: All NTP releases starting with at least xntp3.3wy up to but
       	not including ntp-4.2.8p2 where the installation uses symmetric
       	key authentication.
           CVSS: (AV:A/AC:M/Au:N/C:P/I:P/A:P) Base Score: 5.4
           Note: the CVSS base Score for this issue could be 4.3 or lower, and
       	it could be higher than 5.4.
           Date Resolved: Stable (4.2.8p2) 07 Apr 2015
           Summary: An attacker knowing that NTP hosts A and B are peering with
       	each other (symmetric association) can send a packet to host A
       	with source address of B which will set the NTP state variables
       	on A to the values sent by the attacker. Host A will then send
       	on its next poll to B a packet with originate timestamp that
       	doesn't match the transmit timestamp of B and the packet will
       	be dropped. If the attacker does this periodically for both
       	hosts, they won't be able to synchronize to each other. This is
       	a known denial-of-service attack, described at
       	https://www.eecis.udel.edu/~mills/onwire.html .

       	According to the document the NTP authentication is supposed to
       	protect symmetric associations against this attack, but that
       	doesn't seem to be the case. The state variables are updated even
       	when authentication fails and the peers are sending packets with
       	originate timestamps that don't match the transmit timestamps on
       	the receiving side.

       	This seems to be a very old problem, dating back to at least
       	xntp3.3wy. It's also in the NTPv3 (RFC 1305) and NTPv4 (RFC 5905)
       	specifications, so other NTP implementations with support for
       	symmetric associations and authentication may be vulnerable too.
       	An update to the NTP RFC to correct this error is in-process.
           Mitigation:
               Upgrade to 4.2.8p2, or later, from the NTP Project Download Page
       	or the NTP Public Services Project Download Page
               Note that for users of autokey, this specific style of MITM attack
       	is simply a long-known potential problem.
               Configure ntpd with appropriate time sources and monitor ntpd.
       	Alert your staff if problems are detected.
           Credit: This issue was discovered by Miroslav Lichvar, of Red Hat.

       * New script: update-leap
       The update-leap script will verify and if necessary, update the
       leap-second definition file.
       It requires the following commands in order to work:

       	wget logger tr sed shasum

       Some may choose to run this from cron.  It needs more portability testing.

commit 94c1b5104684448d27261c42d658ac54910af9ac
Author: tron <tron>
Date:   Tue Apr 21 21:39:41 2015 +0000

    Pullup ticket #4676 - requested by tron
    net/tigervnc: build fix

    Revisions pulled up:
    - net/tigervnc/Makefile                                         1.4

    ---
       Module Name:	pkgsrc
       Committed By:	joerg
       Date:		Sat Apr 18 20:44:47 UTC 2015

       Modified Files:
       	pkgsrc/net/tigervnc: Makefile

       Log Message:
       Needs explicit libdrm dependency.

commit 9ac98dab09e6d06bb842b68ed5f6011621f1b13f
Author: tron <tron>
Date:   Tue Apr 21 19:07:46 2015 +0000

    Pullup tickets #4669, #4674 and #4675.

commit f4dd44867374ea54f7a364d6262a851839ca6aec
Author: tron <tron>
Date:   Tue Apr 21 19:07:14 2015 +0000

    Pullup ticket #4675 - requested by joerg
    games/ioquake3: build fix

    Revisions pulled up:
    - games/ioquake3/Makefile                                       1.4
    - games/ioquake3/PLIST                                          1.3
    - games/ioquake3/distinfo                                       1.5
    - games/ioquake3/patches/patch-aa                               1.3

    ---
       Module Name:	pkgsrc
       Committed By:	joerg
       Date:		Sat Apr 18 20:44:08 UTC 2015

       Modified Files:
       	pkgsrc/games/ioquake3: Makefile PLIST distinfo
       	pkgsrc/games/ioquake3/patches: patch-aa

       Log Message:
       Allow building on NetBSD/arm.

commit d3ef2ddfc6c5d191f3a29bb4af90aab71356dffa
Author: tron <tron>
Date:   Tue Apr 21 19:00:54 2015 +0000

    Pullup ticket #4674 - requested by joerg
    games/orbital_eunuchs_sniper: packaging fix

    Revisions pulled up:
    - games/orbital_eunuchs_sniper/Makefile                         1.23

    ---
       Module Name:	pkgsrc
       Committed By:	joerg
       Date:		Sat Apr 18 20:43:19 UTC 2015

       Modified Files:
       	pkgsrc/games/orbital_eunuchs_sniper: Makefile

       Log Message:
       Use uname -m output for NetBSD/ARM in the PLIST as the package does.

commit c3e33c1c17b50b1641b75315f564d4f914c8d49e
Author: tron <tron>
Date:   Tue Apr 21 18:55:45 2015 +0000

    Pullup ticket #4669 - requested by manu
    databases/php-ldap: build fix

    Revisions pulled up:
    - databases/php-ldap/files/ldap-ctrl-exop.patch                 deleted
    - databases/php-ldap/files/ldap-ctrl-exop54.patch               1.1-1.2
    - databases/php-ldap/files/ldap-ctrl-exop55.patch               1.1-1.2
    - databases/php-ldap/files/ldap-ctrl-exop56.patch               1.1-1.2
    - databases/php-ldap/options.mk                                 1.4

    ---
       Module Name:    pkgsrc
       Committed By:   manu
       Date:           Mon Apr 13 08:04:17 UTC 2015

       Modified Files:
               pkgsrc/databases/php-ldap: options.mk
       Added Files:
               pkgsrc/databases/php-ldap/files: ldap-ctrl-exop54.patch
                   ldap-ctrl-exop55.patch ldap-ctrl-exop56.patch
       Removed Files:
               pkgsrc/databases/php-ldap/files: ldap-ctrl-exop.patch

       Log Message:
       Update the LDAP EXOP support patch for PHP 5.4, 5.5 and 5.6

    ---
       Module Name:    pkgsrc
       Committed By:   manu
       Date:           Mon Apr 20 03:24:36 UTC 2015

       Modified Files:
               pkgsrc/databases/php-ldap/files: ldap-ctrl-exop54.patch
                   ldap-ctrl-exop55.patch ldap-ctrl-exop56.patch

       Log Message:
       Fix build with SASL disabled

       Do not force-define HAVE_LDAP_SASL, since the PHP configure script
       actually takes care of that one. This lets us build with the exop
       option enabled while sasl is disabled.

commit a5f8d21945363b03bec896fb6af2714201ab919e
Merge: 7d962d8 faf0e76
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Tue Apr 21 14:40:27 2015 +0100

    Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1

commit faf0e763cdbe20b49f8215cb58530dff6e44d97f
Merge: 86554d2 a295034
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Tue Apr 21 14:40:13 2015 +0100

    Merge branch 'joyent/feature/miscfix/2015Q1' of github.com:joyent/pkgsrc into joyent/feature/miscfix/2015Q1

commit 7d962d8f53c204790d4d7120d6e6dbfe107a7af6
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Tue Apr 21 14:39:38 2015 +0100

    Update 'joyent' and 'wip' submodules.

commit b163d85dc024e7f042e22cfb6f1fc3cc5279114b
Merge: 952134b 86554d2
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Tue Apr 21 14:39:13 2015 +0100

    Merge branch 'joyent/feature/miscfix/2015Q1' into joyent/release/2015Q1

commit 86554d2c5a721a99fd2e7c4b5862b35b69918090
Merge: 0b4c611 6996bfa
Author: Jonathan Perkin <jperkin@joyent.com>
Date:   Tue Apr 21 14:38:23 2015 +0100

    Merge branch 'pkgsrc_2015Q1' into joyent/feature/miscfix/2015Q1

commit a295034d9249a35784c34cc387513f5de3c73570
Author: Filip Hajny <filip@joyent.com>
Date:   Mon Apr 20 17:09:03 2015 +0000

    Update sysutils/cfengine3 to 3.6.5. Add lmdb support option.

    Upstream changelog follows.

    3.6.5

    Features:
    - Introduced "systemd" hard class.
    - Added paths to dtrace, zfs and zpool on FreeBSD in masterfiles.

    Bug fixes:
    - Fixed build error on certain RHEL5 and SLES10 setups.
    - Fixed a bug which caused dangling symlinks not to be removed.
    - Fixed data_readstringarrayidx function not preserving the order of the
      array it's producing.
    - Fixed a bug which sometimes caused CFEngine to kill the wrong daemon
      if both the host and a container inside the host were running
      CFEngine.
    - Made sure the rm_rf_depth bundle also deletes the base directory.
    - Fixed monitord reporting wrongly on open ports.
    - Skip adding the class when its name is longer than 1024 characters.
      Fixed core dump when the name is too large.
    - Fixed detection of stopped process on Solaris.
    - Fixed infinite loop plus a couple more minor
      bugs in edit_xml promises.

    3.6.4

    Features:
    - Introduced users promises support on HP-UX platform.
    - Introduced process promises support on HP-UX platform.

    Bug fixes:
    - Fixed bug on FreeBSD which sometimes led to the wrong process being killed
    - Fixed package version comparison sometimes failing with rpm package manager
    - Fixed a bug in users promises which would sometimes set the wrong
      password hash if the user would also be unlocked at the same time.
    - Fixed a bug on AIX which would occationally kill the wrong process.
    - Improved error message for functions that require an absolute path.
    - Fixed some spelling errors in examples.
    - Fixed error in out-of-tree builds when building cf-upgrade.
    - Fixed a bug which would make cf-agent exit with an error if it was
      built with a custom log directory, and that directory did not exist.
    - Fixed ordering of evaluating promises when depends_on is used.
    - Skip non-empty directories silently when recursively deleting.
    - Fix memory exhaustion with list larger than 4994 items.
    - Fix cf-execd segfault on IP address detection
    - Fix hard class detection of RHEL6 ComputeNode

    3.6.3

    New features:
    - support for HP-UX 11.23 and later
    - experimental support for Red Hat Enterprise Linux 7

    Bug fixes:
    - fix getindices on multi-dimensional arrays
    - fix mustache template method to run in dryrun mode
    - set mailto and mailfrom settings for execd in def.cf
    - fix conflation of multi-index entries in arrays
    - fix promise locking when transferring using update.cf
    - update JSON parser to return an error on truncation
    - fix sys.hardware_addresses not expanded
    - fix opening database txn /var/cfengine/cf_lastseen.lmdb:
      MDB_READERS_FULL when running cf-keys --show-hosts
    - fix segfault (Null pointer dereference) when select_end in
      delete_lines never matches
    - fix max_file_size => "0" not disabling or allowing any size
     - fix ifvarclass, with iteration over list, failing when deleting
      files with time condition
    - fix classes defined with "or" constraint are never set if any value
      doesn't evaluate to a scalar
    - update "mailfrom" default in default policy
    - fix logrotate ambiguity of filename
    - fix parsing JSON files
    - reduce write count activity to /var partition
    - fix files delete attribute incorrectly triggering promise_kept
    - update services bundle output related to chkconfig when run in
      inform mode.
    - fix Solaris serverd tests
    - fix broken bechaviour of merging arrays with readstringarray
    - fix ifelapsed bug with bundle nesting
    - fix handling cf_null in bundlesequence
    - fix maparray reading whole input array when using subarray
     - fix directories being randomly changed to files
    - update defaults promise type to work with classes
    - systemd integration in services promises
    - fix touch attribute ignoring action = warn_only
    - fix 4KB string limit in functions readfile, string_downcase,
      string_head, string_reverse, string_length, string_tail,
      string_upcase

    3.6.2

    Bug fixes:
    - don't regenerate software_packages.csv every time
    - improve verbose message for package_list_command
    - fix missing log output on AIX
    - assorted fixes to dirname() esp on Windows
    - fix package manager detection
    - fix build issues on FreeBSD
    - allow copying of dead symbolic links
    - preserve order in readstringarrayidx
    - fix passing of unexpanded variable references to arrays
     - use entries for new {admin,deny}_{ips,hostnames} constraints in
      the relevant legacy lists
    - cope with ps's numeric fields overflowing to the right
    - interpret failing function calls in ifvarclass as class not set
     - remove unexpanded lists when extending lists
    - infer start-time of a process from elapsed when needed
     - fix input range definition for laterthan() function
    - don't add trailing delimiter when join()'ing lists ending with a
      null-value
    - 9999999999 (ten 9s) or higher has been historically used as an upper
      bound in CFEngine code and policy but because of overflow on 32-bit
      platforms it caused problems with big numbers. Fixed in two ways:
      first change all existing policy uses to 999999999 (nine 9s instead
      of eleven 9s), second fix the C code to not wrap-around in case of
      overflow, but use the LONG_MAX value
    - cf-serverd and other daemons no longer reload their configuration
      every minute if CFEngine is built with an inputs directory outside
      of the work directory (not the default).

    3.6.1

    New features:
    - Introduced Solaris and AIX support into the 3.6 series, with many associated
      build and bug fixes.

    Changes:
    - Short-circuit evaluation of classes promises if class is already set
     - fix to assume all non-specified return codes are failed in commands
      promises
    - cf-serverd logs reconfiguration message to NOTICE (was INFO) so that it's
      always logged in syslog

    Bug fixes:
    - File monitoring has been completely rewritten (changes attribute in files
      promise), which eliminates many bugs, particularly regarding files that
      are deleted. Upgrading will keep all monitoring data, but downgrading again
      will reinitialize the DB, so all files will be reported as if they were new.
     - $(this.promiser) expands in files promises for 'transformer',
      'edit_template', 'copy_from.source', 'file_select.exec_program', 'classes'
      and 'action' bodies
    - 'body changes' notifies about disappeared files in file monitoring
    - Set not-kept classes when files or commands promise should be repaired,
      but is warn-only
    - Fixed CFEngine template producing a zero-sized file
    - Add 0-9 A-Z _ to allowed context of module protocol
    - Extend ps command column width on Solaris and filter on zone
      rather than adding it to the ps output.
    - Fixed strftime() function on Solaris when called with certain specifiers.
    - Fixed users promise bug regarding password hashes in a NIS/NSS setup.
    - Fixed $(sys.uptime), $(sys.systime) and $(sys.sysday) in AIX.
      #5148, #5206)
    - Fixed processes_select complaining about "Unacceptable model uncertainty
      examining processes"
    - ps command for linux has been changed to cope with big rss values
    - Address ps -axo shift on FreeBSD 10 and later
    - methods and services promises respect action_policy => "warn"
     - LMDB should no longer deadlock if an agent is killed on the hub while
      holding the DB lock. Note that the change only affects binary packages
      shipped by CFEngine, since the upstream LMDB project has not yet integrated
      the change.

    3.6.0

    Changes:
    - Changes to logging output
        - add process name and pid in syslog message (GitHub #789)
        - cf-serverd logging levels are now more standardised:
              - INFO logs only failures
              - VERBOSE logs successful requests as well
              - DEBUG logs actual protocol traffic.
        - cf-serverd now logs the relevant client IP address on
          each message.
        - Logging contexts to local database (cf_classes.tcdb) has been deprecated.
        - 'usebundle' promisees are logged for all the bundle promises
        - output from 'reports' promises has nothing prefixed except 'R: '
        - a log line with stack path is generated when the promise type evaluated
          changes
    - LMDB (symas.com/mdb) is the default database for local data storage : use
      version 0.9.9 or later. cf-agent --self-diagnostics (-x) is only
      implemented for TCDB, not for LMDB
    - port argument in readtcp() and selectservers() may be a
      service name (e.g. "http", "pop3").
    - Enable source file in agent copy_from promises to be a relative path.
        - file "changes" reporting now reports with log level "notice", instead
          of "error".
    - process_results default to AND'ing of set attributes if not specified
     - interface is now canonified in sys.hardware_mac[interface] to align with
      sys.ipv4[interface]
    - cf-promises no longer errors on missing bodies when run without
      --full-check (-c)
    - Linux flavor "SUSE" now correctly spelled with all uppercase in variables
      and class names. The "suse" lowercase version is also
      provided for convenience.
    - $(this.promise_filename) and $(..._dirname) variables are now absolute
      paths.
    - including the same file multiple times in 'body control inputs' is
      not an error
    - portnumber in body copy_from now supports service names like "cfengine",
      "pop3" etc, check /etc/services for more.
    - The failsafe.cf policy, run on bootstrap and in some other
      unusual cases, has been extracted from C code into libpromises/failsafe.cf
    - masterfiles
        - cf_promises_validated is now in JSON format
        - timestamp key is timestamp (sec since unix epoch) of last time validated
        - the masterfiles now come from https://github.com/cfengine/masterfiles
          and are not in the core repository
    - cf-serverd calls cf-agent with -Dcfruncommand when executing cf-runagent
      requests
    Mark as removed: promise_notkept_log_include, promise_notkept_log_exclude,
    promise_repaired_log_include, promise_repaired_log_exclude, classes_include,
    classes_exclude, variables_include, variables_exclude attributes from
    report_data_select body (syntax is valid but not functional). They have been
    replaced by the following attributes: promise_handle_include,
    promise_handle_exclude, metatags_include, metatags_exclude.

    New features:
    - New promise type "users" for managing local user accounts.
    - TLS authentication and fully encrypted network protocol.
      Additions specific to the new type of connections:
        - New attribute "allowlegacyconnects" in body server control,
          which enables serving policy via non-latest cfengine protocol,
          to the given list of hosts. If the option is absent, it
          defaults to allow all hosts. To refuse non-TLS connections,
          specify an empty list.
        - New attribute "protocol_version" in body copy_from, and body
          common control, which defines the preferred protocol for
          outgoing connections.. Allowed values at the moment: "0" or
          "undefined", "classic" or "1", "latest" or "2". By leaving the
          copy_from option as undefined the common control option is
          used, and if both are undefined then classic protocol is used
          by default.
        - The new networking protocol uses TLS for authentication,
          after which all dialog is encrypted within the established
          TLS session.  cf-serverd is still able to speak the legacy
          protocol with old agents.
        - The 'skipverify' option in 'body server control' is
          deprecated and only left for compatibility; it does
          nothing
        - cf-serverd does not hang up the connection if some request
          fails, so that the client can add more requests.
        - For the connections using the new protocol, all of the
          paths in bundle server access_rules now differentiate
          between a directory and a file using the trailing
          slash. If the path exists then this is auto-detected and
          trailing slash appended automatically. You have to append
          a trailing slash manually to an inexistent or symbolic
          path (e.g. "/path/to/$(connection.ip)/") to force
          recursive access.
    - New in 'access' promises for 'bundle server access_rules'
        - Attributes "admit_ips", "admit_hostnames", "admit_keys",
          "deny_ips", "deny_hostnames", "deny_keys"
        - "admit_keys" and "deny_keys" add the new functionality
          of controlling access according to host identity,
          regardless of the connecting IP.
        - For these new attributes, regular expressions
          are not allowed, only CIDR notation for "admit/deny_ips", exact
          "SHA=..." strings for "admit/deny_keys", and exact hostnames
          (e.g. "cfengine.com") or subdomains (starting with dot,
          e.g. ".cfengine.com") for "admit/deny"_hostnames. Same rules
          apply to 'deny_*' attributes.
        - These new constraints and the paths in access_rules, can contain
          special variables "$(connection.ip)", "$(connection.hostname)",
          "$(connection.key)", which are expanded dynamically for every
          received connection.
        - For connections using the new protocol, "admit" and "deny"
          constraints in bundle server access_rules are being phased
          out, preferred attributes are now "admit_ips", "deny_ips",
          "admit_hostnames", "deny_hostnames", "admit_keys",
          "deny_keys".
        - New "shortcut" attribute in bundle server access_rules used to
          dynamically expand non-absolute request paths.
    - masterfiles
            - standard library split: lib/3.5 (compatibility) and lib/3.6
              (mainline)
            - many standard library bundles and bodies, especially packages-
              and file-related, were revised and fixed
            - supports both Community and Enterprise
            - new 'inventory/' structure to provide OS, dmidecode, LSB, etc.
              system inventory (configured mainly in def.cf)
            - cf_promises_release_id contains the policy release ID which is
              the GIT HEAD SHA if available or hash of tree
            - a bunch'o'bundles to make starting with CFEngine easier:
            - file-related: file_mustache, file_mustache_jsonstring, file_tidy,
              dir_sync, file_copy, file_link, file_hardlink, file_empty, file_make
            - packages-related: package_absent, package_present, package_latest,
              package_specific_present, package_specific_absent,
              package_specific_latest, package_specific
            - XML-related: xml_insert_tree_nopath, xml_insert_tree, xml_set_value,
              xml_set_attribute
            - VCS-related: git_init, git_add, git_checkout,
              git_checkout_new_branch, git_clean, git_stash, git_stash_and_clean,
              git_commit, git
            - process-related: process_kill
            - other: cmerge, url_ping, logrotate, prunedir
    - New command line options for agent binaries
        - New options to cf-promises
            - '--show-classes' and '--show-vars'
            - '--eval-functions' controls whether cf-promises should evaluate
              functions
        - Colorized output for agent binaries with command line option '--color'
          (auto-enabled if you set CFENGINE_COLOR=1)
    - New language features
        - New variable type 'data' for handling of structured data (ie JSON),
          including supporting functions:
            - 'data_readstringarray' - read a delimited file into a data map
            - 'data_readstringarrayidx' - read a delimited file into a data array
            - 'datastate' - create a data variable with currently set classes
              and variables
            - 'datatype' - determine the type of the top element of a container
            - 'format' - %S can be used to serialize 'data' containers into
              a string
            - 'mergedata' - merge two data containers, slists/ilists/rlists,
              or "classic" arrays into a data container
            - 'parsejson' - create a data container from a JSON string
            - 'readjson' - create a data container from a file that contains JSON
            - 'storejson' - serialize a data container into a string
            - Most functions operating on lists can also operate on data containers
            - pass a data container to a bundle with the @(container) notation
            - the module protocol accepts JSON for data containers with
              the '%' sigil
        - Tagging of classes and variables allows annotating of language
          construct with meta data; supporting functionality:
            - The module protocol in 'commands' promises has been extended
              to allow setting of tags of created variables and classes,
              and the context of created variables
            - 'getclassmetatags' - returns list of meta tags for a class
            - 'getvariablemetatags' - returns list of meta tags for a variable
        - 'body file control' has an 'inputs' attribute to include library files
          and other dependencies
        - bundlesequences can be built with bundlesmatching() based on bundle
          name and tags
    - New attributes in existing promise types and bodies
        - New option 'preserve_all_lines' for insert_type in insert_lines promises
        - Caching of expensive system functions to avoid multiple executions of
          execresult() etc, can be controlled via cache_system_functions
          attribute in body common control
        - New option 'mailsubject' in body executor control allows defining
          the subject in emails sent by CFEngine
        - Support for Mustache templates in 'files' promises; use
          'template_method' and 'template_data' attributes.  Without
          'template_data' specified, uses datastate().
    - New and improved functions
        - 'bundlesmatching' - returns list of defined bundles matching
          a regex and tags
        - 'canonifyuniquely' - converts a string into a unique, legal class name
        - 'classesmatching' - returns list of set classes matching a regex
          and tags
        - 'eval' - evaluates mathematical expressions; knows SI k, m, g
          quantifiers, e.g. "100k"
        - 'findfiles' - list files matching a search pattern; use "**" for
          recursive searches
        - 'makerule' - evaluates whether a target file needs to be rebuilt
          from sources
        - 'max', 'min' - returns maximum and minimum of the numbers in
          a container or list (sorted by a 'sort' method)
        - 'mean' - returns the mean of the numbers in a container or list
        - 'nth' - learned to look up by key in a data container holding a map
        - 'packagesmatching' - returns a filtered list of installed packages.
        - 'readfile' - learned to read system files of unknown size like those
          in /proc
        - 'sort' - can sort lexicographically, numerically (int or real), by IP,
          or by MAC
        - 'string_downcase', 'string_upcase' - returns the lower-/upper-case
          version of a string
        - 'string_head', 'string_tail' - returns the beginning/end of a string
        - 'string_length' - returns the length of a string
        - 'string_reverse' - reverses a string
        - 'string_split' - improved implementation, deprecates 'splitstring'
        - 'variablesmatching' - returns a list of variables matching a regex
          and tags
        - 'variance' - returns the variance of numbers in a list or container
    - New hard classes
        - Introduced alias 'policy_server' for context 'am_policy_hub'
          (the latter will be deprecated)
        - all the time-based classes have GMT equivalents
    - New variables
        - 'sys.bindir' - the location of the CFEngine binaries
        - 'sys.failsafe_policy_path' - the location of the failsafe policy file
        - 'sys.inputdir' - the directory where CFEngine searches for policy files
        - 'sys.key_digest' - the digest of the host's cryptographic key
        - 'sys.libdir', 'sys.local_libdir' - the location of the CFEngine libraries
        - 'sys.logdir' - the directory where the CFEngine log files are saved
        - 'sys.masterdir' - the location of masterfiles on the policy server
        - 'sys.piddir' - the directory where the daemon pid files are saved
        - 'sys.sysday' - the number of days since the beginning of the UNIX epoch
        - 'sys.systime' - the number of seconds since the beginning of the UNIX epoch
        - 'sys.update_policy_path' - the name of the update policy file
        - 'sys.uptime' - the number of minutes the host has been online
        - 'this.promise_dirname' - the name of the file in which the current promise
          is defined
        - 'this.promiser_uid' - the ID of the user running cf-agent
        - 'this.promiser_gid' - the group ID of the user running cf-agent
        - 'this.promiser_ppid' - the ID of the  parent process running cf-agent

    Deprecations:
    - 'splitstring' - deprecated by 'string_split'
    - 'track_value'
    - 'skipverify'

    Bug fixes: for a complete list of fixed bugs, see https://cfengine.com/dev
    - various fixes in evaluation and variable resolution
    - Improve performance of list iteration
    - Removed limitation of input length to internal buffer sizes
        - directories ending with "/" are not ignored
        - lsdir() always return a list now, never a scalar
    - 'abortclasses' fixed to work in common bundles and other cases
    - namespaced 'edit_line' bundles now work
    - lists are interpolated in correct order
    - cf-serverd reloads policies properly when they change
    - lots of leaks (memory and file descriptor) fixed

    3.5.3

    Changes:
    - Improved security checks of symlink ownership. A symlink created by a user
      pointing to resources owned by a different user will no longer be followed.
    - Changed the way package versions are compared in package promises.
      In previous versions the comparison was inconsistent. This has been fixed,
      but may also lead to behavior changes in certain cases.

    Bug fixes:
    - fix cf-monitord crash due to incorrect array initialization
    - fix cf-serverd stat()'ing the file tree every second
    - correctly populate sys.hardware_addresses variable
    - add support for Debian's GNU/kfreebsd to build system
    - fix possible stack corruption in guest_environments promises
    - work-around hostname trunctation in HP-UX's uname
    - fix body copy purging of empty directories
    - make discovery and loading of avahi libraries more robust
    - compile and packaging fixes for HP-UX, AIX and Solaris
    - fix fatal error in lsdir() when directory doesn't exist
    - fix epoch calculation for stime inrange calculation

    3.5.2

    Bug fixes:
    - fix delayed abortclasses checking
    - fix maplist arguments bug
    - fix segfaults in cf-pomises
    - fix build on Solaris 10/SmartOS
    - sanitize characters from /etc/issue in sys.flavor for Debian
    - Fix segfault when dealing with files or data > 4K
    - Don't truncate keys to 126 characters in getindices
    - files created via log_* actions now have mode 600
    - fix wrong log message when a promise is ignored due to 'ifvarclass'
      not matching
    - fix lifetime of persistent classes
    - fix segfault when process_select body had no process_result attribute
      Default to AND'ed expression of all specified attributes
    - include system message in output when acl promises fail
    - fix invocation of standard_services bundle and corresponding promise
      compliance

    3.5.1

    Changes:
    - file changes are logged with log level Notice, not Error
    - the CFEngine Standard Library in masterfiles/libraries is now split into
      promise-type specific policy files, and lives in a version-specific
      directory. This should have no impact on current code, but allows more
      granular include of needed stdlib elements

    Bug fixes:
    - fix recursive copying of files
    - respect classes in templates
    - fix timestamps on Windows
    - fix non-root cf-agent flooding syslog
    - fix email flood from cf-execd due to timestamps in agent output
    - Preserve security context when editing or copying local files
    - fix path for sys.crontab on redhat systems
    - prevent incorrect "insert_lines promise uses the same select_line_matching
      anchor" warning
    - Fix regression of setting VIPADDRESS to 127.0.0.1
    - Fix "changes" promise not receiving status when file is missing
    - Fix symlinks being destroyed when editing them
    - Fix missing "promise kept" status for the last line in a file

    3.5.0

    New features:
    - classes promises now take an optional scope constraint.
    - new built-in functions: every, none, some, nth, sublist, uniq, filter
      - every
      - none
      - some
      - nth
      - sublist
      - uniq
      - filter
      - classesmatching
      - strftime
      - filestat
      - ifelse
      - maparray
      - format
    - cf-promises flag --parse-tree is replaced by --policy-output-format=,
      requiring the
      user to specify the output format (none, cf, json)
    - cf-promises allows partial check of policy (without body common control)
      without integrity check; --full-check enforces integrity check
    - agent binaries support JSON input format (.json file as generated by
      cf-promises)
    - cf-key: new options --trust-key/-t and --print-digest/-p
    - Class "failsafe_fallback" is defined in failsafe.cf when main policy
      contains errors and failsafe is run because of this
    - add scope attribute for body classes
    - Better diagnostics of parsing errors
    - Error messages from parser now show the context of error
    - new cf-agent option: --self-diagnostics
    - new output format, and --legacy-output
    - warnings for cf-promises.
    - Enable zeroconf-discovery of policy hubs for automatic bootstrapping
      if Avahi is present
    - Support for sys.cpus on more platforms than Linux & HPUX

    Changes:
    - parser no longer allows ',' after promiser or promisee. must be either
      ';' or lval
    - Make parser output in GCC compatible format the only supported format
      (remove --gcc-brief-format flag)
    - Silence license warnings in Enterprise Free25 installations
    - action_policy => "warn" causes not_kept classes to be set on promise
      needing repair.
    - command line option version (-V) now prints a shorter parsable version
      without graphic
    - implicit execution of server and common bundles taking arguments is
      skipped in cf-serverd.
    - WARNING: option --policy-server removed, require option to --bootstrap
      instead
    - process promises don't log if processes are out of rang…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment