Browse files

Rename Registry module to Registration.

  • Loading branch information...
1 parent e74a03d commit 10f23510762595fa8078c15fa9a7323bd53b4e77 @mdub committed Apr 4, 2013
Showing with 4 additions and 5 deletions.
  1. +2 −2 lib/sham_rack.rb
  2. +0 −1 lib/sham_rack/net_http.rb
  3. +1 −1 lib/sham_rack/patron.rb
  4. +1 −1 lib/sham_rack/{registry.rb → registration.rb}
View
4 lib/sham_rack.rb
@@ -1,11 +1,11 @@
require "sham_rack/net_http"
-require "sham_rack/registry"
+require "sham_rack/registration"
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
- extend ShamRack::Registry
+ extend ShamRack::Registration
end
View
1 lib/sham_rack/net_http.rb
@@ -1,6 +1,5 @@
require "net/http"
require "rack"
-require "sham_rack/registry"
class << Net::HTTP
View
2 lib/sham_rack/patron.rb
@@ -1,5 +1,5 @@
require "patron"
-require "sham_rack/registry"
+require "sham_rack"
require "uri"
module Patron
View
2 lib/sham_rack/registry.rb → lib/sham_rack/registration.rb
@@ -1,6 +1,6 @@
module ShamRack
- module Registry
+ module Registration
ADDRESS_PATTERN = /^[a-z0-9-]+(\.[a-z0-9-]+)*$/i

0 comments on commit 10f2351

Please sign in to comment.