Permalink
Browse files

Merge pull request #24 from tylerhunt/relative-requires

Use Relative Paths Instead of Helper
  • Loading branch information...
2 parents be9e21a + 0a328ed commit 1bbfdad4eaf8eeb3d2fa60113c8e16266c173ae1 @temochka temochka committed Oct 3, 2012
Showing with 8 additions and 12 deletions.
  1. +8 −12 lib/postmark.rb
View
@@ -1,18 +1,14 @@
-def require_local(file)
- require File.join(File.dirname(__FILE__), 'postmark', file)
-end
-
require 'net/http'
require 'net/https'
-require_local 'bounce'
-require_local 'json'
-require_local 'http_client'
-require_local 'message_extensions/shared'
-require_local 'message_extensions/tmail'
-require_local 'message_extensions/mail'
-require_local 'handlers/mail'
-require_local 'attachments_fix_for_mail'
+require 'postmark/bounce'
+require 'postmark/json'
+require 'postmark/http_client'
+require 'postmark/message_extensions/shared'
+require 'postmark/message_extensions/tmail'
+require 'postmark/message_extensions/mail'
+require 'postmark/handlers/mail'
+require 'postmark/attachments_fix_for_mail'
module Postmark

0 comments on commit 1bbfdad

Please sign in to comment.