Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add Guard for development

  • Loading branch information...
commit a64b5323b4697cdab8d6466c412d58e23f9f33f1 1 parent 13c0811
@chadrem authored
Showing with 36 additions and 17 deletions.
  1. +12 −15 Gemfile
  2. +19 −2 Gemfile.lock
  3. +5 −0 Guardfile
View
27 Gemfile
@@ -1,19 +1,16 @@
-source "http://rubygems.org"
-# Add dependencies required to use your gem here.
-# Example:
-# gem "activesupport", ">= 2.3.5"
+source 'http://rubygems.org'
-gem "typhoeus"
-gem "nokogiri"
+gem 'typhoeus'
+gem 'nokogiri'
-# Add dependencies to develop your gem here.
-# Include everything needed to run rake, tests, features, etc.
group :development do
- gem "rspec", "~> 2.8.0"
- gem "bundler", "~> 1.1.0"
- gem "jeweler", "~> 1.6.4"
- gem "simplecov", ">= 0"
- gem "ZenTest", "~> 4.6.2"
- gem "rdoc", ">= 3.9.4"
- gem "debugger"
+ gem 'rspec', '~> 2.8.0'
+ gem 'bundler', '~> 1.1.0'
+ gem 'jeweler', '~> 1.6.4'
+ gem 'simplecov', '>= 0'
+ gem 'rdoc', '>= 3.9.4'
+ gem 'guard', '~> 1.2.3'
+ gem 'guard-rspec', '~> 1.1.0'
+ gem 'growl'
+ platform(:ruby) { gem 'debugger' }
end
View
21 Gemfile.lock
@@ -1,7 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
- ZenTest (4.6.2)
columnize (0.3.6)
debugger (1.1.4)
columnize (>= 0.3.1)
@@ -13,15 +12,30 @@ GEM
diff-lcs (1.1.3)
ffi (1.0.11)
git (1.2.5)
+ growl (1.0.3)
+ guard (1.2.3)
+ listen (>= 0.4.2)
+ thor (>= 0.14.6)
+ guard-rspec (1.1.0)
+ guard (>= 1.1)
jeweler (1.6.4)
bundler (~> 1.0)
git (>= 1.2.5)
rake
json (1.7.3)
+ listen (0.4.7)
+ rb-fchange (~> 0.0.5)
+ rb-fsevent (~> 0.9.1)
+ rb-inotify (~> 0.8.8)
mime-types (1.18)
multi_json (1.3.6)
nokogiri (1.5.4)
rake (0.9.2.2)
+ rb-fchange (0.0.5)
+ ffi
+ rb-fsevent (0.9.1)
+ rb-inotify (0.8.8)
+ ffi (>= 0.5.0)
rdoc (3.12)
json (~> 1.4)
rspec (2.8.0)
@@ -36,6 +50,7 @@ GEM
multi_json (~> 1.0)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
+ thor (0.15.4)
typhoeus (0.4.2)
ffi (~> 1.0)
mime-types (~> 1.18)
@@ -44,9 +59,11 @@ PLATFORMS
ruby
DEPENDENCIES
- ZenTest (~> 4.6.2)
bundler (~> 1.1.0)
debugger
+ growl
+ guard (~> 1.2.3)
+ guard-rspec (~> 1.1.0)
jeweler (~> 1.6.4)
nokogiri
rdoc (>= 3.9.4)
View
5 Guardfile
@@ -0,0 +1,5 @@
+guard :rspec, :version => 2 do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| r = "spec/lib/#{m[1]}_spec.rb"; puts r; r }
+ watch('spec/spec_helper.rb') { "spec" }
+end
Please sign in to comment.
Something went wrong with that request. Please try again.