Hello community,
here is the log from the commit of package rubygem-rack-protection for
openSUSE:Factory checked in at 2020-03-07 21:39:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rack-protection (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rack-protection.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rack-protection"
Sat Mar 7 21:39:31 2020 rev:7 rq:773838 version:2.0.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-rack-protection/rubygem-rack-protection.changes
2019-03-04 09:21:05.716593207 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-rack-protection.new.26092/rubygem-rack-protection.changes
2020-03-07 21:39:36.264327485 +0100
@@ -1,0 +2,6 @@
+Mon Feb 10 15:28:56 UTC 2020 - Stephan Kulow <[email protected]>
+
+- updated to version 2.0.8.1
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
rack-protection-2.0.5.gem
New:
----
rack-protection-2.0.8.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rack-protection.spec ++++++
--- /var/tmp/diff_new_pack.bAbAWa/_old 2020-03-07 21:39:36.776327830 +0100
+++ /var/tmp/diff_new_pack.bAbAWa/_new 2020-03-07 21:39:36.780327832 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rack-protection
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
#
Name: rubygem-rack-protection
-Version: 2.0.5
+Version: 2.0.8.1
Release: 0
%define mod_name rack-protection
%define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{ruby}
BuildRequires: ruby-macros >= 5
-Url: http://sinatrarb.com/protection/
+URL: http://sinatrarb.com/protection/
Source: https://rubygems.org/gems/%{mod_full_name}.gem
Source1: gem2rpm.yml
Summary: Protect against typical web attacks, works with all Rack apps,
++++++ rack-protection-2.0.5.gem -> rack-protection-2.0.8.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/rack/protection/path_traversal.rb
new/lib/rack/protection/path_traversal.rb
--- old/lib/rack/protection/path_traversal.rb 2018-12-22 12:11:12.000000000
+0100
+++ new/lib/rack/protection/path_traversal.rb 2020-01-01 21:06:51.000000000
+0100
@@ -19,18 +19,10 @@
end
def cleanup(path)
- if path.respond_to?(:encoding)
- # Ruby 1.9+ M17N
- encoding = path.encoding
- dot = '.'.encode(encoding)
- slash = '/'.encode(encoding)
- backslash = '\\'.encode(encoding)
- else
- # Ruby 1.8
- dot = '.'
- slash = '/'
- backslash = '\\'
- end
+ encoding = path.encoding
+ dot = '.'.encode(encoding)
+ slash = '/'.encode(encoding)
+ backslash = '\\'.encode(encoding)
parts = []
unescaped = path.gsub(/%2e/i, dot).gsub(/%2f/i, slash).gsub(/%5c/i,
backslash)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rack/protection/version.rb
new/lib/rack/protection/version.rb
--- old/lib/rack/protection/version.rb 2018-12-22 12:11:12.000000000 +0100
+++ new/lib/rack/protection/version.rb 2020-01-01 21:06:51.000000000 +0100
@@ -1,5 +1,5 @@
module Rack
module Protection
- VERSION = '2.0.5'
+ VERSION = '2.0.8.1'
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-12-22 12:11:12.000000000 +0100
+++ new/metadata 2020-01-01 21:06:51.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: rack-protection
version: !ruby/object:Gem::Version
- version: 2.0.5
+ version: 2.0.8.1
platform: ruby
authors:
- https://github.com/sinatra/sinatra/graphs/contributors
autorequire:
bindir: bin
cert_chain: []
-date: 2018-12-22 00:00:00.000000000 Z
+date: 2020-01-01 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rack
@@ -106,7 +106,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.7.6
+rubygems_version: 2.7.3
signing_key:
specification_version: 4
summary: Protect against typical web attacks, works with all Rack apps,
including