Hello community,

here is the log from the commit of package rubygem-actionpack-4_2 for 
openSUSE:Factory checked in at 2015-08-27 08:57:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-actionpack-4_2 (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-actionpack-4_2"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/rubygem-actionpack-4_2/rubygem-actionpack-4_2.changes
    2015-07-05 18:02:30.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-actionpack-4_2.new/rubygem-actionpack-4_2.changes
       2015-08-27 08:57:43.000000000 +0200
@@ -1,0 +2,25 @@
+Tue Aug 25 04:29:18 UTC 2015 - [email protected]
+
+- updated to version 4.2.4
+ see installed CHANGELOG.md
+
+  ## Rails 4.2.4 (August 24, 2015) ##
+  
+  *   ActionController::TestSession now accepts a default value as well as
+      a block for generating a default value based off the key provided.
+  
+      This fixes calls to session#fetch in ApplicationController instances that
+      take more two arguments or a block from raising `ArgumentError: wrong
+      number of arguments (2 for 1)` when performing controller tests.
+  
+      *Matthew Gerrior*
+  
+  *   Fix to keep original header instance in `ActionDispatch::SSL`
+  
+      `ActionDispatch::SSL` changes headers to `Hash`.
+      So some headers will be broken if there are some middlewares
+      on `ActionDispatch::SSL` and if it uses `Rack::Utils::HeaderHash`.
+  
+      *Fumiaki Matsushima*
+
+-------------------------------------------------------------------

Old:
----
  actionpack-4.2.3.gem

New:
----
  actionpack-4.2.4.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-actionpack-4_2.spec ++++++
--- /var/tmp/diff_new_pack.yiR0LP/_old  2015-08-27 08:57:44.000000000 +0200
+++ /var/tmp/diff_new_pack.yiR0LP/_new  2015-08-27 08:57:44.000000000 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-actionpack-4_2
-Version:        4.2.3
+Version:        4.2.4
 Release:        0
 %define mod_name actionpack
 %define mod_full_name %{mod_name}-%{version}

++++++ actionpack-4.2.3.gem -> actionpack-4.2.4.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md    2015-06-25 23:29:44.000000000 +0200
+++ new/CHANGELOG.md    2015-08-24 20:23:16.000000000 +0200
@@ -1,3 +1,23 @@
+## Rails 4.2.4 (August 24, 2015) ##
+
+*   ActionController::TestSession now accepts a default value as well as
+    a block for generating a default value based off the key provided.
+
+    This fixes calls to session#fetch in ApplicationController instances that
+    take more two arguments or a block from raising `ArgumentError: wrong
+    number of arguments (2 for 1)` when performing controller tests.
+
+    *Matthew Gerrior*
+
+*   Fix to keep original header instance in `ActionDispatch::SSL`
+
+    `ActionDispatch::SSL` changes headers to `Hash`.
+    So some headers will be broken if there are some middlewares
+    on `ActionDispatch::SSL` and if it uses `Rack::Utils::HeaderHash`.
+
+    *Fumiaki Matsushima*
+
+
 ## Rails 4.2.3 (June 25, 2015) ##
 
 *   Fix rake routes not showing the right format when
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_controller/base.rb 
new/lib/action_controller/base.rb
--- old/lib/action_controller/base.rb   2015-06-25 23:29:44.000000000 +0200
+++ new/lib/action_controller/base.rb   2015-08-24 20:23:16.000000000 +0200
@@ -183,7 +183,7 @@
     # Shortcut helper that returns all the modules included in
     # ActionController::Base except the ones passed as arguments:
     #
-    #   class MetalController
+    #   class MyBaseController < ActionController::Metal
     #     ActionController::Base.without_modules(:ParamsWrapper, 
:Streaming).each do |left|
     #       include left
     #     end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_controller/metal/mime_responds.rb 
new/lib/action_controller/metal/mime_responds.rb
--- old/lib/action_controller/metal/mime_responds.rb    2015-06-25 
23:29:45.000000000 +0200
+++ new/lib/action_controller/metal/mime_responds.rb    2015-08-24 
20:23:16.000000000 +0200
@@ -4,6 +4,7 @@
   module MimeResponds
     extend ActiveSupport::Concern
 
