Project

General

Profile

Actions

Bug #6481

closed

Ruby 1.8 syntax error in id resolver

Added by Tomáš Strachota over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Hammer
Target version:
Difficulty:
medium
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

There's a syntax error on ruby 1.8 in id_resolver.rb that prevents katello plugin from loading:

[ERROR 2014-07-03 05:17:44 Modules] Error while loading module hammer_cli_katello
Warning: An error occured while loading module hammer_cli_katello
[ERROR 2014-07-03 05:17:44 Modules] /usr/lib/ruby/gems/1.8/gems/hammer_cli_katello-0.0.4/lib/hammer_cli_katello/id_resolver.rb:65: syntax error, unexpected '.', expecting kEND
        .call(options, api.resource(:organizations))
         ^
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli_katello-0.0.4/lib/hammer_cli_katello.rb:24
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/modules.rb:60:in `require_module'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/modules.rb:39:in `load!'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/modules.rb:54:in `load'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/modules.rb:65:in `load_all'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/modules.rb:64:in `each'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/lib/hammer_cli/modules.rb:64:in `load_all'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.1/bin/hammer:89
    /usr/bin/hammer:19:in `load'
    /usr/bin/hammer:19
Actions #1

Updated by Tomáš Strachota over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Tomáš Strachota over 10 years ago

  • Bugzilla link set to 1115921
Actions #3

Updated by Eric Helms over 10 years ago

  • Target version set to 48
  • Difficulty set to medium
  • Triaged changed from No to Yes
Actions #4

Updated by Anonymous over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Eric Helms over 10 years ago

  • Translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF