File tree Expand file tree Collapse file tree 3 files changed +92
-1
lines changed Expand file tree Collapse file tree 3 files changed +92
-1
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,10 @@ source "https://rubygems.org"
2
2
3
3
gemspec
4
4
5
- gem "rack-proxy" , :git => 'https://github.com/tstmedia/rack-proxy.git'
5
+ gem "rack-proxy" , :git => 'https://github.com/tstmedia/rack-proxy.git'
6
+ gem 'rb-fsevent'
7
+ gem 'guard'
8
+ gem 'guard-rspec'
9
+ gem 'guard-shell'
10
+ gem 'guard-bundler'
11
+ gem 'terminal-notifier-guard'
Original file line number Diff line number Diff line change 15
15
remote: https://rubygems.org/
16
16
specs:
17
17
addressable (2.2.6 )
18
+ coderay (1.0.9 )
18
19
crack (0.1.8 )
20
+ ffi (1.9.0 )
21
+ ffi (1.9.0-java )
22
+ formatador (0.2.4 )
23
+ guard (1.8.1 )
24
+ formatador (>= 0.2.4 )
25
+ listen (>= 1.0.0 )
26
+ lumberjack (>= 1.0.2 )
27
+ pry (>= 0.9.10 )
28
+ thor (>= 0.14.6 )
29
+ guard-bundler (1.0.0 )
30
+ bundler (~> 1.0 )
31
+ guard (~> 1.1 )
32
+ guard-rspec (1.2.1 )
33
+ guard (>= 1.1 )
34
+ guard-shell (0.5.1 )
35
+ guard (>= 1.1.0 )
36
+ listen (1.2.2 )
37
+ rb-fsevent (>= 0.9.3 )
38
+ rb-inotify (>= 0.9 )
39
+ rb-kqueue (>= 0.2 )
40
+ lumberjack (1.0.4 )
41
+ method_source (0.8.1 )
42
+ pry (0.9.12.2 )
43
+ coderay (~> 1.0.5 )
44
+ method_source (~> 0.8 )
45
+ slop (~> 3.4 )
46
+ pry (0.9.12.2-java )
47
+ coderay (~> 1.0.5 )
48
+ method_source (~> 0.8 )
49
+ slop (~> 3.4 )
50
+ spoon (~> 0.0 )
19
51
rack (1.4.1 )
20
52
rack-test (0.5.7 )
21
53
rack (>= 1.0 )
22
54
rake (0.8.7 )
55
+ rb-fsevent (0.9.3 )
56
+ rb-inotify (0.9.0 )
57
+ ffi (>= 0.5.0 )
58
+ rb-kqueue (0.2.0 )
59
+ ffi (>= 0.5.0 )
23
60
rspec (1.3.2 )
61
+ slop (3.4.5 )
62
+ spoon (0.0.4 )
63
+ ffi
64
+ terminal-notifier-guard (1.5.3 )
65
+ thor (0.18.1 )
24
66
webmock (1.5.0 )
25
67
addressable (>= 2.2.2 )
26
68
crack (>= 0.1.7 )
@@ -30,9 +72,15 @@ PLATFORMS
30
72
ruby
31
73
32
74
DEPENDENCIES
75
+ guard
76
+ guard-bundler
77
+ guard-rspec
78
+ guard-shell
33
79
rack-proxy !
34
80
rack-reverse-proxy !
35
81
rack-test (~> 0.5.7 )
36
82
rake (~> 0.8.7 )
83
+ rb-fsevent
37
84
rspec (~> 1.3.2 )
85
+ terminal-notifier-guard
38
86
webmock (~> 1.5.0 )
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 'bundler' do
5
+ watch ( 'Gemfile' )
6
+ # Uncomment next line if Gemfile contain `gemspec' command
7
+ # watch(/^.+\.gemspec/)
8
+ end
9
+
10
+ guard 'rspec' , :version => 1 do
11
+ watch ( %r{^spec/.+_spec\. rb$} )
12
+ watch ( %r{^lib/(.+)\. rb$} ) { |m | "spec/lib/#{ m [ 1 ] } _spec.rb" }
13
+ watch ( 'spec/spec_helper.rb' ) { "spec" }
14
+
15
+ # Rails example
16
+ watch ( %r{^app/(.+)\. rb$} ) { |m | "spec/#{ m [ 1 ] } _spec.rb" }
17
+ watch ( %r{^app/(.*)(\. erb|\. haml)$} ) { |m | "spec/#{ m [ 1 ] } #{ m [ 2 ] } _spec.rb" }
18
+ 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" ] }
19
+ watch ( %r{^spec/support/(.+)\. rb$} ) { "spec" }
20
+ watch ( 'config/routes.rb' ) { "spec/routing" }
21
+ watch ( 'app/controllers/application_controller.rb' ) { "spec/controllers" }
22
+
23
+ # Capybara request specs
24
+ watch ( %r{^app/views/(.+)/.*\. (erb|haml)$} ) { |m | "spec/requests/#{ m [ 1 ] } _spec.rb" }
25
+
26
+ # Turnip features and steps
27
+ watch ( %r{^spec/acceptance/(.+)\. feature$} )
28
+ watch ( %r{^spec/acceptance/steps/(.+)_steps\. rb$} ) { |m | Dir [ File . join ( "**/#{ m [ 1 ] } .feature" ) ] [ 0 ] || 'spec/acceptance' }
29
+ end
30
+
31
+
32
+ # Add files and commands to this file, like the example:
33
+ # watch(%r{file/path}) { `command(s)` }
34
+ #
35
+ guard 'shell' do
36
+ watch ( /(.*).txt/ ) { |m | `tail #{ m [ 0 ] } ` }
37
+ end
You can’t perform that action at this time.
0 commit comments