From 6dbe7f7a5a4ac256905a61071789a5a38a190b66 Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Fri, 25 Jan 2013 22:31:40 -0800 Subject: [PATCH] Update Gemfile to allow bundler to ever complete. Also simplify Gemfile, update dependencies, and remove $LOAD_PATH hacking from gemspecs. --- Gemfile | 60 ++++++++++++--------------- middleman-core/middleman-core.gemspec | 3 +- middleman-more/middleman-more.gemspec | 1 - 3 files changed, 27 insertions(+), 37 deletions(-) diff --git a/Gemfile b/Gemfile index b04bfbc1..3f66261a 100644 --- a/Gemfile +++ b/Gemfile @@ -1,42 +1,34 @@ source :rubygems -group :development do - gem "rake", "~> 0.9.2" - gem "rdoc", "~> 3.9" - gem "yard", "~> 0.8.0" +# Build and doc tools +gem "rake", "~> 10.0.3" +gem "yard", "~> 0.8.0" + +# Test tools +gem "cucumber", "~> 1.2.1" +gem "fivemat", "~> 1.1.0" +gem "aruba", "~> 0.5.1" +gem "rspec", "~> 2.12" + +# Optional middleman dependencies, included for tests +gem "sinatra" +gem "slim", "~> 1.2.0" +gem "coffee-filter", "~> 0.1.1" +gem "liquid", "~> 2.2" +gem "less", "~> 2.2" +gem "stylus", "~> 0.6.2" + +platforms :ruby do + gem "therubyracer", "0.10.2" + gem "redcarpet", "~> 2.1.1" end -group :test do - gem "cucumber", "~> 1.2.0" - gem "fivemat" - gem "aruba", "~> 0.4.11" - gem "rspec", "~> 2.7" - - # For actual tests - gem "sinatra" - gem "slim", "~> 1.2.0" - gem "coffee-filter", "~> 0.1.1" - gem "liquid", "~> 2.2" - # gem "cane" - - # gem "pry" - # gem "pry-debugger" - - platforms :ruby do - gem "therubyracer", "0.10.2" - - gem "redcarpet", "~> 2.1.1" - end - - platforms :jruby do - gem "therubyrhino", "1.73.5" - end - - gem "less", "~> 2.2" - gem "stylus" +platforms :jruby do + gem "therubyrhino", "1.73.5" end -gem "middleman-sprockets", :github => "middleman/middleman-sprockets" +# Middleman itself gem "middleman-core", :path => "middleman-core" gem "middleman-more", :path => "middleman-more" -gem "middleman", :path => "middleman" \ No newline at end of file +gem "middleman-sprockets", :github => "middleman/middleman-sprockets" +gem "middleman", :path => "middleman" diff --git a/middleman-core/middleman-core.gemspec b/middleman-core/middleman-core.gemspec index c0640fcf..c366daa3 100644 --- a/middleman-core/middleman-core.gemspec +++ b/middleman-core/middleman-core.gemspec @@ -1,6 +1,5 @@ # -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "middleman-core/version" +require File.expand_path("../lib/middleman-core/version", __FILE__) Gem::Specification.new do |s| s.name = "middleman-core" diff --git a/middleman-more/middleman-more.gemspec b/middleman-more/middleman-more.gemspec index 0d371d6a..8cf28708 100644 --- a/middleman-more/middleman-more.gemspec +++ b/middleman-more/middleman-more.gemspec @@ -1,5 +1,4 @@ # -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) require File.expand_path("../../middleman-core/lib/middleman-core/version.rb", __FILE__) Gem::Specification.new do |s|