errplane 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/specs.watchr DELETED
@@ -1,22 +0,0 @@
1
- watch( '^lib/errplane.rb' ) { build "rake spec" }
2
- watch( '^lib/errplane/(.*)\.rb' ) { |m| build "rake spec" }
3
- watch( '^spec/spec_helper\.rb' ) { |m| build "rake spec" }
4
- watch( '^spec/unit/(.*)_spec\.rb' ) { |m| build "rake spec" }
5
- watch( '^spec/integration/(.*)_spec\.rb' ) { |m| build "rake spec" }
6
-
7
- # Signal.trap('QUIT') { build specs } # Ctrl-\
8
- Signal.trap('QUIT') { puts; build "rake spec" } # Ctrl-\
9
- Signal.trap('INT' ) { abort("\n") } # Ctrl-C
10
-
11
- def build(*paths)
12
- run "bundle exec #{paths.flatten.join(' ')}"
13
- end
14
-
15
- def specs
16
- Dir['spec/**/spec_*.rb'] - ['spec/spec_helper.rb']
17
- end
18
-
19
- def run( cmd )
20
- puts "Running `#{cmd}'"
21
- system cmd
22
- end