File tree Expand file tree Collapse file tree 4 files changed +51
-0
lines changed Expand file tree Collapse file tree 4 files changed +51
-0
lines changed Original file line number Diff line number Diff line change
1
+ Gemfile.lock
Original file line number Diff line number Diff line change
1
+ --require spec_helper
2
+ --tag ~@draft
Original file line number Diff line number Diff line change
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'guard-bundler' , require : false
7
+ gem 'guard-rspec' , require : false
8
+
9
+ case RbConfig ::CONFIG [ 'target_os' ]
10
+ when /windows|bccwin|cygwin|djgpp|mingw|mswin|wince/i
11
+ gem 'ruby_gntp' , require : false
12
+ gem 'wdm' , require : false
13
+ when /linux/i
14
+ gem 'rb-inotify' , require : false
15
+ when /mac|darwin/i
16
+ gem 'rb-fsevent' , require : false
17
+ gem 'growl' , require : false
18
+ end
19
+ end
20
+
21
+ group :development , :ci do
22
+ gem 'rspec' , '~> 3.0.0' , require : false
23
+ gem 'rspec-its' , require : false
24
+ end
Original file line number Diff line number Diff line change
1
+ case RbConfig ::CONFIG [ 'target_os' ]
2
+ when /windows|bccwin|cygwin|djgpp|mingw|mswin|wince/i
3
+ notification :gntp , :host => 'localhost'
4
+ when /linux/i
5
+ notification :notifysend
6
+ when /mac|darwin/i
7
+ notification :growl
8
+ end
9
+
10
+ guard 'bundler' do
11
+ watch ( 'Gemfile' )
12
+ watch ( /^.+\. gemspec/ )
13
+ end
14
+
15
+ guard 'rspec' ,
16
+ :all_on_start => true ,
17
+ :all_after_pass => true ,
18
+ :notification => true ,
19
+ :cmd => 'bundle exec rspec' do
20
+ watch ( '.rspec' ) { 'spec' }
21
+ watch ( %r{^spec/.+_spec\. rb$} )
22
+ watch ( %r{^lib/(.+)\. rb$} ) { |m | "spec/lib/#{ m [ 1 ] } _spec.rb" }
23
+ watch ( 'spec/spec_helper.rb' ) { 'spec' }
24
+ end
You can’t perform that action at this time.
0 commit comments