modernize a few things
This commit is contained in:
parent
3e08b98844
commit
f206847274
6
Guardfile
Normal file
6
Guardfile
Normal 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
6
Rakefile
Normal file
@ -0,0 +1,6 @@
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
task :default => :spec
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,5 @@
|
||||
require 'spec_helper'
|
||||
require 'iterm_window'
|
||||
|
||||
describe ItermWindow do
|
||||
before(:each) do
|
||||
|
@ -1,2 +0,0 @@
|
||||
require 'spec'
|
||||
require File.join(File.dirname(__FILE__), '..', 'lib', 'iterm_window.rb')
|
Loading…
Reference in New Issue
Block a user