Permalink
Browse files

no need of errors.rb file.

  • Loading branch information...
1 parent a5cd2bb commit da39dadab7ffb2b64c6005e3494a6491e85f2ea8 @arunagw arunagw committed Jul 31, 2011
Showing with 14 additions and 40 deletions.
  1. +14 −14 Gemfile.lock
  2. +0 −26 config/initializers/errors.rb
View
@@ -1,9 +1,9 @@
GIT
remote: https://github.com/chriseppstein/compass.git
- revision: 2124003550bf96e828f6e63351d44a61b647cbf1
+ revision: 91a748a916360057b5caf6ea85cd38441d3b257a
branch: rails31
specs:
- compass (0.11.3.rails.0.2124003)
+ compass (0.12.0.alpha.0.91a748a)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
@@ -51,6 +51,7 @@ GEM
activesupport (= 3.1.0.rc5)
activesupport (3.1.0.rc5)
multi_json (~> 1.0)
+ addressable (2.2.6)
arel (2.1.4)
babosa (0.3.5)
bcrypt-ruby (2.1.4)
@@ -64,17 +65,16 @@ GEM
rack-test (>= 0.5.4)
selenium-webdriver (~> 0.2.0)
xpath (~> 0.1.4)
- childprocess (0.1.9)
+ childprocess (0.2.0)
ffi (~> 1.0.6)
chunky_png (1.2.0)
- configuration (1.3.1)
database_cleaner (0.6.7)
diff-lcs (1.1.2)
email_spec (1.2.1)
mail (~> 2.2)
rspec (~> 2.0)
erubis (2.7.0)
- execjs (1.2.0)
+ execjs (1.2.1)
multi_json (~> 1.0)
factory_girl (1.3.3)
factory_girl_rails (1.0.1)
@@ -93,9 +93,8 @@ GEM
json_pure (1.5.3)
kaminari (0.12.4)
rails (>= 3.0.0)
- launchy (0.4.0)
- configuration (>= 0.0.5)
- rake (>= 0.8.1)
+ launchy (2.0.5)
+ addressable (~> 2.2.6)
libv8 (3.3.10.2)
mail (2.3.0)
i18n (>= 0.4.0)
@@ -107,15 +106,15 @@ GEM
multi_json (1.0.3)
mysql2 (0.3.6)
nokogiri (1.5.0)
- polyglot (0.3.1)
+ polyglot (0.3.2)
rack (1.3.2)
rack-cache (1.0.2)
rack (>= 0.4)
rack-mount (0.8.1)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
- rack-test (0.6.0)
+ rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.0.rc5)
actionmailer (= 3.1.0.rc5)
@@ -133,7 +132,7 @@ GEM
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.8.7)
- rdoc (3.8)
+ rdoc (3.9)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -148,7 +147,7 @@ GEM
railties (~> 3.0)
rspec (~> 2.6.0)
rubyzip (0.9.4)
- sass (3.1.4)
+ sass (3.1.5)
selenium-webdriver (0.2.2)
childprocess (>= 0.1.9)
ffi (>= 1.0.7)
@@ -161,13 +160,14 @@ GEM
sprockets (2.0.0.beta.12)
hike (~> 1.2)
rack (~> 1.0)
- tilt (~> 1.1, != 1.3.0)
+ tilt (!= 1.3.0, ~> 1.1)
therubyracer (0.9.2)
libv8 (~> 3.3.10)
thor (0.14.6)
tilt (1.3.2)
timecop (0.3.5)
- treetop (1.4.9)
+ treetop (1.4.10)
+ polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
uglifier (1.0.0)
@@ -1,26 +0,0 @@
-require 'net/smtp'
-# Example:
-# begin
-# some http call
-# rescue *HTTP_ERRORS => error
-# notify_hoptoad error
-# end
-
-HTTP_ERRORS = [Timeout::Error,
- Errno::EINVAL,
- Errno::ECONNRESET,
- EOFError,
- Net::HTTPBadResponse,
- Net::HTTPHeaderSyntaxError,
- Net::ProtocolError]
-
-SMTP_SERVER_ERRORS = [TimeoutError,
- IOError,
- Net::SMTPUnknownError,
- Net::SMTPServerBusy,
- Net::SMTPAuthenticationError]
-
-SMTP_CLIENT_ERRORS = [Net::SMTPFatalError,
- Net::SMTPSyntaxError]
-
-SMTP_ERRORS = SMTP_SERVER_ERRORS + SMTP_CLIENT_ERRORS

0 comments on commit da39dad

Please sign in to comment.