Skip to content

Commit

Permalink
Move as many dependencies as possible to gemspec
Browse files Browse the repository at this point in the history
Ideally, all dependencies would be in the gemspec, but features like `platform`
and `require: false` are only available in the Gemfile.
  • Loading branch information
gabebw committed Feb 1, 2015
1 parent 6c7914f commit 7362b64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Gemfile
Expand Up @@ -8,18 +8,9 @@ gemspec
gem "rake", "~> 10.1.0", :require => false
gem "yard", "~> 0.8.0", :require => false

# Test tools
gem "cucumber", "~> 1.3.1"
gem "fivemat"
gem "aruba", "~> 0.5.1"
gem "haml"

platforms :ruby do
gem "redcarpet"
end

gem "kramdown"
gem "slim"

# Code Quality
gem "cane", :platforms => [:mri_19, :mri_20], :require => false
6 changes: 6 additions & 0 deletions middleman-syntax.gemspec
Expand Up @@ -17,4 +17,10 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.add_runtime_dependency("middleman-core", ["~> 3.2"])
s.add_runtime_dependency("rouge", ["~> 1.0"])
s.add_development_dependency("aruba", "~> 0.5.1")
s.add_development_dependency("cucumber", "~> 1.3.1")
s.add_development_dependency("fivemat")
s.add_development_dependency("haml")
s.add_development_dependency("kramdown")
s.add_development_dependency("slim")
end

0 comments on commit 7362b64

Please sign in to comment.