2017-07-23 11:36:41 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-05-15 10:17:28 -04:00
|
|
|
version = File.read(File.expand_path("../RAILS_VERSION", __dir__)).strip
|
2012-05-31 12:21:56 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.platform = Gem::Platform::RUBY
|
2016-08-06 13:23:48 -04:00
|
|
|
s.name = "actionview"
|
2012-05-31 12:21:56 -04:00
|
|
|
s.version = version
|
2016-08-06 13:23:48 -04:00
|
|
|
s.summary = "Rendering framework putting the V in MVC (part of Rails)."
|
|
|
|
s.description = "Simple, battle-tested conventions and helpers for building web pages."
|
2012-05-31 12:21:56 -04:00
|
|
|
|
2018-12-19 15:09:34 -05:00
|
|
|
s.required_ruby_version = ">= 2.5.0"
|
2012-05-31 12:21:56 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.license = "MIT"
|
2012-05-31 12:21:56 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.author = "David Heinemeier Hansson"
|
|
|
|
s.email = "david@loudthinking.com"
|
|
|
|
s.homepage = "http://rubyonrails.org"
|
2012-05-31 12:21:56 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.files = Dir["CHANGELOG.md", "README.rdoc", "MIT-LICENSE", "lib/**/*"]
|
|
|
|
s.require_path = "lib"
|
|
|
|
s.requirements << "none"
|
2012-05-31 12:21:56 -04:00
|
|
|
|
2017-06-27 06:06:28 -04:00
|
|
|
s.metadata = {
|
|
|
|
"source_code_uri" => "https://github.com/rails/rails/tree/v#{version}/actionview",
|
|
|
|
"changelog_uri" => "https://github.com/rails/rails/blob/v#{version}/actionview/CHANGELOG.md"
|
|
|
|
}
|
|
|
|
|
2018-11-06 18:05:40 -05:00
|
|
|
# NOTE: Please read our dependency guidelines before updating versions:
|
|
|
|
# https://edgeguides.rubyonrails.org/security.html#dependency-management-and-cves
|
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "activesupport", version
|
2012-05-31 12:21:56 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "builder", "~> 3.1"
|
2017-01-20 18:02:34 -05:00
|
|
|
s.add_dependency "erubi", "~> 1.4"
|
2017-01-26 23:53:13 -05:00
|
|
|
s.add_dependency "rails-html-sanitizer", "~> 1.0", ">= 1.0.3"
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_dependency "rails-dom-testing", "~> 2.0"
|
2012-06-09 10:41:37 -04:00
|
|
|
|
2016-08-06 13:23:48 -04:00
|
|
|
s.add_development_dependency "actionpack", version
|
|
|
|
s.add_development_dependency "activemodel", version
|
2012-05-31 12:21:56 -04:00
|
|
|
end
|