Skip to content
Browse files

Create gemspec file to convert plugin to gem

  • Loading branch information...
1 parent 79a5ac3 commit bcde705e8ccca38ffa4f4bc28abcfbfdd03f19d0 Denis Joloudov committed
Showing with 1 addition and 7 deletions.
  1. +1 −7 init.rb
View
8 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.
Something went wrong with that request. Please try again.