Skip to content

Commit

Permalink
Create gemspec file to convert plugin to gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Joloudov committed Jul 1, 2010
1 parent 79a5ac3 commit bcde705
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions init.rb
@@ -1,7 +1 @@
unless $gems_rake_task
if Rails.version <= "2.3.7"
$stderr.puts "rails_xss requires Rails 2.3.8 or later. Please upgrade to enable automatic HTML safety."
else
require 'rails_xss'
end
end
require File.dirname(__FILE__) + "/rails/init".

0 comments on commit bcde705

Please sign in to comment.