Skip to content
This repository

Remove duplicated dependencies from .gemspec #38

Open
wants to merge 1 commit into from

1 participant

Esteban Pastorino
Esteban Pastorino
kitop commented

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

This pull request cleans that up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Jul 17, 2012
Esteban Pastorino kitop Remove duplicated dependencies from .gemspec b4de7d0
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 0 additions and 12 deletions. Show diff stats Hide diff stats

  1. +0 12 iron_worker.gemspec
12 iron_worker.gemspec
@@ -46,29 +46,17 @@ Gem::Specification.new do |s|
46 46 s.add_runtime_dependency(%q<rest-client>, [">= 0"])
47 47 s.add_runtime_dependency(%q<rest>, [">= 0"])
48 48 s.add_runtime_dependency(%q<bundler>, [">= 0"])
49   - s.add_runtime_dependency(%q<zip>, [">= 0"])
50   - s.add_runtime_dependency(%q<rest-client>, [">= 0"])
51   - s.add_runtime_dependency(%q<rest>, [">= 0"])
52   - s.add_runtime_dependency(%q<bundler>, [">= 0"])
53 49 else
54 50 s.add_dependency(%q<zip>, [">= 0"])
55 51 s.add_dependency(%q<rest-client>, [">= 0"])
56 52 s.add_dependency(%q<rest>, [">= 0"])
57 53 s.add_dependency(%q<bundler>, [">= 0"])
58   - s.add_dependency(%q<zip>, [">= 0"])
59   - s.add_dependency(%q<rest-client>, [">= 0"])
60   - s.add_dependency(%q<rest>, [">= 0"])
61   - s.add_dependency(%q<bundler>, [">= 0"])
62 54 end
63 55 else
64 56 s.add_dependency(%q<zip>, [">= 0"])
65 57 s.add_dependency(%q<rest-client>, [">= 0"])
66 58 s.add_dependency(%q<rest>, [">= 0"])
67 59 s.add_dependency(%q<bundler>, [">= 0"])
68   - s.add_dependency(%q<zip>, [">= 0"])
69   - s.add_dependency(%q<rest-client>, [">= 0"])
70   - s.add_dependency(%q<rest>, [">= 0"])
71   - s.add_dependency(%q<bundler>, [">= 0"])
72 60 end
73 61 end
74 62

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.