Hello community,
here is the log from the commit of package rubygem-websocket-extensions for
openSUSE:Factory checked in at 2017-12-19 10:56:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-websocket-extensions (Old)
and /work/SRC/openSUSE:Factory/.rubygem-websocket-extensions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-websocket-extensions"
Tue Dec 19 10:56:35 2017 rev:2 rq:557117 version:0.1.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-websocket-extensions/rubygem-websocket-extensions.changes
2016-07-21 08:15:43.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-websocket-extensions.new/rubygem-websocket-extensions.changes
2017-12-19 10:56:37.154761623 +0100
@@ -1,0 +2,6 @@
+Thu Dec 14 14:14:39 UTC 2017 - [email protected]
+
+- Update to version 0.1.3
+ Accept extension names and parameters including uppercase letters
+
+-------------------------------------------------------------------
Old:
----
gem2rpm.yml
websocket-extensions-0.1.2.gem
New:
----
websocket-extensions-0.1.3.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-websocket-extensions.spec ++++++
--- /var/tmp/diff_new_pack.wb186M/_old 2017-12-19 10:56:37.722734205 +0100
+++ /var/tmp/diff_new_pack.wb186M/_new 2017-12-19 10:56:37.726734012 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-websocket-extensions
#
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,26 +16,18 @@
#
-#
-# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
-# All sections marked as MANUAL, license headers, summaries and descriptions
-# can be maintained in that file. Please consult this file before editing any
-# of those fields
-#
-
Name: rubygem-websocket-extensions
-Version: 0.1.2
+Version: 0.1.3
Release: 0
%define mod_name websocket-extensions
%define mod_full_name %{mod_name}-%{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: ruby-macros >= 5
-BuildRequires: %{ruby}
BuildRequires: %{rubygem gem2rpm}
BuildRequires: %{rubygem rdoc > 3.10}
-Url: http://github.com/faye/websocket-extensions-ruby
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
-Source1: gem2rpm.yml
+BuildRequires: %{ruby}
+BuildRequires: ruby-macros >= 5
+Url: https://github.com/faye/websocket-extensions-ruby
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
Summary: Generic extension manager for WebSocket connections
License: MIT
Group: Development/Languages/Ruby
@@ -49,7 +41,7 @@
%install
%gem_install \
- --doc-files="CHANGELOG.md README.md" \
+ --doc-files="CHANGELOG.md LICENSE.md README.md" \
-f
%gem_packages
++++++ websocket-extensions-0.1.2.gem -> websocket-extensions-0.1.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2015-02-19 23:33:20.000000000 +0100
+++ new/CHANGELOG.md 2017-11-11 02:26:38.000000000 +0100
@@ -1,3 +1,7 @@
+### 0.1.3 / 2017-11-11
+
+* Accept extension names and parameters including uppercase letters
+
### 0.1.2 / 2015-02-19
* Make it safe to call `Extensions#close` if the handshake is not complete
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/LICENSE.md new/LICENSE.md
--- old/LICENSE.md 1970-01-01 01:00:00.000000000 +0100
+++ new/LICENSE.md 2017-11-11 02:26:38.000000000 +0100
@@ -0,0 +1,20 @@
+# The MIT license
+
+Copyright (c) 2014-2017 James Coglan
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the 'Software'), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of
+the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
+COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
+IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2015-02-19 23:33:20.000000000 +0100
+++ new/README.md 2017-11-11 02:26:38.000000000 +0100
@@ -311,26 +311,3 @@
* Consumer: [websocket-driver](https://github.com/faye/websocket-driver-ruby)
* Provider:
[permessage-deflate](https://github.com/faye/permessage-deflate-ruby)
-
-## License
-
-(The MIT License)
-
-Copyright (c) 2014-2015 James Coglan
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the 'Software'), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/websocket/extensions/parser.rb
new/lib/websocket/extensions/parser.rb
--- old/lib/websocket/extensions/parser.rb 2015-02-19 23:33:20.000000000
+0100
+++ new/lib/websocket/extensions/parser.rb 2017-11-11 02:26:38.000000000
+0100
@@ -4,8 +4,8 @@
class Extensions
class Parser
- TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-9a-z]+)/
- NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-9a-z])/
+ TOKEN = /([!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z]+)/
+ NOTOKEN = /([^!#\$%&'\*\+\-\.\^_`\|~0-9A-Za-z])/
QUOTED = /"((?:\\[\x00-\x7f]|[^\x00-\x08\x0a-\x1f\x7f"])*)"/
PARAM = %r{#{TOKEN.source}(?:=(?:#{TOKEN.source}|#{QUOTED.source}))?}
EXT = %r{#{TOKEN.source}(?: *; *#{PARAM.source})*}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/websocket/extensions.rb
new/lib/websocket/extensions.rb
--- old/lib/websocket/extensions.rb 2015-02-19 23:33:20.000000000 +0100
+++ new/lib/websocket/extensions.rb 2017-11-11 02:26:38.000000000 +0100
@@ -98,9 +98,9 @@
end
def generate_response(header)
- offers = Parser.parse_header(header)
sessions = []
response = []
+ offers = Parser.parse_header(header)
@in_order.each do |ext|
offer = offers.by_name(ext.name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2015-02-19 23:33:20.000000000 +0100
+++ new/metadata 2017-11-11 02:26:38.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: websocket-extensions
version: !ruby/object:Gem::Version
- version: 0.1.2
+ version: 0.1.3
platform: ruby
authors:
- James Coglan
autorequire:
bindir: bin
cert_chain: []
-date: 2015-02-19 00:00:00.000000000 Z
+date: 2017-11-11 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec
@@ -32,10 +32,11 @@
- README.md
files:
- CHANGELOG.md
+- LICENSE.md
- README.md
- lib/websocket/extensions.rb
- lib/websocket/extensions/parser.rb
-homepage: http://github.com/faye/websocket-extensions-ruby
+homepage: https://github.com/faye/websocket-extensions-ruby
licenses:
- MIT
metadata: {}
@@ -59,7 +60,7 @@
version: '0'
requirements: []
rubyforge_project:
-rubygems_version: 2.4.5
+rubygems_version: 2.6.13
signing_key:
specification_version: 4
summary: Generic extension manager for WebSocket connections