Permalink
Browse files

Switched to allowing a more canonical require statement

    require "shoulda/matchers"  # canonical

-vs-

    require "shoulda-matchers"  # still allowed

See comments of http://blog.segment7.net/2010/11/15/how-to-name-gems
  • Loading branch information...
1 parent 9c9580c commit b39fba0bedb48db6e94b04301e463d8216000e91 @rmm5t rmm5t committed Jan 31, 2011
Showing with 8 additions and 8 deletions.
  1. +1 −8 lib/shoulda-matchers.rb
  2. +7 −0 lib/shoulda/matchers.rb
View
@@ -1,8 +1 @@
-require 'shoulda/matchers/version'
-
-if defined?(RSpec)
- require 'shoulda/matchers/integrations/rspec'
-else
- require 'shoulda/matchers/integrations/test_unit'
-end
-
+require 'shoulda/matchers'
View
@@ -0,0 +1,7 @@
+require 'shoulda/matchers/version'
+
+if defined?(RSpec)
+ require 'shoulda/matchers/integrations/rspec'
+else
+ require 'shoulda/matchers/integrations/test_unit'
+end

0 comments on commit b39fba0

Please sign in to comment.