Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37884775
en ru br
ALT Linux repos
5.0: 0.4-alt1
4.1: 0.4-alt0.M41.1

Group :: Development/Ruby
RPM: ruby-xmpp4r

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: xmpp4r-0.4-alt1.patch
Download


 lib/xmpp4r/connection.rb                |    5 +----
 lib/xmpp4r/pubsub/helper/nodebrowser.rb |    4 ++--
 2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/lib/xmpp4r/connection.rb b/lib/xmpp4r/connection.rb
index 9889b2e..1bb3391 100644
--- a/lib/xmpp4r/connection.rb
+++ b/lib/xmpp4r/connection.rb
@@ -2,10 +2,7 @@
 # License:: Ruby's license (see the LICENSE file) or GNU GPL, at your option.
 # Website::http://home.gna.org/xmpp4r/
 
-begin
-  require 'openssl'
-rescue LoadError
-end
+require 'openssl'
 require 'xmpp4r/stream'
 
 module Jabber
diff --git a/lib/xmpp4r/pubsub/helper/nodebrowser.rb b/lib/xmpp4r/pubsub/helper/nodebrowser.rb
index 4d13eea..a7ffaa4 100644
--- a/lib/xmpp4r/pubsub/helper/nodebrowser.rb
+++ b/lib/xmpp4r/pubsub/helper/nodebrowser.rb
@@ -48,8 +48,8 @@ module Jabber
         @stream.send_with_id(iq) { |answer|
           answer.query.each_element('item') do |item|
             nodes.push( {'node' => item.node,'name' => item.iname } )
-          }
-        end
+          end
+        }
         nodes
       end
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin