Bug #10419
closedOutdated hammer_cli_import gemspec
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<hammer_cli>, [">= 0"])
- s.add_runtime_dependency(%q<hammer_cli_foreman>, ["~> 0.1.1"])
+ s.add_runtime_dependency(%q<hammer_cli_foreman>, ["> 0.1.1"])
s.add_runtime_dependency(%q<hammer_cli_katello>, ["~> 0.0.6"])
else
s.add_dependency(%q<hammer_cli>, [">= 0"])
- s.add_dependency(%q<hammer_cli_foreman>, ["~> 0.1.1"])
+ s.add_dependency(%q<hammer_cli_foreman>, ["> 0.1.1"])
s.add_dependency(%q<hammer_cli_katello>, ["~> 0.0.6"])
end
else
s.add_dependency(%q<hammer_cli>, [">= 0"])
- s.add_dependency(%q<hammer_cli_foreman>, ["~> 0.1.1"])
+ s.add_dependency(%q<hammer_cli_foreman>, ["> 0.1.1"])
s.add_dependency(%q<hammer_cli_katello>, ["~> 0.0.6"])
end
end
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 ?
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
Updated by Zailo Leite over 9 years ago
Created pull request https://github.com/Katello/hammer-cli-import/pull/19 .