exercism.gemspec in exercism-0.0.16 vs exercism.gemspec in exercism-0.0.17

- old
+ new

@@ -1,6 +1,6 @@ -# coding: utf-8 +# encoding: utf-8 lib = File.expand_path('../lib', __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'exercism/version' Gem::Specification.new do |spec| @@ -19,11 +19,20 @@ spec.require_paths = ["lib"] spec.add_dependency "faraday" spec.add_dependency "thor" spec.add_development_dependency "bundler", "~> 1.3" - spec.add_development_dependency "rake" + spec.add_development_dependency "minitest", '~> 5.0' spec.add_development_dependency "vcr", '~> 2.4' spec.add_development_dependency "fakeweb" + spec.add_development_dependency "rake" + + + if RUBY_VERSION <= "1.8.7" + spec.add_dependency "json" + spec.add_development_dependency "nokogiri", "~>1.5.0" + else + spec.add_development_dependency "nokogiri", "~>1.6.0" + end + spec.add_development_dependency "approvals" - spec.add_development_dependency "minitest", '~> 5.0' end