Skip to content

Commit

Permalink
erubis is a runtime dependency of this gem
Browse files Browse the repository at this point in the history
 * Bundle based apps need it as a dependency

 * This has been done in other gems too.
   See haml/html2haml#10
  • Loading branch information
mnoack committed Aug 26, 2013
1 parent 35bc639 commit c36b451
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions rails_xss.gemspec
Expand Up @@ -33,16 +33,6 @@ Gem::Specification.new do |s|
s.rubygems_version = "1.8.25"
s.summary = "A plugin for rails 2.3 apps which switches the default to escape by default"

if s.respond_to? :specification_version then
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<erubis>, [">= 2.6.5"])
else
s.add_dependency(%q<erubis>, [">= 2.6.5"])
end
else
s.add_dependency(%q<erubis>, [">= 2.6.5"])
end
s.add_dependency(%q<erubis>, [">= 2.6.5"])
end

0 comments on commit c36b451

Please sign in to comment.