guides.gemspec in guides-0.6.10 vs guides.gemspec in guides-0.7.0

- old
+ new

@@ -2,10 +2,13 @@ lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require 'guides/version' +os = Gem::Platform.local.os +is_mingw = (os == "mingw32") + Gem::Specification.new do |s| s.name = "guides" s.version = Guides::VERSION s.platform = Gem::Platform::RUBY s.authors = ["Yehuda Katz"] @@ -18,13 +21,21 @@ s.rubyforge_project = "guides" s.add_dependency "actionpack", "~> 3.0.0" s.add_dependency "activesupport", "~> 3.0.0" s.add_dependency "rack", "~> 1.2.1" - s.add_dependency "RedCloth", "~> 4.1.1" + s.add_dependency "RedCloth", "~> 4.2.7" s.add_dependency "maruku", "~> 0.6.0" s.add_dependency "thor", "~> 0.14.6" s.add_dependency "thin", "~> 1.2.7" + + if is_mingw + s.add_dependency 'eventmachine', '~> 1.0.0.beta' + end + + s.add_development_dependency 'rspec', '~> 2.0' + s.add_development_dependency "faraday", "~> 0.5.0" + s.add_development_dependency 'packager' s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = %w(guides) s.require_paths = ["lib"]