Skip to content

Commit

Permalink
Tag does not pollute global namespace anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Taszycki committed Oct 28, 2010
1 parent cdd66bb commit 4e93af2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
mactag (0.3.3)
mactag (0.4.0)
bundler (>= 0.9.26)
rails (>= 3.0.0.beta1)

Expand Down
4 changes: 3 additions & 1 deletion lib/mactag/tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,7 @@
require 'mactag/tag/gem'
require 'mactag/tag/rails'

module Tag
module Mactag
module Tag
end
end
5 changes: 5 additions & 0 deletions spec/mactag/tag_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
describe "Tag" do
it "does not pollute global namespace" do
Object.const_defined?(:Tag).should be_false
end
end

0 comments on commit 4e93af2

Please sign in to comment.