+    # :stopdoc:
     module ClassMethods
       def respond_to(*)
         raise NoMethodError, "The controller-level `respond_to' feature has " \
@@ -21,6 +22,7 @@
         "  gem 'responders', '~> 2.0'\n" \
         "Consult the Rails upgrade guide for details."
     end
+    # :startdoc:
 
     # Without web-service support, an action which collects the data for 
displaying a list of people
     # might look something like this:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_controller/metal/params_wrapper.rb 
new/lib/action_controller/metal/params_wrapper.rb
--- old/lib/action_controller/metal/params_wrapper.rb   2015-06-25 
23:29:45.000000000 +0200
+++ new/lib/action_controller/metal/params_wrapper.rb   2015-08-24 
20:23:16.000000000 +0200
@@ -5,8 +5,8 @@
 require 'action_dispatch/http/mime_type'
 
 module ActionController
-  # Wraps the parameters hash into a nested hash. This will allow clients to 
submit
-  # POST requests without having to specify any root elements.
+  # Wraps the parameters hash into a nested hash. This will allow clients to
+  # submit requests without having to specify any root elements.
   #
   # This functionality is enabled in +config/initializers/wrap_parameters.rb+
   # and can be customized. If you are upgrading to \Rails 3.1, this file will
@@ -16,7 +16,7 @@
   # a non-empty array:
   #
   #     class UsersController < ApplicationController
-  #       wrap_parameters format: [:json, :xml]
+  #       wrap_parameters format: [:json, :xml, :url_encoded_form, 
:multipart_form]
   #     end
   #
   # If you enable +ParamsWrapper+ for +:json+ format, instead of having to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_controller/test_case.rb 
new/lib/action_controller/test_case.rb
--- old/lib/action_controller/test_case.rb      2015-06-25 23:29:45.000000000 
+0200
+++ new/lib/action_controller/test_case.rb      2015-08-24 20:23:16.000000000 
+0200
@@ -327,6 +327,10 @@
       clear
     end
 
+    def fetch(*args, &block)
+      @data.fetch(*args, &block)
+    end
+
     private
 
       def load!
@@ -601,6 +605,7 @@
         parameters = paramify_values(parameters) if html_format?(parameters)
 
         @html_document = nil
+        @html_scanner_document = nil
 
         unless @controller.respond_to?(:recycle!)
           @controller.extend(Testing::Functional)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/http/upload.rb 
new/lib/action_dispatch/http/upload.rb
--- old/lib/action_dispatch/http/upload.rb      2015-06-25 23:29:45.000000000 
+0200
+++ new/lib/action_dispatch/http/upload.rb      2015-08-24 20:23:16.000000000 
+0200
@@ -28,7 +28,13 @@
         raise(ArgumentError, ':tempfile is required') unless @tempfile
 
         @original_filename = hash[:filename]
-        @original_filename &&= @original_filename.encode "UTF-8"
+        if @original_filename
+          begin
+            @original_filename.encode!(Encoding::UTF_8)
+          rescue EncodingError
+            @original_filename.force_encoding(Encoding::UTF_8)
+          end
+        end
         @content_type      = hash[:type]
         @headers           = hash[:head]
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/journey/router.rb 
new/lib/action_dispatch/journey/router.rb
--- old/lib/action_dispatch/journey/router.rb   2015-06-25 23:29:45.000000000 
+0200
+++ new/lib/action_dispatch/journey/router.rb   2015-08-24 20:23:16.000000000 
+0200
@@ -121,7 +121,8 @@
         end
 
         def match_head_routes(routes, req)
