adds dependencies

This commit is contained in:
Jessica Lynn Suttles 2013-02-04 12:53:25 -08:00
parent 05ec5276fd
commit b55da5631d
3 changed files with 24 additions and 0 deletions

5
Guardfile Normal file
View file

@ -0,0 +1,5 @@
guard "rspec" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch("spec/spec_helper.rb") { "spec" }
end

View file

@ -16,4 +16,13 @@ Gem::Specification.new do |gem|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) } gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"] gem.require_paths = ["lib"]
gem.add_runtime_dependency "nokogiri", "~> 1.5.6"
gem.add_runtime_dependency "json", "~> 1.7.6"
gem.add_development_dependency "rspec", "~> 2.11.0"
gem.add_development_dependency "guard-rspec", "~> 2.1.0"
gem.add_development_dependency "rb-fsevent", "~> 0.9.1"
gem.add_development_dependency "simplecov", "~> 0.7.1"
gem.add_development_dependency "debugger", "~> 1.2.1"
end end

10
spec/spec_helper.rb Normal file
View file

@ -0,0 +1,10 @@
require 'simplecov'
SimpleCov.start
require 'rubygems'
require 'rspec'
require 'rspec/autorun'
RSpec.configure do |config|
config.order = "random"
end