Permalink
Browse files

add a Guardfile, guard works

  • Loading branch information...
1 parent a122321 commit abe6d6ebddfc4f3eee126d58ba783f2fd173e6cf @bronson bronson committed Oct 30, 2011
Showing with 24 additions and 1 deletion.
  1. +4 −0 Gemfile
  2. +7 −1 Gemfile.lock
  3. +5 −0 Guardfile
  4. +8 −0 spec/gitrepo_spec.rb
View
@@ -21,6 +21,10 @@ gem 'i18n' ,'~> 0.4.1'
gem 'retryable' , :git => 'git://github.com/bronson/retryable.git'
gem 'gitrb' , :git => 'git://github.com/bronson/gitrb.git', :branch => 'patch-1'
+group :development do
+ gem 'guard-rspec'
+end
+
group :test do
gem 'rake' # needed by travis-ci
gem 'rspec' ,'~> 2.5'
View
@@ -46,6 +46,10 @@ GEM
loofah (>= 0.3.1)
nokogiri (> 0.0.0)
sax-machine (>= 0.0.12)
+ guard (0.8.8)
+ thor (~> 0.14.6)
+ guard-rspec (0.5.1)
+ guard (>= 0.8.4)
hashie (1.0.0)
hpricot (0.8.2)
htmlentities (4.2.4)
@@ -72,7 +76,7 @@ GEM
rash (~> 0.3.0)
polyglot (0.3.1)
rack (1.3.0)
- rake (0.9.2)
+ rake (0.9.2.2)
rash (0.3.0)
hashie (~> 1.0.0)
rspec (2.6.0)
@@ -85,6 +89,7 @@ GEM
rspec-mocks (2.6.0)
sax-machine (0.0.16)
nokogiri (> 0.0.0)
+ thor (0.14.6)
treetop (1.4.9)
polyglot (>= 0.3.1)
@@ -96,6 +101,7 @@ DEPENDENCIES
erubis (~> 2.6.6)
feedzirra (~> 0.0.24)
gitrb!
+ guard-rspec
hashie (~> 1.0)
hpricot (= 0.8.2)
htmlentities (~> 4.2.1)
View
@@ -0,0 +1,5 @@
+guard 'rspec', :version => 2, :notification => false do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
+end
+
@@ -0,0 +1,8 @@
+require File.dirname(File.absolute_path(__FILE__)) + '/../lib/github'
+
+describe 'GitRepo' do
+
+ it "should work" do
+
+ end
+end

0 comments on commit abe6d6e

Please sign in to comment.