-          head_routes = match_routes(routes, req)
+          verb_specific_routes = routes.reject { |route| route.verb == // }
+          head_routes = match_routes(verb_specific_routes, req)
 
           if head_routes.empty?
             begin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/middleware/ssl.rb 
new/lib/action_dispatch/middleware/ssl.rb
--- old/lib/action_dispatch/middleware/ssl.rb   2015-06-25 23:29:45.000000000 
+0200
+++ new/lib/action_dispatch/middleware/ssl.rb   2015-08-24 20:23:16.000000000 
+0200
@@ -22,7 +22,7 @@
 
       if request.ssl?
         status, headers, body = @app.call(env)
-        headers = hsts_headers.merge(headers)
+        headers.reverse_merge!(hsts_headers)
         flag_cookies_as_secure!(headers)
         [status, headers, body]
       else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/testing/assertions/routing.rb 
new/lib/action_dispatch/testing/assertions/routing.rb
--- old/lib/action_dispatch/testing/assertions/routing.rb       2015-06-25 
23:29:45.000000000 +0200
+++ new/lib/action_dispatch/testing/assertions/routing.rb       2015-08-24 
20:23:16.000000000 +0200
@@ -165,7 +165,7 @@
 
       # ROUTES TODO: These assertions should really work in an integration 
context
       def method_missing(selector, *args, &block)
-        if defined?(@controller) && @controller && @routes && 
@routes.named_routes.route_defined?(selector)
+        if defined?(@controller) && @controller && defined?(@routes) && 
@routes && @routes.named_routes.route_defined?(selector)
           @controller.send(selector, *args, &block)
         else
           super
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_dispatch/testing/integration.rb 
new/lib/action_dispatch/testing/integration.rb
--- old/lib/action_dispatch/testing/integration.rb      2015-06-25 
23:29:45.000000000 +0200
+++ new/lib/action_dispatch/testing/integration.rb      2015-08-24 
20:23:16.000000000 +0200
@@ -301,6 +301,7 @@
           response = _mock_session.last_response
           @response = ActionDispatch::TestResponse.from_response(response)
           @html_document = nil
+          @html_scanner_document = nil
           @url_options = nil
 
           @controller = session.last_request.env['action_controller.instance']
@@ -338,6 +339,7 @@
           # reset the html_document variable, except for cookies/assigns calls
           unless method == 'cookies' || method == 'assigns'
             @html_document = nil
+            @html_scanner_document = nil
             reset_template_assertion
           end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/action_pack/gem_version.rb 
new/lib/action_pack/gem_version.rb
--- old/lib/action_pack/gem_version.rb  2015-06-25 23:29:45.000000000 +0200
+++ new/lib/action_pack/gem_version.rb  2015-08-24 20:23:16.000000000 +0200
@@ -7,7 +7,7 @@
   module VERSION
     MAJOR = 4
     MINOR = 2
-    TINY  = 3
+    TINY  = 4
     PRE   = nil
 
     STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2015-06-25 23:29:44.000000000 +0200
+++ new/metadata        2015-08-24 20:23:16.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: actionpack
 version: !ruby/object:Gem::Version
-  version: 4.2.3
+  version: 4.2.4
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2015-06-25 00:00:00.000000000 Z
+date: 2015-08-24 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport
@@ -16,14 +16,14 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
 - !ruby/object:Gem::Dependency
   name: rack
   requirement: !ruby/object:Gem::Requirement
@@ -98,28 +98,28 @@
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
   type: :runtime
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
 - !ruby/object:Gem::Dependency
   name: activemodel
   requirement: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
   type: :development
   prerelease: false
   version_requirements: !ruby/object:Gem::Requirement
     requirements:
     - - '='
       - !ruby/object:Gem::Version
-        version: 4.2.3
+        version: 4.2.4
 description: Web apps on Rails. Simple, battle-tested conventions for building 
and
   testing MVC web applications. Works with any Rack-compatible server.
 email: [email protected]
@@ -300,8 +300,9 @@
 requirements:
 - none
 rubyforge_project: 
-rubygems_version: 2.4.5
+rubygems_version: 2.4.7
 signing_key: 
 specification_version: 4
 summary: Web-flow and rendering framework putting the VC in MVC (part of 
Rails).
 test_files: []
+has_rdoc: 


Reply via email to