lib/sham_rack.rb in sham_rack-1.3.3 vs lib/sham_rack.rb in sham_rack-1.3.4
- old
+ new
@@ -1,9 +1,11 @@
+require "sham_rack/net_http"
+require "sham_rack/registry"
+require "sham_rack/version"
+
# ShamRack allows access to Rack applications using Net::Http, but without network traffic.
#
# For more detail, see http://github.com/mdub/sham_rack
#
-module ShamRack; end
-
-require "sham_rack/net_http"
-require "sham_rack/registry"
-require "sham_rack/version"
+module ShamRack
+ extend ShamRack::Registry
+end