commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2018-11-26 10:33:37 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new.19453 (New) Package is "rubygem-websocket" Mon Nov 26 10:33:37 2018 rev:18 rq:651616 version:1.2.8 Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2018-06-22 13:29:26.395831644 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new.19453/rubygem-websocket.changes 2018-11-26 10:35:22.944671236 +0100 @@ -1,0 +2,5 @@ +Sun Nov 25 11:13:50 UTC 2018 - Stephan Kulow + +- remove duplicated 1.2.7 entry + +--- @@ -10,6 +14,0 @@ - -Fri May 25 07:19:21 UTC 2018 - factory-a...@kulow.org - -- updated to version 1.2.7 - see installed CHANGELOG.md Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.ozIYiR/_old 2018-11-26 10:35:25.492668255 +0100 +++ /var/tmp/diff_new_pack.ozIYiR/_new 2018-11-26 10:35:25.492668255 +0100 @@ -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/ #
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2018-06-22 13:29:19 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Fri Jun 22 13:29:19 2018 rev:17 rq:614092 version:1.2.8 Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2018-05-29 10:43:57.058637972 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2018-06-22 13:29:26.395831644 +0200 @@ -1,0 +2,16 @@ +Sun Jun 3 23:25:38 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.2.8 + see installed CHANGELOG.md + + ## 1.2.8 + + - restore support for Ruby 2.0+ + +--- +Fri May 25 07:19:21 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.2.7 + see installed CHANGELOG.md + +--- Old: websocket-1.2.7.gem New: websocket-1.2.8.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.nrZvCd/_old 2018-06-22 13:29:27.799779754 +0200 +++ /var/tmp/diff_new_pack.nrZvCd/_new 2018-06-22 13:29:27.803779606 +0200 @@ -24,12 +24,12 @@ # Name: rubygem-websocket -Version:1.2.7 +Version:1.2.8 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 2.3} +BuildRequires: %{ruby >= 2.0} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 Url:http://github.com/imanel/websocket-ruby ++ websocket-1.2.7.gem -> websocket-1.2.8.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml --- old/.rubocop.yml2018-05-22 15:31:50.0 +0200 +++ new/.rubocop.yml2018-05-25 17:28:59.0 +0200 @@ -2,7 +2,14 @@ AllCops: DisplayCopNames: true - TargetRubyVersion: 2.3 + TargetRubyVersion: 2.1 + +# New version of Rubocop does not support 2.0 +Gemspec/RequiredRubyVersion: + Enabled: false + +Layout/IndentHeredoc: + Enabled: false # Target: 15 Metrics/AbcSize: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2018-05-22 15:31:50.0 +0200 +++ new/.travis.yml 2018-05-25 17:28:59.0 +0200 @@ -2,6 +2,8 @@ language: ruby script: "bundle exec rake" rvm: + - 2.1 + - 2.2 - 2.3 - 2.4 - 2.5 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2018-05-22 15:31:50.0 +0200 +++ new/CHANGELOG.md2018-05-25 17:28:59.0 +0200 @@ -1,5 +1,9 @@ # Changelog +## 1.2.8 + +- restore support for Ruby 2.0+ + ## 1.2.7 - fix bug in previous version for Ruby 2.3 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/frame/handler/handler03.rb new/lib/websocket/frame/handler/handler03.rb --- old/lib/websocket/frame/handler/handler03.rb2018-05-22 15:31:50.0 +0200 +++ new/lib/websocket/frame/handler/handler03.rb2018-05-25 17:28:59.0 +0200 @@ -90,14 +90,14 @@ def encode_header mask = @frame.outgoing_masking? ? 0b1000 : 0b - output = +'' + output = String.new('') output << (type_to_opcode(@frame.type) | (fin ? 0b1000 : 0b)) # since more, rsv1-3 are 0 and 0x80 for Draft 4 output << encode_payload_length(@frame.data.size, mask) output end def encode_payload_length(length, mask) - output = +'' + output = String.new('') if length <= 125 output << (length | mask) # since rsv4 is 0 elsif length < 65_536 # write 2 byte length @@ -198,7 +198,7 @@ end def decode_continuation_frame(application_data, frame_type) - @application_data_buffer ||= +'' + @application_data_buffer ||= String.new('') @application_data_buffer << application_data @frame_type ||= frame_type end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/websocket/handshake/base.rb new/lib/websocket/handshake/base.rb --- old/lib/websocket/handshake/base.rb 2018-05-22 15:31:50.0 +0200 +++ new/lib/websocket/handshake/base.rb 2
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2018-05-29 10:43:54 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Tue May 29 10:43:54 2018 rev:16 rq:612187 version:1.2.7 Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2018-03-06 10:46:33.765855965 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2018-05-29 10:43:57.058637972 +0200 @@ -1,0 +2,14 @@ +Tue May 22 14:18:31 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.2.7 + see installed CHANGELOG.md + + ## 1.2.7 + + - fix bug in previous version for Ruby 2.3 + + ## 1.2.6 + + - duplicate variables passed in initializers to avoid changing them + +--- Old: websocket-1.2.5.gem New: websocket-1.2.7.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.sFHUsU/_old 2018-05-29 10:43:57.606617749 +0200 +++ /var/tmp/diff_new_pack.sFHUsU/_new 2018-05-29 10:43:57.610617601 +0200 @@ -24,12 +24,12 @@ # Name: rubygem-websocket -Version:1.2.5 +Version:1.2.7 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 2.0} +BuildRequires: %{ruby >= 2.3} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 Url:http://github.com/imanel/websocket-ruby ++ websocket-1.2.5.gem -> websocket-1.2.7.gem ++ 2196 lines of diff (skipped)
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2018-03-06 10:46:32 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Tue Mar 6 10:46:32 2018 rev:15 rq:581515 version:1.2.5 Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2017-04-11 09:31:40.271435049 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2018-03-06 10:46:33.765855965 +0100 @@ -1,0 +2,10 @@ +Tue Feb 27 05:40:41 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.2.5 + see installed CHANGELOG.md + + ## 1.2.5 + + - make handshake server resilient to non-string Rack env keys + +--- Old: websocket-1.2.4.gem New: websocket-1.2.5.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.kVusrj/_old 2018-03-06 10:46:34.313836170 +0100 +++ /var/tmp/diff_new_pack.kVusrj/_new 2018-03-06 10:46:34.313836170 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-websocket # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -24,16 +24,16 @@ # Name: rubygem-websocket -Version:1.2.4 +Version:1.2.5 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: %{ruby >= 2.0} BuildRequires: %{rubygem gem2rpm} -BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 Url:http://github.com/imanel/websocket-ruby -Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:Universal Ruby library to handle WebSocket protocol License:MIT ++ websocket-1.2.4.gem -> websocket-1.2.5.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.codeclimate.yml new/.codeclimate.yml --- old/.codeclimate.yml1970-01-01 01:00:00.0 +0100 +++ new/.codeclimate.yml2017-11-14 21:47:49.0 +0100 @@ -0,0 +1,16 @@ +--- +engines: + duplication: +enabled: true +config: + languages: + - ruby + fixme: +enabled: true + rubocop: +enabled: true +ratings: + paths: + - "**.rb" +exclude_paths: +- spec/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml --- old/.rubocop.yml2017-01-31 19:34:39.0 +0100 +++ new/.rubocop.yml2017-11-14 21:47:49.0 +0100 @@ -1,5 +1,8 @@ +require: rubocop-rspec + AllCops: DisplayCopNames: true + TargetRubyVersion: 2.1 # Target: 15 Metrics/AbcSize: @@ -37,8 +40,20 @@ - lib/websocket/frame/handler/handler75.rb - spec/support/handshake_requests.rb -Style/Documentation: +RSpec/DescribeClass: + Enabled: false + +RSpec/ExampleLength: + Enabled: false + +RSpec/InstanceVariable: Enabled: false -Style/TrivialAccessors: - AllowPredicates: true +RSpec/MultipleExpectations: + Enabled: false + +RSpec/NamedSubject: + Enabled: false + +Style/Documentation: + Enabled: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2017-01-31 19:34:39.0 +0100 +++ new/.travis.yml 2017-11-14 21:47:49.0 +0100 @@ -1,23 +1,21 @@ +dist: trusty language: ruby script: "bundle exec rake" rvm: - - 1.9.3 - - 2.0 - 2.1 - 2.2 - 2.3 + - 2.4 - ruby-head - - jruby + - jruby-9.1.9.0 # https://github.com/travis-ci/travis-ci/issues/8446 - jruby-head - - rbx - - rbx-head + - rbx-3 matrix: allow_failures: - rvm: ruby-head - rvm: jruby-head -- rvm: rbx -- rvm: rbx-head +- rvm: rbx-3 before_install: - - gem install bundler + - gem update bundler diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2017-01-31 19:34:39.0 +0100 +++ new/CHANGELOG.md2017-11-14 21:47:49.0 +0100 @@ -1,5 +1,9 @@ # Changelog +## 1.2.5 + +- make handshake server resilient to non-string Rack env keys + ## 1.2.4 - add subprotocol handling for both server and client diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--e
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2017-04-11 09:31:37 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Tue Apr 11 09:31:37 2017 rev:14 rq:456612 version:1.2.4 Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2016-04-14 13:06:28.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2017-04-11 09:31:40.271435049 +0200 @@ -1,0 +2,10 @@ +Wed Feb 1 05:50:47 UTC 2017 - co...@suse.com + +- updated to version 1.2.4 + see installed CHANGELOG.md + + ## 1.2.4 + + - add subprotocol handling for both server and client + +--- Old: websocket-1.2.3.gem New: websocket-1.2.4.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.qZH5R0/_old 2017-04-11 09:31:41.091319255 +0200 +++ /var/tmp/diff_new_pack.qZH5R0/_new 2017-04-11 09:31:41.095318690 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-websocket # -# Copyright (c) 2016 SUSE LINUX 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 @@ -24,7 +24,7 @@ # Name: rubygem-websocket -Version:1.2.3 +Version:1.2.4 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} ++ websocket-1.2.3.gem -> websocket-1.2.4.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.rubocop.yml new/.rubocop.yml --- old/.rubocop.yml2016-04-05 12:57:30.0 +0200 +++ new/.rubocop.yml2017-01-31 19:34:39.0 +0100 @@ -1,3 +1,6 @@ +AllCops: + DisplayCopNames: true + # Target: 15 Metrics/AbcSize: Max: 24 @@ -5,6 +8,10 @@ - lib/websocket/frame/handler/handler75.rb - spec/**/* +Metrics/BlockLength: + Exclude: +- spec/**/* + Metrics/ClassLength: Enabled: false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2016-04-05 12:57:30.0 +0200 +++ new/.travis.yml 2017-01-31 19:34:39.0 +0100 @@ -1,12 +1,23 @@ language: ruby -script: "bundle exec rake spec" +script: "bundle exec rake" rvm: - 1.9.3 - 2.0 - 2.1 - 2.2 - - rbx-2 - - jruby-19mode + - 2.3 - ruby-head + - jruby + - jruby-head + - rbx + - rbx-head + +matrix: + allow_failures: +- rvm: ruby-head +- rvm: jruby-head +- rvm: rbx +- rvm: rbx-head + before_install: - gem install bundler diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2016-04-05 12:57:30.0 +0200 +++ new/CHANGELOG.md2017-01-31 19:34:39.0 +0100 @@ -1,5 +1,9 @@ # Changelog +## 1.2.4 + +- add subprotocol handling for both server and client + ## 1.2.3 - fix for draft 76 when challenge might sometimes fail diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile --- old/Gemfile 2016-04-05 12:57:30.0 +0200 +++ new/Gemfile 2017-01-31 19:34:39.0 +0100 @@ -1,7 +1,3 @@ source 'http://rubygems.org' gemspec - -gem 'rake' -gem 'rspec', '~> 3.0.0' -gem 'rspec-its' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2016-04-05 12:57:30.0 +0200 +++ new/README.md 2017-01-31 19:34:39.0 +0100 @@ -3,6 +3,7 @@ Universal Ruby library to handle WebSocket protocol. It focuses on providing abstraction layer over [WebSocket API](http://dev.w3.org/html5/websockets/) instead of providing server or client functionality. [![Gem Version](https://badge.fury.io/rb/websocket.svg)](http://badge.fury.io/rb/websocket) +[![Gem Downloads](https://img.shields.io/gem/dt/websocket.svg?maxAge=2592000)](https://rubygems.org/gems/websocket) [![Travis CI](https://travis-ci.org/imanel/websocket-ruby.png)](http://travis-ci.org/imanel/websocket-ruby) [![Code Climate](https://codeclimate.com/github/imanel/websocket-ruby.png)](https://codeclimate.com/github/imanel/websocket-ruby) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Rakefile new/Rakefile --- old/Rakefile2016-04-05 12:57:30.0 +0200 +++ new/Rakefile
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2016-04-14 13:06:25 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2015-04-25 11:25:42.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2016-04-14 13:06:28.0 +0200 @@ -1,0 +2,11 @@ +Wed Apr 6 06:36:15 UTC 2016 - co...@suse.com + +- updated to version 1.2.3 + see installed CHANGELOG.md + + ## 1.2.3 + + - fix for draft 76 when challenge might sometimes fail + - multiple small optimizations + +--- Old: websocket-1.2.2.gem New: websocket-1.2.3.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.stLIlw/_old 2016-04-14 13:06:29.0 +0200 +++ /var/tmp/diff_new_pack.stLIlw/_new 2016-04-14 13:06:29.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-websocket # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -24,7 +24,7 @@ # Name: rubygem-websocket -Version:1.2.2 +Version:1.2.3 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} ++ websocket-1.2.2.gem -> websocket-1.2.3.gem ++ 2014 lines of diff (skipped)
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2015-04-25 09:53:01 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2015-02-11 16:45:29.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2015-04-25 11:25:42.0 +0200 @@ -1,0 +2,10 @@ +Thu Apr 23 08:09:36 UTC 2015 - co...@suse.com + +- updated to version 1.2.2 + see installed CHANGELOG.md + + ## 1.2.2 + + - fix handshake for draft 11+ sending Sec-WebSocket-Origin instead of Origin + +--- Old: websocket-1.2.1.gem New: websocket-1.2.2.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.6vfWKj/_old 2015-04-25 11:25:43.0 +0200 +++ /var/tmp/diff_new_pack.6vfWKj/_new 2015-04-25 11:25:43.0 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-websocket -Version:1.2.1 +Version:1.2.2 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} ++ websocket-1.2.1.gem -> websocket-1.2.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2014-09-02 11:36:26.0 +0200 +++ new/.travis.yml 2015-04-17 09:42:09.0 +0200 @@ -2,9 +2,9 @@ script: "bundle exec rake spec" rvm: - 1.9.3 - - 2.0.0 - - 2.1.1 - - 2.1.2 + - 2.0 + - 2.1 + - 2.2 - rbx-2 - jruby-19mode - ruby-head diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2014-09-02 11:36:26.0 +0200 +++ new/CHANGELOG.md2015-04-17 09:42:09.0 +0200 @@ -1,5 +1,9 @@ # Changelog +## 1.2.2 + +- fix handshake for draft 11+ sending Sec-WebSocket-Origin instead of Origin + ## 1.2.1 - fix error for draft 76 when leftovers are empty diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2014-09-02 11:36:26.0 +0200 +++ new/README.md 2015-04-17 09:42:09.0 +0200 @@ -40,7 +40,7 @@ Upgrade: websocket\r Connection: Upgrade\r Host: example.com\r -Sec-WebSocket-Origin: http://example.com\r +Origin: http://example.com\r Sec-WebSocket-Version: 13\r Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==\r \r @@ -70,7 +70,7 @@ # Connection: Upgrade # Host: example.com # Cookie: SESSIONID=1234 -# Sec-WebSocket-Origin: http://example.com +# Origin: http://example.com # Sec-WebSocket-Version: 13 # Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ== Files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/websocket/handshake/client.rb new/lib/websocket/handshake/client.rb --- old/lib/websocket/handshake/client.rb 2014-09-02 11:36:26.0 +0200 +++ new/lib/websocket/handshake/client.rb 2015-04-17 09:42:09.0 +0200 @@ -12,7 +12,7 @@ # # Upgrade: websocket # # Connection: Upgrade # # Host: example.com -# # Sec-WebSocket-Origin: http://example.com +# # Origin: http://example.com # # Sec-WebSocket-Version: 13 # # Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ== # @@ -117,7 +117,8 @@ when 75 then Handler::Client75.new(self) when 76, 0 then Handler::Client76.new(self) when 1..3 then Handler::Client01.new(self) - when 4..13 then Handler::Client04.new(self) + when 4..10 then Handler::Client04.new(self) + when 11..17 then Handler::Client11.new(self) else raise WebSocket::Error::Handshake::UnknownVersion end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/websocket/handshake/handler/client11.rb new/lib/websocket/handshake/handler/client11.rb --- old/lib/websocket/handshake/handler/client11.rb 1970-01-01 01:00:00.0 +0100 +++ new/lib/websocket/handshake/handler/client11.rb 2015-04-17 09:42:09.0 +0200 @@ -0,0 +1,22 @@ +module WebSocket + module Handshake +module Handler + class Client11 < Clie
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2015-02-11 16:45:28 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2014-10-14 07:13:44.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2015-02-11 16:45:29.0 +0100 @@ -1,0 +2,5 @@ +Tue Feb 10 18:42:07 UTC 2015 - co...@suse.com + +- updated to version 1.2.1 + +--- Old: websocket-1.1.4.gem New: websocket-1.2.1.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.E8QZBc/_old 2015-02-11 16:45:31.0 +0100 +++ /var/tmp/diff_new_pack.E8QZBc/_new 2015-02-11 16:45:31.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-websocket # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,8 +16,15 @@ # +# +# 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 -Version:1.1.4 +Version:1.2.1 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} ++ websocket-1.1.4.gem -> websocket-1.2.1.gem ++ 2904 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2014-10-14 07:12:44 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2014-05-21 16:30:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2014-10-14 07:13:44.0 +0200 @@ -1,0 +2,5 @@ +Mon Oct 13 18:53:04 UTC 2014 - co...@suse.com + +- adapt to new rubygem packaging + +--- New: gem2rpm.yml Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.8O24pE/_old 2014-10-14 07:13:45.0 +0200 +++ /var/tmp/diff_new_pack.8O24pE/_new 2014-10-14 07:13:45.0 +0200 @@ -21,62 +21,29 @@ Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} - BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 3 +BuildRequires: %{rubygem gem2rpm} +BuildRequires: %{ruby} +BuildRequires: ruby-macros >= 5 Url:http://github.com/imanel/websocket-ruby Source: http://rubygems.org/gems/%{mod_full_name}.gem +Source1:gem2rpm.yml Summary:Universal Ruby library to handle WebSocket protocol License:MIT Group: Development/Languages/Ruby %description -Universal Ruby library to handle WebSocket protocol - -%package doc -Summary:RDoc documentation for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description doc -Documentation generated at gem installation time. -Usually in RDoc and RI formats. - -%package testsuite -Summary:Test suite for %{mod_name} -Group: Development/Languages/Ruby -Requires: %{name} = %{version} - -%description testsuite -Test::Unit or RSpec files, useful for developers. +Universal Ruby library to handle WebSocket protocol. %prep -#gem_unpack -#if you need patches, apply them here and replace the # with a % sign in the surrounding lines -#gem_build %build %install -%gem_install -f -mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md -ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md - -%files -%defattr(-,root,root,-) -%{_docdir}/%{name} -%{gem_base}/cache/%{mod_full_name}.gem -%{gem_base}/gems/%{mod_full_name}/ -%exclude %{gem_base}/gems/%{mod_full_name}/spec -%{gem_base}/specifications/%{mod_full_name}.gemspec - -%files doc -%defattr(-,root,root,-) -%doc %{gem_base}/doc - -%files testsuite -%defattr(-,root,root,-) -%{gem_base}/gems/%{mod_full_name}/spec +%gem_install \ + --doc-files="CHANGELOG.md README.md" \ + -f + +%gem_packages %changelog ++ gem2rpm.yml ++ # --- # ## used by gem2rpm # :summary: this is a custom summary # ## used by gem2rpm # :description: |- # this is a custom description # # it can be multiline # ## used by gem2rpm # :license: MIT or Ruby # ## used by gem2rpm and gem_packages # :version_suffix: -x_y # ## used by gem2rpm and gem_packages # :disable_docs: true # ## used by gem2rpm # :disable_automatic_rdoc_dep: true # ## used by gem2rpm # :preamble: |- # BuildRequires: foobar # Requires: foobar # ## used by gem2rpm # :patches: # foo.patch: -p1 # bar.patch: # ## used by gem2rpm :sources: # - foo.desktop # - bar.desktop # :gem_install_args: '' # ## used by gem2rpm # :pre_install: |- # %if 0%{?use_system_libev} # export USE_VENDORED_LIBEV="no" # %endif # ## used by gem2rpm # :post_install: |- # # delete custom files here or do other fancy stuff # install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse # ## used by gem2rpm # :testsuite_command: |- # (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) # ## used by gem2rpm # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem2rpm # :scripts: # :post: |- # /bin/echo foo # ## used by gem_packages # :main: # :preamble: |- # Requires: util-linux # Recommends: pwgen # :filelist: |- # /usr/bin/gem2rpm-opensuse # ## used by gem_packages # :custom: # apache: # :preamble: |- # Requires: . # :filelist: |- # /etc/apache2/conf.d/passenger.conf # :summary: Custom summary is optional # :description: |- # Custom description is optional # # bar # :post: |- # /bin/echo foo # -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2014-05-21 16:30:46 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2013-11-24 18:14:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2014-05-21 16:30:48.0 +0200 @@ -1,0 +2,9 @@ +Sun May 18 09:04:45 UTC 2014 - co...@suse.com + +- updated to version 1.1.4 + - verify valid close codes according to spec + - return error on invalid UTF-8 payload + - expose error message + - fix close code support + +--- Old: websocket-1.1.2.gem New: websocket-1.1.4.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.OMOjp8/_old 2014-05-21 16:30:52.0 +0200 +++ /var/tmp/diff_new_pack.OMOjp8/_new 2014-05-21 16:30:52.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-websocket # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,13 @@ Name: rubygem-websocket -Version:1.1.2 +Version:1.1.4 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: ruby-macros >= 1 +BuildRequires: ruby-macros >= 3 Url:http://github.com/imanel/websocket-ruby Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:Universal Ruby library to handle WebSocket protocol @@ -60,23 +60,23 @@ %install %gem_install -f mkdir -p %{buildroot}%{_docdir}/%{name} -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md -ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md +ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md +ln -s %{gem_base}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %files %defattr(-,root,root,-) %{_docdir}/%{name} -%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ -%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec -%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec +%{gem_base}/cache/%{mod_full_name}.gem +%{gem_base}/gems/%{mod_full_name}/ +%exclude %{gem_base}/gems/%{mod_full_name}/spec +%{gem_base}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) -%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ +%doc %{gem_base}/doc %files testsuite %defattr(-,root,root,-) -%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec +%{gem_base}/gems/%{mod_full_name}/spec %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2013-11-24 18:14:47 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2013-07-22 13:53:58.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2013-11-24 18:14:48.0 +0100 @@ -1,0 +2,6 @@ +Fri Nov 22 08:40:31 UTC 2013 - co...@suse.com + +- updated to version 1.1.2 + - fix support for rack input that is blocking (i.e. Passenger) + +--- Old: websocket-1.1.1.gem New: websocket-1.1.2.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.Y7vElr/_old 2013-11-24 18:14:49.0 +0100 +++ /var/tmp/diff_new_pack.Y7vElr/_new 2013-11-24 18:14:49.0 +0100 @@ -17,7 +17,7 @@ Name: rubygem-websocket -Version:1.1.1 +Version:1.1.2 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2013-07-22 13:53:56 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2013-06-28 11:55:26.0 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2013-07-22 13:53:58.0 +0200 @@ -1,0 +2,6 @@ +Sat Jul 20 06:59:50 UTC 2013 - co...@suse.com + +- updated to version 1.1.1 + - fix handling close code for frames version 5+ + +--- Old: websocket-1.1.0.gem New: websocket-1.1.1.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.BLlxtm/_old 2013-07-22 13:53:58.0 +0200 +++ /var/tmp/diff_new_pack.BLlxtm/_new 2013-07-22 13:53:58.0 +0200 @@ -17,7 +17,7 @@ Name: rubygem-websocket -Version:1.1.0 +Version:1.1.1 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2013-06-28 11:55:24 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2013-03-08 11:20:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2013-06-28 11:55:26.0 +0200 @@ -1,0 +2,10 @@ +Tue Jun 18 05:31:16 UTC 2013 - co...@suse.com + +- updated to version 1.1.0 + - allow raising ruby errors instead of setting `error` flag + - allow access to handshake headers + - add from_rack method + - add from_hash method + - stop extending handlers - it should improve performance for opening connection + +--- Old: websocket-1.0.7.gem New: websocket-1.1.0.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.U2Bxvs/_old 2013-06-28 11:55:26.0 +0200 +++ /var/tmp/diff_new_pack.U2Bxvs/_new 2013-06-28 11:55:26.0 +0200 @@ -17,7 +17,7 @@ Name: rubygem-websocket -Version:1.0.7 +Version:1.1.0 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} @@ -25,7 +25,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 Url:http://github.com/imanel/websocket-ruby -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary:Universal Ruby library to handle WebSocket protocol License:MIT Group: Development/Languages/Ruby @@ -59,9 +59,13 @@ %install %gem_install -f +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/CHANGELOG.md %buildroot/%{_docdir}/%{name}/CHANGELOG.md +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md %files %defattr(-,root,root,-) +%{_docdir}/%{name} %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2013-03-08 10:59:22 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/rubygem-websocket/rubygem-websocket.changes 2012-12-05 14:08:23.0 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2013-03-08 10:59:23.0 +0100 @@ -1,0 +2,20 @@ +Tue Jan 29 06:48:17 UTC 2013 - co...@suse.com + +- updated to version 1.0.7 + - fix requiring url under Ruby 1.9.1 + - support for Ruby 2.0.0 + +--- +Fri Dec 21 17:19:10 UTC 2012 - co...@suse.com + +- updated to version 1.0.6 + - support text frame types instead of only symbol ones + - support for sending masked frames + +--- +Thu Dec 20 06:16:28 UTC 2012 - co...@suse.com + +- updated to version 1.0.5 + - add support for close codes + +--- Old: websocket-1.0.4.gem New: websocket-1.0.7.gem Other differences: -- ++ rubygem-websocket.spec ++ --- /var/tmp/diff_new_pack.7DwFzS/_old 2013-03-08 10:59:24.0 +0100 +++ /var/tmp/diff_new_pack.7DwFzS/_new 2013-03-08 10:59:24.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-websocket # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rubygem-websocket -Version:1.0.4 +Version:1.0.7 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit rubygem-websocket for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-websocket for openSUSE:Factory checked in at 2012-12-05 14:08:21 Comparing /work/SRC/openSUSE:Factory/rubygem-websocket (Old) and /work/SRC/openSUSE:Factory/.rubygem-websocket.new (New) Package is "rubygem-websocket", Maintainer is "" Changes: New Changes file: --- /dev/null 2012-11-30 12:21:47.308011256 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-websocket.new/rubygem-websocket.changes 2012-12-05 14:08:23.0 +0100 @@ -0,0 +1,5 @@ +--- +Mon Nov 26 11:01:13 UTC 2012 - co...@suse.com + +- initial package (version 1.0.4) + New: rubygem-websocket.changes rubygem-websocket.spec websocket-1.0.4.gem Other differences: -- ++ rubygem-websocket.spec ++ # # spec file for package rubygem-websocket # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: rubygem-websocket Version:1.0.4 Release:0 %define mod_name websocket %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 Url:http://github.com/imanel/websocket-ruby Source: %{mod_full_name}.gem Summary:Universal Ruby library to handle WebSocket protocol License:MIT Group: Development/Languages/Ruby %description Universal Ruby library to handle WebSocket protocol %package doc Summary:RDoc documentation for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} %description doc Documentation generated at gem installation time. Usually in RDoc and RI formats. %package testsuite Summary:Test suite for %{mod_name} Group: Development/Languages/Ruby Requires: %{name} = %{version} %description testsuite Test::Unit or RSpec files, useful for developers. %prep #gem_unpack #if you need patches, apply them here and replace the # with a % sign in the surrounding lines #gem_build %build %install %gem_install -f %files %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec %files doc %defattr(-,root,root,-) %doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/ %files testsuite %defattr(-,root,root,-) %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %changelog -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org