Permalink
Browse files

Add yard to gemspec

  • Loading branch information...
1 parent cca3e4a commit 2648c6a41f4bab606970f8a6ac536908a79f4635 @weppos weppos committed May 2, 2012
Showing with 4 additions and 0 deletions.
  1. +1 −0 Rakefile
  2. +3 −0 net-dns.gemspec
View
@@ -28,6 +28,7 @@ spec = Gem::Specification.new do |s|
s.rubyforge_project = "net-dns"
s.add_development_dependency "rake", "~> 0.9"
+ s.add_development_dependency "yard"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
View
@@ -23,10 +23,13 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rake>, ["~> 0.9"])
+ s.add_development_dependency(%q<yard>, [">= 0"])
else
s.add_dependency(%q<rake>, ["~> 0.9"])
+ s.add_dependency(%q<yard>, [">= 0"])
end
else
s.add_dependency(%q<rake>, ["~> 0.9"])
+ s.add_dependency(%q<yard>, [">= 0"])
end
end

0 comments on commit 2648c6a

Please sign in to comment.