Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Remove duplicated dependencies from .gemspec #38

Closed
wants to merge 1 commit into from

2 participants

@kitop

zip, rest-client, rest and bundler dependencies were duplicated in every if/else branch.

This pull request cleans that up.

@treeder treeder closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 17, 2012
  1. @kitop
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 12 deletions.
  1. +0 −12 iron_worker.gemspec
View
12 iron_worker.gemspec
@@ -46,29 +46,17 @@ Gem::Specification.new do |s|
s.add_runtime_dependency(%q<rest-client>, [">= 0"])
s.add_runtime_dependency(%q<rest>, [">= 0"])
s.add_runtime_dependency(%q<bundler>, [">= 0"])
- s.add_runtime_dependency(%q<zip>, [">= 0"])
- s.add_runtime_dependency(%q<rest-client>, [">= 0"])
- s.add_runtime_dependency(%q<rest>, [">= 0"])
- s.add_runtime_dependency(%q<bundler>, [">= 0"])
else
s.add_dependency(%q<zip>, [">= 0"])
s.add_dependency(%q<rest-client>, [">= 0"])
s.add_dependency(%q<rest>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"])
- s.add_dependency(%q<zip>, [">= 0"])
- s.add_dependency(%q<rest-client>, [">= 0"])
- s.add_dependency(%q<rest>, [">= 0"])
- s.add_dependency(%q<bundler>, [">= 0"])
end
else
s.add_dependency(%q<zip>, [">= 0"])
s.add_dependency(%q<rest-client>, [">= 0"])
s.add_dependency(%q<rest>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"])
- s.add_dependency(%q<zip>, [">= 0"])
- s.add_dependency(%q<rest-client>, [">= 0"])
- s.add_dependency(%q<rest>, [">= 0"])
- s.add_dependency(%q<bundler>, [">= 0"])
end
end
Something went wrong with that request. Please try again.