diff --git a/rubygem-actionpack.spec b/rubygem-actionpack.spec index 97acd46..6c351e8 100644 --- a/rubygem-actionpack.spec +++ b/rubygem-actionpack.spec @@ -3,12 +3,11 @@ # Circular dependency with rubygem-railties. %{?_with_bootstrap: %global bootstrap 1} -%global bootstrap 1 Name: rubygem-%{gem_name} Epoch: 1 Version: 5.2.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Web-flow and rendering framework putting the VC in MVC (part of Rails) License: MIT URL: http://rubyonrails.org @@ -72,15 +71,6 @@ pushd .%{gem_instdir} # move the tests into place tar xzvf %{SOURCE1} -# Allow multiple `requires` of the Request class -# https://gist.github.com/unixcharles/3973073 -match_class_request='/^\s*class Request < DelegateClass(ActionDispatch::Request)$/' -sed -i "${match_class_request} i \ - DELEGATE_REQUEST = DelegateClass(ActionDispatch::Request) unless defined?(DELEGATE_REQUEST)" \ - test/abstract_unit.rb -sed -i "${match_class_request} s/\S*$/DELEGATE_REQUEST/" \ - test/abstract_unit.rb - ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %endif @@ -98,7 +88,7 @@ popd %doc %{gem_instdir}/README.rdoc %changelog -* Wed Dec 05 2018 Pavel Valena - 1:5.2.2-1 +* Wed Dec 05 2018 Pavel Valena - 1:5.2.2-2 - Update to Action Pack 5.2.2. * Thu Aug 09 2018 Pavel Valena - 1:5.2.1-2