lib/amqp/frame.rb in amqp-0.6.6 vs lib/amqp/frame.rb in amqp-0.6.7
- old
+ new
@@ -1,8 +1,8 @@
-require 'amqp/spec'
-require 'amqp/buffer'
-require 'amqp/protocol'
+require File.expand_path('../spec', __FILE__)
+require File.expand_path('../buffer', __FILE__)
+require File.expand_path('../protocol', __FILE__)
module AMQP
class Frame #:nodoc: all
def initialize payload = nil, channel = 0
@channel, @payload = channel, payload
@@ -119,6 +119,6 @@
copy = Frame.parse(orig.to_binary)
copy.should == orig
end
end
-end
\ No newline at end of file
+end