mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use released rails-html-sanitizer and rails-deprecated_sanitizer
This commit is contained in:
parent
478ad3f930
commit
b008e4bd8a
4 changed files with 5 additions and 7 deletions
6
Gemfile
6
Gemfile
|
@ -13,10 +13,8 @@ gem 'mocha', '~> 0.14', require: false
|
|||
gem 'rack-cache', '~> 1.2'
|
||||
gem 'jquery-rails', '~> 4.0.0.beta2'
|
||||
gem 'coffee-rails', '~> 4.0.0'
|
||||
# TODO: Release this gem
|
||||
gem 'rails-html-sanitizer', github: 'rails/rails-html-sanitizer'
|
||||
# TODO: Release this gem
|
||||
gem 'rails-deprecated_sanitizer', github: 'rails/rails-deprecated_sanitizer'
|
||||
gem 'rails-html-sanitizer', '~> 1.0.1'
|
||||
gem 'rails-deprecated_sanitizer', '~> 1.0.3'
|
||||
gem 'turbolinks', '~> 2.2.3'
|
||||
|
||||
# require: false so bcrypt is loaded only when has_secure_password is used.
|
||||
|
|
|
@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency 'rack', '~> 1.6.0.beta'
|
||||
s.add_dependency 'rack-test', '~> 0.6.2'
|
||||
s.add_dependency 'rails-html-sanitizer', '~> 1.0'
|
||||
s.add_dependency 'rails-html-sanitizer', '~> 1.0', '>= 1.0.1'
|
||||
s.add_dependency 'rails-dom-testing', '~> 1.0', '>= 1.0.3'
|
||||
s.add_dependency 'actionview', version
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency 'builder', '~> 3.1'
|
||||
s.add_dependency 'erubis', '~> 2.7.0'
|
||||
s.add_dependency 'rails-html-sanitizer', '~> 1.0'
|
||||
s.add_dependency 'rails-html-sanitizer', '~> 1.0', '>= 1.0.1'
|
||||
s.add_dependency 'rails-dom-testing', '~> 1.0', '>= 1.0.3'
|
||||
|
||||
s.add_development_dependency 'actionpack', version
|
||||
|
|
|
@ -16,7 +16,7 @@ source 'https://rubygems.org'
|
|||
# gem 'bcrypt', '~> 3.1.7'
|
||||
|
||||
# Use Rails Html Sanitizer for HTML sanitization
|
||||
gem 'rails-html-sanitizer', '~> 1.0'
|
||||
gem 'rails-html-sanitizer', '~> 1.0.1'
|
||||
|
||||
# Use Unicorn as the app server
|
||||
# gem 'unicorn'
|
||||
|
|
Loading…
Reference in a new issue