Actions
Bug #6481
closedRuby 1.8 syntax error in id resolver
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
Updated by Tomáš Strachota over 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Eric Helms over 10 years ago
- Target version set to 48
- Difficulty set to medium
- Triaged changed from No to Yes
Updated by Anonymous over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|7998eae0eb0916db1d656ad8258096d312cf0da1.
Updated by Eric Helms over 10 years ago
- Translation missing: en.field_release set to 13
Actions