Skip to content
This repository
Browse code

Add hanna to development dependencies. Avoid multiple version stateme…

…ts for shotgun in gemspec (makes gemspec usable with bundler). Add min version to haml dependency corresponding to version specified in tilt's gemspec.

That way it is possible to run on a clean system like this:

    echo 'gemspec' > Gemfile
    bundle install
    bundle exec rake test # or something else

This is especially important for running a CI server or generating the docs (running hanna with a recent rdoc gem installed results in an exception).
  • Loading branch information...
commit ec220153275f560040edc58cb153f1d3a10946b9 1 parent c98c538
Konstantin Haase rkh authored

Showing 1 changed file with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +3 2 sinatra.gemspec
5 sinatra.gemspec
@@ -102,9 +102,9 @@ Gem::Specification.new do |s|
102 102 s.extra_rdoc_files = %w[README.rdoc README.de.rdoc README.jp.rdoc README.fr.rdoc README.es.rdoc LICENSE]
103 103 s.add_dependency 'rack', '>= 1.0'
104 104 s.add_dependency 'tilt', '~> 1.1'
105   - s.add_development_dependency 'shotgun', '>= 0.6', '< 1.0'
  105 + s.add_development_dependency 'shotgun', '~> 0.6'
106 106 s.add_development_dependency 'rack-test', '>= 0.3.0'
107   - s.add_development_dependency 'haml'
  107 + s.add_development_dependency 'haml', '>= 2.2.11'
108 108 s.add_development_dependency 'builder'
109 109 s.add_development_dependency 'erubis'
110 110 s.add_development_dependency 'less'
@@ -114,6 +114,7 @@ Gem::Specification.new do |s|
114 114 s.add_development_dependency 'radius'
115 115 s.add_development_dependency 'markaby'
116 116 s.add_development_dependency 'coffee-script'
  117 + s.add_development_dependency 'hanna'
117 118
118 119 s.has_rdoc = true
119 120 s.homepage = "http://sinatra.rubyforge.org"

0 comments on commit ec22015

Please sign in to comment.
Something went wrong with that request. Please try again.