Project

General

Profile

Actions

Bug #14548

closed

smart_proxy_openscap should support Ruby 1.8.7

Added by Shlomi Zadok over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

In proxies with Ruby version 1.8, plugin won't start and raise:

E, [2016-04-04T20:25:29.991127 #1340] ERROR -- : Error during startup, terminating. /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /usr/lib/ruby/gems/1.8/gems/smart_proxy_openscap-0.5.3/lib/smart_proxy_openscap/openscap_api.rb:41: syntax error, unexpected '.', expecting kEND
.store_archive(request.body.string)
^
/usr/lib/ruby/gems/1.8/gems/smart_proxy_openscap-0.5.3/lib/smart_proxy_openscap/openscap_api.rb:44: syntax error, unexpected '.', expecting kEND
.store_failed(request.body.string)
^
/usr/lib/ruby/gems/1.8/gems/smart_proxy_openscap-0.5.3/lib/smart_proxy_openscap/openscap_api.rb:51: syntax error, unexpected '.', expecting kEND
.store_spool(request.body.string)
^
/usr/lib/ruby/gems/1.8/gems/smart_proxy_openscap-0.5.3/lib/smart_proxy_openscap/openscap_api.rb:61: syntax error, unexpected '.', expecting kEND
.get_arf_xml(params[:digest])
^
/usr/lib/ruby/gems/1.8/gems/smart_proxy_openscap-0.5.3/lib/smart_proxy_openscap/openscap_api.rb:70: syntax error, unexpected '.', expecting kEND
.delete_arf_file
^
/usr/lib/ruby/gems/1.8/gems/smart_proxy_openscap-0.5.3/lib/smart_proxy_openscap/openscap_api.rb:79: syntax error, unexpected '.', expecting kEND
.get_arf_html(params[:digest])
Actions

Also available in: Atom PDF