modernize a few things

This commit is contained in:
John Bintz 2011-07-01 10:55:41 -04:00
parent 3e08b98844
commit f206847274
5 changed files with 15 additions and 2 deletions

6
Guardfile Normal file
View File

@ -0,0 +1,6 @@
guard 'rspec', :version => 2, :cli => '-c' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
end

6
Rakefile Normal file
View File

@ -0,0 +1,6 @@
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

View File

@ -9,4 +9,6 @@ Gem::Specification.new do |s|
s.files = ['README.rdoc', 'LICENSE', 'lib/iterm_window.rb']
s.require_paths = ["lib"]
s.has_rdoc = true
s.add_development_dependency 'rspec', '~> 2.6.0'
end

View File

@ -1,4 +1,5 @@
require 'spec_helper'
require 'iterm_window'
describe ItermWindow do
before(:each) do

View File

@ -1,2 +0,0 @@
require 'spec'
require File.join(File.dirname(__FILE__), '..', 'lib', 'iterm_window.rb')