Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added guard to run specs

  • Loading branch information...
commit 0259bfdc3c39de8e3432fb8570533f4a76fb6a1b 1 parent ec530e8
Fabio Napoleoni authored October 04, 2012
1  .rspec
... ...
@@ -0,0 +1 @@
  1
+--color
6  Gemfile
@@ -2,5 +2,9 @@
2 2
 source "https://rubygems.org"
3 3
 
4 4
 gem "jls-grok"
5  
-gem "rspec"
6 5
 gem "rake"
  6
+
  7
+group :test do
  8
+  gem "rspec"
  9
+  gem "guard-rspec"
  10
+end
17  Gemfile.lock
@@ -4,10 +4,25 @@ GEM
4 4
     cabin (0.4.4)
5 5
       json
6 6
     diff-lcs (1.1.3)
  7
+    ffi (1.1.5)
  8
+    guard (1.3.0)
  9
+      listen (>= 0.4.2)
  10
+      thor (>= 0.14.6)
  11
+    guard-rspec (1.2.1)
  12
+      guard (>= 1.1)
7 13
     jls-grok (0.10.7)
8 14
       cabin (~> 0.4.0)
9 15
     json (1.7.5)
  16
+    listen (0.4.7)
  17
+      rb-fchange (~> 0.0.5)
  18
+      rb-fsevent (~> 0.9.1)
  19
+      rb-inotify (~> 0.8.8)
10 20
     rake (0.9.2.2)
  21
+    rb-fchange (0.0.5)
  22
+      ffi
  23
+    rb-fsevent (0.9.1)
  24
+    rb-inotify (0.8.8)
  25
+      ffi (>= 0.5.0)
11 26
     rspec (2.11.0)
12 27
       rspec-core (~> 2.11.0)
13 28
       rspec-expectations (~> 2.11.0)
@@ -16,11 +31,13 @@ GEM
16 31
     rspec-expectations (2.11.2)
17 32
       diff-lcs (~> 1.1.3)
18 33
     rspec-mocks (2.11.2)
  34
+    thor (0.16.0)
19 35
 
20 36
 PLATFORMS
21 37
   ruby
22 38
 
23 39
 DEPENDENCIES
  40
+  guard-rspec
24 41
   jls-grok
25 42
   rake
26 43
   rspec
9  Guardfile
... ...
@@ -0,0 +1,9 @@
  1
+# A sample Guardfile
  2
+# More info at https://github.com/guard/guard#readme
  3
+
  4
+guard 'rspec', :version => 2 do
  5
+  watch(%r{^spec/.+_spec\.rb$})
  6
+  watch(%r{^patterns/(.+)$})    { |m| "spec/#{m[1]}_spec.rb" }
  7
+  watch('spec/spec_helper.rb')  { "spec" }
  8
+end
  9
+

0 notes on commit 0259bfd

Please sign in to comment.
Something went wrong with that request. Please try again.