Project

General

Profile

Actions

Bug #10419

closed

Outdated hammer_cli_import gemspec

Added by Zailo Leite over 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The gemspec prevents the loading of the hammer_cli_import module:

[ERROR 2015-05-07 11:09:08 Modules] Error while loading module hammer_cli_import
Warning: An error occured while loading module hammer_cli_import
[ERROR 2015-05-07 11:09:08 Modules] <Gem::LoadError> Unable to activate hammer_cli_import-0.10.12, because hammer_cli_foreman-0.2.0 conflicts with hammer_cli_foreman (~> 0.1.1)

Problem is present up to hammer_cli_import 0.10.12.

Patch:

--- hammer_cli_import-0.10.12.gemspec 2015-05-07 11:41:23.860868109 -0700
+++ specifications/hammer_cli_import-0.10.12.gemspec 2015-05-07 11:49:00.955016022 -0700
@ -18,16 +18,16 @

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q&lt;hammer_cli&gt;, [">= 0"])
- s.add_runtime_dependency(%q&lt;hammer_cli_foreman&gt;, ["~> 0.1.1"])
+ s.add_runtime_dependency(%q&lt;hammer_cli_foreman&gt;, ["> 0.1.1"])
s.add_runtime_dependency(%q&lt;hammer_cli_katello&gt;, ["~> 0.0.6"])
else
s.add_dependency(%q&lt;hammer_cli&gt;, [">= 0"])
- s.add_dependency(%q&lt;hammer_cli_foreman&gt;, ["~> 0.1.1"])
+ s.add_dependency(%q&lt;hammer_cli_foreman&gt;, ["> 0.1.1"])
s.add_dependency(%q&lt;hammer_cli_katello&gt;, ["~> 0.0.6"])
end
else
s.add_dependency(%q&lt;hammer_cli&gt;, [">= 0"])
- s.add_dependency(%q&lt;hammer_cli_foreman&gt;, ["~> 0.1.1"])
+ s.add_dependency(%q&lt;hammer_cli_foreman&gt;, ["> 0.1.1"])
s.add_dependency(%q&lt;hammer_cli_katello&gt;, ["~> 0.0.6"])
end
end
Actions #1

Updated by Anonymous over 9 years ago

  • Project changed from Foreman to Katello
  • Category set to Hammer
  • Triaged set to No

Could you submit your patch as GitHub pull request to https://github.com/Katello/hammer-cli-import ?

Actions #2

Updated by Eric Helms over 9 years ago

  • Assignee set to Thomas McKay
  • Translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #4

Updated by Eric Helms over 9 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF