File tree Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Expand file tree Collapse file tree 3 files changed +50
-0
lines changed Original file line number Diff line number Diff line change 1818group :development , :test do
1919 gem 'sqlite3'
2020 gem 'rspec-rails'
21+ gem 'guard-rspec'
2122end
2223
2324group :test do
2425 gem 'capybara'
26+ gem 'rb-fsevent' , '0.9.1' , :require => false
2527end
2628
2729# To use ActiveModel has_secure_password
Original file line number Diff line number Diff line change 4040 xpath (~> 1.0.0 )
4141 childprocess (0.3.6 )
4242 ffi (~> 1.0 , >= 1.0.6 )
43+ coderay (1.0.8 )
4344 coffee-rails (3.2.2 )
4445 coffee-script (>= 2.2.0 )
4546 railties (~> 3.2.0 )
5253 execjs (1.4.0 )
5354 multi_json (~> 1.0 )
5455 ffi (1.3.1 )
56+ guard (1.6.1 )
57+ listen (>= 0.6.0 )
58+ lumberjack (>= 1.0.2 )
59+ pry (>= 0.9.10 )
60+ thor (>= 0.14.6 )
61+ guard-rspec (2.3.3 )
62+ guard (>= 1.1 )
63+ rspec (~> 2.11 )
5564 hike (1.2.1 )
5665 i18n (0.6.1 )
5766 journey (1.0.4 )
6271 libwebsocket (0.1.7.1 )
6372 addressable
6473 websocket
74+ listen (0.7.2 )
75+ lumberjack (1.0.2 )
6576 mail (2.4.4 )
6677 i18n (>= 0.4.0 )
6778 mime-types (~> 1.16 )
6879 treetop (~> 1.4.8 )
80+ method_source (0.8.1 )
6981 mime-types (1.19 )
7082 multi_json (1.5.0 )
7183 nokogiri (1.5.6 )
7284 polyglot (0.3.3 )
85+ pry (0.9.10 )
86+ coderay (~> 1.0.5 )
87+ method_source (~> 0.8 )
88+ slop (~> 3.3.1 )
7389 rack (1.4.4 )
7490 rack-cache (1.2 )
7591 rack (>= 0.4 )
93109 rdoc (~> 3.4 )
94110 thor (>= 0.14.6 , < 2.0 )
95111 rake (10.0.3 )
112+ rb-fsevent (0.9.1 )
96113 rdoc (3.12 )
97114 json (~> 1.4 )
115+ rspec (2.12.0 )
116+ rspec-core (~> 2.12.0 )
117+ rspec-expectations (~> 2.12.0 )
118+ rspec-mocks (~> 2.12.0 )
98119 rspec-core (2.12.2 )
99120 rspec-expectations (2.12.1 )
100121 diff-lcs (~> 1.1.3 )
117138 libwebsocket (~> 0.1.3 )
118139 multi_json (~> 1.0 )
119140 rubyzip
141+ slop (3.3.3 )
120142 sprockets (2.2.2 )
121143 hike (~> 1.2 )
122144 multi_json (~> 1.0 )
@@ -142,8 +164,10 @@ PLATFORMS
142164DEPENDENCIES
143165 capybara
144166 coffee-rails
167+ guard-rspec
145168 jquery-rails
146169 rails (= 3.2.11 )
170+ rb-fsevent (= 0.9.1 )
147171 rspec-rails
148172 sass-rails
149173 sqlite3
Original file line number Diff line number Diff line change 1+ # A sample Guardfile
2+ # More info at https://github.com/guard/guard#readme
3+
4+ guard 'rspec' , :version => 2 , :all_after_pass => false do
5+ watch ( %r{^spec/.+_spec\. rb$} )
6+ watch ( %r{^lib/(.+)\. rb$} ) { |m | "spec/lib/#{ m [ 1 ] } _spec.rb" }
7+ watch ( 'spec/spec_helper.rb' ) { "spec" }
8+
9+ # Rails example
10+ watch ( %r{^app/(.+)\. rb$} ) { |m | "spec/#{ m [ 1 ] } _spec.rb" }
11+ watch ( %r{^app/(.*)(\. erb|\. haml)$} ) { |m | "spec/#{ m [ 1 ] } #{ m [ 2 ] } _spec.rb" }
12+ watch ( %r{^app/controllers/(.+)_(controller)\. rb$} ) { |m | [ "spec/routing/#{ m [ 1 ] } _routing_spec.rb" , "spec/#{ m [ 2 ] } s/#{ m [ 1 ] } _#{ m [ 2 ] } _spec.rb" , "spec/acceptance/#{ m [ 1 ] } _spec.rb" ] }
13+ watch ( %r{^spec/support/(.+)\. rb$} ) { "spec" }
14+ watch ( 'config/routes.rb' ) { "spec/routing" }
15+ watch ( 'app/controllers/application_controller.rb' ) { "spec/controllers" }
16+
17+ # Capybara features specs
18+ watch ( %r{^app/views/(.+)/.*\. (erb|haml)$} ) { |m | "spec/features/#{ m [ 1 ] } _spec.rb" }
19+
20+ # Turnip features and steps
21+ watch ( %r{^spec/acceptance/(.+)\. feature$} )
22+ watch ( %r{^spec/acceptance/steps/(.+)_steps\. rb$} ) { |m | Dir [ File . join ( "**/#{ m [ 1 ] } .feature" ) ] [ 0 ] || 'spec/acceptance' }
23+ end
24+
You can’t perform that action at this time.
0 commit comments