[packages/ruby-websocket] Up to 1.2.11

arekm arekm at pld-linux.org
Sat Mar 28 00:27:43 CET 2026


commit 4cf2094563c4fea15439bbafe0a744bd1dedb9e0
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Mar 28 00:27:32 2026 +0100

    Up to 1.2.11

 comment-broken-tests.patch | 17 -----------------
 ruby-websocket.spec        | 11 ++++-------
 2 files changed, 4 insertions(+), 24 deletions(-)
---
diff --git a/ruby-websocket.spec b/ruby-websocket.spec
index a2af941..b49f9f3 100644
--- a/ruby-websocket.spec
+++ b/ruby-websocket.spec
@@ -6,19 +6,18 @@
 %define pkgname websocket
 Summary:	Universal Ruby library to handle WebSocket protocol
 Name:		ruby-%{pkgname}
-Version:	1.2.2
-Release:	2
+Version:	1.2.11
+Release:	1
 License:	MIT
 Group:		Development/Languages
 Source0:	https://rubygems.org/gems/%{pkgname}-%{version}.gem
-# Source0-md5:	d75d6d4097a705d9c5ff5bc2a6546103
+# Source0-md5:	d4a209748d5d10c9ff88d199e8cdc1cb
 URL:		http://github.com/imanel/websocket-ruby
-Patch0:		comment-broken-tests.patch
 BuildRequires:	rpm-rubyprov
 BuildRequires:	rpmbuild(macros) >= 1.665
 %if %{with tests}
-%endif
 BuildRequires:	rubygem(rspec)
+%endif
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -27,14 +26,12 @@ Universal Ruby library to handle WebSocket protocol.
 
 %prep
 %setup -q -n %{pkgname}-%{version}
-%patch -P0 -p0
 
 %build
 # write .gemspec
 %__gem_helper spec
 
 %if %{with tests}
-find spec -name *.rb | xargs sed -i '/its/ s/^/#/'
 rspec -Ilib spec
 %endif
 
diff --git a/comment-broken-tests.patch b/comment-broken-tests.patch
deleted file mode 100644
index ba69c9a..0000000
--- a/comment-broken-tests.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- spec/support/all_client_drafts.rb.orig	2015-05-07 15:26:54.984167251 -0400
-+++ spec/support/all_client_drafts.rb	2015-05-07 15:26:58.875133190 -0400
-@@ -86,10 +86,10 @@ RSpec.shared_examples_for 'all client dr
-     validate_request
-   end
- 
--  it 'should allow custom headers' do
--    @request_params = { headers: { 'aaa' => 'bbb' } }
--    validate_request
--  end
-+  #it 'should allow custom headers' do
-+  #  @request_params = { headers: { 'aaa' => 'bbb' } }
-+  #  validate_request
-+  #end
- 
-   it 'should recognize unfinished requests' do
-     handshake << server_response[0..-20]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-websocket.git/commitdiff/4cf2094563c4fea15439bbafe0a744bd1dedb9e0



More information about the pld-cvs-commit mailing list