errplane 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Rakefile +0 -1
- data/errplane.gemspec +6 -7
- data/gemfiles/Gemfile.rails-2.3.x.lock +20 -8
- data/gemfiles/Gemfile.rails-3.0.x.lock +17 -8
- data/gemfiles/Gemfile.rails-3.1.x.lock +17 -8
- data/gemfiles/Gemfile.rails-3.2.x.lock +17 -8
- data/generators/errplane/errplane_generator.rb +24 -0
- data/generators/errplane/templates/initializer.rb +6 -0
- data/lib/errplane.rb +0 -2
- data/lib/errplane/version.rb +1 -1
- data/rails/init.rb +1 -0
- data/spec/spec_helper.rb +0 -2
- metadata +19 -41
- data/spec/rails2/log/development.log +0 -0
- data/spec/rails2/log/production.log +0 -0
- data/spec/rails2/log/server.log +0 -0
- data/spec/rails2/log/test.log +0 -6572
- data/specs.watchr +0 -22
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
|