Hello community,

here is the log from the commit of package rubygem-turbolinks for 
openSUSE:Factory checked in at 2019-11-13 13:25:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-turbolinks (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-turbolinks.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-turbolinks"

Wed Nov 13 13:25:41 2019 rev:19 rq:747712 version:5.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-turbolinks/rubygem-turbolinks.changes    
2018-08-22 14:20:52.498425848 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-turbolinks.new.2990/rubygem-turbolinks.changes
  2019-11-13 13:25:44.107535663 +0100
@@ -1,0 +2,10 @@
+Tue Nov 12 14:15:37 UTC 2019 - Manuel Schnitzer <[email protected]>
+
+- updated to version 5.2.1
+
+  * Ported Turbolinks to TypeScript [#445]
+  * Fixed an issue with navigation when Turbolinks is loaded by a <script 
async> tag [#453]
+  * Changed the HTTP client to treat responses with non-HTML Content-Type 
headers as errors [#454]
+  * Improved compatibility with webcomponents.js [#337, #431]
+
+-------------------------------------------------------------------

Old:
----
  turbolinks-5.2.0.gem

New:
----
  turbolinks-5.2.1.gem

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

Other differences:
------------------
++++++ rubygem-turbolinks.spec ++++++
--- /var/tmp/diff_new_pack.FzBrgG/_old  2019-11-13 13:25:44.799536383 +0100
+++ /var/tmp/diff_new_pack.FzBrgG/_new  2019-11-13 13:25:44.799536383 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-turbolinks
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-turbolinks
-Version:        5.2.0
+Version:        5.2.1
 Release:        0
 %define mod_name turbolinks
 %define mod_full_name %{mod_name}-%{version}

++++++ turbolinks-5.2.0.gem -> turbolinks-5.2.1.gem ++++++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/turbolinks/assertions.rb 
new/lib/turbolinks/assertions.rb
--- old/lib/turbolinks/assertions.rb    2018-08-20 17:57:41.000000000 +0200
+++ new/lib/turbolinks/assertions.rb    2019-09-18 17:21:14.000000000 +0200
@@ -12,7 +12,7 @@
 
     def assert_turbolinks_visited(options = {}, message = nil)
       assert_response(:ok, message)
-      assert_equal("text/javascript", response.content_type)
+      assert_equal("text/javascript", response.try(:media_type) || 
response.content_type)
 
       visit_location, _ = turbolinks_visit_location_and_action
 
@@ -34,7 +34,7 @@
     # header is cleared after controller action processing to prevent it
     # from leaking into subsequent requests.
     def turbolinks_request?
-      !request.get? && response.content_type == "text/javascript"
+      !request.get? && (response.try(:media_type) || response.content_type) == 
"text/javascript"
     end
 
     def turbolinks_visit_location_and_action
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/turbolinks/redirection.rb 
new/lib/turbolinks/redirection.rb
--- old/lib/turbolinks/redirection.rb   2018-08-20 17:57:41.000000000 +0200
+++ new/lib/turbolinks/redirection.rb   2019-09-18 17:21:14.000000000 +0200
@@ -33,6 +33,7 @@
         self.status = 200
         self.response_body = script.join("\n")
         response.content_type = "text/javascript"
+        response.headers["X-Xhr-Redirect"] = location
       end
 
       def store_turbolinks_location_in_session(location)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/turbolinks/version.rb 
new/lib/turbolinks/version.rb
--- old/lib/turbolinks/version.rb       2018-08-20 17:57:41.000000000 +0200
+++ new/lib/turbolinks/version.rb       2019-09-18 17:21:14.000000000 +0200
@@ -1,3 +1,3 @@
 module Turbolinks
-  VERSION = '5.2.0'
+  VERSION = '5.2.1'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2018-08-20 17:57:41.000000000 +0200
+++ new/metadata        2019-09-18 17:21:14.000000000 +0200
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: turbolinks
 version: !ruby/object:Gem::Version
-  version: 5.2.0
+  version: 5.2.1
 platform: ruby
 authors:
 - David Heinemeier Hansson
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2018-08-20 00:00:00.000000000 Z
+date: 2019-09-18 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: turbolinks-source
@@ -39,7 +39,8 @@
 homepage: https://github.com/turbolinks/turbolinks
 licenses:
 - MIT
-metadata: {}
+metadata:
+  source_code_uri: https://github.com/turbolinks/turbolinks-rails
 post_install_message: 
 rdoc_options: []
 require_paths:


Reply via email to