Commit 7c4c85ca by Jon Frisby

Sorting out dependency generation in gemspec.

parent a1a475b9
source :rubygems source :rubygems
gem 'jeweler' group :development do
gem 'rspec' gem 'jeweler'
gem 'rspec'
end
gem 'active_support' gem 'active_support'
...@@ -15,8 +15,6 @@ Jeweler::Tasks.new do |gem| ...@@ -15,8 +15,6 @@ Jeweler::Tasks.new do |gem|
gem.rubyforge_project = "annotate" gem.rubyforge_project = "annotate"
gem.add_development_dependency "rspec"
gem.test_files = `git ls-files -- {spec,features}/*`.split("\n") gem.test_files = `git ls-files -- {spec,features}/*`.split("\n")
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.require_path = 'lib' gem.require_path = 'lib'
......
...@@ -17,6 +17,7 @@ Gem::Specification.new do |s| ...@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
"README.rdoc" "README.rdoc"
] ]
s.files = [ s.files = [
".rvmrc",
"Gemfile", "Gemfile",
"Gemfile.lock", "Gemfile.lock",
"History.txt", "History.txt",
...@@ -52,13 +53,16 @@ Gem::Specification.new do |s| ...@@ -52,13 +53,16 @@ Gem::Specification.new do |s|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<active_support>, [">= 0"]) s.add_runtime_dependency(%q<active_support>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 0"]) s.add_development_dependency(%q<rspec>, [">= 0"])
else else
s.add_dependency(%q<active_support>, [">= 0"]) s.add_dependency(%q<active_support>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"]) s.add_dependency(%q<rspec>, [">= 0"])
end end
else else
s.add_dependency(%q<active_support>, [">= 0"]) s.add_dependency(%q<active_support>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"]) s.add_dependency(%q<rspec>, [">= 0"])
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment