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

Also available in: Atom PDF