Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-rack-protection for
openSUSE:Factory checked in at 2022-12-13 18:56:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rack-protection (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rack-protection.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rack-protection"
Tue Dec 13 18:56:54 2022 rev:12 rq:1042655 version:3.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-rack-protection/rubygem-rack-protection.changes
2022-10-12 18:27:07.574011436 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-rack-protection.new.1835/rubygem-rack-protection.changes
2022-12-13 18:57:20.243802090 +0100
@@ -1,0 +2,6 @@
+Wed Dec 7 11:31:21 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 3.0.4
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
rack-protection-3.0.2.gem
New:
----
rack-protection-3.0.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rack-protection.spec ++++++
--- /var/tmp/diff_new_pack.S59UeZ/_old 2022-12-13 18:57:20.831805228 +0100
+++ /var/tmp/diff_new_pack.S59UeZ/_new 2022-12-13 18:57:20.835805250 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rack-protection
-Version: 3.0.2
+Version: 3.0.4
Release: 0
%define mod_name rack-protection
%define mod_full_name %{mod_name}-%{version}
++++++ rack-protection-3.0.2.gem -> rack-protection-3.0.4.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/ip_spoofing.rb
new/lib/rack/protection/ip_spoofing.rb
--- old/lib/rack/protection/ip_spoofing.rb 2022-10-01 19:22:38.000000000
+0200
+++ new/lib/rack/protection/ip_spoofing.rb 2022-11-25 17:36:54.000000000
+0100
@@ -16,7 +16,7 @@
def accepts?(env)
return true unless env.include? 'HTTP_X_FORWARDED_FOR'
- ips = env['HTTP_X_FORWARDED_FOR'].split(/\s*,\s*/)
+ ips = env['HTTP_X_FORWARDED_FOR'].split(',').map(&:strip)
return false if env.include?('HTTP_CLIENT_IP') && (!ips.include?
env['HTTP_CLIENT_IP'])
return false if env.include?('HTTP_X_REAL_IP') && (!ips.include?
env['HTTP_X_REAL_IP'])
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 2022-10-01 19:22:38.000000000 +0200
+++ new/lib/rack/protection/version.rb 2022-11-25 17:36:54.000000000 +0100
@@ -2,6 +2,6 @@
module Rack
module Protection
- VERSION = '3.0.1'
+ VERSION = '3.0.3'
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2022-10-01 19:22:38.000000000 +0200
+++ new/metadata 2022-11-25 17:36:54.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: rack-protection
version: !ruby/object:Gem::Version
- version: 3.0.2
+ version: 3.0.4
platform: ruby
authors:
- https://github.com/sinatra/sinatra/graphs/contributors
autorequire:
bindir: bin
cert_chain: []
-date: 2022-10-01 00:00:00.000000000 Z
+date: 2022-11-25 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rack